/* Appearance and language share the small Quiet control geometry and states. */
body .yhy-preference {
  appearance:none;box-sizing:border-box;display:inline-flex;flex:0 0 var(--yhy-sm-height);
  align-items:center;justify-content:center;align-self:center;
  width:var(--yhy-sm-height);min-width:var(--yhy-sm-height);height:var(--yhy-sm-height);min-height:var(--yhy-sm-height);
  padding:0;margin:0;border:0;border-radius:var(--yhy-control-radius);background:transparent;color:var(--yhy-muted);
  font:var(--yhy-language-weight) var(--yhy-language-font)/var(--yhy-language-line) var(--yhy-font);
  letter-spacing:0;text-decoration:none;white-space:nowrap;cursor:pointer;vertical-align:middle;
  transition:background-color var(--yhy-action-duration) var(--yhy-action-ease),color var(--yhy-action-duration) var(--yhy-action-ease);
  -webkit-tap-highlight-color:transparent;
}
.yhy-preference .yhy-icon {display:block;flex:none;width:var(--yhy-action-icon);height:var(--yhy-action-icon);overflow:visible;transform-origin:50% 50%}
.yhy-preference [data-preference-motion] {transform-origin:50% 50%;transform-box:fill-box}
.yhy-preference .yhy-preference-language {display:block;width:var(--yhy-action-icon);height:var(--yhy-language-line);text-align:center;line-height:var(--yhy-language-line);transform-box:border-box}
.yhy-preference:focus-visible,.yhy-preference[data-demo-state=focus] {outline:var(--yhy-focus-width) solid var(--yhy-ink);outline-offset:var(--yhy-focus-offset)}
.yhy-preference:disabled {opacity:.45;cursor:not-allowed;pointer-events:none}
.yhy-preference[data-demo-state=hover] {background:var(--yhy-hover-quiet);color:var(--yhy-ink)}
@media(hover:hover){.yhy-preference:not(:disabled):hover{background:var(--yhy-hover-quiet);color:var(--yhy-ink)}}
@media(prefers-reduced-motion:reduce){body .yhy-preference{transition:none}.yhy-preference [data-preference-motion]{transform:none!important}}
@media(forced-colors:active){body .yhy-preference{color:ButtonText}body .yhy-preference:focus-visible,body .yhy-preference[data-demo-state=focus]{outline-color:Highlight}}
