:root{--ink:#112328;--ink2:#1e3337;--muted:#73817c;--ground:#eef0e7;--paper:#f9faf5;--line:#dce2d8;--green:#245f50;--lightgreen:#d3ead9;--lime:#b8df8d;--gold:#b78438;--orange:#d28b5b;--white:#fff;--radius:15px;--shadow:0 18px 50px rgba(13,41,34,.08)}*{box-sizing:border-box}html{scroll-behaviour:smooth}body{margin:0;color:var(--ink);background:var(--ground);font:14px/1.5 system-ui,-apple-system,"Segoe UI",Arial,sans-serif}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #d6aa60;outline-offset:2px}h1,h2,h3,p{margin:0}h2,h3{letter-spacing:-.04em}h2{font-size:22px}h3{font-size:17px}b,strong{font-weight:700}.app-shell{max-width:1760px;margin:auto}.masthead{min-height:84px;background:var(--ink);color:white;display:flex;align-items:center;padding:16px 3%;gap:15px;border-bottom:1px solid #34464a}.brand-mark{flex:0 0 40px;width:40px;height:40px;border:1px solid #83bba7;border-radius:11px;position:relative;transform:rotate(-9deg)}.brand-ripple{position:absolute;border:2px solid #a6c9b0;border-radius:50%;width:20px;height:20px;left:9px;top:9px;box-shadow:0 0 0 4px #203a39}.brand-centre{position:absolute;width:5px;height:5px;background:#d6b978;border-radius:50%;left:16.5px;top:16.5px}.brand-copy{flex:1}.overline,.eyebrow{letter-spacing:.17em;font-size:10px;font-weight:850;text-transform:uppercase}.overline{color:#89aeaa}.brand-copy h1{font-size:22px;letter-spacing:.09em;font-weight:850;line-height:1.2}.title-rule{color:#607d76;margin:0 5px}.subbrand{font-weight:400;letter-spacing:-.03em;text-transform:none;font-size:20px;color:#e6e7d8}.header-meta{display:flex;align-items:center;gap:10px}.pill{border:1px solid #3e5652;border-radius:30px;padding:7px 10px;color:#dfece3;font-size:10px;font-weight:800;letter-spacing:.12em;white-space:nowrap}.green-dot:before,.pulse-led{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#b3ef91;margin-right:8px;box-shadow:0 0 10px #8edb70}.flag{color:#b8c6c0}.header-icon{width:32px;height:32px;border:1px solid #67807a;border-radius:50%;background:transparent;color:inherit;font-size:18px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 405px;gap:20px;padding:20px 22px}.left-column,.right-column{min-width:0;display:flex;flex-direction:column;gap:17px}.hero-strip{display:flex;justify-content:space-between;align-items:end;gap:20px;padding:4px 0 0}.hero-strip .eyebrow{color:var(--green)}.hero-strip h2{font-size:28px;line-height:1.2;margin:5px 0}.hero-strip p{color:#687a72;font-size:13px}.terrain-id{color:var(--muted);font-size:10px;letter-spacing:.11em;white-space:nowrap;display:flex;flex-direction:column;text-align:right;gap:4px}.viewport-card{position:relative;background:#1e3232;border:4px solid #fff;border-radius:var(--radius);height:clamp(360px,43vw,610px);min-height:360px;box-shadow:var(--shadow);overflow:hidden}.scene-host{width:100%;height:100%;position:absolute;inset:0;touch-action:none;overflow:hidden}.scene-host canvas{display:block;width:100%;height:100%;outline:none}.view-topbar,.view-bottom,.view-leftbar{z-index:5;position:absolute;pointer-events:none}.view-topbar{top:18px;left:18px;right:18px;display:flex;justify-content:space-between;align-items:center;gap:10px}.view-tag{background:rgba(12,29,32,.82);color:#ecf6e8;border:1px solid #466264;border-radius:7px;padding:9px 12px;font-size:10px;font-weight:750;letter-spacing:.13em;white-space:nowrap}.view-actions{display:flex;gap:3px;background:rgba(13,31,34,.82);padding:4px;border-radius:9px;pointer-events:auto;backdrop-filter:blur(6px)}.camera-btn{border:0;border-radius:6px;background:transparent;color:#d1dddc;font-size:11px;padding:7px 10px;font-weight:700}.camera-btn.active,.camera-btn:hover{background:#e5e9df;color:#18302e}.view-leftbar{left:18px;top:85px;display:flex;flex-direction:column;gap:6px}.switch-row{display:flex;gap:9px;align-items:center;width:max-content;padding:7px 10px;background:rgba(12,29,32,.8);color:#ecf6e8;border-radius:7px;font-size:11px;pointer-events:auto}.switch-row input{accent-color:#a6d38d;margin:0}.view-bottom{bottom:15px;left:18px;right:18px;display:flex;align-items:end;justify-content:space-between;gap:10px;color:#ebf2ef;font-size:10px;text-shadow:0 1px 3px #000}.hint-sep{color:#a2b8a8;padding:0 5px}.mouse-icon{display:inline-block;border:1px solid #bcd3cd;padding:0 4px;border-radius:3px;margin-right:5px}.scale-label{white-space:nowrap;letter-spacing:.1em;font-size:9px;display:flex;flex-direction:column;align-items:end}.scale-label i{width:55px;border-bottom:3px solid #e1e9da;border-left:2px solid #e1e9da;border-right:2px solid #e1e9da;height:8px}.scene-notice{position:absolute;z-index:6;left:50%;top:50%;transform:translate(-50%,-50%);width:min(80%,420px);color:#fff;background:rgba(13,30,30,.92);padding:20px;border-radius:10px;text-align:center}.live-bar{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.live-stat{padding:14px 15px 13px;border-right:1px solid var(--line);min-width:0}.live-stat:last-child{border:0}.stat-label{display:block;color:#657c6c;letter-spacing:.13em;font-weight:850;font-size:9px}.live-stat strong{display:block;color:#152d2d;font-size:24px;line-height:1.5;letter-spacing:-.05em;font-variant-numeric:tabular-nums}.live-stat strong small{color:#71857b;font-size:12px;letter-spacing:0;font-weight:550}.stat-note{font-size:10px;color:#75837b}.bottom-panels{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(230px,1fr);gap:17px}.chart-panel,.field-log,.control-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:17px;box-shadow:0 2px 14px rgba(20,40,30,.025)}.panel-heading{display:flex;justify-content:space-between;gap:12px;align-items:start;margin-bottom:13px}.panel-heading .eyebrow{color:#779084}.panel-heading h3,.panel-heading h2{margin-top:3px}.chart-legend{display:flex;gap:9px;align-items:center;font-size:10px;color:#62746b}.chart-legend span{white-space:nowrap}.chart-legend i{width:8px;height:8px;display:inline-block;margin-right:4px;border-radius:50%}.key-green{background:#2c816a}.key-orange{background:#bf9060}#trendChart{width:100%;height:160px;display:block}.chart-footer{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#84918b}.field-log{min-height:245px}.text-button{border:0;background:transparent;color:#376d5d;padding:4px;font-weight:750;font-size:11px;white-space:nowrap}.text-button:hover{text-decoration:underline}.log-list{list-style:none;padding:0;margin:0;max-height:206px;overflow:auto}.log-list li{border-top:1px solid #e6e9df;padding:8px 0;display:grid;grid-template-columns:40px 1fr;gap:8px;font-size:11px;line-height:1.35;color:#455b54}.log-list time{color:#8b998d;font-size:9px;letter-spacing:.05em}.right-column{gap:13px}.control-card{padding:17px 18px}.mission-card{background:#18312e;color:#f7f8f0;border-color:#18312e;background-image:radial-gradient(circle at 100% 0%,rgba(103,140,103,.27),transparent 47%)}.mission-card .eyebrow{color:#9abeb0}.mission-card .panel-heading{margin-bottom:10px}.mission-card h2{font-size:24px}.mission-card>p{color:#c5d7cc;font-size:12px;max-width:340px}.chapter-number{font-size:11px;color:#9eb7a6;letter-spacing:.14em;white-space:nowrap}.progress-list{margin:17px 0 13px}.objective{border-top:1px solid #47635a;display:flex;align-items:center;gap:10px;font-size:11px;padding:9px 0;color:#d6e6d9}.objective>span:last-child{margin-left:auto;white-space:nowrap;color:#d0eeb4;font-weight:800}.objective-mark{color:#8bab94;font-size:18px;line-height:1}.objective.done .objective-mark{color:#b2ed9a}.mission-message{border-left:2px solid #bbd397;padding:8px 0 8px 11px;background:rgba(204,226,188,.055);font-size:11px;color:#cbe2cd}.station-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}.station-button{background:#ebf1e8;border:1px solid #dbe4db;border-radius:8px;padding:9px 3px 7px;color:#44645b;position:relative;font-size:14px;font-weight:850;min-width:0}.station-button.selected{color:#fff;background:#245e51;border-color:#245e51}.station-button .site-dot{display:block;font-size:8px;line-height:1.1;margin-top:2px;font-weight:550}.station-button.sampled:after{content:"";position:absolute;right:3px;top:3px;width:5px;height:5px;border-radius:50%;background:#d0a24d}.station-summary{margin-top:12px}.station-title-row{display:flex;justify-content:space-between;gap:10px;align-items:center}.station-title-row .eyebrow{color:#6d8b7e;font-size:9px}.station-title-row h3{font-size:22px;margin:0 0 2px}.small-tag{border:1px solid #d6dfd6;border-radius:5px;color:#567168;background:#f2f6ee;font-size:9px;font-weight:800;letter-spacing:.08em;padding:5px 6px;white-space:nowrap}.station-summary p{margin:6px 0 12px;color:#718077;font-size:11px;min-height:32px}.tiny-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #dfe6dd;border-bottom:1px solid #dfe6dd;padding:10px 0;gap:10px}.tiny-grid span{font-size:9px;color:#75857b;display:block}.tiny-grid b{font-size:12px;display:block;margin-top:2px;font-variant-numeric:tabular-nums}.station-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.btn{border-radius:8px;border:1px solid transparent;min-height:38px;padding:9px 11px;font-weight:800;font-size:11px;transition:background .15s,transform .15s}.btn:active{transform:translateY(1px)}.btn-primary{color:#fff;background:#276a58}.btn-primary:hover:not(:disabled){background:#194d40}.btn-secondary{background:#e9f0e7;color:#235746;border-color:#d5e5db}.btn-secondary:hover:not(:disabled){background:#d5e7d6}.btn-outline{border-color:#b8c4b8;background:#fff;color:#2b6254}.station-actions .btn{display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.1;gap:3px}.station-actions .btn span{font-size:9px;font-weight:500;opacity:.83}.micro-help{font-size:10px!important;color:#758678!important;min-height:0!important;margin-bottom:0!important}.core-card .panel-heading{margin-bottom:9px}.core-workspace{display:grid;grid-template-columns:36px 40px 1fr;gap:12px;height:178px}.depth-labels{display:flex;flex-direction:column;justify-content:space-between;align-items:end;font-size:9px;color:#728779;padding:0 0 1px}.core-strip{height:100%;border-radius:7px;border:3px solid #e0dfd1;box-shadow:inset 3px 0 6px #0002;overflow:hidden;display:flex;flex-direction:column;background:#d6d8c6}.core-strip.empty{background:repeating-linear-gradient(135deg,#e9ebe2 0,#e9ebe2 8px,#f2f4ee 8px,#f2f4ee 16px);align-items:center;justify-content:center}.core-placeholder{color:#9caba2;font-size:32px}.core-layer{flex:1;position:relative;box-shadow:inset 0 -2px 1px rgba(26,16,5,.18);background-image:linear-gradient(95deg,transparent 5%,rgba(240,232,206,.2) 45%,transparent 88%)}.core-layer:after{content:"";position:absolute;inset:0;background-image:radial-gradient(#2f2916 1px,transparent 1px);background-size:7px 8px;opacity:.18}.core-readout{display:flex;flex-direction:column;justify-content:space-between}.core-measure{padding-bottom:4px;border-bottom:1px solid #e1e7dd;min-width:0}.core-measure span{display:block;font-size:10px;color:#799084}.core-measure strong{font-size:18px;letter-spacing:-.04em;line-height:1.2;display:block;color:#1b3732}.core-measure small{font-size:9px;color:#869489}.small-print{font-size:10px;color:#819084;margin-top:9px;line-height:1.5}.choice-row{border-top:1px solid #e0e6de;margin-top:13px;padding-top:12px}.choice-row>label,.select-label,.slider-label{display:block;font-size:11px;font-weight:750;color:#3f5c51}.choice-input{display:flex;gap:8px;margin-top:6px}.choice-input select,.full-select{border-radius:7px;border:1px solid #ccd9ce;background:#fff;color:#25483e;min-width:0;height:36px;padding:6px;font-size:11px}.choice-input select{flex:1}.btn-compact{background:#183c35;color:white}.slider-label{display:flex;justify-content:space-between}.slider-label strong{font-variant-numeric:tabular-nums}.timeline-card input[type=range]{width:100%;accent-color:#2d7863;cursor:pointer;margin:10px 0}.timeline-buttons{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:7px}.timeline-buttons button{padding:9px 4px;min-width:0}.select-label{margin:12px 0 5px}.select-label small{font-weight:400;color:#839087}.full-select{width:100%}.bottom-controls{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-top:10px}.bottom-controls>label{font-size:10px;color:#6b8175;display:flex;align-items:center;gap:6px}.bottom-controls select{font-size:10px;border:1px solid #dce4db;background:white;padding:3px;border-radius:5px;color:#2b5a4b}.export-card{background:#e1e8df;border:1px solid #d5e0d4;border-radius:var(--radius);padding:13px 16px;display:flex;justify-content:space-between;align-items:center;gap:12px}.export-card .eyebrow{color:#5b7e6e}.export-card p{font-size:10px;color:#526b5f;margin-top:3px}.export-actions{display:flex;gap:6px;flex:0 0 auto}.export-actions .btn{min-height:32px;padding:5px 10px}.footer{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #d7ddd5;padding:17px 25px;color:#63776c;font-size:10px}.footer span:first-child{font-weight:800;letter-spacing:.06em}.guide-dialog{border:1px solid #d6e1d4;max-width:min(760px,92vw);max-height:88vh;overflow:auto;border-radius:16px;background:#f9faf5;color:#203b34;padding:26px;box-shadow:0 30px 100px #0c232a88}.guide-dialog::backdrop{background:rgba(7,22,24,.75);backdrop-filter:blur(5px)}.guide-top{display:flex;justify-content:space-between;align-items:center}.guide-dialog .header-icon{color:#174a3b;border-color:#b6caba}.guide-dialog h2{font-size:30px;margin:8px 0 12px}.guide-dialog h3{font-size:16px;margin:10px 0 6px}.guide-dialog p{color:#53695d;font-size:13px;margin-bottom:12px}.guide-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:16px 0}.guide-grid>div{padding:13px;border:1px solid #e0e7dc;background:white;border-radius:10px}.guide-dialog a{color:#1c7357}.guide-source{font-size:11px!important}.guide-dialog .btn{margin-top:5px}@media(max-width:1250px){.workspace{grid-template-columns:minmax(0,1fr) 365px;padding:16px;gap:14px}.control-card{padding:14px}.viewport-card{height:440px}.hint-text{font-size:9px}.live-stat{padding:12px 10px}.live-stat strong{font-size:21px}.stat-note{font-size:9px}}@media(max-width:1030px){.workspace{grid-template-columns:1fr}.right-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.mission-card,.export-card{grid-column:span 2}.viewport-card{height:510px}.hero-strip h2{font-size:26px}}@media(max-width:680px){.masthead{padding:12px 14px;min-height:67px;gap:8px}.brand-mark{width:30px;height:30px;flex-basis:30px}.brand-ripple{left:5px;top:5px}.brand-centre{left:12.5px;top:12.5px}.brand-copy h1{font-size:15px;letter-spacing:.04em}.subbrand{font-size:14px}.overline{font-size:8px}.header-meta{gap:5px}.header-meta .flag{display:none}.pill{font-size:8px;padding:6px}.workspace{padding:11px;gap:13px}.hero-strip{align-items:start}.hero-strip h2{font-size:24px}.hero-strip p{font-size:11px}.terrain-id{display:none}.viewport-card{height:420px;min-height:350px}.view-topbar{top:10px;left:10px;right:10px;align-items:start}.view-tag{font-size:8px;padding:7px}.view-actions{gap:0}.camera-btn{font-size:9px;padding:7px 5px}.view-leftbar{top:60px;left:10px}.switch-row{font-size:9px;padding:5px 7px}.view-bottom{bottom:9px;left:10px;right:10px}.scale-label{display:none}.hint-text{font-size:9px}.live-bar{grid-template-columns:repeat(2,1fr)}.live-stat:nth-child(2){border-right:0}.live-stat:nth-child(-n+2){border-bottom:1px solid var(--line)}.bottom-panels{grid-template-columns:1fr}.right-column{display:flex}.mission-card,.export-card{grid-column:auto}.footer{padding:18px 12px;flex-wrap:wrap;gap:7px}.footer span:nth-child(2){order:3;flex-basis:100%}.guide-grid{grid-template-columns:1fr}.guide-dialog{padding:16px}.guide-dialog h2{font-size:24px}}

.scene-host canvas[hidden]{display:none}
/* Labels for the independent offline native-WebGL renderer. */
.webgl-marker{position:absolute;transform:translate(-50%,-50%);z-index:3;border:1px solid #6f9688;background:rgba(20,47,45,.9);color:#e9f2e4;padding:4px 7px;border-radius:6px;font-size:10px;font-weight:750;white-space:nowrap;box-shadow:0 3px 12px #0005}.webgl-marker.active{background:#d8dfb7;color:#14332e;border-color:#f0f2d3}.webgl-marker:hover{background:#d5e8d7;color:#173a32}
