/* Visual treatment based on the supplied dark operations-dashboard reference. */
:root{color:#e9f0f4;background:#080d13;color-scheme:dark}
body{background:#080d13}
.top{height:62px;background:#0a1018;border-bottom:1px solid #1c2832;box-shadow:none}
.brand{gap:14px;font-size:19px;letter-spacing:.2px}
.brand .mark{font-size:27px;color:#ef915b;text-shadow:0 0 14px #ef915b55}
.brand i{height:20px;border-color:#30404a}
.brand span:last-child{font-size:19px}
.top-right{color:#80919f}
.live b{background:#19c3bb;box-shadow:0 0 8px #19c3bb77}
.subtle{background:#131b25;border:1px solid #25313a;color:#aebcc8;border-radius:9px}
.subtle:hover{border-color:#3a6f74;color:#f0f8f8}
.layout{gap:14px;padding-top:16px}
.panel{background:#111a25;border:1px solid #222e3a;border-radius:13px;box-shadow:none}
.section-title,.panel-heading{border-bottom:1px solid #25313b;color:#edf3f7;font-size:16px}
.section-title span{color:#1ac6c7}
.section-title small,.tiny{color:#687c8b}
.stats{background:transparent;border:0;box-shadow:none;gap:10px;overflow:visible}
.stat{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;text-align:left;padding:10px 14px;background:linear-gradient(180deg,#151e29,#111923);border:1px solid #25313c;border-left:2px solid #17c7c8;border-radius:11px;min-width:0}
.stat .label{color:#7f94a2;font-size:11px}
.stat strong{font-size:clamp(17px,1.5vw,24px);letter-spacing:.2px;white-space:nowrap}
.stat strong span{color:#899ca8;font-size:10px;margin-left:2px}
.factory-list{gap:9px}
.factory-card{background:#141e2a;border-color:#26333f;border-radius:10px;box-shadow:none}
.factory-card:hover,.factory-card.selected{background:#17232e;border-color:#1e9aa1;box-shadow:inset 2px 0 #18c6c8}
.fc-head{color:#eff4f6}
.fc-values{color:#7f93a1}
.fc-values b{color:#e7eef2}
.status{color:#28c394}
.status.warning{color:#e69b69}
.map-head{border-bottom:1px solid #24313d}
.map-head h2{font-size:16px;color:#e8f1f4}
.crumb{color:#7999a5}
#map{background:#0c151f}
.map-tools,.range{border:1px solid #2a3742;border-radius:8px}
.map-tools button,.range button{background:#131c27;color:#8799a6}
.map-tools button.active,.range button.active{background:#3a251d;color:#f2aa7a;box-shadow:none}
.map-tools button:hover,.range button:hover{background:#202e38;color:#e8f2f2}
.factory-marker{background:#20c6ca;border-color:#dcffff;box-shadow:0 0 0 4px #16b6ba33,0 0 13px #18c6ca88}
.factory-marker.hq{background:#f09a62;border-color:#ffe7d5;box-shadow:0 0 0 5px #e68d4c30,0 0 15px #e68d4c88}
.factory-marker.selected:after{border-color:#29cbd0}
.leaflet-tooltip.factory-tooltip{background:#121c27;border:1px solid #2a6167;color:#edf6f6;border-radius:8px;padding:0;box-shadow:0 6px 20px #0005}
.factory-label{display:block;background:transparent;border:0;border-radius:0;box-shadow:none;color:#dcebec;font-size:11px}
.factory-label.hq{color:#f6b17b;border:0}
.map-legend,.region-info{background:#111a25ed;border-color:#2a3943;color:#91a5b0}
.dot{background:#20c6ca}.dot.hq{background:#ef9b64}.line{background:#1ebdc1}
.leaflet-control-zoom a{background:#151f2a!important;border-color:#2a3944!important;color:#a0b2bf!important}
.leaflet-control-attribution{background:#0c151fd9!important;color:#607684!important}
.leaflet-control-attribution a{color:#6da5aa!important}
.detail-head{border-bottom:1px solid #26343e}
.detail-head h2{font-size:17px}
.detail-head button{color:#24c6ca}
.kpi{background:#151f2b;border-color:#293642;border-radius:10px}
.kpi span{color:#8295a4}
.kpi strong{color:#f1f6f7}
.kpi strong em{color:#879ba7}
.detail-section{border-color:#293642;border-radius:10px}
.detail-section h3{border-color:#293642}
.detail-section .row{border-color:#202e39;color:#9eb0bc}
.detail-section .row b{color:#e9f0f3}
.chart-legend{color:#8095a3}
.badge{background:#173036;border-color:#2b6a6e;color:#87d5d3}
.badge.warn{background:#38271e;border-color:#805342;color:#e8a579}
th{color:#708796;border-color:#293a45}
td{color:#b8c9d2;border-color:#24313b}
.event{border-color:#26333d}
.event .bullet{background:#e39a68}.event .bullet.high{background:#e36b70}
.event time{color:#778e9c}.event .desc{color:#bacbd5}
footer{color:#536a78}
