/* Shared appearance controls. Existing light styling stays unchanged. */
html[data-theme="dark"]{color-scheme:dark;--ink:#e3ecf3;--navy:#e3ecf3;--green:#d9e8f0;--blue:#c8deee;--paper:#101a24;--white:#192632;--muted:#b8c7d2;--line:#465a6a;--coral:#ff9b83;--coral-dark:#ffaf98;--lime:#35272a;--pilot-ink:#e3ecf3;--pilot-line:#465a6a;--pilot-accent:#ffaf98;background:#101a24;color:#e3ecf3}
html[data-theme="dark"][data-nf-page] body{background:#101a24;color:#e3ecf3}
html[data-theme="dark"] :is(input,select,textarea){color-scheme:dark}
html[data-theme="dark"] ::placeholder{color:#b2c2ce;opacity:1}
html[data-theme="dark"] :is(button,a,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid #ffb29c;outline-offset:4px}
html[data-theme="dark"] ::selection{background:#416983;color:#fff}
/* Preserve the approved two-color artwork on a small light tile. Photos and
   sponsor artwork are never inverted or recolored by a CSS filter. */
html[data-theme="dark"] .nf-brand-header .logo .brand-image{background-color:#f6f8fa;border-radius:7px}
html[data-theme="dark"] .brand-hand-motion:before,html[data-theme="dark"] .brand-hand-motion:after{background-color:transparent}
html[data-theme="dark"] #brand-intro .intro-right [fill="#183B56"],html[data-theme="dark"] #brand-intro .intro-name [fill="#183B56"]{fill:#d9e8f0}
.nf-theme-settings{min-width:0;margin:0;padding:0;border:0;color:var(--ink,#183b56)}
.nf-theme-settings legend{padding:0;margin:0 0 8px;font-size:23px;font-weight:800;line-height:1.3}
.nf-theme-description{margin:0 0 18px;color:var(--muted,#526575);font-size:14px;line-height:1.55}
.nf-theme-options{display:grid;gap:10px}
.nf-theme-option{position:relative;display:flex;align-items:center;gap:13px;padding:16px;min-height:76px;border:1px solid #a7b5bf;border-radius:13px;background:#fff;cursor:pointer;margin:0;font-weight:400}
.nf-theme-option:has(input:checked){border:2px solid #a83e2c;padding:15px;background:#fff4ef}
.nf-theme-option:has(input:focus-visible){outline:3px solid #183b56;outline-offset:3px}
.nf-theme-option input{width:20px;height:20px;min-height:20px;margin:0;flex-shrink:0;accent-color:#a83e2c;cursor:pointer}
.nf-theme-option strong{display:block;font-size:15px;line-height:1.4}
.nf-theme-option small{display:block;margin-top:4px;font-size:13px;line-height:1.5;color:#526575}
.nf-theme-symbol{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex-shrink:0;font-size:27px;color:#a83e2c}
.nf-theme-note{font-size:12px;line-height:1.65;margin:18px 0 8px;color:#526575}
.nf-theme-status{font-size:13px;line-height:1.6;margin:8px 0 0;min-height:1.6em;color:#183b56}
html[data-theme="dark"] .nf-theme-option{background:#192632;border-color:#637a8c}
html[data-theme="dark"] .nf-theme-option:has(input:checked){background:#382a2a;border-color:#ffab92}
html[data-theme="dark"] .nf-theme-option:has(input:focus-visible){outline-color:#ffb29c}
html[data-theme="dark"] .nf-theme-option input{accent-color:#ffab92}
html[data-theme="dark"] :is(.nf-theme-option small,.nf-theme-note,.nf-theme-description){color:#c2cfd8}
html[data-theme="dark"] .nf-theme-symbol{color:#ffab92}
html[data-theme="dark"] .nf-theme-status{color:#e3ecf3}
@media(max-width:360px){.nf-theme-option{gap:10px;padding:14px}.nf-theme-option:has(input:checked){padding:13px}.nf-theme-symbol{width:26px;font-size:24px}}
