:root{--bg:#061724;--line:rgba(123,193,214,.15);--panel:#0d2736;--muted:#8caab9;--text:#e6f5fa;--aqua:#56d1e1;--accent:#ffa46b;--cyan:#2a9fb9}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text)}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;letter-spacing:.01em;background-image:radial-gradient(circle at 30% 10%,#0d344a 0%,transparent 40%),linear-gradient(175deg,#071d2b,#04121d 68%)}button,input{font:inherit}button{cursor:pointer;transition:background .2s,border-color .2s,transform .15s}button:focus-visible,input:focus-visible{outline:2px solid #9cf6fc;outline-offset:3px}.app{max-width:1610px;margin:auto;padding:0 36px}.topbar{height:88px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:22px}.brand{display:flex;align-items:center;gap:14px}.brand img{filter:drop-shadow(0 0 12px #26c0d244)}.brand-word{display:flex;flex-direction:column;gap:4px;white-space:nowrap}.brand-word strong{font-size:21px;letter-spacing:.14em;font-weight:790}.brand-word strong span{font-weight:450;color:#6caabd}.brand-word small{font-size:9px;letter-spacing:.2em;color:var(--muted)}.top-mid,.top-actions{display:flex;align-items:center;gap:12px}.signal,.chip,.frame-pill,.mini-label,.model-id{font-size:10px;font-weight:750;letter-spacing:.13em}.signal{display:inline-flex;gap:9px;align-items:center;color:#a4f4cc}.pulse{width:7px;height:7px;border-radius:50%;background:#6ee8b1;box-shadow:0 0 11px #6ee8b1;animation:pulse 2s infinite}@keyframes pulse{50%{opacity:.45;box-shadow:0 0 2px #6ee8b1}}.chip{padding:9px 12px;color:#8daab9;border:1px solid var(--line);border-radius:5px}.ghost-button,.export-button,.stage-button{background:none;border:1px solid #325365;color:#c3dce5;border-radius:6px;padding:11px 16px;font-size:12px}.ghost-button:hover,.stage-button:hover{background:#1c4b5d}.export-button{background:#d8f5fa;border-color:#d8f5fa;color:#0b3040;font-weight:750}.export-button:hover{background:white}.summary{display:flex;align-items:flex-end;justify-content:space-between;padding:35px 0 30px;gap:20px}.eyebrow{color:#76bdcf;font-weight:760;letter-spacing:.23em;font-size:10px}.summary h1{font-size:clamp(30px,3.1vw,46px);letter-spacing:-.055em;font-weight:730;line-height:1.05;margin:13px 0 12px}.summary h1 em{font-style:normal;color:#72d7df}.summary p{margin:0;color:#96b5c5;line-height:1.65;max-width:580px;font-size:13px}.summary-side{display:flex;flex-direction:column;gap:8px;text-align:right;font-size:13px;color:#c5e2e9;padding:0 2px 4px}.mini-label,.model-id{color:#658fa0;font-size:9px}.model-id{color:#75d2df}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 333px;gap:16px}.stage-col{min-width:0}.stage-wrap{height:492px;position:relative;border:1px solid #244b5b;border-radius:9px;background:#06222f;overflow:hidden;box-shadow:0 18px 42px #02121b70}.stage-header{height:50px;position:absolute;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:12px;z-index:3;padding:0 19px;background:linear-gradient(#062332ed,#062332aa);border-bottom:1px solid #2e526155}.view-title{font-size:10px;font-weight:800;letter-spacing:.15em;color:#d1eef5;display:flex;align-items:center;gap:9px}.view-dot{width:6px;height:6px;border:1px solid #65ddeb;background:#0a8aa8;transform:rotate(45deg)}.view-title small{margin-left:11px;font-weight:500;color:#739cac}.stage-controls{display:flex;align-items:center;gap:8px}.stage-button{padding:7px 10px;font-size:10px;border-color:#4e7b8959;background:#07324299}.stage-button.pause{background:#144359}.frame-pill{color:#62dac4;font-size:9px;margin-right:6px}#scene{display:block;width:100%;height:100%;touch-action:none;cursor:grab}#scene.dragging{cursor:grabbing}.stage-overlay{position:absolute;z-index:2;pointer-events:none}.top-left{top:76px;left:25px;display:flex;flex-direction:column;gap:7px}.coordinates,.tiny-line{font-size:9px;font-weight:700;letter-spacing:.15em;color:#82b4c1}.tiny-line{font-weight:400;color:#558799}.right-tag{right:26px;top:105px;display:flex;align-items:stretch;gap:13px}.right-tag .bracket{font-size:22px;color:#77c9d6}.right-tag div{display:flex;flex-direction:column;gap:4px;text-align:right}.right-tag small{font-size:9px;color:#8ab6c5;letter-spacing:.13em}.right-tag strong{font-size:19px;font-weight:650}.bottom-left{bottom:25px;left:24px;display:flex;align-items:center;gap:13px;color:#b1d4dc;font-size:9px;letter-spacing:.13em}.bottom-left b{color:#e4f4f8}.water-icon{font-size:22px;color:#5acee1}.separator{height:14px;width:1px;background:#648e9b75}.stage-vignette{pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 0 110px 14px #00111b57}.webgl-error{position:absolute;z-index:5;top:40%;left:12%;right:12%;text-align:center;padding:24px;background:#143d4a;color:#fff;border-radius:8px}.stats-bar{display:grid;grid-template-columns:repeat(4,1fr);margin-top:15px;min-height:125px;border:1px solid #284a595e;border-radius:9px;background:#0b2837a3;overflow:hidden}.stat{padding:23px 19px 16px;border-right:1px solid #2b51605e;min-width:0}.stat:last-child{border:0}.stat small{font-size:9px;letter-spacing:.13em;white-space:nowrap;color:#81a9b7;font-weight:760}.stat strong{display:block;margin:11px 0 8px;color:#e7fbff;font-size:clamp(20px,2.2vw,30px);font-weight:720;letter-spacing:-.03em;white-space:nowrap}.stat-trend{color:#789dab;font-size:10px;line-height:1.4;display:block}.risk-stat strong{color:#8ce4cb}.risk-stat.high strong{color:#ffac78}.panel{background:linear-gradient(145deg,#102f3f,#0a2332);border:1px solid #3153659c;border-radius:9px;padding:23px 23px 18px;display:flex;flex-direction:column;box-shadow:0 18px 42px #02111b38}.panel-top{display:flex;align-items:center;justify-content:space-between}.panel h2,.analysis-heading h2{font-size:21px;margin:8px 0 0;letter-spacing:-.035em}.dial-icon{font-size:30px;color:#6bafc1}.preset-label,.small-head{font-size:9px;font-weight:770;letter-spacing:.17em;color:#7ca8b8}.preset-label{margin:24px 0 10px}.preset-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:5px}.preset{font-size:10px;white-space:nowrap;padding:9px 4px;border-radius:5px;background:#0a2637;border:1px solid #305263;color:#9fbfcb}.preset:hover{border-color:#5da9b8}.preset.active{background:#b6e9ee;border-color:#b6e9ee;color:#153947;font-weight:750}.control-list{margin-top:12px}.control{margin:15px 0 20px}.control-label{display:flex;align-items:baseline;justify-content:space-between;gap:4px}.control-label label{font-size:12px;font-weight:680}.control-label output{font-size:12px;color:#80d7e7;font-weight:740;white-space:nowrap}.control input{width:100%;appearance:none;-webkit-appearance:none;height:4px;outline:none;background:linear-gradient(90deg,#49bcd2 0%,#49bcd2 var(--percent,50%),#234c5f var(--percent,50%),#234c5f 100%);border-radius:4px;margin:14px 0 5px}.control input::-webkit-slider-thumb{appearance:none;width:15px;height:15px;border:3px solid #d7fafb;background:#167e9a;border-radius:50%;box-shadow:0 0 0 3px #1d596d}.control input::-moz-range-thumb{width:10px;height:10px;border:3px solid #d7fafb;background:#167e9a;border-radius:50%}.range-ends{display:flex;justify-content:space-between;color:#658d9e;font-size:10px}.panel-foot{border-top:1px solid #34617461;padding-top:18px;margin-top:auto}.panel-foot p{font-size:11px;line-height:1.65;color:#90b1bf;margin:9px 0 14px}.panel-foot strong{color:#c9e3e9;font-weight:650}.reset-link{padding:0;border:0;background:none;color:#78d6e3;font-size:11px;font-weight:650}.reset-link:hover{text-decoration:underline}.analyses{margin:28px 0 30px}.analysis-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:16px}.analysis-heading h2{font-size:25px}.chart-faint{font-size:9px;letter-spacing:.14em;color:#638f9d}.chart-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.chart-card{background:linear-gradient(145deg,#092737,#0a2533);border:1px solid #254a5e86;border-radius:8px;padding:19px 20px 13px;min-width:0}.chart-heading{display:flex;align-items:center;justify-content:space-between;color:#a2bcc8;font-size:11px}.chart-heading>div{display:flex;gap:9px;align-items:center}.chart-heading h3{margin:0;font-size:13px;color:#e0f1f5;font-weight:650}.line-indicator{width:17px;height:3px;border-radius:9px}.line-indicator.blue{background:#56d9ee}.line-indicator.orange{background:#fbad77}.chart-card canvas{display:block;width:100%;height:142px;margin-top:10px}.chart-footer{display:flex;justify-content:space-between;font-size:9px;letter-spacing:.13em;color:#648c9a;margin-top:8px}footer{display:flex;justify-content:space-between;gap:12px;padding:18px 0 31px;border-top:1px solid #28506168;font-size:9px;color:#668d9c;letter-spacing:.17em}footer b{color:#9cc9d4}@media(max-width:1150px){.app{padding:0 22px}.top-mid{display:none}.workspace{grid-template-columns:minmax(0,1fr) 295px}.panel{padding:18px}.stat{padding:20px 12px}.stat small{white-space:normal;font-size:8px}.stage-wrap{height:480px}.stage-controls .frame-pill{display:none}}@media(max-width:900px){.workspace{grid-template-columns:1fr}.panel{display:block}.panel .control-list{display:grid;grid-template-columns:repeat(2,1fr);column-gap:22px}.panel-foot{margin-top:4px}.stats-bar{min-height:110px}.summary-side{display:none}}@media(max-width:600px){.app{padding:0 12px}.topbar{height:75px}.brand-word strong{font-size:16px}.brand-word small{font-size:7px}.brand img{width:36px}.top-actions{gap:6px}.ghost-button,.export-button{padding:9px 10px;font-size:11px}.top-actions button span{display:none}.summary{padding:24px 3px}.summary h1{font-size:32px}.stage-wrap{height:425px}.view-title{font-size:9px}.view-title small,.stage-button#toggleFlow,.bottom-left .separator,.bottom-left .separator~span{display:none}.stage-header{padding:0 12px}.stage-overlay.top-left{top:72px;left:14px}.right-tag{right:13px;top:105px}.bottom-left{left:14px;bottom:18px}.stats-bar{grid-template-columns:1fr 1fr}.stat:nth-child(2){border-right:0}.stat:nth-child(-n+2){border-bottom:1px solid #2b51605e}.stat strong{font-size:23px}.panel .control-list{grid-template-columns:1fr}.chart-grid{grid-template-columns:1fr}.chart-faint{display:none}.analyses{margin-top:22px}footer{flex-direction:column;line-height:1.8}}
