/* Shared entry/Settings vector skin. Keep the existing box model, palette,
   native buttons, focus outlines, RTL movement and animation timings. */
:is(.account-theme-switch,.auth-theme-controls.auth-theme-switch)[data-theme-vector]{
  --theme-track-fill:#edf1f5;--theme-track-stroke:#e0e6eb;
  --theme-thumb-fill:#fff;--theme-thumb-stroke:#dbe2e9;
  background:transparent!important;border-color:transparent!important;
}
html[data-account-theme=dark] :is(.account-theme-switch,.auth-theme-controls.auth-theme-switch)[data-theme-vector]{
  --theme-track-fill:#171d25;--theme-track-stroke:#363f4b;
  --theme-thumb-fill:#354150;--theme-thumb-stroke:#4b5d72;
}
[data-theme-vector]::before{content:none!important;}
[data-theme-vector] .theme-switch-track{position:absolute;inset:-1px;z-index:-2;pointer-events:none;}
[data-theme-vector] .theme-switch-thumb{
  position:absolute;z-index:-1;inset-block:3px;inset-inline-start:3px;
  width:calc((100% - 6px)/2);box-sizing:border-box;pointer-events:none;
  transform:translateX(0);
  transition:transform 240ms cubic-bezier(.2,.8,.2,1),background 160ms;
}
html[data-account-theme=dark] [data-theme-vector] .theme-switch-thumb{transform:translateX(100%);}
html[dir=rtl][data-account-theme=dark] [data-theme-vector] .theme-switch-thumb{transform:translateX(-100%);}
[data-theme-vector] .theme-switch-vector{display:block;position:absolute;inset:0;width:100%;height:100%;overflow:visible;shape-rendering:geometricPrecision;}
[data-theme-vector] .theme-switch-vector rect{
  width:calc(100% - 1px);height:calc(100% - 1px);stroke-width:1px;
  vector-effect:non-scaling-stroke;shape-rendering:geometricPrecision;
  transition:fill 160ms,stroke 160ms;
}
[data-theme-vector] .theme-switch-track rect{fill:var(--theme-track-fill);stroke:var(--theme-track-stroke);}
[data-theme-vector] .theme-switch-thumb rect{fill:var(--theme-thumb-fill);stroke:var(--theme-thumb-stroke);}
:is(.account-theme-switch,.auth-theme-controls.auth-theme-switch)[data-theme-vector] .theme-symbol svg{
  display:block;width:24px;height:24px;overflow:visible;
  shape-rendering:geometricPrecision;image-rendering:auto;stroke-width:2;
}
@media(prefers-reduced-motion:reduce){
  [data-theme-vector] .theme-switch-thumb,[data-theme-vector] .theme-switch-vector rect{transition:none!important;}
}
