header .nav #theme-toggle{margin-left:auto;flex-shrink:0;display:grid;place-items:center;width:42px;height:42px;min-height:42px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--paper);color:var(--ink);font-size:25px;line-height:1}
header .nav #theme-toggle[hidden]{display:none}header .nav:has(#theme-toggle:not([hidden])) .dropdown-wrap{margin-left:0}
body[data-theme="day"]{--paper:#f5f8fd;--white:#fff;--ink:#172e4d;--muted:#526582;--line:#d1ddeb;--blue:#245db5;--pale-blue:#e2edfc;background:var(--paper);color:var(--ink);color-scheme:light}
body[data-theme="day"] .landing-hero{background:radial-gradient(ellipse at 85% 25%,#dce9ff99,transparent 55%)}
body[data-theme="day"] .landing-hero h1,body[data-theme="day"] .landing-numbers strong{color:#172e4d}
body[data-theme="day"] .landing-hero h1 em,body[data-theme="day"] .tutorial-steps li:before{color:#245db5}
body[data-theme="day"] .landing-kicker,body[data-theme="day"] .landing-hero>p,body[data-theme="day"] .landing-numbers,body[data-theme="day"] .tutorial-layout p,body[data-theme="day"] .tutorial-steps span,body[data-theme="day"] .landing-about p{color:#526582}
body[data-theme="day"] .landing-numbers,body[data-theme="day"] .landing-about{border-color:#d1ddeb}
body[data-theme="day"] .tutorial-player{background:#fff;border-color:#ccd9ea}
body[data-theme="day"] input,body[data-theme="day"] select,body[data-theme="day"] textarea{color-scheme:light}
@media(max-width:400px){header .nav{gap:8px}header .brand{font-size:14px;gap:4px}header .brandmark{width:28px;height:28px;font-size:19px}header .nav #theme-toggle{width:40px;height:40px;min-height:40px}header #menu-toggle{padding:9px;gap:5px;font-size:13px}}
