.theme-toggle{font:inherit;font-size:12px;padding:9px 12px;border-radius:6px;border:1px solid #dce3eb;background:white;color:#263445;cursor:pointer;white-space:nowrap}#csv-dialog{width:min(900px,94vw)}#csv-preview{max-height:50vh;overflow:auto;margin:18px 0}#csv-preview li{padding:7px;color:#b42318}#csv-confirm{margin-top:12px}
html[data-theme=dark]{color-scheme:dark;--bg:#10141e;--panel:#192131;--text:#e8edf7;--ink:#e8edf7;--muted:#a9b5c9;--line:#35415a;--blue:#9c9cff;--blue-light:#282b50;--blue-hover:#4848ef;--navy:#192131}
html[data-theme=dark] body{background:#10141e;color:#e8edf7}html[data-theme=dark] :is(.sidebar,.sidebar .brand,.topbar,.intro,.auth-card,.flight-panel,.fleet-card,.stats article,.theme-toggle,.live-list,.live-layout,dialog,.flight-link,.hero-brand,.brand-caption){background:#192131;color:#e8edf7;border-color:#35415a}
html[data-theme=dark] :is(.brand,.sidebar .brand,.auth-shell .brand,.sidebar-bottom strong,.nav-item,.quiet,.secondary,label,.breadcrumb strong){color:#e8edf7}
html[data-theme=dark] :is(input,select,textarea,.quiet,.secondary,.row-open,.route-card,.compact-row,th,.grade-panel,.pilot-position-banner,.debrief-card,.manifest-summary){background:#192131;color:#e8edf7;border-color:#35415a}
html[data-theme=dark] :is(.booking-banner,.nav-item.active,.route-card.selected,.rank-chip.achieved,.transfer-quote,.auth-note){background:#282b50;color:#e8edf7;border-color:#4b4c75}
html[data-theme=dark] :is(.muted,.hint,.footnote,.sidebar-bottom,.nav-label,.portal-label,.brand small,.map-caption,.lead,.hero-note,.small-status,.journey p,.about>div>p:not(.eyebrow),footer p,.flight-link span,.empty-live){color:#a9b5c9}
html[data-theme=dark] :is(.eyebrow,.text-link,h1 em,.aircraft-type,.nav-item.active,.tabs button.active){color:#adadff}
html[data-theme=dark] :is(.primary,.cta){background:#4a4aff;color:white;border-color:#4a4aff}html[data-theme=dark] .cta.light{background:white;color:#2828ff}html[data-theme=dark] .closing{background:#2525c9}html[data-theme=dark] .closing .eyebrow{color:#d1d1ff}
html[data-theme=dark] :is(.live-section,.public-nav,footer,.company-stats,.about){background:#10141e;border-color:#35415a}html[data-theme=dark] :is(.section-heading,td,tr,.journey li,.company-stats>div,.sidebar-bottom,.fleet-location,.list-heading,.workspace-footer){border-color:#35415a}
html[data-theme=dark] .message{background:#382d1d;border-color:#665438;color:#ffdaa2}html[data-theme=dark] :is(.approved,.money-positive){color:#a0e8bd}html[data-theme=dark] .approved{background:#193d30}html[data-theme=dark] :is(.rejected,.money-negative,#csv-preview li){color:#ffb0a6}html[data-theme=dark] .rejected{background:#482b32}html[data-theme=dark] .pending{background:#433b27;color:#ffe0a3}
html[data-theme=dark] :is(.nav-item:hover,.route-card:hover,.flight-link:hover,.quiet:hover:not(:disabled),.secondary:hover:not(:disabled)){background:#2b3650;color:white}html[data-theme=dark] .leaflet-popup-content-wrapper,html[data-theme=dark] .leaflet-popup-tip{background:#192131;color:#e8edf7}html[data-theme=dark] .brand-logo,html[data-theme=dark] .brand img{background:white;border-radius:7px}html[data-theme=dark] .wallet-hero{background:#2828b9}
@media(max-width:800px){.public-nav nav .theme-toggle{display:block}.user-tools{flex-wrap:wrap}}
