
:root{--ink:#1b2632;--quiet:#6e7b83;--line:#d9e3e3;--bg:#eef2f1;--white:#fff;--orange:#fb8c50;--orange2:#ea7541;--blue:#47bfdc;--purple:#a59ae8;--safe:#31b58e;--warning:#e77748;--dark:#172330}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg)}body{font-family:'DM Sans',Inter,Arial,sans-serif;color:var(--ink);font-size:13px;line-height:1.4}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:3px solid #49c2db;outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.46}body:has(.modal-backdrop:not([hidden])){overflow:hidden}.app-shell{max-width:1870px;margin:auto;padding:0 32px}.topbar{height:92px;display:flex;align-items:center;gap:26px;border-bottom:1px solid var(--line)}.masthead{display:flex;align-items:center;gap:13px;min-width:335px}.logo{width:42px;height:42px;border-radius:13px;background:var(--ink);position:relative;overflow:hidden;flex:none}.logo-arch{position:absolute;left:9px;top:9px;width:25px;height:32px;border:5px solid var(--orange);border-bottom:0;border-radius:24px 24px 0 0}.logo-slash{position:absolute;top:13px;left:19px;height:27px;width:4px;background:var(--blue);transform:rotate(36deg);border-radius:2px}.brand-over{font-size:9px;font-weight:800;letter-spacing:2.2px;color:#84939a;display:block}.brand-over span{color:var(--orange2)}.brand strong{display:block;font-family:'Space Grotesk',sans-serif;font-size:21px;letter-spacing:-.9px;line-height:1.4}.brand strong em{font-style:normal;font-size:10px;letter-spacing:0;color:var(--orange2);vertical-align:top}.header-identity{display:flex;align-items:center;gap:22px;flex:1}.country-chip{font-weight:800;letter-spacing:1.1px;font-size:10px}.country-dot{display:inline-block;width:7px;height:7px;margin-right:8px;border-radius:50%;background:var(--orange)}.head-divider{height:18px;width:1px;background:#c9d3d6}.header-tag{font-size:10px;letter-spacing:1.1px;color:var(--quiet);font-weight:700}.top-actions{display:flex;gap:8px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:8px;font-size:10px;font-weight:800;letter-spacing:1px;white-space:nowrap;min-height:42px;padding:0 18px;transition:transform .14s,filter .14s}.btn:active,.cam-button:active{transform:translateY(1px)}.btn.small{min-height:36px;padding:0 13px}.btn.quiet{background:#e2e9e9;color:#283642}.btn.dark{color:#fff;background:var(--dark)}.btn.orange{color:#1d2730;background:var(--orange);box-shadow:0 4px 14px #ec8c4a31}.btn.orange:hover{filter:brightness(1.06)}.btn.outlined{background:#fff;border:1px solid #dbe3e4;color:#334149}.arrow{font-size:15px}.heading-row{display:flex;align-items:end;justify-content:space-between;margin:24px 0 22px;gap:12px}.eyebrow,.tiny-label,.control-mini,.form-label{font-size:10px;color:#89969c;letter-spacing:1.25px;font-weight:800}.eyebrow{margin:0 0 4px;color:#b77853}.heading-row h1{font-family:'Space Grotesk',sans-serif;font-size:clamp(28px,3.2vw,45px);letter-spacing:-1.8px;margin:0;line-height:1.1;font-weight:700}.heading-period{color:var(--orange2)}.subtitle{color:#687881;font-size:13px;margin:8px 0 0}.heading-stat{text-align:right;margin-bottom:5px}.heading-stat>span{display:block;font-size:10px;color:#849097;letter-spacing:1px;font-weight:800}.heading-stat strong{font-size:12px;letter-spacing:1.1px;display:block;margin-top:4px}.heading-stat strong span{color:var(--orange2)}.app-grid{display:grid;grid-template-columns:minmax(260px,305px) minmax(430px,1fr) minmax(254px,307px);gap:15px;align-items:stretch}.panel{background:#fff;border:1px solid #dfe6e6;border-radius:14px;box-shadow:0 3px 22px #243c402c}.controls,.readout{padding:21px 19px;align-self:stretch}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:6px}.panel-heading h2,.section-header h2{font-family:'Space Grotesk',sans-serif;font-size:19px;letter-spacing:-.6px;line-height:1.15;margin:7px 0 0}.live-dot{font-weight:800;font-size:8px;color:#5d9c86;letter-spacing:.4px;white-space:nowrap}.live-dot i{display:inline-block;height:6px;width:6px;background:#30b68d;border-radius:50%;margin-right:3px;box-shadow:0 0 0 3px #30b68d16}.scenario-group{margin-top:28px}.form-label{display:block;margin-bottom:8px;color:#52616a}.scenario-group select{width:100%;height:42px;border:1px solid #d9e3e3;border-radius:7px;background:#f7f9f8;color:#25343e;padding:0 10px;font-weight:700;outline-offset:1px}.helper{font-size:11px;line-height:1.5;color:#77858c;min-height:32px}.divider-line{height:1px;background:#e8eeee;margin:19px 0}.control-line,.zone-reg-top,.zone-reg-bottom{display:flex;align-items:center;justify-content:space-between}.control-line strong{display:block;font-size:13px;margin-top:3px}.control-value{font-family:'Space Grotesk',sans-serif;font-size:25px;font-weight:700}.control-value small{font-size:13px;color:#b4bfc2}.controls input[type=range]{appearance:none;-webkit-appearance:none;width:100%;height:5px;background:linear-gradient(to right,var(--orange) 75%,#e4ebeb 75%);border-radius:6px;display:block;cursor:pointer;margin:18px 0 10px}.controls input[type=range]::-webkit-slider-thumb{appearance:none;width:16px;height:16px;background:#fff;border:4px solid var(--orange2);border-radius:50%;box-shadow:0 0 0 3px #fa9a6c20}.controls input[type=range]::-moz-range-thumb{width:12px;height:12px;background:#fff;border:4px solid var(--orange2);border-radius:50%}.range-ends{display:flex;justify-content:space-between;color:#97a3aa;font-size:9px;font-weight:800;letter-spacing:.5px}.under-note{display:flex;align-items:center;gap:7px;font-size:10px;color:#809199;background:#f6f9f8;padding:10px;margin-top:16px;border-radius:7px}.under-note strong{margin-left:auto;color:#344652}.status-indicator{background:var(--safe);width:6px;height:6px;border-radius:50%}.zone-switch-heading{display:flex;justify-content:space-between;margin-bottom:11px}.hint{font-size:9px;color:#a3afb4;font-weight:800}.zone-reg{border:1px solid #e8eeed;padding:10px 11px;margin-bottom:9px;border-radius:8px;transition:border-color .2s;background:#fff}.zone-reg.active{border-color:#fdc6a5;background:#fffaf6}.zone-reg-top b{font-family:'Space Grotesk';font-size:14px}.zone-name{border:0;background:none;padding:0;text-align:left;display:flex;align-items:center;gap:10px}.zone-name strong{display:block;font-size:11px}.zone-name small{display:block;color:#9aabb0;font-size:9px;margin-top:2px}.zone-square{height:11px;width:11px;border-radius:3px;background:var(--orange)}.zone-1 .zone-square{background:var(--blue)}.zone-2 .zone-square{background:var(--purple)}.zone-reg input[type=range]{margin:12px 0 9px;height:4px;background:linear-gradient(to right,var(--blue) 78%,#e6ebec 78%)}.zone-reg input[type=range]::-webkit-slider-thumb{width:14px;height:14px;border:3px solid var(--blue)}.zone-reg input[type=range]::-moz-range-thumb{border-color:var(--blue)}.zone-reg-bottom{font-size:10px;font-weight:700;color:#7f8e95}.tag{border-radius:4px;font-size:8px;padding:3px 5px;background:#eef3f3;color:#73858d;letter-spacing:.6px}.tag.good{color:#268b6b;background:#dcf5eb}.tag.bad{color:#c25b42;background:#ffede4}.remaining{float:right;color:var(--orange2);font-size:9px}.equipment-btn{display:flex;align-items:center;width:100%;text-align:left;background:#1e2a37;border:0;color:#fff;border-radius:8px;padding:11px 10px;gap:11px;margin-top:12px}.equipment-btn small{font-size:9px;color:#aebbc4;display:block;margin-top:3px}.equipment-btn strong{display:block;font-size:11px}.equipment-btn .arrow{margin-left:auto}.equipment-icon{display:grid;place-items:center;width:29px;height:29px;background:#33485a;color:#7ee1e6;font-size:17px;border-radius:7px;flex:none}.equipment-btn.secondary{color:#2b3f4c;border:1px solid #e3ebeb;background:#f8fafa}.equipment-btn.secondary .equipment-icon{background:#e6eef0;color:#617680}.equipment-btn.secondary small{color:#899ca4}.foot-small{display:flex;align-items:flex-start;gap:8px;font-size:9px;color:#9ba9b0;margin-top:18px}.safety-glyph{color:#b77b5c;font-size:13px}.main-column{min-width:0;display:flex;flex-direction:column;gap:15px}.viewport-panel{background:#162331;border:1px solid #263b4b;border-radius:13px;overflow:hidden;box-shadow:0 10px 28px #1c33432b}.scene-stage{position:relative;height:502px;background:radial-gradient(circle at 65% 38%,#344454,#172330 55%,#101b26 100%);overflow:hidden}.scene-stage canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}.scene-stage canvas:active{cursor:grabbing}.scene-top-left,.scene-top-right,.scene-bottom-left,.scene-bottom-right{position:absolute;z-index:2;pointer-events:none}.scene-top-left{left:21px;top:20px}.scene-suptitle{display:block;color:#b9c5cd;font-weight:800;font-size:10px;letter-spacing:1.5px}.view-badge{display:inline-flex;align-items:center;margin-top:11px;padding:6px 9px;background:#28394bbb;color:#a7d8e1;border:1px solid #50708088;border-radius:4px;font-size:9px;letter-spacing:1px;font-weight:800}.view-pulse{width:6px;height:6px;border-radius:50%;background:#5bd0e9;box-shadow:0 0 10px #5ddbe3;margin-right:7px}.scene-top-right{right:16px;top:17px;display:flex;gap:5px;pointer-events:auto}.cam-button{color:#bed0d6;border:1px solid #5a708277;border-radius:5px;background:#253547bb;padding:8px 9px;font-size:9px;font-weight:800;letter-spacing:.5px}.cam-button.active{background:#f99e6a;color:#15222e;border-color:#f99e6a}.scene-side-scale{position:absolute;right:19px;top:96px;height:245px;display:flex;flex-direction:column;align-items:end;justify-content:space-between;font-size:8px;color:#8d9ca9;letter-spacing:.8px;font-weight:700;pointer-events:none}.scene-side-scale i{margin-right:22px;height:22px;border-right:1px dashed #8797a455}.scene-bottom-left{bottom:19px;left:21px;max-width:80%}.legend{display:flex;gap:15px;flex-wrap:wrap;color:#e1e7e6;font-size:9px;font-weight:800;letter-spacing:.4px}.legend span{display:flex;align-items:center;gap:7px}.legend i{width:15px;border-top:3px solid #52c9e0}.legend .line-return{border-color:#feab62}.legend .line-danger{border-color:#da7b85;border-top-style:dotted}.scene-help{margin-top:12px;font-size:9px;font-weight:700;color:#8293a4;letter-spacing:.6px}.scene-help span{padding:0 4px}.scene-bottom-right{bottom:18px;right:16px;display:flex;gap:4px;pointer-events:auto}.square-icon{width:31px;height:31px;background:#324352;border:1px solid #526878;color:#f1f6f8;font-weight:700;border-radius:6px;font-size:20px}.scene-tooltip{position:absolute;top:62px;left:50%;transform:translateX(-50%);background:#17232ef2;color:#fff;padding:10px 13px;border:1px solid #6d8b9d;border-radius:5px;z-index:6;font-size:11px;box-shadow:0 8px 18px #0005;pointer-events:none}.stage-data{height:94px;display:grid;grid-template-columns:repeat(4,1fr);padding:17px 11px;gap:0;background:#202e3d}.stage-metric{border-right:1px solid #394e60;padding:2px 13px;min-width:0}.stage-metric:last-child{border-right:0}.stage-metric>span{display:block;font-size:8px;color:#a0b1bc;font-weight:800;letter-spacing:1px;white-space:nowrap}.stage-metric strong{font-family:'Space Grotesk';color:#fafbfc;font-size:25px;display:block;margin-top:7px;line-height:1.1}.stage-metric strong small{font-size:11px;color:#9db1b8;font-family:'DM Sans'}.stage-metric.score strong{color:#7fe3c1}.chart-panel{padding:17px 18px 16px;flex:1}.section-header{display:flex;justify-content:space-between;align-items:center;gap:7px}.chart-panel .section-header h2{font-size:17px}.segmented{display:flex;background:#eff3f3;border-radius:7px;padding:3px;gap:2px}.segmented button{border:0;border-radius:5px;background:none;color:#8b9ca3;font-size:9px;font-weight:800;padding:7px 9px}.segmented button.on{background:#fff;color:#303d48;box-shadow:0 1px 4px #0001}.chart-wrap{position:relative;height:206px;margin-top:13px}.chart-wrap canvas{height:100%;width:100%;display:block}.chart-caption{position:absolute;top:5px;right:2px;color:#92a2a8;font-size:9px;font-weight:700}.time-actions{display:flex;justify-content:space-between;align-items:center;margin-top:10px;gap:12px;flex-wrap:wrap}.playback{display:flex;gap:6px;flex-wrap:wrap}.time-speed{display:flex;align-items:center;gap:5px}.time-speed span{font-size:9px;color:#9fadb1;letter-spacing:.8px;font-weight:800;margin-right:5px}.time-speed button{border:1px solid #e0e7e7;border-radius:4px;background:#fff;padding:7px 9px;color:#7e8e95;font-weight:800;font-size:10px}.time-speed button.on{background:#283a49;color:#fff;border-color:#283a49}.readout-heading{margin-bottom:25px}.lab-symbol{font-size:24px;color:#ed9b6b}.mission-card{background:#f7f9f7;border:1px solid #e8efec;border-radius:9px;padding:14px 14px 15px}.mission-top,.budget-head,.budget-bottom{display:flex;justify-content:space-between;align-items:center;gap:3px}.mission-top span:first-child,.budget-head span{font-size:10px;letter-spacing:.8px;font-weight:800;color:#687a82}.target-label{font-size:8px;color:#409e7e;font-weight:800;white-space:nowrap}.progress-hero{margin-top:11px}.progress-hero strong{font-family:'Space Grotesk';font-size:45px;letter-spacing:-1.5px}.progress-hero span{font-family:'Space Grotesk';font-size:20px;color:#9faeb2}.progress-bar,.budget-graphic{height:9px;background:#e5edeb;border-radius:8px;margin-top:8px;position:relative;overflow:hidden}.progress-bar>i,.budget-graphic>i{display:block;height:100%;width:0;background:linear-gradient(90deg,#45c89e,#78dec1);border-radius:7px;transition:width .25s}.progress-bar .target-mark{position:absolute;top:0;bottom:0;width:2px;left:84%;background:#263c45}.mission-sub{font-size:10px;color:#84949a;margin-top:10px;line-height:1.4}.budget-info{margin-top:24px}.budget-head b{font-family:'Space Grotesk';font-size:12px}.budget-graphic{height:7px;margin-top:10px}.budget-graphic i{background:linear-gradient(90deg,#64bfdf,#faad76)}.budget-bottom{margin-top:7px;color:#8a989e;font-size:9px}.budget-bottom strong{color:#3a4b55}.selected-heading{display:flex;justify-content:space-between;align-items:center}.selected-pill{font-weight:800;color:#e88852;background:#fff0e3;padding:4px 7px;border-radius:4px;font-size:9px}#zoneTitle{font-family:'Space Grotesk';font-size:20px;letter-spacing:-.6px;margin:5px 0 3px}.selected-description{font-size:11px;color:#8a9a9d;line-height:1.5;margin:0 0 16px}.sensor-row{display:flex;justify-content:space-between;align-items:center;margin-top:14px;font-size:11px;font-weight:600}.sensor-row>span{display:flex;align-items:center;gap:7px}.sensor-row strong{font-family:'Space Grotesk';font-size:15px}.sensor-row small{font-family:'DM Sans';font-size:9px;font-weight:500;color:#8fa0a6}.sensor-dot{width:7px;height:7px;border-radius:50%;display:inline-block;background:#e79c5e}.sensor-dot.carbon{background:#5bbae3}.sensor-dot.heat{background:#a6a1df}.sensor-meter{height:5px;background:#eef2f1;border-radius:5px;margin-top:6px;overflow:hidden}.sensor-meter i{display:block;width:0;height:100%;border-radius:4px;background:#f4a065;transition:width .2s}.sensor-meter i.above{background:#e15f5f}.readout-thresholds{font-weight:800;letter-spacing:1px;color:#a0acb2;font-size:9px;margin-top:20px}.readout-thresholds span{font-weight:500;letter-spacing:0;display:block;line-height:1.5;margin-top:6px;font-size:10px;color:#88979f}.journal-head{margin-bottom:11px}.text-action{font-size:9px;font-weight:800;color:#bd7750;background:none;border:none;padding:0}.event-list{height:129px;overflow:auto;display:flex;flex-direction:column;gap:8px}.event-entry{display:flex;align-items:start;gap:8px;color:#667983;font-size:10px;line-height:1.4}.event-entry time{white-space:nowrap;color:#b97a58;font-weight:800}.download-csv{background:#f2f6f6;border:1px solid #e5eded;width:100%;height:33px;border-radius:6px;font-weight:800;letter-spacing:.7px;color:#536871;font-size:9px;margin-top:13px}.footer{display:flex;justify-content:space-between;gap:15px;margin:20px 0 30px;font-size:9px;color:#8999a0;font-weight:700;letter-spacing:.4px}.modal-backdrop[hidden],.scene-tooltip[hidden]{display:none}.modal-backdrop{position:fixed;inset:0;background:#14212ddd;z-index:20;display:grid;place-items:center;padding:15px;overflow-y:auto}.guide-dialog{position:relative;max-width:850px;max-height:95vh;overflow:auto;padding:36px 42px;background:#f9fbfa;border-radius:15px;box-shadow:0 12px 40px #0005}.guide-close{position:absolute;right:22px;top:15px;background:none;border:0;font-size:27px;color:#57717e}.guide-dialog h2{font-family:'Space Grotesk';font-size:30px;letter-spacing:-1px;margin:11px 0}.guide-dialog>p{color:#697a83;font-size:13px;max-width:680px;line-height:1.65}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}.guide-grid article{border-top:2px solid #e0eae9;padding-top:10px}.guide-grid article b{color:#e18e5e}.guide-grid h3{font-family:'Space Grotesk';font-size:17px;margin:8px 0}.guide-grid p,.guide-ref p{font-size:12px;color:#6e818a;line-height:1.6}.guide-ref{border:1px solid #e2eae9;border-radius:8px;background:#fff;padding:15px 18px;margin-bottom:16px}.guide-ref strong{font-size:12px}.guide-ref .guide-source{font-size:11px;color:#96a3a8}#toast{position:fixed;bottom:19px;right:20px;z-index:40;pointer-events:none;background:#192d38;color:#fff;padding:11px 15px;border-radius:7px;box-shadow:0 10px 40px #0005;font-weight:600;font-size:12px;max-width:320px;opacity:0;transform:translateY(15px);transition:.2s}#toast.visible{opacity:1;transform:translateY(0)}
@media(max-width:1450px){.app-shell{padding:0 19px}.app-grid{grid-template-columns:minmax(240px,278px) minmax(390px,1fr) minmax(240px,274px);gap:10px}.controls,.readout{padding:19px 14px}.scene-stage{height:465px}.stage-metric{padding:2px 8px}.stage-metric strong{font-size:21px}.stage-metric>span{font-size:7px}.scene-suptitle{font-size:8px}.cam-button{padding:7px 7px}.heading-row{margin-top:18px}}
@media(max-width:1110px){.topbar{gap:14px}.header-tag,.head-divider{display:none}.masthead{min-width:auto}.app-grid{grid-template-columns:285px minmax(420px,1fr);grid-template-areas:'controls centre' 'readout centre';align-items:start}.controls{grid-area:controls}.main-column{grid-area:centre}.readout{grid-area:readout}.scene-stage{height:500px}.heading-stat{display:none}.footer{flex-wrap:wrap}}
@media(max-width:790px){.app-shell{padding:0 12px}.topbar{height:77px}.brand strong{font-size:18px}.brand-over{font-size:7px;letter-spacing:1.1px}.header-identity{display:none}.top-actions{margin-left:auto}.top-actions .btn{padding:0 10px;font-size:9px}.heading-row{margin:19px 0}.heading-row h1{font-size:32px}.app-grid{display:flex;flex-direction:column;gap:12px}.main-column{order:0;width:100%}.controls{order:1;width:100%}.readout{order:2;width:100%}.scene-stage{height:clamp(390px,70vw,525px)}.stage-metric strong{font-size:18px}.stage-data{height:auto;min-height:81px;padding:13px 7px}.stage-metric{padding:3px 6px}.stage-metric>span{font-size:7px;white-space:normal;min-height:20px}.chart-panel{min-height:360px}.controls .zone-reg{padding:11px}.readout .event-list{height:auto;max-height:145px}.footer{font-size:8px;line-height:1.8}.scene-side-scale{display:none}}
@media(max-width:470px){.topbar{gap:6px}.logo{width:34px;height:34px}.logo-arch{left:7px;top:8px;width:20px;height:25px;border-width:4px}.logo-slash{left:15px;top:12px;height:20px}.brand strong{font-size:16px}.brand-over{font-size:7px;letter-spacing:.3px}.top-actions{gap:3px}.top-actions .btn{padding:0 7px;font-size:8px;min-height:31px}.top-actions .btn.quiet{max-width:42px;overflow:hidden}.heading-row h1{font-size:28px}.subtitle{font-size:11px}.scene-stage{height:410px}.scene-top-left{top:14px;left:13px}.scene-suptitle{font-size:7px;max-width:170px}.scene-top-right{right:9px;top:12px}.cam-button{font-size:8px;padding:6px 5px}.scene-bottom-left{left:13px;bottom:12px;max-width:79%}.legend{font-size:8px;gap:7px}.scene-help{font-size:7px;line-height:1.5}.stage-metric strong{font-size:14px}.stage-metric strong small{font-size:8px}.stage-metric>span{letter-spacing:.1px;font-size:7px}.section-header h2{font-size:15px}.segmented button{font-size:8px;padding:6px}.playback .btn{padding:0 9px;min-height:36px;font-size:8px}.time-actions{gap:8px}.guide-dialog{padding:28px 20px}.guide-dialog h2{font-size:25px}.guide-grid{grid-template-columns:1fr;gap:6px}.footer{display:block}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
