﻿:root{font-family:Inter,"Microsoft YaHei","PingFang SC",sans-serif;color:#eaf6ff;background:#061121;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 20%,#102849 0,#061121 56%);min-width:1120px}button{font:inherit;cursor:pointer}.app{min-height:100vh;padding:0 14px}.top{height:68px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #1c5b8e;background:linear-gradient(90deg,#07172c,#0c2443 50%,#07172c);margin:0 -14px;padding:0 22px;box-shadow:0 3px 20px #008cff22}.brand{display:flex;align-items:center;gap:18px;font-size:22px;font-weight:700;letter-spacing:1px}.brand .mark{font-size:35px;color:#30bfff;line-height:1}.brand i{height:25px;border-left:1px solid #4482a9}.brand span:last-child{font-size:23px}.top-right{display:flex;align-items:center;gap:22px;color:#9fc9e5;font-size:13px}.live b{display:inline-block;background:#36eab1;width:7px;height:7px;border-radius:50%;box-shadow:0 0 10px #36eab1;animation:pulse 2s infinite}.subtle{border:1px solid #2876aa;color:#bce7ff;background:#0b2946;border-radius:6px;padding:7px 12px}.layout{display:grid;grid-template-columns:minmax(0,20fr) minmax(0,60fr) minmax(0,20fr);grid-template-rows:minmax(590px,66vh) minmax(300px,30vh);gap:12px;padding:12px 0}.panel{border:1px solid #1c6294;background:linear-gradient(145deg,#0a1b32ef,#08172bec);box-shadow:inset 0 0 0 1px #1c6fa01a,0 0 15px #0088ff13;border-radius:8px;overflow:hidden}.left,.right{min-height:0}.section-title,.panel-heading{height:48px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #174971;padding:0 15px;font-size:18px;font-weight:700;color:#e7f6ff}.section-title span{color:#35bdff}.section-title small{margin-left:auto;font-size:12px;color:#75a9cc;font-weight:400}.factory-list{padding:10px;display:grid;grid-template-rows:repeat(4,1fr);gap:8px;height:calc(100% - 48px)}.factory-card{border:1px solid #245477;border-radius:7px;background:linear-gradient(90deg,#0d2441,#0b1c32);padding:8px 10px;text-align:left;color:#e8f5ff;min-height:0;transition:.2s}.factory-card:hover,.factory-card.selected{border-color:#36c6ff;box-shadow:0 0 16px #00aaff35;background:#0d3153}.fc-head{display:flex;justify-content:space-between;align-items:center;gap:5px;font-weight:700;font-size:15px}.status{color:#57dca2;font-size:11px;white-space:nowrap}.status.warning{color:#ffb94a}.fc-values{display:grid;grid-template-columns:1fr auto;row-gap:2px;margin-top:5px;font-size:11px;color:#9cc3db}.fc-values b{color:white;font-size:12px}.center{display:flex;flex-direction:column;gap:12px;min-height:0}.stats{height:79px;display:grid;grid-template-columns:repeat(4,1fr);align-items:center}.stat{text-align:center;border-right:1px solid #1b567c}.stat:last-child{border:0}.stat .label{color:#91b9d4;font-size:12px}.stat strong{display:block;font-size:25px;margin-top:2px}.stat strong span{font-size:12px;font-weight:400;margin-left:4px}.map-panel{flex:1;position:relative;min-height:0}.map-head{height:67px;display:flex;align-items:center;justify-content:space-between;padding:8px 16px;border-bottom:1px solid #174971;position:relative;z-index:500;pointer-events:none}.map-head>*{pointer-events:auto}.map-head h2{margin:0 0 5px;font-size:18px}.crumb{font-size:12px;color:#75b6df}.map-tools,.range{display:flex;border:1px solid #25608a;border-radius:6px;overflow:hidden}.map-tools button,.range button{border:0;background:#0a2541;color:#85b5d4;padding:7px 10px;font-size:12px}.map-tools button.active,.range button.active{background:#0877b6;color:white;box-shadow:inset 0 0 10px #26b8ff88}.map-tools button:hover,.range button:hover{color:white}#map{height:calc(100% - 67px);background:radial-gradient(ellipse at center,#102b4d,#08182d 70%)}.leaflet-container{background:transparent!important}.leaflet-control-zoom a{background:#0d2945!important;color:#9edbff!important;border-color:#2d7199!important}.leaflet-control-attribution{background:#07182abf!important;color:#6d96b0!important;font-size:9px!important}.leaflet-control-attribution a{color:#73b8df!important}.factory-marker{width:19px;height:19px;border-radius:50%;background:#42cbff;border:3px solid #d6f6ff;box-shadow:0 0 0 5px #26bfff4d,0 0 24px #26bfff;position:relative}.factory-marker.hq{background:#ffb54f;border-color:#fff0d3;box-shadow:0 0 0 6px #ff9e344c,0 0 24px #ff9e34}.factory-marker.selected:after{content:"";position:absolute;inset:-15px;border:1px solid #5ce0ff;border-radius:50%;animation:pulse 1.8s infinite}.factory-label{white-space:nowrap;background:#09243fdc;color:#e2f5ff;border:1px solid #2387bd;padding:4px 8px;border-radius:5px;font-size:11px;font-weight:700;box-shadow:0 0 12px #00b8ff40}.factory-label.hq{border-color:#d89935;color:#ffdc9d}.leaflet-tooltip{box-shadow:none!important}.leaflet-tooltip:before{display:none!important}.map-legend{position:absolute;bottom:11px;left:13px;z-index:500;display:flex;gap:14px;background:#06172cdb;border:1px solid #215578;border-radius:5px;padding:8px 10px;font-size:11px;color:#9fc6df}.dot{width:7px;height:7px;background:#39c8ff;border-radius:50%;display:inline-block;margin-right:5px}.dot.hq{background:#ffad45}.line{width:19px;height:1px;background:#42c7ff;display:inline-block;vertical-align:middle;margin-right:5px}.region-info{position:absolute;right:14px;bottom:13px;z-index:500;background:#0b2b48ed;border:1px solid #3889b4;border-radius:6px;padding:10px 14px;font-size:12px;max-width:220px}.region-info strong{display:block;margin-bottom:5px;font-size:15px}.hidden{display:none}.right{padding:0 12px 12px;overflow:auto}.detail-head{display:flex;align-items:center;justify-content:space-between;height:48px;border-bottom:1px solid #174971}.detail-head h2{font-size:18px;margin:0}.detail-head button{background:none;border:0;color:#57c8ff}.kpi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}.kpi{min-height:80px;border:1px solid #245477;background:#0a2540;border-radius:6px;padding:10px;min-width:0;overflow:hidden}.kpi span{font-size:12px;color:#9ac2da}.kpi strong{display:block;margin-top:7px;font-size:clamp(16px,1.45vw,25px);font-weight:650;white-space:nowrap}.kpi strong em{font-size:12px;font-style:normal;margin-left:3px;color:#91b9d4}.detail-section{margin-top:14px;border:1px solid #245477;border-radius:6px;overflow:hidden}.detail-section h3{font-size:14px;margin:0;padding:10px 12px;border-bottom:1px solid #245477}.detail-section .row{display:flex;justify-content:space-between;gap:10px;padding:8px 12px;border-bottom:1px solid #173d5c;font-size:12px;color:#c7e0ee}.detail-section .row:last-child{border:0}.detail-section .row b{color:#fff}.bottom{min-height:0}.panel-heading{height:44px;justify-content:space-between}.panel-heading h3{font-size:16px;margin:0}.tiny{font-size:11px;color:#6c99b9;font-weight:400}.chart{height:calc(100% - 76px);padding:8px 10px 0}.chart svg{width:100%;height:100%;overflow:visible}.chart-legend{height:30px;display:flex;justify-content:center;gap:18px;color:#9bc2d8;font-size:11px}.chart-legend i{display:inline-block;width:12px;height:3px;vertical-align:middle;margin-right:4px}.table-wrap{padding:8px 12px;overflow:auto;height:calc(100% - 44px)}table{width:100%;border-collapse:collapse;font-size:11px}th{text-align:left;color:#7caaca;font-weight:400;padding:10px 5px;border-bottom:1px solid #255275}td{padding:12px 5px;border-bottom:1px solid #173a58;color:#d8e9f5}.badge{background:#0c5077;color:#aee4ff;border:1px solid #2588b8;border-radius:10px;padding:3px 8px;white-space:nowrap}.badge.warn{color:#fbd594;border-color:#9e7833;background:#553a18}.events{padding:8px 14px;overflow:auto;height:calc(100% - 44px)}.event{display:flex;gap:10px;padding:9px 0;border-bottom:1px solid #193c59;font-size:11px;line-height:1.45}.event .bullet{width:7px;height:7px;border-radius:50%;background:#f6ac47;flex:none;margin-top:4px}.event .bullet.high{background:#fb6670}.event time{color:#8eb5cd;white-space:nowrap}.event .desc{color:#d0e4f1}footer{padding:0 4px 12px;color:#527d9b;font-size:10px;text-align:right}@keyframes pulse{50%{opacity:.4;transform:scale(1.25)}}@media(max-width:1300px){.layout{grid-template-columns:minmax(0,21fr) minmax(0,58fr) minmax(0,21fr)}.fc-head{font-size:13px}.brand{font-size:19px}.brand span:last-child{font-size:19px}}
