
:root{--ink:#142d31;--deep:#102328;--deep2:#19363a;--cream:#f6f2e9;--chalk:#e7e5db;--muted:#a5b7b6;--terra:#e9a775;--gold:#efc48a;--sage:#a4c6ad;--line:rgba(229,236,226,.14);--paper:#f8f4e9;--right:#f0ede3;--dark-text:#264145;--radius:13px;font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;font-synthesis:none}
*{box-sizing:border-box}html,body{margin:0;min-width:320px;height:100%;background:#152d31;color:#edf2ea}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #e9a775;outline-offset:3px}h1,h2,h3,p{margin-top:0}h2,h3,strong{font-family:'Manrope',system-ui,sans-serif}a{color:inherit} .sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.app-shell{min-height:100vh;display:flex;flex-direction:column}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;background:#f8f6ef;color:#203b3e;padding:0 27px;gap:20px;border-bottom:1px solid #d4d8d0}.brand{display:flex;align-items:center;gap:14px;min-width:276px}.brand-mark{width:36px;height:36px;border:1.5px solid #275357;border-radius:10px;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:8px;transform:rotate(-8deg)}.brand-mark span{height:3px;border-radius:5px;background:#bf7955;transform:rotate(7deg)}.brand-mark span:nth-child(2){width:70%;background:#3b756d}.brand-mark span:nth-child(3){width:90%}.brand-copy strong{display:block;font-size:15px;letter-spacing:.08em;font-weight:800;white-space:nowrap}.brand-copy em{font-style:normal;color:#bf8264}.brand-copy small{font-size:9px;font-weight:800;letter-spacing:.125em;color:#778e8a}.top-centre{display:flex;align-items:center;gap:9px;font-size:9px;font-weight:800;letter-spacing:.12em;color:#65827e;white-space:nowrap}.live-dot{height:6px;width:6px;border-radius:50%;background:#70a99b;box-shadow:0 0 0 4px #e5eee7}.top-sep{color:#bac9c1}.head-actions{display:flex;align-items:center;gap:16px}.text-action{border:0;background:none;color:#284c4d;font-size:10px;font-weight:800;letter-spacing:.12em;white-space:nowrap}.text-action span{font-size:15px;color:#b98061}.icon-action{border:1px solid #cad6cc;background:#fff;border-radius:50%;height:37px;width:37px;color:#315b59;font-size:23px;line-height:1}
.workspace{display:grid;grid-template-columns:minmax(282px,316px) minmax(500px,1fr) minmax(268px,298px);flex:1;min-height:0}.left-pane,.right-pane{padding:26px 22px 22px;min-width:0}.left-pane{background:var(--deep);border-right:1px solid var(--line)}.right-pane{background:var(--right);color:var(--dark-text);border-left:1px solid #d8dbd0}.panel-heading{display:flex;align-items:start;justify-content:space-between;gap:8px}.eyebrow{color:#91aca9;letter-spacing:.17em;font-size:9px;font-weight:800;margin:0 0 12px}.left-pane h2,.right-pane h2{font-size:25px;line-height:1.18;letter-spacing:-.055em;margin:0}.left-pane h2 i,.right-pane h2 i{font-style:normal;color:var(--terra)}.right-pane h2{font-size:23px}.right-pane h2 i{color:#b97a59}.phase-stamp{border:1px solid #466062;border-radius:9px;color:#b8cbc3;font-size:9px;line-height:1.65;letter-spacing:.13em;text-align:center;padding:7px 8px;white-space:nowrap}.intro{color:#aac1bd;font-size:11px;line-height:1.75;margin:17px 0 22px}.control-section{border-top:1px solid var(--line);padding-top:17px;margin-top:17px}.section-row{display:flex;justify-content:space-between;align-items:center;gap:12px}.section-row h3{font-size:12px;letter-spacing:-.01em;margin:0;font-weight:800}.tiny-counter{font-size:10px;color:#849e99;letter-spacing:.1em}.left-pane select{appearance:none;width:100%;padding:12px 31px 12px 12px;border-radius:8px;border:1px solid #4c6665;background:var(--deep2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23e0e5dd' stroke-width='1.5' d='m3 6 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 11px center/15px;color:#f5f3e8;font-size:12px;margin-top:13px}.weather-note{font-size:10px;color:#97b5ae;line-height:1.6;margin-top:10px}.control-line{margin-top:20px}.control-line label{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#dde9e4;font-weight:700;gap:8px}.control-line output{color:#f0bf8b;font-size:11px;white-space:nowrap}.control-line input[type=range]{display:block;width:100%;height:5px;margin:14px 0 9px;accent-color:#e6a779;cursor:pointer}.control-line p{font-size:10px;line-height:1.5;margin:0;color:#87a5a0}.investment{background:#203e40;border:1px solid #385558;padding:12px;border-radius:9px;margin-top:20px}.investment>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:7px}.investment span{font-size:9px;font-weight:800;letter-spacing:.11em;color:#b4c7be}.investment strong{font-size:17px;color:#f0c08c}.investment strong small{font-size:10px;color:#92aaa7}.budget-track,.soil-gauge,.time-track{height:5px;background:#315055;border-radius:20px;overflow:hidden;margin:11px 0 0}.budget-track i,.soil-gauge i,.time-track i{height:100%;width:0;display:block;background:linear-gradient(90deg,#8abeaa,#eabb7d);transition:width .22s}.investment p{font-size:10px;color:#a8c0b6;margin:9px 0 0}.zone-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:13px}.zone{border:1px solid #4c6866;border-radius:7px;padding:9px 6px;background:#183236;color:#c0d2ce;text-align:left;font-size:14px;font-weight:800}.zone small{font-size:8px;display:block;letter-spacing:.13em;color:#87aba4}.zone.is-selected{border-color:#eac495;background:#315052;color:#f1c48f}.zone.is-selected small{color:#d9ede1}.soil-readout{padding:14px 12px 11px;background:#1b3437;border-radius:8px;margin-top:9px}.soil-readout>div:first-child{display:flex;justify-content:space-between;align-items:center}.soil-readout span{font-size:10px;letter-spacing:.09em;color:#bdcec7}.soil-readout strong{font-size:19px;color:#a8d0ba}.soil-gauge{margin-top:9px}.soil-readout p{font-size:9px;color:#8baaa1;margin:9px 0 0;line-height:1.4}.sample-btn{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;text-align:left;background:#e7b485;border:0;color:#1b3233;border-radius:8px;margin-top:10px;padding:12px;font-size:10px;font-weight:800;letter-spacing:.05em}.sample-btn:disabled{opacity:.62;cursor:default}.sample-btn span{font-size:9px;border-left:1px solid #b88055;padding-left:8px}
.main-pane{min-width:0;background:#e1e6da;display:flex;flex-direction:column}.viewport{height:clamp(440px,54vh,720px);min-height:380px;position:relative;overflow:hidden;background:linear-gradient(#b3cbd0,#d4c4a4)}#scene{width:100%;height:100%;display:block;touch-action:none;cursor:grab}#scene:active{cursor:grabbing}.view-top{position:absolute;left:24px;right:24px;top:21px;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;pointer-events:none}.location-badge{display:flex;gap:10px;align-items:center;color:#1e3d3a;background:rgba(248,247,236,.93);border:1px solid rgba(255,255,255,.45);padding:10px 14px;border-radius:9px;font-size:10px;letter-spacing:.12em;line-height:1.5;font-weight:800;box-shadow:0 5px 17px #36545419}.location-badge b{color:#73857a;font-size:8px;font-weight:800}.mini-cross{color:#bd8056;font-size:20px}.view-stats{display:flex;gap:8px;align-items:center}.view-stats span{background:rgba(24,47,51,.90);color:#e6f1e8;font-size:9px;font-weight:800;letter-spacing:.08em;border:1px solid #68817b66;padding:12px;border-radius:7px;white-space:nowrap}.view-stats span:first-child{color:#bfdec9}.view-stats span i{font-style:normal;color:#86aba3}.compass{position:absolute;right:24px;top:95px;border-radius:50%;width:49px;height:49px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#faf6e6dd;border:1px solid #f5faed;color:#395554;font-size:8px;font-weight:800;pointer-events:none;gap:0}.compass b{font-size:22px;font-weight:400;transform-origin:center;line-height:1.1;color:#bf7952}.camera-rail{position:absolute;left:20px;bottom:48px;display:flex;gap:5px;background:#183b3bbd;padding:6px;border:1px solid #d4e5d14a;border-radius:10px;backdrop-filter:blur(7px)}.camera-rail button{color:#e0e9dc;border:0;background:transparent;text-align:left;border-radius:6px;padding:9px 10px;font-size:10px;font-weight:800;white-space:nowrap}.camera-rail button span{display:block;font-size:8px;letter-spacing:.055em;font-weight:700;color:#baccc4;margin-top:4px}.camera-rail button.is-active{background:#f4ecda;color:#2b484a}.camera-rail button.is-active span{color:#6b8381}.viewport-footer{position:absolute;left:23px;right:20px;bottom:15px;display:flex;gap:13px;flex-wrap:wrap;font-size:8px;letter-spacing:.08em;color:#254949;font-weight:700;pointer-events:none}.viewport-footer b{color:#aa704e}.mobile-hint{display:none}.field-marker{position:absolute;transform:translate(-50%,-50%);pointer-events:none;z-index:2}.field-marker button{pointer-events:auto;cursor:pointer;width:54px;height:54px;border-radius:50%;border:2px solid #fbefce;background:#193f3de6;color:#fff;box-shadow:0 6px 18px #213f3b88;font-size:13px;font-weight:800}.field-marker button span{display:block}.field-marker button small{display:block;font-size:7px;letter-spacing:.06em;color:#c6ddc9}.field-marker.selected button{background:#d6a16f;color:#203c3c}.field-marker.selected button small{color:#294d47}.scene-notice{position:absolute;bottom:108px;left:50%;transform:translateX(-50%);background:#183539ed;color:#eef3e4;padding:10px 15px;border-radius:9px;font-size:12px;min-width:150px;max-width:80%;text-align:center;box-shadow:0 5px 20px #20363a55;opacity:0;transition:opacity .4s;pointer-events:none}.scene-notice.show{opacity:1}
.transport-bar{background:#f9f5ea;border-bottom:1px solid #d9ded3;border-top:1px solid #d9ded3;color:#264548;padding:16px 21px;display:flex;align-items:center;gap:24px;min-height:77px}.transport-controls{display:flex;align-items:center;gap:7px;white-space:nowrap}.transport-controls button{border:1px solid #d2dbd0;background:#fffdf6;border-radius:7px;padding:12px;color:#244243;font-size:10px;font-weight:800;letter-spacing:.045em}.transport-controls .play-btn{background:#234c49;color:#fff;border-color:#234c49;min-width:85px}.speed-label{color:#869b93;font-size:9px;font-weight:800;letter-spacing:.1em;margin-left:4px}.speed-label select{border:0;background:transparent;font-weight:800;color:#234c49;margin-left:3px;font-size:11px}.time-track-wrap{flex:1;min-width:80px}.time-numbers{display:flex;align-items:center;justify-content:space-between;font-size:9px;font-weight:800;letter-spacing:.11em;color:#85968c}.time-numbers strong{color:#24514c;font-size:10px}.time-track{background:#e0e3d7;margin-top:10px;height:6px;position:relative}.time-track i{background:#a6c8b0}.tick{position:absolute;top:0;width:2px;height:6px;background:#c4d1c5}
.bottom-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(220px,.75fr);flex:1;min-height:250px;background:#fffdf6;color:#254345}.chart-panel,.field-notes{padding:22px 25px 15px;min-width:0}.chart-panel{border-right:1px solid #dfe4d9}.bottom-grid .eyebrow{color:#899e94;margin-bottom:6px}.bottom-grid h3{font-size:14px;letter-spacing:-.02em}.chart-legend{display:flex;gap:10px}.chart-legend span{font-size:9px;font-weight:800;display:flex;gap:4px;align-items:center}.chart-legend i{display:block;width:10px;height:3px;border-radius:3px}.legend-a{background:#c67850}.legend-b{background:#3a8c86}.legend-c{background:#d8ae62}#chart{display:block;width:100%;height:123px;margin-top:7px}.chart-note{font-size:9px;color:#8a9c90;margin:5px 0 0}.field-notes .section-row button{font-size:9px;color:#244e4b;border:1px solid #ccd9cf;border-radius:7px;padding:8px;background:transparent;font-weight:800}.log{max-height:145px;overflow:auto;margin-top:16px;padding-right:7px}.log p{font-size:10px;color:#728d83;line-height:1.55;border-bottom:1px solid #e5e8df;padding:0 0 8px;margin:0 0 8px}.log p b{font-size:9px;color:#a1745a;margin-right:8px}
.scoreboard-title{align-items:start}.right-pane .eyebrow{color:#869b94}.score-orb{background:#e1e7db;border:1px solid #ced9cf;border-radius:50%;width:63px;height:63px;flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.score-orb span{color:#365b57;font-family:Manrope,sans-serif;font-size:20px;font-weight:800;line-height:1}.score-orb small{font-size:8px;color:#8c9e92;font-weight:800}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:24px 0 23px}.metric{padding:14px 12px;background:#fffcf4;border:1px solid #e1e1d6;border-radius:8px;min-height:119px}.metric>span{font-size:8px;color:#81928b;letter-spacing:.08em;font-weight:800}.metric>div:nth-child(2){display:flex;align-items:baseline;gap:4px;margin-top:13px}.metric strong{font-size:24px;line-height:1;letter-spacing:-.05em;color:#234949}.metric small{font-size:10px;color:#b17c59;font-weight:800}.metric-bottom{font-size:9px;color:#8c9d92;line-height:1.35;margin-top:7px}.mission{border-top:1px solid #d0d9cf;border-bottom:1px solid #d0d9cf;padding:18px 0 21px}.mission h3{font-size:13px}.mission-flag{font-size:8px;font-weight:800;letter-spacing:.1em;color:#b47d59}.mission>p{font-size:10px;line-height:1.6;color:#79908b;margin:9px 0 15px}.goals{list-style:none;margin:0;padding:0;display:grid;gap:12px}.goals li{display:flex;align-items:start;gap:10px;font-size:10px;font-weight:800;color:#365450}.goals .check{height:19px;width:19px;border:1px solid #b9c9bf;border-radius:50%;display:grid;place-items:center;flex-shrink:0;color:#96aaa0;font-size:12px;line-height:1}.goals li.complete .check{background:#2f7668;color:white;border-color:#2f7668}.goals li.fail .check{background:#eed8c7;border-color:#d3b6a0;color:#966849}.goals li small{display:block;font-size:9px;color:#9aae9f;margin-top:4px;font-weight:500}.context-box{padding:20px 0}.context-number{display:block;color:#bb8664;letter-spacing:.14em;font-size:9px;font-weight:800;margin-bottom:12px}.context-box h3{font-size:15px}.context-box p{font-size:10px;line-height:1.75;color:#6e8580}.context-box .source-note{color:#9b8a74}.context-box button{font-size:9px;font-weight:800;letter-spacing:.1em;background:none;border:0;padding:7px 0;color:#35655d}.context-box button span{color:#b78360;margin-left:7px}
.footer{background:#152c30;min-height:40px;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 25px;border-top:1px solid #385052;color:#849f9b;font-size:8px;font-weight:700;letter-spacing:.1em}.footer b{color:#cd9c74}
 dialog{border:1px solid #d5dacb;border-radius:15px;max-width:760px;width:min(92vw,760px);max-height:90vh;overflow:auto;padding:28px 35px 30px;background:#f7f4e9;color:#274a48;box-shadow:0 20px 90px #071a1bc9}dialog::backdrop{background:#0b1d21bb;backdrop-filter:blur(6px)}.dialog-top{display:flex;justify-content:space-between;align-items:center}.dialog-top .eyebrow{margin-bottom:0;color:#a77c5e}.dialog-top button{border:0;background:#e7ebdf;border-radius:50%;width:33px;height:33px;color:#42615d}dialog h2{font-size:28px;letter-spacing:-.04em;line-height:1.25;margin:17px 0}dialog p{font-size:12px;line-height:1.85;color:#637973}dialog h3{font-size:13px;margin-top:17px}.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:22px 0}.guide-grid>div{padding:17px;background:#e8ecdf;border:1px solid #d9e1d5;border-radius:9px}.guide-grid span{color:#bb8861;font-weight:800}.guide-grid p{font-size:11px;margin:0}.sources{display:flex;flex-wrap:wrap;gap:9px}.sources a{color:#376b65;font-size:10px}.dialog-cta,.result-actions button{border:0;background:#28554f;color:#fff;padding:13px 19px;border-radius:8px;font-size:10px;font-weight:800;letter-spacing:.08em}.result-overline{margin-top:23px;font-size:10px;color:#a97b56;font-weight:800;letter-spacing:.15em}.result-hero{display:flex;align-items:center;gap:28px}.result-hero>strong{font-size:82px;color:#286559;letter-spacing:-.075em;line-height:1}.result-hero h2{margin:5px 0;font-size:23px}.result-hero p{margin:3px 0}.result-breakdown{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:22px 0}.result-breakdown div{background:#e8eddf;border-radius:8px;padding:12px;font-size:11px}.result-breakdown b{float:right}.result-actions{display:flex;gap:10px;flex-wrap:wrap}.result-actions button:nth-child(2){background:#d6e0d2;color:#2f5c55}
@media(max-width:1400px){.workspace{grid-template-columns:minmax(250px,285px) minmax(400px,1fr) minmax(238px,267px)}.left-pane,.right-pane{padding:22px 16px}.chart-panel,.field-notes{padding:18px}.top-centre{display:none}.camera-rail{left:12px}.camera-rail button{padding:8px}}
@media(max-width:1100px){.workspace{grid-template-columns:260px minmax(0,1fr)}.right-pane{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:22px;align-items:start}.right-pane .scoreboard-title{display:block}.right-pane .score-orb{margin-top:16px}.right-pane .metrics{margin:0}.right-pane .mission{border:0;padding:0}.right-pane .context-box{padding:0}.viewport{height:570px}}
@media(max-width:720px){.topbar{height:67px;padding:0 13px}.brand{min-width:0}.brand-mark{width:32px;height:32px}.brand-copy strong{font-size:12px}.brand-copy small{font-size:7px}.head-actions{gap:5px}.text-action{font-size:8px}.workspace{display:flex;flex-direction:column}.main-pane{order:0}.left-pane{order:1}.right-pane{order:2}.viewport{height:55vh;min-height:350px}.view-top{left:12px;right:12px;top:12px}.location-badge{padding:7px 9px;font-size:8px}.view-stats{display:block}.view-stats span{display:block;text-align:center;font-size:8px;padding:8px}.view-stats span+span{margin-top:5px}.compass{right:12px;top:104px;width:36px;height:36px}.compass b{font-size:17px}.camera-rail{left:7px;bottom:42px;gap:2px;padding:4px}.camera-rail button{font-size:8px;padding:7px 5px}.camera-rail button span{font-size:7px}.viewport-footer{bottom:12px;left:10px;gap:6px;font-size:7px}.viewport-footer span:nth-child(3){display:none}.mobile-hint{display:inline!important}.field-marker button{width:43px;height:43px}.transport-bar{padding:12px;gap:10px;flex-wrap:wrap}.transport-controls{width:100%;justify-content:space-between}.time-track-wrap{width:100%}.bottom-grid{grid-template-columns:1fr}.chart-panel{border-right:0;border-bottom:1px solid #e3e8db}.field-notes{min-height:150px}.left-pane{padding:22px 19px}.right-pane{display:block;padding:23px 19px}.right-pane .scoreboard-title{display:flex}.right-pane .score-orb{margin:0}.right-pane .metrics{margin:20px 0}.right-pane .mission{border-top:1px solid #d0d9cf;border-bottom:1px solid #d0d9cf;padding:17px 0}.right-pane .context-box{padding:20px 0}.footer{flex-wrap:wrap;gap:6px}.footer span:nth-child(2){display:none}.guide-grid{grid-template-columns:1fr}dialog{padding:18px 20px}.result-hero>strong{font-size:64px}}
@media(prefers-reduced-motion:reduce){*{scroll-behaviour:auto!important;transition:none!important}}
