:root{--ink:#dfeaf0;--muted:#8da2ae;--subtle:#607887;--accent:#59e0d2;--line:rgba(133,196,204,.18);--panel:rgba(9,23,33,.92);--warm:#ffb763;--negative:#ff6a6a}
*{box-sizing:border-box}html,body{margin:0;height:100%;background:#07131c;font-family:'Segoe UI',Inter,system-ui,-apple-system,sans-serif;color:var(--ink);overflow:hidden;font-size:13px}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:2px solid #72efdc;outline-offset:3px}#view{display:block;width:100vw;height:100vh;touch-action:none;cursor:grab}#view:active{cursor:grabbing}#app{position:absolute;inset:0;pointer-events:none}#app>*{pointer-events:auto}#app[hidden]{display:none!important}.glass{background:linear-gradient(135deg,rgba(13,31,43,.94),rgba(8,20,30,.88));border:1px solid var(--line);box-shadow:0 12px 44px #030b13b0;backdrop-filter:blur(19px)}.masthead{position:absolute;top:0;left:0;right:0;height:73px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;background:linear-gradient(90deg,rgba(8,22,31,.97),rgba(8,22,31,.78));border-bottom:1px solid var(--line);pointer-events:auto;z-index:8}.brand{display:flex;gap:13px;align-items:center;letter-spacing:.12em}.brand-glyph{font-size:39px;color:var(--accent);text-shadow:0 0 22px #2bc5be88}.brand b{display:block;font-size:15px;letter-spacing:.14em}.brand em{font-style:normal;color:#8df3e9}.brand small{display:block;font-size:9px;letter-spacing:.18em;color:var(--muted);margin-top:5px}.header-mid{display:flex;gap:13px;align-items:center;font-size:10px;letter-spacing:.13em;color:#b1cbd0}.header-mid>b{font-size:11px;letter-spacing:.12em}.header-line{width:1px;height:18px;background:var(--line)}.green-dot,.dot.green{width:7px;height:7px;border-radius:50%;background:#51e6ab;box-shadow:0 0 13px #51e6ab;display:inline-block}.head-actions{display:flex;gap:8px}.ghost{background:#14293485;color:#a9c0c6;border:1px solid var(--line);padding:10px 13px;border-radius:5px;font-size:10px;letter-spacing:.09em}.ghost:hover{color:var(--accent);border-color:#53ceba}.mobile-toggle{display:none}.left-panel{position:absolute;left:17px;top:88px;bottom:18px;width:310px;overflow-y:auto;overflow-x:hidden;border-radius:9px;z-index:5;scrollbar-color:#31505c transparent;pointer-events:auto}.panel-heading,.section-title,.eyebrow,.code{font-size:10px;font-weight:700;letter-spacing:.15em}.eyebrow{color:var(--accent)}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 21px 14px;border-bottom:1px solid var(--line)}.code{color:var(--subtle)}.section-title{display:flex;justify-content:space-between;color:#b4ccd1;margin-bottom:14px}.section-title span{color:var(--accent);font-size:9px}.control-section{padding:17px 20px;border-bottom:1px solid var(--line)}.main-gauge{display:flex;align-items:center;flex-direction:column;padding:7px 0 19px}.gauge-dial{width:153px;height:153px;border-radius:50%;background:conic-gradient(from 218deg,var(--accent) 0deg,#188e9b 210deg,#1b3642 211deg,#1b3642 284deg,transparent 284deg);display:grid;place-items:center;box-shadow:0 0 20px #40c5b322;position:relative}.gauge-dial:before{position:absolute;inset:10px;border:1px solid #3b7c80;border-radius:50%;content:'';opacity:.48}.gauge-inside{width:121px;height:121px;border-radius:50%;background:#091923;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:1;box-shadow:inset 0 1px 21px #02090f}.gauge-inside span,.gauge-inside small,.gauge-foot{color:var(--muted);font-size:9px;letter-spacing:.15em}.gauge-inside strong{font-size:35px;line-height:1.4;color:#e9fdfc;font-weight:600;font-variant-numeric:tabular-nums}.gauge-foot{display:flex;gap:12px;margin-top:14px}.gauge-foot b{color:var(--accent)}.stat-pair{padding:8px 0;display:flex;justify-content:space-between;border-top:1px solid #a7bec017;font-size:12px;color:var(--muted)}.stat-pair strong{color:#e7f1f2;font-size:12px;font-variant-numeric:tabular-nums;font-weight:650}.controls{padding-bottom:6px}.control-row{margin:0 0 22px}.control-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.control-title label{color:#c0d0d8;font-weight:500;font-size:11px}.control-title output{font-size:11px;font-variant-numeric:tabular-nums;color:var(--accent);font-weight:700}input[type=range]{width:100%;height:3px;appearance:none;background:linear-gradient(to right,var(--accent) 0%,var(--accent) var(--fill,50%),#36515d var(--fill,50%),#36515d 100%);outline:none;border:0;cursor:pointer}input[type=range]::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border-radius:50%;background:#b2fff2;border:2px solid #246e78;box-shadow:0 0 11px #56dcce7b}input[type=range]::-moz-range-thumb{width:11px;height:11px;border:2px solid #246e78;border-radius:50%;background:#b2fff2}.control-hint{display:flex;justify-content:space-between;font-size:9px;color:#637f8b;margin-top:7px}.panel-section-bottom{padding:15px 20px 17px}.auto-toggle{display:flex;gap:9px;align-items:center;cursor:pointer;font-size:11px;color:#c6d7da;font-weight:600;letter-spacing:.08em}.auto-toggle input{position:absolute;opacity:0}.switch{height:17px;width:29px;border:1px solid #275a63;border-radius:12px;background:#102832;position:relative;display:inline-block}.switch:before{content:'';width:11px;height:11px;background:#5d8290;border-radius:100%;position:absolute;top:2px;left:2px;transition:.2s}.auto-toggle input:checked+.switch{background:#116b63}.auto-toggle input:checked+.switch:before{background:#9bffec;transform:translateX(12px)}.tiny{font-size:9px;color:var(--subtle);margin-left:auto}.trip-buttons{display:flex;gap:8px;margin-top:16px}.trip-buttons button{border-radius:4px;font-size:10px;font-weight:700;letter-spacing:.07em;padding:11px 5px}.danger{flex:2;background:#4a1e25;color:#ffa6a3;border:1px solid #9a3c42}.danger:hover{background:#712c35}.restore{flex:1;background:#152d37;color:#8de9d4;border:1px solid #276760}.footnote{margin-top:17px;font-size:8px;color:#547480;line-height:1.6;letter-spacing:.09em}.right-panel{position:absolute;right:18px;top:89px;width:265px;display:flex;flex-direction:column;gap:12px;z-index:4}.right-panel .glass{border-radius:8px}.orbit-map{padding:14px}.mini-title,.map-footer{display:flex;justify-content:space-between;font-size:9px;color:#8fb1bd;letter-spacing:.08em}.mini-title b{color:#cce8e9}#minimap{width:100%;height:187px;margin:9px 0;cursor:crosshair;border:1px solid #1e3d46;background:#071a26}.map-footer{color:#6c8b98}.facility-card{padding:18px}.facility-card .eyebrow{display:flex;justify-content:space-between}.facility-card h3{font-size:20px;line-height:1.2;margin:12px 0 9px;font-weight:600}.facility-card p{font-size:11px;line-height:1.6;color:#9bb3bd;min-height:56px;margin:0 0 15px}.facility-card button{width:100%;padding:10px;color:var(--accent);border:1px solid #296d6d;background:#11333c;border-radius:5px;font-size:10px;letter-spacing:.1em}.readout{padding:17px}.energy-row{display:flex;justify-content:space-between;padding:8px 0;font-size:11px;border-bottom:1px solid #49616c24;color:#a4b9c3}.energy-row b{color:#d8e6eb;font-weight:600;font-variant-numeric:tabular-nums}.energy-row.important{font-weight:700;color:var(--accent);border-top:1px solid #42646a}.energy-row.important b{color:#7be8d7}.top-hud{position:absolute;left:calc(50% - 220px);top:87px;width:440px;border-radius:8px;padding:14px 17px;text-align:center;z-index:3}.view-options{display:flex;gap:4px;margin-top:13px}.view-options button{flex:1;background:#102a34;color:#819eaa;border:1px solid transparent;border-radius:3px;padding:10px 3px;font-weight:700;font-size:10px;letter-spacing:.07em}.view-options button:hover,.view-options button.active{color:#6dffee;background:#143a43;border-color:#2f8883}.hud-meta{display:flex;justify-content:space-between;margin-top:11px;font-size:9px;letter-spacing:.09em;color:#698996}.bottom-dash{position:absolute;bottom:18px;left:343px;right:298px;height:198px;padding:14px 20px;border-radius:9px;z-index:3}.dashboard-head{display:flex;align-items:center;justify-content:space-between}.dashboard-head strong{display:block;margin-top:3px;font-size:12px;letter-spacing:.08em}.metric-total{display:flex;align-items:baseline;gap:7px}.metric-total span{font-size:9px;color:var(--muted);margin-right:9px}.metric-total b{font-size:24px;color:#8ef6e5;font-variant-numeric:tabular-nums}.metric-total small{color:var(--subtle)}#chart{width:100%;height:99px;display:block;margin-top:5px}.dash-foot{display:flex;align-items:center;gap:8px;border-top:1px solid var(--line);padding-top:9px;font-size:9px;letter-spacing:.1em;color:#8cacb6}.dash-foot .spacer{flex:1}.dash-foot #alarmText{color:#9fe2cf;text-align:right}.legend{position:absolute;bottom:233px;left:50%;transform:translateX(-50%);display:flex;gap:20px;font-size:9px;letter-spacing:.1em;color:#a3c2c7;pointer-events:none}.legend span{display:flex;align-items:center;gap:8px}.legend-dot{width:8px;height:8px;display:inline-block;border-radius:50%}.legend-dot.light{background:#8dcaca}.legend-dot.warm{background:#ffab51}.legend-dot.blue{background:#519bd0}.hotspot{position:absolute;display:flex;align-items:center;gap:8px;border:1px solid #65bfb479;color:#d1fbf1;background:#0c2835dd;border-radius:18px;box-shadow:0 3px 20px #010b10b0;padding:6px 10px;font-size:10px;pointer-events:auto;white-space:nowrap;cursor:pointer;transform:translate(-50%,-50%);transition:background .2s;z-index:2}.hotspot:hover,.hotspot.selected{background:#1c5b5c;border-color:#9ffff0}.hotspot .pin-icon{font-size:16px;color:#71f0dc}.hotspot.far{font-size:0;padding:0;width:10px;height:10px;border-radius:100%;background:#6adfcd}.hotspot.far .pin-icon{display:none}.notifications{position:absolute;bottom:240px;left:calc(50% - 180px);width:360px;text-align:center;pointer-events:none;color:#ddfff5;font-size:11px;letter-spacing:.08em;text-shadow:0 0 15px #000}.help-dialog{border:1px solid #377b84;color:#e3f1ed;background:#0a1f2a;max-width:610px;border-radius:9px;padding:28px;box-shadow:0 30px 80px #000d}.help-dialog::backdrop{background:#03080bc7}.help-dialog h2{font-size:21px;letter-spacing:.07em;margin:0 0 10px}.help-dialog p{line-height:1.65;color:#aec8d1}.shortcut-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.shortcut-grid span{display:flex;gap:10px;align-items:center;color:#d0e2e7;font-size:12px}.shortcut-grid kbd{min-width:85px;padding:6px 8px;background:#133844;border:1px solid #315f69;border-radius:4px;color:#7ae9d9;font-size:10px;text-align:center}.help-dialog .fineprint{font-size:11px;color:#7f9cab}.help-dialog button{background:#135b58;border:1px solid #358a7f;color:#dcfff9;padding:11px 18px;border-radius:4px}.loader-orbit{font-size:71px;color:#62dccb;text-shadow:0 0 35px #69e7dd;animation:rot 3s linear infinite}@keyframes rot{to{transform:rotate(360deg)}}#loader{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#07161e;z-index:90}#loader h2{letter-spacing:.26em;font-size:22px;margin:16px 0 5px}#loader .loader-sub{font-size:10px;letter-spacing:.22em;color:#7ca5b1}.loading-track{margin:26px;width:260px;height:2px;background:#23444e;overflow:hidden}.loading-track span{display:block;height:100%;width:43%;background:#77f8dd;animation:sweep 1.7s ease-in-out infinite}@keyframes sweep{0%{transform:translateX(-100%)}100%{transform:translateX(300%)}}#loadStage{font-size:10px;color:#8aafb6;letter-spacing:.1em}
@media(max-width:1280px){.right-panel{width:225px}.top-hud{left:calc(50% - 190px);width:380px}.bottom-dash{right:256px}.header-mid{display:none}}
@media(max-width:1040px){.right-panel{display:none}.bottom-dash{right:18px}.top-hud{right:18px;left:auto;width:310px;top:85px}.legend{display:none}}
@media(max-width:730px){.masthead{height:61px;padding:0 12px}.brand b{font-size:12px}.brand small{font-size:8px}.brand-glyph{font-size:30px}.head-actions .ghost:not(.mobile-toggle){display:none}.mobile-toggle{display:block}.left-panel{top:70px;left:8px;bottom:160px;width:291px;transform:translateX(-110%);transition:transform .25s}.left-panel.open{transform:translateX(0)}.top-hud{top:70px;right:8px;width:245px;padding:11px}.top-hud .eyebrow{font-size:8px}.view-options button{font-size:8px;padding:8px 0}.bottom-dash{height:139px;left:8px;right:8px;bottom:8px;padding:10px 12px}.dashboard-head .eyebrow{font-size:8px}.metric-total span{display:none}.metric-total b{font-size:18px}#chart{height:66px}.dash-foot{font-size:8px}.dash-foot #alarmText{max-width:180px}.hotspot:not(.selected){font-size:0;padding:4px}.hotspot:not(.selected) .pin-icon{font-size:12px}.notifications{bottom:156px;left:10%;width:80%}}
