/* Shared day/night appearance for the home page and license desk. */
:root{color-scheme:light}
.theme-switch{display:inline-flex;flex-shrink:0;gap:3px;padding:3px;border:1px solid #dce3ef;border-radius:8px;vertical-align:middle}
.theme-switch button{font:600 12px/1.6 "Segoe UI",sans-serif;border:0;border-radius:5px;padding:6px 9px;background:transparent;color:#59667c;cursor:pointer;white-space:nowrap}
.theme-switch button[aria-pressed=true]{background:#eaf0ff;color:#1947c2}
.theme-switch button:focus-visible{outline:3px solid #eea93e;outline-offset:3px}
header>.theme-switch{float:right}
:root[data-theme=dark]{color-scheme:dark;background:#101722;color:#e7edf7;--blue:#9abaff;--muted:#b2bfd2;--line:#344155;--soft:#172231}
[data-theme=dark] body{background:#101722;color:#e7edf7}
[data-theme=dark] .site-header{background:#101722}
[data-theme=dark] .brand,[data-theme=dark] .nav-links a{color:#e7edf7}
[data-theme=dark] p,[data-theme=dark] small,[data-theme=dark] label{color:#b2bfd2}
[data-theme=dark] a{color:#9abaff}
[data-theme=dark] .start-card,[data-theme=dark] .download-section{background:#1b2b44;border-color:#354c70}
[data-theme=dark] .button,[data-theme=dark] button,[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] article,[data-theme=dark] dialog{background:#1b2738;color:#e7edf7;border-color:#41536d}
[data-theme=dark] .command-card{background:#182333;color:#e7edf7;border-color:#344155}
[data-theme=dark] .command-card:hover,[data-theme=dark] .button:hover,[data-theme=dark] button:hover{background:#273954;border-color:#729be9}
[data-theme=dark] .command-card strong,[data-theme=dark] .command-card .tag{color:#acc7ff}
[data-theme=dark] .button.primary{background:#3566e2;border-color:#3566e2;color:#fff}
[data-theme=dark] .button.primary:hover{background:#2856c7}
[data-theme=dark] .language button,[data-theme=dark] .quiet,[data-theme=dark] dialog .close,[data-theme=dark] .theme-switch button{background:transparent;color:#b2bfd2}
[data-theme=dark] .language button[aria-pressed=true],[data-theme=dark] .theme-switch button[aria-pressed=true],[data-theme=dark] .step-number,[data-theme=dark] .version strong{background:#2a4168;color:#c9dcff}
[data-theme=dark] .theme-switch,[data-theme=dark] header,[data-theme=dark] section,[data-theme=dark] .steps li{border-color:#344155}
[data-theme=dark] .community{background:#192b49}
[data-theme=dark] .community p{color:#c3d1e8}
[data-theme=dark] .skip{background:#1b2738}
[data-theme=dark] output{color:#f4cc92}
[data-theme=dark] dialog::backdrop{background:#050a12bb}
@media(min-width:951px){.nav{gap:18px}.nav-links{gap:20px}}
@media(max-width:400px){.nav{gap:10px}.nav>.brand{width:100%}.nav>.language{margin-left:0}.nav>.theme-switch{margin-left:auto}header>.theme-switch{float:none;margin-top:14px}}
