/* Additive theme layer; keep existing layout and business styles. */
html[data-theme=dark]{color-scheme:dark;background:#111b27;color:#f2f5fa}html[data-theme=dark] body{background:#111b27;color:#f2f5fa}html[data-theme=dark] main{background:#192635;color:#f2f5fa}html[data-theme=dark] p,html[data-theme=dark] .muted,html[data-theme=dark] dt,html[data-theme=dark] footer,html[data-theme=dark] .input-help{color:#bac8d7}html[data-theme=dark] .card,html[data-theme=dark] .row,html[data-theme=dark] footer,html[data-theme=dark] dl>div,html[data-theme=dark] .tabs{border-color:#435267}html[data-theme=dark] .banner,html[data-theme=dark] .tag,html[data-theme=dark] #status{background:#25374b;color:#edf3fa}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] button{background:#22364b;color:#f2f5fa;border-color:#66778a}html[data-theme=dark] button.active,html[data-theme=dark] button.primary{background:#b5dccf;color:#12271f}html[data-theme=dark] .card .value,html[data-theme=dark] a{color:#a6d5c6}html[data-theme=dark] :focus-visible,html[data-theme=dark] h2:focus,html[data-theme=dark] h3:focus,html[data-theme=dark] #status:focus{outline-color:#a6d5c6}html[data-theme=dark] #status{border-left-color:#a6d5c6}html[data-theme=dark] input[aria-invalid=true]{border-color:#ffb4ab}.theme-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:16px}.theme-control{display:block;width:126px;max-width:100%}@media(prefers-reduced-motion:reduce){html *,html *::before,html *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.theme-toolbar{padding:8px;box-sizing:border-box}
