:root[data-theme=dark]{--ink:#e5e7eb;--muted:#b0b6be;--green:#c9ee83;--dark:#16191e;--line:#48505a;--paper:#1c1f24;--white:#2b2f36;--accent:#8ac5a6;--red:#f4a18f;--shadow:0 16px 60px #0005;color-scheme:dark}
[data-theme=dark] body{background:#1c1f24;color:#e5e7eb}
[data-theme=dark] :is(.panel,.management-window,.modal,.entry-card,.ops-card,.aircraft-card,.portfolio-route,.fleet-card,.message-card,.world-kpis>div,.metric,.workspace-brand,.workspace-nav,.workspace-top-actions>.btn,.workspace-top-actions .save-indicator,.map-utility-dock>button,.window-titlebar,.modal-head,.modal-foot,.map-utility-panel header,.map-country-rule article,.map-airport-result,.detail-kpis>div,.seat-map,.study-report-card,.study-card,.loan-panel,.executive-header,.company-card,.stock-card,.crisis-route,.response-options article,.airport-capacity-panel){background:#2b2f36;color:#e5e7eb;border-color:#48505a}
[data-theme=dark] :is(input,select,textarea,.field input,.field select,.search-input,.aircraft-sort){background:#20242b;color:#e7eeea;border-color:#56616e}
[data-theme=dark] :is(.btn,.pills button,.window-control,.map-tools button,.map-top button,.crisis-timeline,.world-strip,.notice,.estimate,.route-preview-key,.section-toolbar,.event-effects span,.class-price-field,.study-context,.internal-report-row,.entry-secondary){background:#353b44;color:#d6e6d0;border-color:#515a67}
[data-theme=dark] :is(.btn.primary,.entry-primary,.workspace-top-actions>.btn.primary){background:#b9dc8f;color:#152b20;border-color:#b9dc8f}
[data-theme=dark] :is(.workspace-nav button.active,.pills button.active,.chat-recipients button.active,.map-utility-dock>button.active){background:#47613a;color:#f0f7e8}
[data-theme=dark] :is(.modal h2,.modal h3,.management-window h2,.management-window h3,.workspace-brand,.metric-value,.aircraft-body h3,.map-airport-result strong,.map-airport-capacity button,.map-utility-panel h2){color:#e6e9ef}
[data-theme=dark] :is(.form-hint,.desc,.panel-sub,.aircraft-age-info,.catalog-years,.crisis-story,.event-copy p,.class-price-field small,.map-airport-result small,.map-airport-name,.map-airport-capacity,.map-rule-disclaimer,.map-country-rule p,.map-country-rule small,.map-rule-history p,.workspace-brand small,.metric-foot,.metric-label,.world-controls p,.study-report-card p){color:#b4bac4}
[data-theme=dark] .capital.metric{background:#23282f;border-color:#596572}
[data-theme=dark] .map-utility-panel{background:#252a32f2;border-color:#56616e;box-shadow:0 14px 45px #0007}
[data-theme=dark] .map-chat{background:rgba(36,40,47,.96);color:#e5eee8;border-color:#53694d}
[data-theme=dark] .map-chat>header,[data-theme=dark] .chat-compose,[data-theme=dark] .chat-recipients{border-color:#465a4d}
[data-theme=dark] .chat-recipients{background:#23283080}
[data-theme=dark] .chat-message{background:#343a43;border-color:#4a5461}
[data-theme=dark] .chat-message.own{background:#343f4b;border-color:#5b6878}
[data-theme=dark] .chat-message strong{color:#b5dfa6}
[data-theme=dark] .chat-message p{color:#e2ece5}
[data-theme=dark] .chat-compose textarea{background:#20242b;color:#e3eee5;border-color:#56616e}
[data-theme=dark] .map-chat header small,[data-theme=dark] .chat-empty{color:#b2c6ad}
[data-theme=dark] .chat-error{color:#ffb4a5}
[data-theme=dark] .chat-recipients button.active{background:#45603a;color:#eef8e4}
[data-theme=dark] .leaflet-tile-pane{filter:brightness(.64) saturate(.65)}
[data-theme=dark] .geographic-map{background:#20262d!important}
[data-theme=dark] .leaflet-control-attribution{background:#282f38eb!important;color:#bbccbf}
[data-theme=dark] .leaflet-control-attribution a{color:#c5e3bc!important}
[data-theme=dark] .entry-story p,[data-theme=dark] .entry-footer,[data-theme=dark] .entry-card p,[data-theme=dark] .entry-card small{color:#b0b9c5}
[data-theme=dark] .entry-shell{background:#1c1f24}
[data-theme=dark] .entry-story h1{color:#e3e7ee}
[data-theme=dark] .profit{color:#b4df88!important}
[data-theme=dark] .negative,[data-theme=dark] .error{color:#ffb5a4!important}
.entry-theme-toggle{position:fixed;bottom:18px;right:20px;z-index:30;border-radius:9px;padding:11px 16px;background:#fffffff2;color:#264735;border:1px solid #b6c6ae;font-size:12px}
[data-theme=dark] .entry-theme-toggle{background:#303741;color:#e0ecda;border-color:#5c6776}

[data-theme=dark] .workspace-clock .clock-bar{background:#2b2f36f5;color:#e6e9ef;border-color:#53606f}
[data-theme=dark] .workspace-clock :is(.clock-date,.clock-caption,.time-state){color:#c6cdd6}
[data-theme=dark] .map-chat header>button,[data-theme=dark] .map-utility-panel header>button{background:#424a56;color:#e1efd9}
[data-theme=dark] .city-map-label{color:#bac4d0!important;text-shadow:0 1px 2px #1b2026,0 -1px 2px #1b2026}
[data-theme=dark] .country-label{color:#c1c9d2;text-shadow:0 1px 2px #1b2026,0 -1px 2px #1b2026}
[data-theme=dark] .geographic-plane{background:#333d48dc;border-color:#a6c88c}
[data-theme=dark] .geographic-plane .aircraft-symbol{stroke:#d5eec1;fill:#a1c985}
[data-theme=dark] .workspace-nav button{color:#c4cbd4}
[data-theme=dark] .workspace-nav button.active{color:#f0f7e8}
[data-theme=dark] .speed-controls{background:#20262e}
[data-theme=dark] .speed-controls button{color:#d1d7df}
[data-theme=dark] .speed-controls button.active{background:#b9dc8f;color:#152b20}

[data-theme=dark] :is(.aircraft-art,.type-art,.photo-fallback){background:#353c46}

[data-theme=dark] .map-utility-dock{background:#2b2f36f2;border-color:#48505a}
[data-theme=dark] .map-utility-dock>.map-tools{background:transparent;border-color:#48505a}
[data-theme=dark] .map-utility-dock :is(button,.map-tools button){background:transparent;color:#c4cbd4}
[data-theme=dark] .map-utility-dock>button.active{background:#47613a;color:#f0f7e8}
/* All management tabs use the same neutral surfaces and readable text. */
[data-theme=dark] :is(.airport-tile,.executive-team,.executive-section,.development-card,.union-card,.commercial-management-card,.loyalty-management-card,.management-explainer,.management-check,.management-route-list,.loyalty-overview,.study-order,.study-archive,.study-comparison section,.study-comparison section:last-child,.matching-banner,.retirement-panel,.used-stock,.rivalry-results,.adviser-allocation,.stock-chart-empty,.route-group-toolbar,.plane-option,.setup-hero){background:#2b2f36;border-color:#48505a;color:#e5e7eb}
[data-theme=dark] :is(.executive-summary,.executive-open,.executive-project,.executive-report,.study-report-heading,.study-route-summary,.commercial-card-icon,.executive-icon,.executive-status,.adviser-pie>span,.modal-close,.help-step .num,.stop-number,.event-icon){background:#353c46;border-color:#4a5462;color:#e1e6ee}
[data-theme=dark] :is(.airport-tile:hover,.executive-team:hover,.executive-open:hover,.plane-option:has(input:checked),.management-check:has(input:checked)){background:#3a424d;border-color:#83946f}
[data-theme=dark] .executive-summary>div{border-color:#53606b}
[data-theme=dark] .executive-summary span{color:#c2cbd7}
[data-theme=dark] .executive-status.is-active{background:#40583d;color:#dceec6}
[data-theme=dark] :is(.management-window,.modal) :is(h1,h2,h3,h4,strong,b,dt,label,.executive-value,.plane-price,.iata,.city,.executive-open){color:#e5e7eb}
[data-theme=dark] :is(.management-window,.modal) :is(p,small,.form-hint,.country,.tile-foot,.executive-detail,.executive-team-meta,.executive-date,.study-result-count,.stock-range){color:#b4becb}
[data-theme=dark] :is(.management-window,.modal,.entry-card) :is(input,select,textarea){background:#20242b;color:#e5e7eb;border-color:#56616e}
[data-theme=dark] :is(.management-window,.modal,.entry-card) :is(input,select,textarea)::placeholder{color:#9aa7b8;opacity:1}
[data-theme=dark] :is(.management-window,.modal) :is(input,select,textarea):disabled{color:#a5aebc;background:#262c34;opacity:.8}
[data-theme=dark] :is(.demand-bar,.occupancy>i,.progress-track,.event-progress,.investor-progress){background:#424b58}
[data-theme=dark] :is(.management-window,.modal) :is(table,thead,tbody,tfoot){background:#2b2f36;color:#e5e7eb}
[data-theme=dark] :is(.management-window,.modal) :is(th,.exchange-table th,.study-archive-table th,.fleet-overview tfoot){background:#343c47;color:#d4deea;border-color:#4b5664}
[data-theme=dark] :is(.management-window,.modal) :is(td,tr,.executive-section>header,.executive-open,.executive-project,.executive-report){border-color:#46505e}
[data-theme=dark] :is(.management-window,.modal) tbody tr:hover{background:#343d48}
[data-theme=dark] .study-archive-table .study-best{background:#344137}
[data-theme=dark] .study-archive-table :is(.study-profit,strong,b),[data-theme=dark] .study-source-label{color:#d5e9bc!important}
[data-theme=dark] :is(.tag,.status,.study-badges span){background:#3d4753;color:#d6dfeb;border-color:#55616f}
[data-theme=dark] .status.maintenance,[data-theme=dark] .study-badges span.study-old{background:#58452e;color:#f0d3a0}
[data-theme=dark] :is(.executive-loyalty,.executive-loyalty .btn,.management-check){background:#30363f;border-color:#53606e;color:#d4deea}
[data-theme=dark] .executive-project progress::-webkit-progress-bar{background:#485260}
[data-theme=dark] .executive-project progress::-webkit-progress-value{background:#a6c982}
[data-theme=dark] .executive-section>header button{color:#c8dcb2}
[data-theme=dark] .executive-report-values b{color:#b4df88}
[data-theme=dark] .executive-empty-icon{color:#8391a3}
[data-theme=dark] .study-order>summary{color:#e0e8f3}
[data-theme=dark] :is(.study-order>summary span,.study-archive-tools label,.study-archive .form-hint,.study-archive-table td:before,.study-comparison section>div){color:#b4becb}
[data-theme=dark] :is(.progress-track,.crisis-timeline,.response-options article,.seat-map,.subsidary-settlement){border-color:#48505a}

[data-theme=dark] .entry-singleplayer{background:#303842;border-color:#556371;color:#e4eaf2}[data-theme=dark] .entry-singleplayer small{color:#b6c2d0}
[data-theme=dark] .news-ticker{background:#2b2f36f2;border-color:#48505a;color:#e2e7ee}[data-theme=dark] .ticker-label{color:#bfd5aa;border-color:#53606c}[data-theme=dark] .ticker-story b{color:#aebcca}[data-theme=dark] .newspaper-dialog .modal-body{background:#282d35}[data-theme=dark] .newspaper{color:#e5e8ee}[data-theme=dark] .newspaper-masthead{border-color:#8b97a7}[data-theme=dark] .newspaper-rubric{color:#d5b28c}[data-theme=dark] .newspaper-photo figcaption,[data-theme=dark] .newspaper-validity,[data-theme=dark] .newspaper>footer{color:#adb8c7}[data-theme=dark] .newspaper>footer{border-color:#52606e}[data-theme=dark] .newspaper-consequences{background:#343b45;border-color:#64717f;border-left-color:#bf9572}[data-theme=dark] .newspaper-regulation-seal{border-color:#98a6b7;color:#b2bfce}[data-theme=dark] .news-archive-item{background:#2b2f36;border-color:#48505a}[data-theme=dark] .news-archive-item>summary:hover{background:#353d48}
[data-theme=dark] .workspace-hud .metrics{background:#2b2f36f5;border-color:#48505a}[data-theme=dark] .workspace-hud .metric,[data-theme=dark] .workspace-hud .metric.capital{background:transparent;border-color:#48505a;color:#e5e7eb}[data-theme=dark] .workspace-hud .metric.capital .metric-value{color:#bfd5aa}[data-theme=dark] .workspace-hud .metric-label,[data-theme=dark] .workspace-hud .metric-foot{color:#b4bac4}
/* Muted newsprint inside the anthracite workspace. */
[data-theme=dark] .newspaper-dialog{background:#d9d3c6;border-color:#827b6f}[data-theme=dark] .newspaper-dialog .modal-body{background-color:#d9d3c6}[data-theme=dark] .newspaper-dialog .modal-head{background:transparent;border:0}[data-theme=dark] .newspaper,[data-theme=dark] .newspaper :is(h2,h3,strong,dd){color:#28251f}[data-theme=dark] .newspaper-masthead,[data-theme=dark] .newspaper>footer{border-color:#4a453a}[data-theme=dark] .newspaper-rubric{color:#6e583e}[data-theme=dark] .newspaper :is(.newspaper-validity,.newspaper-photo figcaption,dt,footer){color:#635b4f}[data-theme=dark] .newspaper-consequences{background:transparent;border-color:#8d8270}[data-theme=dark] .newspaper-consequences p{color:#4e483e}[data-theme=dark] .newspaper-dialog .modal-foot{background:#c8c1b1;border-color:#a39987}

[data-theme=dark] .modal.newspaper-dialog .newspaper :is(h2,h3,strong,b,dd,.newspaper-lead){color:#28251f}[data-theme=dark] .modal.newspaper-dialog .newspaper :is(dt,.newspaper-validity,.newspaper-photo figcaption,footer){color:#635b4f}
[data-theme=dark] .modal.newspaper-dialog .newspaper .newspaper-consequences p{color:#4e483e}
[data-theme=dark] .workspace-top{background:#292e35f5;border-color:#4a525d}[data-theme=dark] .workspace-top .workspace-brand{background:transparent;border-color:#4a525d}[data-theme=dark] .workspace-top .workspace-hud .metrics{background:transparent;border:0}[data-theme=dark] .workspace-hud .metric+.metric{border-color:#4a525d}[data-theme=dark] .workspace-top-actions>.btn{background:#343b45;border-color:#56616f;color:#e5e7eb}[data-theme=dark] .workspace-top-actions>.btn.primary{background:#bddb91;color:#263b24;border-color:#a7cb79}[data-theme=dark] .workspace-top-actions>.top-settings{background:#424b57;border-color:#697685;color:#f0f2f5}[data-theme=dark] .workspace-connection .save-indicator{background:transparent;color:#b4bdc8}[data-theme=dark] .presence-toggle{color:#c1d5b2}[data-theme=dark] .presence-list{background:#303741;border-color:#56616d;color:#e7eaf0}[data-theme=dark] .presence-list li+li{border-color:#4b5664}[data-theme=dark] .presence-list li span,[data-theme=dark] .presence-list p{color:#bac4d1}[data-theme=dark] .market-mode-tabs{border-color:#4d5b66}[data-theme=dark] .market-mode-tabs button{color:#aeb9c7}[data-theme=dark] .market-mode-tabs button.active{color:#c5dbac;border-color:#98b880}[data-theme=dark] .exchange-window :is(.exchange-heading,.exchange-tabs,.exchange-table th,.exchange-table td){border-color:#4d5865}[data-theme=dark] .exchange-window .exchange-table th{background:transparent}[data-theme=dark] .exchange-window .exchange-tabs button{color:#b3becc}[data-theme=dark] .exchange-window .exchange-tabs button.active{color:#c5dbac;border-color:#98b880}[data-theme=dark] :is(.holding-foundation,.bank-choice){background:#2d343e;border-color:#505d6b;color:#e1e7ef}[data-theme=dark] .bank-choice:has(input:checked){background:#3c4951;border-color:#9cb68a;box-shadow:inset 0 0 0 1px #9cb68a}[data-theme=dark] .workspace-map .plane-inspector{background:#2b313af5;border-color:#586575;color:#e4e9f0}
[data-theme=dark] .modal.newspaper-dialog{background:#d1d0cb}[data-theme=dark] .modal.newspaper-dialog .modal-body{background-color:#d1d0cb}[data-theme=dark] .modal.newspaper-dialog .newspaper,[data-theme=dark] .modal.newspaper-dialog .newspaper :is(h2,h3,strong,b,dt,dd,.newspaper-lead){color:#181818}[data-theme=dark] .modal.newspaper-dialog .newspaper .newspaper-consequences p{color:#333}[data-theme=dark] .modal.newspaper-dialog .newspaper :is(.newspaper-validity,.newspaper-photo figcaption,.newspaper-document figcaption,footer){color:#4c4c4c}[data-theme=dark] .modal.newspaper-dialog :is(.newspaper-masthead,.newspaper-edition,.newspaper-dateline,.newspaper-facts,.newspaper-consequences,.newspaper>footer){border-color:#2a2a2a}[data-theme=dark] .modal.newspaper-dialog .modal-foot{background:#bfbdB6;border-color:#333}[data-theme=dark] .modal.newspaper-dialog .modal-head>button{background:#d1d0cb;color:#222;border-color:#555}
