#theme-switch:not([hidden]){display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;background:transparent;color:var(--tx);border:0;cursor:pointer;font:600 12px var(--f-b)}
.theme-track{position:relative;width:28px;height:16px;border:1px solid var(--mut);border-radius:20px}.theme-track::after{content:"";position:absolute;top:3px;left:3px;width:8px;height:8px;border-radius:50%;background:var(--mut);transition:transform .18s ease}
[aria-checked="true"] .theme-track{border-color:var(--cu)}[aria-checked="true"] .theme-track::after{transform:translateX(12px);background:var(--cu)}#theme-label{min-width:50px;text-align:left}
@media(min-width:901px){header nav{margin-left:auto;margin-right:22px}}
@media(max-width:900px){.brand{margin-right:auto}.menu-toggle{margin-right:12px}.theme-track{flex:none}}@media(max-width:360px){#theme-label{display:none}}
:root[data-theme=dark]{color-scheme:dark;--bg:#14171c;--bg2:#1d2229;--line:#36424e;--tx:#eef4fa;--mut:#b2c0cd;--cu:#79cfff;--cu2:#b4e6ff}
[data-theme=dark] header,[data-theme=dark] nav.open{background:#171c23f5}
[data-theme=dark] .sheet-index{color:#a7bac9;border-color:#485360}
[data-theme=dark] :is(.lead,.about,.job p,details ul){color:#d1dce5}
[data-theme=dark] .tags span{color:#c1d1dc;border-color:#455c70}
[data-theme=dark] :is(.stats,.cases,.skills,.case){border-color:var(--line)}
[data-theme=dark] .stats{border-top-color:var(--cu)}
[data-theme=dark] section:nth-of-type(even){background:#181d23}
[data-theme=dark] .contact{background:#191f27!important}
[data-theme=dark] footer{background:#11161d;color:var(--mut)}
[data-theme=dark] .btn.p{color:#0e2031}[data-theme=dark] .btn.s:hover{background:#213747}
[data-theme=dark] .instrument{background:#18232e;border-color:#4b6172;box-shadow:6px 6px 0 #0f141a}
[data-theme=dark] .instrument::before{opacity:.55}
[data-theme=dark] :is(.instrument figcaption,.legend,.station){background:#1b2835;border-color:#527087}
[data-theme=dark] .scheme .nd rect{fill:#1e3445;stroke:#84bbd7}
[data-theme=dark] .instrument .pause{background:#263b4a;border-color:#709bb3}
[data-theme=dark] .instrument .shift-primary,[data-theme=dark] #shift-brick{background:#9cdcff;color:#102637;border-color:#72b8df}
[data-theme=dark] .receiver{background:#19352f;border-color:#87cdb5}
[data-theme=dark] .shift-tape span:not(.filled){background:#22303d;border-color:#4b6479}
[data-theme=dark] :focus-visible{outline-color:var(--cu)}
