.theme-control[hidden]{display:none!important}
.theme-control{display:flex;align-items:center;gap:8px;font-size:.8125rem;color:var(--ink);flex:0 1 auto;min-width:0}
.theme-control select{font:inherit;color:var(--ink);background:var(--white);border:1px solid #899ba9;border-radius:8px;min-height:44px;padding:8px 26px 8px 10px;max-width:100%;cursor:pointer}
.theme-control:focus-within{border-radius:8px}
.header-inner{flex-wrap:wrap;padding-top:12px;padding-bottom:12px}
@media(max-width:1100px){.header-inner .header-note{display:none}}
@media(max-width:680px){.theme-control{flex-basis:100%;justify-content:flex-end}.header-inner{gap:12px}.theme-control select{min-width:105px}}
@media screen{
 :root[data-theme="light"]{color-scheme:light}
 :root[data-theme="dark"]{color-scheme:dark;--paper:#101a25;--ink:#e9f0f6;--muted:#b4c3d1;--line:#405366;--white:#1b2939;--blue:#91bcff}
 :root[data-theme="dark"] body{background:var(--paper);color:var(--ink)}
 :root[data-theme="dark"] :is(header,.search-box,.quick-search button,.category-button,.card,.view-help,.empty,dialog,.hero-visual figcaption,.guide-card,.local-support,.family-steps>div,.safety,.guide-outcome){background:var(--white);color:var(--ink);border-color:var(--line)}
 :root[data-theme="dark"] :is(select,.support-fields input,.support-fields select){background:#142131;color:var(--ink);border-color:#71869b}
 :root[data-theme="dark"] :is(.secondary){background:#1b2939;color:var(--ink);border-color:#71869b}
 :root[data-theme="dark"] :is(.primary,.search-box .primary){background:#145ce1;color:#fff}
 :root[data-theme="dark"] .primary:hover{background:#084abe;color:#fff}
 :root[data-theme="dark"] :is(.view-help:hover,.category-button:hover,.quick-search button:hover,.secondary:hover){background:#2b4058;color:#fff;border-color:#91bcff}
 :root[data-theme="dark"] .category-button[aria-current="true"]{background:#263e5b;color:#d2e3ff}
 :root[data-theme="dark"] :is(.sidebar-note,.local-prompt,.family-feature,.guide-note,.toolkit-section){background:#203348;color:var(--ink)}
 :root[data-theme="dark"] :is(.wifi-table-wrap th,.email-table th){background:#203348;color:var(--ink)}
 :root[data-theme="dark"] .guide-related{background:#203348!important;color:var(--ink)}
 :root[data-theme="dark"] :is(.resource-tag,.scope-tag,.problem-tags span){background:#2a405a;color:#d5e5fa}
 :root[data-theme="dark"] :is(.eyebrow,.section-kicker){color:#91bcff}
 :root[data-theme="dark"] input::placeholder{color:#aab9c8;opacity:1}
 :root[data-theme="dark"] .support-error{color:#ffb4ad}
 :root[data-theme="dark"] .visual-check{color:#142d42}
 :root[data-theme="dark"] :is(.brand-logo,.footer-logo){background:#fff;border-radius:8px;padding:5px}
 :root[data-theme="dark"] .cookie-list dd{border-color:var(--line)}
 :root[data-theme="dark"] :is(button,a,select,input):focus-visible{outline-color:#b8d4ff}
 :root[data-theme="dark"] dialog::backdrop{background:#000b}
}
@media print{.theme-control{display:none!important}}
