:root{--bg:#0c1823;--panel:#101f2b;--panel-deep:#0b1924;--panel-edge:#253643;--text:#e5eff4;--text-sub:#9caeba;--muted:#667e8e;--teal:#79ddca;--orange:#f4b56a;--danger:#f18a87;--font:Inter,'Segoe UI',Arial,sans-serif}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:var(--font);background:var(--bg);color:var(--text)}body{overflow:hidden}button,select,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:default}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #7fdfc9;outline-offset:2px}
.app-shell{height:100dvh;min-height:650px;display:grid;grid-template-rows:66px minmax(0,1fr) 30px}
.topbar{display:flex;align-items:center;justify-content:space-between;padding:0 20px;gap:18px;background:#0c1b26;border-bottom:1px solid #2b3e49;z-index:5}
.brand{display:flex;align-items:center;gap:11px;min-width:310px}.brand-symbol{height:40px;width:40px;display:grid;place-items:center;border:1px solid #2f4a53;background:#132b34;border-radius:9px}.brand-label{font-size:19px;font-weight:800;letter-spacing:1.15px;white-space:nowrap}.brand-label span{color:var(--orange);font-weight:400}.brand-sub{font-size:9px;letter-spacing:1.07px;color:#819aaa;margin-top:4px;white-space:nowrap}.brand-dot{font-size:7px;color:var(--teal)}
.top-stats{display:flex;align-items:center;gap:40px}.top-stat{display:flex;flex-direction:column;gap:4px}.top-stat small{font-size:9px;color:#7e97a7;letter-spacing:1px;font-weight:600}.top-stat b{font-size:15px;font-weight:650;font-variant-numeric:tabular-nums}.top-actions{display:flex;align-items:center;gap:9px}.status-live{white-space:nowrap;border:1px solid #335b55;background:#132e30;border-radius:4px;color:#94ebd3;padding:9px 10px;font-size:10px;font-weight:800;letter-spacing:.5px;display:flex;align-items:center;gap:8px}.beacon,.pulse-dot{width:7px;height:7px;border-radius:50%;background:#83e1ae;box-shadow:0 0 0 3px #83e1ae18;display:inline-block}.status-live.warning{border-color:#824e4c;background:#3a252b;color:#ffc2aa}.status-live.warning .beacon{background:#fc817d}
.btn{border-radius:4px;padding:9px 11px;font-size:11px;font-weight:700;border:1px solid #365260;white-space:nowrap;transition:background .17s,color .17s;letter-spacing:.1px;color:var(--text)}.btn-subtle{background:#19303d}.btn-subtle:hover{background:#244251}.btn-primary{background:#75d6c3;color:#0b2029;border-color:#75d6c3}.btn-primary:hover{background:#a5f5df}.btn-danger{background:#4b282e;border-color:#955257;color:#ffc0b8}.btn-danger:hover{background:#754046}.btn-danger.engaged{background:#a13239;color:white}
.layout{display:grid;grid-template-columns:304px minmax(320px,1fr) 306px;min-height:0}.panel{background:var(--panel);min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#345061 transparent}.panel-left{border-right:1px solid #2b3d47}.panel-right{border-left:1px solid #2b3d47}.section-label{color:#a2d4d0;letter-spacing:1.7px;font-size:10px;font-weight:800;display:flex;align-items:center;justify-content:space-between;padding:21px 18px 17px}.tag{font-size:9px;color:var(--teal);padding:3px 7px;border:1px solid #426a69;border-radius:4px;letter-spacing:.7px;background:#193234}.tag.light{color:#97aebd;border-color:#3d5360;background:transparent}
.rate-card{margin:0 14px 12px;padding:17px 14px;background:linear-gradient(120deg,#1b3b44,#102832);border:1px solid #28535b;border-radius:6px}.overline,.kpi-label{font-size:10px;letter-spacing:1.2px;color:#a4bfc2;font-weight:650}.rate-number{display:flex;align-items:baseline;gap:8px;margin:6px 0 11px}.rate-number span{font-size:38px;letter-spacing:-1.2px;font-weight:800;color:#e8fcf3;font-variant-numeric:tabular-nums}.rate-number small{font-size:15px;color:#87c3bc}.thin-meter{height:6px;border-radius:8px;background:#254651;overflow:hidden}.fill{height:100%;border-radius:8px;transition:width .35s}.fill.teal{background:linear-gradient(90deg,#47acaa,#8bebce)}.split-legend{display:flex;align-items:center;justify-content:space-between;margin-top:9px;color:#92adb5;font-size:10px}.split-legend b{font-size:12px;color:var(--teal);font-variant-numeric:tabular-nums}.kpi-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0 14px 18px}.kpi{border:1px solid #263e4a;background:#142734;padding:12px 12px 13px;min-width:0;display:flex;flex-direction:column;gap:5px}.kpi strong{font-size:23px;letter-spacing:-.7px;font-variant-numeric:tabular-nums}.kpi span{font-size:10px;color:#78909e}.kpi-label{color:#879ead;font-size:9px}.panel-heading{border-top:1px solid #273b47;display:flex;align-items:center;justify-content:space-between;padding:16px 17px 11px;font-size:10px;font-weight:800;letter-spacing:1.2px;color:#c9d8de}.panel-heading small{font-size:9px;letter-spacing:.4px;color:#6f8d9c;font-weight:600}.text-button{border:0;background:transparent;color:#8bdacb;font-size:10px;font-weight:600;padding:0}.text-button:hover{text-decoration:underline}.controls{padding:0 16px 11px}.control{display:block;margin-bottom:14px}.control>span{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.control b{font-size:11.5px;color:#c6d6df;font-weight:600}.control em{font-size:12px;color:#8fe5d5;font-weight:700;font-style:normal;font-variant-numeric:tabular-nums}.control small{font-size:9px;color:#6e8999;display:block;margin-top:4px}.control input[type=range]{width:100%;height:5px;margin:0;border:0;accent-color:#83dfcd;cursor:pointer}.stream-list{padding:0 16px 22px}.stream-row{margin-bottom:11px}.stream-top{display:flex;justify-content:space-between;font-size:11px;margin-bottom:5px;color:#bdd0d9}.stream-top b{font-weight:650;color:#dbe9ec;font-variant-numeric:tabular-nums}.stream-meter{height:5px;background:#1e3541;border-radius:4px;overflow:hidden}.stream-meter span{height:100%;display:block;border-radius:4px;transition:width .4s}
.world-panel{position:relative;overflow:hidden;background:#14242e}#viewport{width:100%;height:100%;display:block;touch-action:none;cursor:grab}#viewport:active{cursor:grabbing}.world-header{position:absolute;top:16px;left:16px;right:16px;display:flex;justify-content:space-between;pointer-events:none;gap:10px}.world-badge,.world-chips span{background:#0c202fcd;border:1px solid #304958;border-radius:4px;padding:9px 11px;font-size:10px;letter-spacing:.8px;color:#c6dce3;font-weight:700;white-space:nowrap}.world-badge{display:flex;align-items:center;gap:7px}.divider-v{color:#587786;margin:0 5px}.world-chips{display:flex;gap:6px}.world-chips span{color:#86c4c2}.world-compass{position:absolute;top:70px;right:21px;color:#bad2de;display:grid;justify-items:center;pointer-events:none;font-size:12px;opacity:.7}.world-compass div{font-size:27px;line-height:23px;color:#77d9c7}.world-compass small{font-size:9px}.quick-nav{position:absolute;top:70px;left:16px;display:flex;gap:7px;align-items:center;padding:8px;background:#081925dc;border:1px solid #36505b;border-radius:5px;max-width:calc(100% - 85px)}.quick-nav label{color:#8ba9b6;font-size:9px;font-weight:800;letter-spacing:.7px;white-space:nowrap;margin:0 4px}.quick-nav select{min-width:140px;max-width:300px;width:min(20vw,260px);border:1px solid #3d5867;background:#182f3b;color:#cfe0e5;padding:9px;border-radius:3px;font-size:11px}.quick-nav .btn{padding:9px 10px}.mode-tools{position:absolute;top:128px;left:16px;display:flex;flex-wrap:wrap;gap:5px}.tool-btn{font-size:10px;border-radius:4px;border:1px solid #3c5362;background:#0b2130dc;color:#d6e8ef;padding:10px 12px}.tool-btn:hover,.tool-btn.active{color:#a6f3e4;border-color:#549f98;background:#1a444b}.view-hints{position:absolute;bottom:18px;left:18px;color:#b4c7d1;font-size:9px;letter-spacing:.5px;text-shadow:0 1px 5px #000;background:#0c202bbd;padding:9px 10px;border-radius:3px;pointer-events:none}.view-hints i,.floor-marker i{color:#79dfc9;font-style:normal;margin:0 5px}.floor-marker{position:absolute;bottom:53px;left:18px;color:#d5e7e9;font-size:10px;letter-spacing:.45px;font-weight:700;text-shadow:0 1px 3px #000;background:#0c202bbd;padding:10px;border-radius:3px;pointer-events:none}
.loading-screen{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:17px;background:linear-gradient(155deg,#0d222f,#07131e);z-index:7;transition:opacity .55s}.loading-screen.hidden{opacity:0;pointer-events:none}.loading-brand{font-size:26px;font-weight:850;letter-spacing:2px;color:#8de4d5}.loading-brand span{color:#f5b56c}.loading-title{font-size:11px;letter-spacing:2px;color:#c1d4d9}.loading-bar{height:4px;width:min(330px,70%);background:#27414a;border-radius:4px;overflow:hidden}.loading-fill{width:12%;background:#8de9d1;height:100%;transition:width .3s}.loading-note{font-size:11px;color:#7594a3}.loading-screen.failed .loading-title{color:#ff9b96}.loading-screen.failed .loading-note{max-width:80%;text-align:center;line-height:1.6}
.inspect-card{margin:0 13px 14px;border:1px solid #29444f;background:linear-gradient(150deg,#1b303d,#122633);border-radius:6px;padding:16px}.inspect-eyebrow{font-size:9px;color:#8fdcce;letter-spacing:1.3px;font-weight:750}.inspect-card h2{font-size:19px;line-height:1.15;margin:10px 0 8px;color:#e7f4f3;max-width:100%;overflow-wrap:anywhere}.inspect-card p{font-size:11px;color:#91aab7;line-height:1.55;margin:0 0 17px;min-height:49px}.inspect-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #37515b;border-left:1px solid #37515b}.inspect-grid>div{padding:12px 8px;border-bottom:1px solid #37515b;border-right:1px solid #37515b;min-width:0}.inspect-grid small{font-size:8px;color:#829aa8;letter-spacing:.6px;display:block;margin-bottom:6px}.inspect-grid strong{font-size:10px;font-weight:700;word-break:break-word;color:#d9e6eb}.button-row{display:flex;gap:6px;margin-top:14px}.button-row .btn{flex:1;padding:10px 7px}.mini-wrap{margin:0 12px 8px;padding:9px;border:1px solid #2b4451;background:#0b1b28;border-radius:4px}#minimap{width:100%;height:130px;display:block;cursor:crosshair}.sector-legend{display:flex;gap:15px;padding:0 14px 15px;font-size:9px;color:#8eacb6}.legend-dot{display:inline-block;width:7px;height:7px;border-radius:1px;margin-right:5px}.chart-wrap{margin:0 12px 5px;padding:6px;border:1px solid #2b4451;background:#0b1b28;border-radius:4px}#history{width:100%;height:120px;display:block}.chart-legend{display:flex;justify-content:space-around;padding:3px 12px 15px;color:#93aebb;font-size:9px}.chart-legend i{display:inline-block;width:10px;height:3px;vertical-align:3px;margin-right:4px}.event-feed{padding:0 14px;max-height:195px;overflow-y:auto;scrollbar-width:thin}.event{border-bottom:1px solid #253d49;display:flex;gap:9px;padding:10px 2px}.event-symbol{width:8px;height:8px;background:#7bd9bc;border-radius:50%;flex-shrink:0;margin-top:4px}.event.warning .event-symbol{background:#f5a465}.event.success .event-symbol{background:#88d6b9}.event h4{font-size:11px;font-weight:700;margin:0 0 3px}.event p{font-size:10px;color:#849ca9;line-height:1.35;margin:0}.event time{font-size:9px;color:#617f90;white-space:nowrap;margin-left:auto}.export-bar{display:flex;gap:8px;padding:15px 14px 22px}.export-bar .btn:first-child{flex:1}.footer{background:#0b1720;border-top:1px solid #2d424b;display:flex;justify-content:space-between;align-items:center;gap:13px;padding:0 17px;color:#718b9a;font-size:9px;letter-spacing:.35px;white-space:nowrap}.footer strong{color:#c2d6db}.footer-pulse{color:#86e7cc;margin-right:7px}.slash{color:#587782;margin:0 8px}.footer-metrics{display:flex;gap:17px;color:#9cb2bf}
@media(max-width:1399px){.layout{grid-template-columns:265px minmax(300px,1fr) 268px}.top-stats{gap:14px}.top-stat b{font-size:13px}.brand{min-width:275px}.brand-label{font-size:17px}.brand-sub{font-size:8px}.footer-metrics span:nth-child(3){display:none}.world-chips span:last-child{display:none}.quick-nav label{display:none}.view-hints{font-size:8px}}
@media(max-width:1050px){.top-stats{display:none}.layout{grid-template-columns:240px minmax(300px,1fr) 240px}.topbar{padding:0 11px}.world-badge{font-size:9px}.world-chips{display:none}.mode-tools .tool-btn span{display:none}.tool-btn{padding:10px 13px}.footer-metrics{display:none}.kpi strong{font-size:20px}}
@media(max-width:790px){body{overflow:auto}.app-shell{height:auto;min-height:100dvh;grid-template-rows:66px auto 42px}.layout{grid-template-columns:1fr;display:flex;flex-direction:column}.world-panel{height:58vh;min-height:400px;order:0}.panel-left{order:1;max-height:none;overflow:visible}.panel-right{order:2;max-height:none;overflow:visible}.top-actions .status-live{display:none}.top-actions{gap:5px}.brand{min-width:auto}.brand-sub{display:none}.brand-label{font-size:13px}.topbar .btn{padding:8px;font-size:10px}.quick-nav select{width:50vw}.view-hints{right:10px;line-height:1.4}.footer{font-size:8px}.footer>div:first-child{display:none}.kpi-two{grid-template-columns:repeat(4,1fr)}.controls{display:grid;grid-template-columns:1fr 1fr;gap:15px}.control{margin:0}.event-feed{max-height:230px}}
@media(max-width:460px){.brand-symbol{height:32px;width:32px}.brand-label{font-size:12px;letter-spacing:0}.btn-danger{max-width:78px}.kpi-two{grid-template-columns:1fr 1fr}.quick-nav{top:62px;max-width:calc(100% - 30px)}.mode-tools{top:117px}.controls{display:block}.control{margin-bottom:15px}}
