/* XRX forest / olive operations theme. Mission and coalition colours stay semantic. */
:root{--bg:#0c190f;--panel:#152719;--panel2:#203422;--line:#3b5136;--text:#e4edd8;--muted:#a0b393;--teal:#b3d57b;--green:#b3d57b;--shadow:0 18px 60px #020a0559}
body{background:radial-gradient(ellipse at 75% 0,#2c4324 0,transparent 48%),var(--bg);color:var(--text)}
.app-header,.toolbar{background:linear-gradient(115deg,#20351cf5,#13271bf5);border-color:#4b6240;box-shadow:0 8px 28px #020b0570}
.app-header{border-bottom-color:#3b5236}.brand-mark{background:#304a25;border-color:#6d8852;color:#c5e892}.brand strong{color:#edf4df}.brand small{color:#9eb68b}
.campaign-badge{background:#334b28;border-color:#6c8450;color:#e0ebca}.campaign-badge small{color:#b6c79e}nav a,nav button{color:#bdccb0}
.server-strip{border-color:#3a5032}.server-metric strong{color:#d6e3c7}.landing-note{color:#b5ca9f}.live-dot,.connection.live i{box-shadow:0 0 10px #a8d76b66}
.view-toggle,.filter-chip,.threat-filters button,.status-filter select,.basemap-label select{background:#20351f;border-color:#49613e}.view-toggle button{color:#b4c6a3}.view-toggle button.selected{background:#bbd48a;color:#172611}.filter-chip.selected,.threat-filters button[aria-pressed=true]{background:#485f2e;border-color:#a9ca70;color:#f0f6e4}.filter-label{color:#91a87e}
.secondary,.icon-button,.map-tool{background:#263c23;border-color:#536a43;color:#d0ddbd}.secondary:hover,.icon-button:hover,.map-tool:hover{background:#374f2c;border-color:#b3d57b;color:#f1f6e8}.secondary:disabled{background:#20321e}.map-tool[aria-pressed=true]{background:#516931;border-color:#c0df83;color:#f1f6e8}
.workspace,.workspace #map{background:#14231a}.leaflet-control-attribution{background:#102315eb!important;color:#adbd9c!important}.leaflet-control-attribution a{color:#c6d7ac!important}.leaflet-bar{border-color:#536a43!important}.leaflet-bar a{background:#233a23!important;color:#d7e3c4!important;border-color:#50683e!important}
.leaflet-tooltip.zone-label{color:#d0dfba;text-shadow:0 2px 4px #061006,1px 0 2px #061006}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#1b301e}.airfield-pin{background:#1a2c1c}.airfield-pin.home{background:#25442b}.mission-pin{background:#162819ed}.mission-bubble{color:#12200f}
.map-hint,.tool-readout,.measurement-label{background:#1a2e1aef;border-color:#526a42;color:#d0ddbc}.layers-panel{background:#192e1af5;border-color:#61784b}.layers-panel label{color:#c1d0ac}.layers-panel>strong{color:#bcd09f}.layer-key{border-color:#405637}
.mission-sidebar{background:#172b1af5;border-color:#5a7346;box-shadow:0 12px 36px #020c057d}.sidebar-head{background:#22391f;border-bottom-color:#405a34}.sidebar-head h2{color:#e5edd8}.sidebar-head p{color:#b3c59f}.objective-detail{background:#263f24;border-color:#4c663e}.objective-detail h3{color:#e5edd8}.objective-detail p,.detail-coords{color:#c3d5ac}.objective-detail>small{color:#c7d6b3}.mission-card{background:#1a301d;border-color:#3d5734}.mission-card:hover{background:#2b4325}.mission-card.selected{background:#354d2a}.mission-code,.mission-meta{color:#adbf98}.mission-status{color:#c2d4ac}.mission-progress{background:#112513}.mission-card h3{color:#e5edd8}
.threat-panel{background:linear-gradient(125deg,#243b20f7,#13291bf7);border-color:#60784b;box-shadow:0 10px 35px #04110770}.threat-head strong{color:#c1df8c}.threat-panel p,.threat-panel small{color:#b2c49c}.threat-panel th{color:#bbcf9f}.threat-panel td{border-top-color:#425a35;color:#dde8cd}.threat-panel td small{color:#a2b88b}.threat-panel .stale td{color:#e4b972}
.pilot-guidance{background:#243b1ff2;border-color:#6b8250;box-shadow:0 4px 20px #020b0577}.pilot-route span{color:#d1dfbe}.accept-mission{border-color:#b3d57b!important;color:#dbefba!important}
dialog,#linkDialog{background:#1b301c;color:var(--text);border-color:#728754}dialog::backdrop{background:#061007ba}.stats-head{background:#263d21;border-color:#49633a}.stats-metrics,.rank-guide,.activity-item{border-color:#425a35}.table-wrap th{background:#23391f;color:#bed1a5}.table-wrap td{border-color:#3c5632}.rank-guide p{color:#b9cba5}#linkDialog p{color:#c1d2ab}#linkCode{background:#102313;border-color:#6d8651;color:#e0efbd}.toast{background:#405a2b;border-color:#b1ce7c;color:#f0f5e5}
.metric,.panel{background:linear-gradient(145deg,#263c22,#162b1a);border-color:#455e38}.pilot-row{background:#1b301d;border-color:#425b35}.avatar{background:#354f29}.select,.field input,.field select,.field textarea{background:#122614;border-color:#5a7343;color:#e4edd8}.primary{background:#b3d57b;border-color:#b3d57b;color:#1b2c11}.primary:hover{background:#cbe99b}.event,.connection-row{border-color:#3b5432}.empty{border-color:#567247}.field label{color:#c8d7b3}
.map-dark.map-raster .leaflet-tile-pane{filter:grayscale(1) invert(.94) sepia(.5) hue-rotate(38deg) saturate(.75) brightness(.85)}
