@layer legacy{.thm-sw{position:relative;flex:none;width:58px;height:32px;padding:0;border-radius:999px;border:1px solid var(--ln2);background:rgba(255,255,255,.04);color:var(--tx);cursor:pointer;transition:background .2s,border-color .2s}.thm-sw:hover{border-color:color-mix(in srgb,var(--tx) 30%,transparent)}.thm-sw:focus-visible{outline:2px solid var(--c-brand);outline-offset:2px}.thm-knob{position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#26262b;color:#d9ccff;box-shadow:0 1px 3px rgba(0,0,0,.4);transition:transform .25s cubic-bezier(.3,.7,.3,1),background .2s,color .2s}.thm-knob svg{grid-area:1/1;transition:opacity .2s,transform .25s}.thm-sun{opacity:0;transform:rotate(-60deg) scale(.6)}.thm-sw[data-on=light],html[data-site-theme=light] .thm-sw:not([data-on=dark]){background:var(--c-surface-2);border-color:#ddd3ef}.thm-sw[data-on=light] .thm-knob,html[data-site-theme=light] .thm-sw:not([data-on=dark]) .thm-knob{background:var(--c-surface);color:#e08a00;box-shadow:0 1px 3px rgba(40,20,80,.25)}.thm-sw[data-on=light] .thm-sun,html[data-site-theme=light] .thm-sw:not([data-on=dark]) .thm-sun{opacity:1;transform:none}.thm-sw[data-on=light] .thm-moon,html[data-site-theme=light] .thm-sw:not([data-on=dark]) .thm-moon{opacity:0;transform:rotate(60deg) scale(.6)}@media (prefers-reduced-motion:reduce){.thm-knob,.thm-knob svg{transition:none}}.lsw-b,.nv .lsw-b{white-space:nowrap;flex:none;height:34px;padding:0 12px;border:1px solid transparent;border-radius:999px;background:transparent;transition:background-color .15s,border-color .15s,color .15s}.lsw-b:hover,.lsw-b[aria-expanded=true],.nv .lsw-b:hover,.nv .lsw-b[aria-expanded=true]{background:rgba(255,255,255,.05);border-color:var(--ln2);color:var(--tx)}html[data-site-theme=light] .lsw-b:hover,html[data-site-theme=light] .lsw-b[aria-expanded=true]{background:rgba(15,23,42,.04);border-color:rgba(15,23,42,.14)}.thm-sw{height:34px;width:60px}.thm-knob{top:4px;left:4px}.thm-sw[data-on=light] .thm-knob,html[data-site-theme=light] .thm-sw:not([data-on=dark]) .thm-knob{transform:translateX(26px)}}html.thm-vt *,html.thm-vt :after,html.thm-vt :before{transition:none!important}html.thm-vt::view-transition-new(root),html.thm-vt::view-transition-old(root){animation:none;mix-blend-mode:normal}html.thm-vt::view-transition-old(root){z-index:1}html.thm-vt::view-transition-new(root){z-index:2}