:root{--ink:#13323b;--deep:#0d2832;--text:#203840;--cream:#f4f2ea;--paper:#faf9f4;--line:#dadfd8;--muted:#75837f;--mint:#9dd8c3;--orange:#b7623b;--sand:#eab47b;--green:#5f8b69;--shadow:0 18px 55px rgba(12,34,38,.085)}*{box-sizing:border-box}html{scroll-behaviour:smooth}body{margin:0;background:var(--cream);color:var(--text);font-family:Inter,"Avenir Next",Avenir,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #e7a056;outline-offset:3px}a{color:inherit}.skip{position:absolute;left:12px;top:-100px;z-index:999;background:white;padding:10px}.skip:focus{top:10px}#app{max-width:1860px;margin:0 auto}.masthead{height:69px;background:var(--deep);color:#f1f1df;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,3.25vw,56px);letter-spacing:.09em}.wordmark{display:flex;align-items:center;gap:14px;text-decoration:none;font-weight:900;font-size:16px;line-height:1;letter-spacing:.075em}.wordmark .serif{font-weight:350}.wordmark small{font-size:9px;color:#a5ccc4;letter-spacing:.28em;padding-left:5px}.mark{width:26px;height:27px;display:flex;align-items:center;gap:3px;transform:rotate(-30deg)}.mark i{height:23px;width:6px;background:#a6d7bf;border-radius:8px}.mark i:nth-child(2){height:15px;background:#e9ae77}.mark i:nth-child(3){height:19px;background:#d5d8c9}.masthead-mid{font-size:10px;font-weight:650;color:#adc7c7}.live-dot,.view-pulse{display:inline-block;height:7px;width:7px;background:#98c7a9;border-radius:50%;margin-right:9px;box-shadow:0 0 0 3px rgba(152,199,169,.13)}.divider-dot{margin:0 12px;color:#637e82}.text-button{background:none;border:0;color:#f4e7cf;font-size:11px;letter-spacing:.08em;font-weight:700}.text-button:hover{color:#9dd8c3}.intro{min-height:191px;display:flex;justify-content:space-between;align-items:end;gap:20px;padding:29px clamp(18px,3.25vw,56px) 30px}.eyebrow,.small-label{display:flex;align-items:center;gap:13px;font-size:10px;font-weight:800;letter-spacing:.16em;color:#a35b38}.eyebrow-rule{height:1px;background:#c8c7bd;width:46px}.intro h1{color:#12303a;font-size:clamp(38px,4.5vw,72px);font-weight:850;line-height:1.1;letter-spacing:-.062em;margin:11px 0 10px}.intro h1 span{font-weight:350}.intro h1 em{font-family:Georgia,serif;letter-spacing:-.03em;font-weight:400;color:#8c9b91;font-size:clamp(18px,2vw,28px);white-space:nowrap}.intro p{color:#5d706e;font-family:Georgia,serif;font-size:clamp(14px,1.1vw,18px);margin:0}.intro-side{text-align:right;min-width:225px;align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;align-items:end}.coord{font-weight:800;color:#28505a;font-size:12px;letter-spacing:.065em}.coord small{display:block;font-weight:500;font-size:9px;color:#92a1a1;letter-spacing:.15em;margin-top:5px}.chapter{font-size:10px;color:#6f7e76;letter-spacing:.16em;font-weight:700}.chapter b{color:var(--ink)}.chapter span{color:#c47743;font-size:23px;vertical-align:middle;margin-left:4px}.workbench{display:grid;grid-template-columns:minmax(0,1fr) minmax(354px,400px);border-top:1px solid #d6ddd5;border-bottom:1px solid #d6ddd5}.main-column{min-width:0;padding:18px 18px 20px clamp(18px,3.25vw,56px)}.scene-shell{border-radius:3px;overflow:hidden;box-shadow:var(--shadow);background:var(--deep)}.scene-topbar{height:45px;background:#17343e;display:flex;align-items:center;justify-content:space-between;color:#dfebdf;padding:0 22px;font-weight:800;letter-spacing:.125em;font-size:10px}.view-pulse{height:6px;width:6px}.bar-split{opacity:.4;margin:0 11px}.scene-top-right{color:#d5dccd}#scene{position:relative;height:clamp(415px,39vw,625px);overflow:hidden;background:radial-gradient(ellipse at 65% 65%,#8bada4 0%,#27616b 40%,#122d3a 100%);touch-action:none;cursor:grab}#scene.dragging{cursor:grabbing}#worldCanvas,#overlayCanvas{position:absolute;inset:0;width:100%;height:100%;display:block}#overlayCanvas{pointer-events:none}.scene-hud{position:absolute;pointer-events:none;z-index:2;text-shadow:0 1px 8px rgba(7,32,36,.32);color:#edf4e8}.scene-hud small{display:block;font-size:10px;font-weight:500;letter-spacing:.06em}.left-hud{top:25px;left:25px;font-size:10px;font-weight:850;letter-spacing:.2em}.hud-line{height:1px;width:128px;background:#e5f2edaa;margin:9px 0}.right-hud{right:24px;top:25px;text-align:right}.right-hud small{margin-top:9px}.north-arrow{display:flex;justify-content:end;align-items:center;gap:10px;font-size:12px}.north-arrow i{font-style:normal;font-size:28px;line-height:1}.scene-bottom-left{position:absolute;left:25px;bottom:22px;display:flex;align-items:center;gap:7px;color:#fff;font-size:10px;text-shadow:0 1px 3px #183b3c;background:#15373c80;border:1px solid #f7fff72c;padding:8px 11px;border-radius:3px}.legend-pip{height:7px;width:7px;border-radius:50%;display:inline-block;margin-left:8px}.legend-pip:first-child{margin-left:0}.legend-pip.sand{background:#eec28b}.legend-pip.green{background:#8dc4a2}.legend-pip.white{background:#ebeeee}.scene-error{position:absolute;bottom:70px;left:20px;right:20px;z-index:4;background:#193b44e8;color:#fff;padding:10px 14px;font-size:12px;border-left:3px solid #f0b77f}.scene-footer{background:#102e38;min-height:55px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;gap:14px}.camera-group{display:flex;align-items:center;gap:4px}.cam{border:1px solid transparent;color:#a9c1c1;background:transparent;border-radius:3px;font-weight:750;font-size:10px;padding:10px 8px;white-space:nowrap}.cam span{font-size:10px;letter-spacing:.01em;font-weight:600;margin-left:5px}.cam.active,.cam:hover{background:#23515a;color:#eef8ee;border-color:#426c72}.help-key{color:#79999d;font-size:9px;white-space:nowrap}.help-key b{color:#da9b75;margin:0 4px}.bottom-panels{display:grid;grid-template-columns:1.25fr .9fr;gap:16px;margin-top:16px}.chart-card,.brief-card{background:var(--paper);border:1px solid #e0e3d8;padding:22px 23px 15px;min-width:0}.panel-heading{display:flex;align-items:start;justify-content:space-between;gap:15px}.panel-heading h2{font-family:Georgia,serif;font-weight:500;font-size:22px;margin:6px 0 4px;letter-spacing:-.025em}.panel-heading .small-label{font-size:9px}.panel-heading>span:last-child{font-size:9px;color:#9aaba6;font-weight:800;letter-spacing:.1em}#historyChart{display:block;width:100%;height:115px}.chart-key{display:flex;flex-wrap:wrap;align-items:center;gap:17px;font-size:9px;color:#677b77;margin:6px 0 3px}.chart-key span{display:inline-flex;align-items:center;gap:5px}.key-line{width:15px;height:3px;display:inline-block;background:#b86641}.key-line.dotted{height:0;border-top:2px dashed #a1aea5;background:transparent}.chart-axis{display:flex;justify-content:space-between;color:#98a7a2;font-weight:800;font-size:9px;letter-spacing:.12em;margin-top:3px}.note-symbol{font-size:28px!important;color:#acb6a6!important}.brief-card p{font-family:Georgia,serif;color:#4f6662;line-height:1.56;font-size:13px;margin:10px 0}.note-link{display:flex;flex-direction:column;gap:5px;margin-top:14px;padding-top:12px;border-top:1px solid #dce2d9;font-size:10px}.note-link span{font-size:9px;font-weight:800;letter-spacing:.13em;color:#ad7658}.note-link a{color:#225a60;font-weight:750;text-underline-offset:3px}.brief-card .mini-disclaimer{font-size:10px;line-height:1.5;font-family:inherit;color:#94a19a;margin-bottom:0}.control-panel{border-left:1px solid #d9ded5;background:#faf9f5;box-shadow:-12px 0 30px #061b2606;min-width:0}.panel-head{padding:26px 23px 22px;border-bottom:1px solid #e2e5dc}.panel-head h2{font-family:Georgia,serif;font-size:31px;letter-spacing:-.04em;font-weight:500;margin:9px 0 6px;color:#183a41}.panel-head h2 i{color:#a46141}.panel-head p{font-family:Georgia,serif;font-size:12px;color:#7c8a83;line-height:1.5;margin:0}.mission-metrics{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#dce3dc;border-bottom:1px solid #dce3dc}.stat{background:#f1f2ec;padding:17px 22px 15px;min-height:119px}.stat>span{display:block;color:#7d918b;font-size:9px;letter-spacing:.12em;font-weight:800}.stat strong{display:block;color:#1c4045;font-family:Georgia,serif;font-weight:550;font-size:34px;margin-top:5px;line-height:1}.stat strong small{font-size:15px;color:#92a4a0;margin-left:4px}.stat-sub{font-size:10px;color:#7e9890;margin-top:8px}.stat-sub.warning{color:#b16442}.controls-body{padding:0 22px}.control-section{padding:21px 0 20px;border-bottom:1px solid #dce2d9}.control-section:last-child{border-bottom:0}.section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px;color:#37575b;font-size:10px;font-weight:850;letter-spacing:.135em}.section-title small{color:#a6b1aa;font-weight:800;font-size:9px}.info-button{border:0;background:none;color:#8c9f9b;font-size:15px}.segmented{display:grid;grid-template-columns:1fr 1fr 1fr;background:#e8ece6;border-radius:3px;padding:3px;gap:3px;margin-bottom:20px}.preset{border:0;border-radius:2px;background:none;padding:9px 3px;font-size:10px;color:#66807c;font-weight:750;white-space:nowrap}.preset.active{background:#28515a;color:white;box-shadow:0 2px 6px #102d3721}.slider-label{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;color:#667975;margin:15px 0 7px}.slider-label output{font-weight:850;color:#244c52;font-size:11px;white-space:nowrap}input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:4px;border-radius:50px;background:linear-gradient(90deg,#bd805b 30%,#dfe5dc 30%);cursor:pointer;accent-color:#b96a42}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;height:13px;width:13px;background:#ad603e;border:2px solid #fff;box-shadow:0 0 0 1px #a95b38;border-radius:50%}input[type=range]::-moz-range-thumb{height:12px;width:12px;background:#ad603e;border:2px solid white;border-radius:50%}.direction-caption{font-size:10px;color:#78918a;background:#eef0e9;margin:15px 0 0;padding:9px 10px;border-left:2px solid #8eb9a9}.sector-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.sector-button{height:36px;border:1px solid #ccd8d0;background:#f0f1eb;border-radius:2px;font-family:Georgia,serif;color:#4b6965;font-size:17px}.sector-button.active,.sector-button:hover{background:#234950;border-color:#234950;color:#f8f8ed}.sector-readout{display:flex;justify-content:space-between;gap:5px;flex-wrap:wrap;background:#edf0e9;margin-top:9px;padding:11px 12px}.sector-readout span{font-size:11px;font-weight:850;color:#385a59}.sector-readout strong{font-size:10px;color:#ad6947}.sector-readout p{flex-basis:100%;font-size:10px;color:#879891;margin:0;line-height:1.5}.action-grid{display:grid;gap:7px}.action{display:flex;align-items:center;text-align:left;border:1px solid #d9e2d9;background:#f7f8f2;border-radius:3px;padding:9px 9px;color:#30565a;gap:11px;min-height:58px;transition:background .18s,border-color .18s,transform .18s}.action:hover:not(:disabled){background:#eaf2eb;border-color:#9fbdaf;transform:translateX(2px)}.action:disabled{opacity:.42;cursor:not-allowed}.action-icon{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:3px;background:#e8ede6;color:#a86746;font-size:25px;font-weight:600}.action-label{display:flex;flex-direction:column;flex:1;gap:4px}.action-label strong{font-size:11px;color:#315055}.action-label small{font-size:10px;color:#91a19a}.price{font-size:10px;font-weight:900;white-space:nowrap;color:#ad6747}.action-help{font-size:10px;color:#9eaba4;line-height:1.5;margin-top:10px}.clock-status{background:#dfe9dd;color:#5b8b71;border-radius:2px;font-size:9px;padding:5px 7px;letter-spacing:.13em}.clock-status.playing{background:#cce8df;color:#176f63}.clock-readout{display:flex;align-items:end;justify-content:space-between;gap:20px}.clock-readout span{display:block;color:#7d938e;font-size:9px;letter-spacing:.12em}.clock-readout strong{display:block;font-family:Georgia,serif;font-size:37px;line-height:1.1;font-weight:450;color:#1c454b}.clock-readout strong small{font-size:14px;color:#a0ada7}.mini-progress{flex:1;max-width:160px;height:7px;background:#e5e8df;border-radius:20px;margin-bottom:10px;overflow:hidden}.mini-progress div{height:100%;width:0%;background:#ad7252;transition:width .25s}.run-controls{display:grid;grid-template-columns:1fr auto auto auto;gap:5px;margin-top:14px}.play-button,.secondary-button{min-height:37px;border-radius:3px;border:1px solid #d9dfd6;font-size:10px;font-weight:800;padding:8px 9px}.play-button{background:#17434a;color:white;border-color:#17434a}.play-button:hover{background:#28656c}.secondary-button{background:#f2f4ee;color:#44605d}.secondary-button:hover{background:#e4ebe4}.mission-outcome{background:#e9f0e9;padding:13px 13px;margin-top:14px;border-left:3px solid #79a88f;display:flex;gap:8px;flex-direction:column}.mission-outcome strong{font-size:9px;color:#467560;letter-spacing:.13em}.mission-outcome span{font-size:11px;line-height:1.5;color:#586e66}.mission-outcome.win{border-color:#4e936d;background:#e2f0e2}.mission-outcome.loss{border-color:#b97755;background:#f5e9dd}.event-log{display:flex;flex-direction:column;gap:5px;max-height:148px;overflow:auto}.event-row{display:flex;align-items:baseline;gap:9px;border-bottom:1px dashed #e5e9e0;padding:6px 0}.event-row:last-child{border-bottom:0}.event-row time{font-size:9px;color:#af8065;font-weight:800;white-space:nowrap}.event-row span{font-size:10px;color:#70827b;line-height:1.4}.tiny-link{border:0;padding:4px 0;background:none;color:#b06c49;font-size:9px;letter-spacing:.07em;font-weight:850}.site-footer{min-height:59px;padding:15px clamp(18px,3.25vw,56px);display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:9px;font-weight:850;letter-spacing:.11em;color:#71877f}.site-footer b{color:#a7b8ae;font-weight:500}dialog{width:min(620px,calc(100% - 24px));max-height:85vh;overflow:auto;border:0;border-radius:4px;box-shadow:0 26px 110px #061f2899;padding:0;background:#f9faf3;color:#244348}dialog::backdrop{background:#071d27ad}.dialog-head{background:#193b44;padding:24px 26px;color:white;display:flex;justify-content:space-between}.dialog-head .small-label{color:#a5ceb7}.dialog-head h2{font-family:Georgia,serif;font-size:28px;font-weight:500;margin:10px 0 0}.dialog-head button{background:none;border:0;color:white;font-size:19px;align-self:start}.dialog-body{padding:22px 26px 30px;font-size:13px;line-height:1.7}.dialog-body p{margin:0 0 17px;color:#5d746f}.dialog-body h3{font-size:13px;margin:14px 0 7px;letter-spacing:.05em;color:#294e53}.dialog-links{display:flex;flex-wrap:wrap;gap:8px}.dialog-links a{border:1px solid #cddad0;padding:8px;color:#2b676b;text-decoration:none;font-weight:750;font-size:11px}.dialog-links a:hover{background:#e5f0e8}@media(max-width:1200px){.workbench{grid-template-columns:minmax(0,1fr) 350px}.main-column{padding-left:18px}.intro{padding-left:18px;padding-right:18px}.help-key{display:none}.scene-footer{justify-content:center}.bottom-panels{grid-template-columns:1fr}.site-footer{padding-left:18px;padding-right:18px}}@media(max-width:920px){.masthead-mid{display:none}.intro{min-height:150px}.intro h1 em{display:block;margin-top:5px}.intro-side{display:none}.workbench{grid-template-columns:1fr}.main-column{padding:12px}.control-panel{border-left:0;border-top:1px solid #d9ded5;display:grid;grid-template-columns:minmax(250px,.85fr) 1.4fr}.panel-head{grid-column:1}.mission-metrics{grid-column:1}.controls-body{grid-column:2;grid-row:1/3;border-left:1px solid #d9ded5}#scene{height:480px}.bottom-panels{grid-template-columns:1fr 1fr}.scene-footer{justify-content:space-between}.site-footer{flex-wrap:wrap}}@media(max-width:640px){.masthead{height:58px;padding:0 15px}.wordmark{font-size:13px}.text-button{font-size:10px}.intro{padding:22px 16px}.intro h1{font-size:44px}.intro h1 em{font-size:20px}.intro p{font-size:13px;line-height:1.5}.main-column{padding:8px}.scene-topbar{padding:0 12px;font-size:8px;height:39px}.scene-top-right{font-size:8px}.bar-split{margin:0 5px}#scene{height:410px}.scene-footer{padding:7px 5px;min-height:51px;justify-content:center}.cam{padding:9px 6px}.cam span{font-size:9px}.left-hud{left:13px;top:15px;font-size:9px}.right-hud{right:13px;top:15px}.right-hud small{max-width:85px;font-size:8px}.scene-bottom-left{left:8px;bottom:9px;padding:6px;font-size:8px;gap:4px}.legend-pip{margin-left:3px;height:6px;width:6px}.bottom-panels{grid-template-columns:1fr;gap:8px;margin-top:8px}.chart-card,.brief-card{padding:15px}.control-panel{display:block}.controls-body{border-left:0}.panel-head{padding:21px 18px}.mission-metrics .stat{padding:14px 18px;min-height:107px}.controls-body{padding:0 18px}.run-controls{grid-template-columns:1fr auto auto;gap:6px}.run-controls #resetBtn{grid-column:1/4}.site-footer{font-size:8px;line-height:1.8}}@media(prefers-reduced-motion:reduce){*{scroll-behaviour:auto!important;transition:none!important;animation:none!important}}
