/* Shared preference controls. Canonical source: andy-sites/shared/preferences.css. */
andy-theme-control, andy-language-control { display:inline-flex; flex-shrink:0; }
.andy-switch.andy-switch { display:inline-flex; align-items:center; gap:0; margin:0; padding:0;
  border:1px solid var(--border,var(--line,#303438)); border-radius:8px; overflow:visible;
  background:transparent; color:var(--muted,#a3aaaf); }
.andy-switch.andy-switch > :is(button,a) { appearance:none; box-sizing:border-box;
  display:grid; place-items:center; flex:none; width:32px; height:32px; min-width:32px;
  margin:0; padding:0; border:0; border-radius:0; background:transparent; color:inherit;
  font:500 12px/1 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  letter-spacing:normal; text-transform:none; text-decoration:none; cursor:pointer; }
.andy-switch.andy-switch > :first-child { border-radius:7px 0 0 7px; }
.andy-switch.andy-switch > :last-child { border-radius:0 7px 7px 0; }
.andy-switch.andy-switch > :only-child { border-radius:7px; }
.andy-switch.andy-switch > :is(button,a):hover { color:var(--accent,#9292ff); background:color-mix(in srgb,currentColor 10%,transparent); text-decoration:none; }
.andy-switch.andy-switch > :is([aria-pressed=true],[aria-current=page]) { color:var(--accent,#9292ff); background:color-mix(in srgb,var(--accent,#9292ff) 16%,transparent); }
.andy-switch.andy-switch > :focus-visible { position:relative; z-index:1; outline:2px solid var(--accent,#9292ff); outline-offset:3px; }
.andy-switch.andy-switch svg { display:block; width:17px; height:17px; pointer-events:none; }
@media print { andy-theme-control, andy-language-control { display:none; } }
