
:root{--navy:#111c29;--navy2:#182838;--ink:#1f2d37;--muted:#9aa8b0;--paper:#f5f4ef;--line:#e2e2dc;--gold:#e3a75c;--gold2:#f8d69e;--terra:#c56f50;--teal:#288e8a;--white:#fff;--radius:14px;font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;font-synthesis:none;color:var(--ink)}*{box-sizing:border-box}html,body{margin:0;height:100%;min-width:320px}body{background:#e7e7e2}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #d58d51;outline-offset:3px}button:disabled{opacity:.55;cursor:not-allowed}.shell{min-height:100dvh;display:flex;flex-direction:column}.topbar{height:75px;flex-shrink:0;background:var(--navy);color:#fff;display:flex;align-items:center;padding:0 27px;gap:26px;border-bottom:1px solid #374655}.brand{display:flex;align-items:center;text-decoration:none;color:#fff;gap:11px;font-family:Manrope,sans-serif;font-weight:800;font-size:14px;letter-spacing:.06em;white-space:nowrap}.brandmark{width:36px;height:36px;border:1px solid #c5965b;border-radius:9px;color:var(--gold2);display:grid;place-items:center;font-size:27px}.brand-highlight{color:#ffc98a}.brand small{display:block;font-size:8px;color:#8297a5;letter-spacing:.27em;margin-top:1px}.header-divider{width:1px;height:34px;background:#384855}.project-ident{display:flex;flex-direction:column;gap:4px}.eyebrow{font-family:Manrope,sans-serif;color:#acbdc7;font-size:9px;letter-spacing:.2em;font-weight:800}.project-ident strong{font-family:Manrope,sans-serif;font-size:16px;letter-spacing:.14em}.top-actions{display:flex;gap:15px;margin-left:auto;align-items:center}.live{font-size:9px;letter-spacing:.13em;color:#acc3bf;font-weight:700;display:flex;align-items:center;gap:8px;white-space:nowrap}.live i,.tiny-dot{display:inline-block;width:7px;height:7px;background:#63d5bd;border-radius:50%;box-shadow:0 0 10px #4cd2af}.ghost-btn{color:#e7e2d6;background:transparent;border:1px solid #455462;padding:11px 13px;border-radius:7px;font-size:10px;letter-spacing:.1em;font-weight:700}.ghost-btn span{color:var(--gold);margin-left:8px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 374px;flex:1;min-height:0;min-height:calc(100dvh - 106px)}.viewport-pane{background:#e9e6df;min-width:0;display:flex;flex-direction:column;padding:27px 27px 20px;gap:16px}.scene-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px}.scene-index{color:#bc7a4b;font-family:Manrope,sans-serif;font-size:10px;font-weight:800;letter-spacing:.18em;margin-bottom:8px}.scene-head h1{font-family:Manrope,sans-serif;letter-spacing:-.045em;font-size:clamp(23px,2.3vw,38px);font-weight:800;margin:0;line-height:1.16}.scene-head p{color:#66767b;font-size:12px;margin:8px 0 0}.coord-label{text-align:right;align-self:center;font-family:Manrope,sans-serif;font-size:11px;font-weight:800;letter-spacing:.06em;white-space:nowrap}.coord-label span{display:block;font-size:10px;font-weight:500;color:#7b8a8d;margin-top:6px}.viewport-wrap{height:clamp(390px,calc(100dvh - 330px),900px);min-height:340px;position:relative;border-radius:12px;overflow:hidden;background:linear-gradient(#a2bcc4 0%,#eed5b0 63%,#c28250 100%);box-shadow:0 16px 44px #29323b17;isolation:isolate}.viewport-wrap canvas{width:100%;height:100%;display:block;outline:none;touch-action:none}.viewport-wrap canvas[hidden]{display:none}.viewport-top{position:absolute;top:15px;left:17px;right:16px;display:flex;justify-content:space-between;pointer-events:none;align-items:flex-start}.overline{background:#0e1d2ab9;backdrop-filter:blur(10px);color:#e4eced;border:1px solid #ffffff30;border-radius:5px;font-weight:800;letter-spacing:.13em;font-size:9px;padding:11px 12px;display:flex;gap:9px;align-items:center}.sun-tag{display:flex;gap:10px;align-items:center;background:#fffdf7e6;backdrop-filter:blur(10px);border-radius:6px;padding:11px 13px;box-shadow:0 4px 17px #263f4214}.sun-tag>span{font-size:24px;color:#c97933}.sun-tag small{display:block;font-size:8px;letter-spacing:.12em;color:#65757b;font-weight:800}.sun-tag strong{display:block;font-size:17px;color:#1c3039;margin-top:1px}.camera-switch{position:absolute;bottom:48px;left:17px;display:flex;gap:5px;background:#152435bd;border:1px solid #ffffff29;padding:5px;border-radius:7px;backdrop-filter:blur(8px)}.cam{background:transparent;border:0;color:#aebfc7;font-size:11px;padding:8px 9px;border-radius:4px;font-weight:800;white-space:nowrap}.cam span{font-size:9px;font-weight:700;letter-spacing:.05em;margin-left:3px}.cam.active{background:#eac58b;color:#1d2730}.scene-bottom{position:absolute;bottom:0;left:0;right:0;height:35px;display:flex;gap:9px;align-items:center;justify-content:space-between;padding:0 18px;background:#152838c9;color:#e1e3de;font-size:9px;font-weight:700;letter-spacing:.1em;pointer-events:none}.scene-bottom span:last-child{color:#f4c48b}.compass{position:absolute;right:22px;bottom:77px;width:38px;height:80px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;font-weight:800;color:#f7f2e7;font-size:11px;text-shadow:0 1px 7px #1b2735}.compass-cross{font-size:24px;color:#e4ac6d}.engine-notice{position:absolute;top:65px;left:16px;right:16px;background:#1c2c3cd9;color:#fff;font-size:12px;padding:12px;border-radius:7px;max-width:460px;line-height:1.5}.readout-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;background:#fffdf8;border:1px solid #ddd9d0;border-radius:9px}.readout-strip>div{padding:17px 18px;border-right:1px solid #e3e0d9;min-width:0}.readout-strip>div:last-child{border:0}.readout-strip span{display:block;color:#8a908e;letter-spacing:.12em;font-size:9px;font-weight:800;white-space:nowrap}.readout-strip strong{display:block;font-family:Manrope,sans-serif;color:#293f46;font-size:clamp(15px,1.65vw,25px);margin-top:6px;letter-spacing:-.045em}.annotation-row{display:flex;gap:12px;align-items:flex-start;color:#657579;font-size:12px;line-height:1.6;min-height:36px}.annotation-row p{margin:0}.annotation-row strong{color:#283c46}.annotation-icon{font-size:24px;color:#c17a50;line-height:1}.control-pane{background:#fcfcf9;border-left:1px solid #dadbd6;display:flex;flex-direction:column;min-height:0}.pane-title{padding:26px 22px 18px;background:#fff;border-bottom:1px solid var(--line)}.pane-title .eyebrow{color:#b77b54}.pane-title>div{display:flex;justify-content:space-between;align-items:center;margin-top:6px}.pane-title strong{font-size:21px;font-family:Manrope,sans-serif;letter-spacing:-.04em}.work-status{font-size:9px;font-weight:800;color:#188981;background:#e8f5f0;border-radius:4px;padding:6px;letter-spacing:.08em}.control-scroll{padding:15px 16px 25px;overflow:auto;flex:1;min-height:0}.panel{padding:20px 18px;margin-bottom:12px;background:#fff;border:1px solid #e5e5e1;border-radius:10px;box-shadow:0 4px 10px #232c3210}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;font-size:10px;letter-spacing:.12em;color:#8c989a;font-weight:800}.panel-heading .tag{letter-spacing:.05em;font-size:9px;background:#eeeae2;padding:5px 7px;border-radius:4px;color:#8c6847}.panel-heading .tag.teal{background:#e0f3ee;color:#237f7b}.mission{background:var(--navy);color:#fff;border-color:#263a47;position:relative;overflow:hidden}.mission:before{content:'';position:absolute;right:-70px;top:60px;width:180px;height:180px;border:1px solid #ffffff18;border-radius:50%;box-shadow:0 0 0 42px #ffffff07,0 0 0 84px #ffffff06;pointer-events:none}.mission .panel-heading{color:#b0bec5}.asterisk{color:#ebbb77;font-size:20px}.mission h2{font-family:Manrope,sans-serif;font-size:24px;line-height:1.17;letter-spacing:-.055em;margin:0 0 14px}.mission h2 em{font-style:normal;color:#f1ba76}.mission p{color:#b8c8c9;font-size:11px;line-height:1.7;margin:0 0 18px;max-width:290px}.mission-progress{display:flex;align-items:center;gap:15px}.mission-progress>div:first-child{font-size:10px;font-weight:800;letter-spacing:.09em;white-space:nowrap}.segment-bar{display:flex;gap:4px;flex:1}.segment-bar b{height:6px;background:#566474;border-radius:2px;flex:1}.segment-bar b.done{background:#e5b36f}.mission-status{font-size:10px;color:#ecc68a;margin-top:11px}.input-label,.range-header label{display:block;font-weight:800;color:#798687;font-size:9px;letter-spacing:.1em}.input-label{margin-bottom:9px}.panel select{appearance:none;background:#f8f8f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2368787a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;border:1px solid #e6e5df;border-radius:6px;color:#273a42;padding:10px 30px 10px 11px;min-width:0;font-size:12px;font-weight:700;width:100%}.range-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:18px 0 7px}.range-header output{font-family:Manrope,sans-serif;color:#27444b;font-size:10px;font-weight:800;white-space:nowrap}.panel input[type=range]{display:block;appearance:none;-webkit-appearance:none;width:100%;height:6px;border-radius:8px;background:linear-gradient(90deg,#d6a16f 0%,#d6a16f var(--value,50%),#e8e9e6 var(--value,50%),#e8e9e6 100%);margin:8px 0 14px;cursor:pointer}.panel input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;border:3px solid #fff;border-radius:50%;background:#bb7457;box-shadow:0 1px 6px #454b5460}.panel input[type=range]::-moz-range-thumb{width:11px;height:11px;border:3px solid white;border-radius:50%;background:#bb7457}.transport{display:flex;gap:7px;align-items:stretch;flex-wrap:wrap;margin-top:15px}.pill-btn{border-radius:6px;min-height:37px;background:#edf0ed;color:#30484d;border:1px solid #e0e6e4;font-weight:800;letter-spacing:.05em;font-size:9px;padding:10px 11px;flex:1;white-space:nowrap}.pill-btn:hover{background:#ddeae5}.pill-btn.primary{background:#213f46;color:#fff;border-color:#213f46}.pill-btn.primary:hover{background:#30565d}.pill-btn.record{background:#c47c56;border-color:#c47c56}.transport select{min-height:37px!important;width:65px!important;font-size:10px!important;padding:9px 20px 9px 7px!important}.field-note,.hint{font-size:10px;line-height:1.5;color:#899495;margin:0}.hint{margin-top:13px}.hint.error{color:#ba624d}.hint.success{color:#167b6e}.two-ranges{display:grid;grid-template-columns:1fr 1fr;gap:16px}.alignment{display:flex;align-items:center;justify-content:space-between;background:#f5f6f4;padding:12px;border-radius:6px;margin-top:10px}.alignment span{font-weight:800;font-size:9px;letter-spacing:.08em;color:#67777a}.alignment strong{font-family:Manrope,sans-serif;font-size:15px;color:#a26b51}#arcChart{width:100%;height:158px;display:block}.chart-legend{display:flex;flex-wrap:wrap;gap:9px;font-size:8px;color:#899391;font-weight:800;letter-spacing:.04em}.gold-dot,.blue-dot{display:inline-block;background:#c88757;width:7px;height:7px;border-radius:50%;margin-right:4px}.blue-dot{background:#608b96}.notebook{display:grid;gap:7px}.empty-note{background:#f7f6f1;color:#8a9695;font-size:11px;padding:15px;border-radius:7px;line-height:1.5}.reading{border:1px solid #e4e8e4;padding:10px 11px;border-radius:6px;display:flex;justify-content:space-between;gap:7px}.reading>div{min-width:0}.reading strong{display:block;font-size:11px;color:#2c4a4b}.reading span{display:block;color:#8a9392;font-size:9px;margin-top:4px}.reading b{font-size:15px;font-family:Manrope,sans-serif;color:#b17a53;white-space:nowrap}.field-log{margin-top:15px;padding:10px 12px;border-left:3px solid #c88d62;background:#faf7f1;color:#647270;font-size:10px;line-height:1.5}.heritage{background:#f1eee7}.heritage p{font-size:11px;color:#596c6a;line-height:1.7;margin:0 0 11px}.heritage a{color:#a26742;text-decoration:none;font-size:10px;font-weight:800;letter-spacing:.04em}.footer{padding:10px 23px;min-height:31px;flex-shrink:0;background:#182838;display:flex;gap:12px;justify-content:space-between;align-items:center;color:#8397a1;font-size:9px;letter-spacing:.07em;font-weight:700}dialog{border:1px solid #e7d9c9;border-radius:16px;max-width:min(700px,92vw);max-height:85dvh;width:700px;box-shadow:0 24px 100px #0610188c;padding:0;color:#273a42}dialog::backdrop{background:#0e202bd1;backdrop-filter:blur(3px)}.dialog-head{background:#172936;color:#fff;display:flex;align-items:flex-start;justify-content:space-between;padding:23px 27px}.dialog-head h2{margin:7px 0 0;font-family:Manrope,sans-serif;letter-spacing:-.04em;font-size:23px}.x-btn{background:transparent;border:1px solid #60727e;color:#fff;font-size:22px;border-radius:6px;width:33px;height:33px}.guide-content{padding:25px 30px 29px;overflow:auto;max-height:60dvh;line-height:1.75;font-size:13px}.guide-content h3{font-size:14px;margin:20px 0 7px;color:#27484e}.guide-content p{margin:5px 0;color:#647272}.guide-content a{color:#bb7553}.guide-banner{background:#f0e4cf;padding:19px;font-size:12px;font-weight:800;letter-spacing:.12em;display:flex;justify-content:space-between}.guide-banner span{font-size:22px;color:#a66945}@media(min-width:1400px){.workspace{grid-template-columns:minmax(0,1fr) 404px}.viewport-pane{padding:30px 34px 22px;gap:17px}.control-scroll{padding-left:21px;padding-right:21px}}@media(max-width:1030px){.workspace{grid-template-columns:minmax(0,1fr) 348px}.viewport-pane{padding:20px 16px}.readout-strip>div{padding:13px 10px}.readout-strip span{font-size:8px}.scene-bottom span:last-child{display:none}}@media(max-width:790px){.topbar{height:64px;padding:0 15px;gap:14px}.brand{font-size:11px}.brandmark{width:30px;height:30px}.header-divider,.project-ident{display:none}.ghost-btn{padding:9px}.workspace{display:flex;flex-direction:column}.viewport-pane{padding:18px 13px 12px;gap:13px}.viewport-wrap{height:clamp(360px,60vh,660px)}.control-pane{border-left:0}.control-scroll{overflow:visible;padding:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.panel{margin:0}.mission{grid-column:1/-1}.pane-title{padding:18px}.heritage{grid-column:1/-1}.footer{flex-wrap:wrap}.scene-head h1{font-size:27px}}@media(max-width:600px){.top-actions{gap:8px}.live{font-size:0}.live i{width:8px;height:8px}.scene-head{align-items:flex-start}.coord-label{font-size:9px}.coord-label span{font-size:8px}.scene-head h1{font-size:23px}.scene-head p{font-size:11px}.viewport-wrap{height:390px}.camera-switch{left:8px;bottom:45px}.cam{padding:7px 5px}.cam span{font-size:8px}.compass{right:9px;bottom:77px}.overline{font-size:8px;padding:9px}.sun-tag{padding:7px}.sun-tag strong{font-size:14px}.sun-tag>span{font-size:18px}.scene-bottom{padding:0 10px}.scene-bottom span:first-child{font-size:8px}.readout-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.readout-strip>div:nth-child(2){border-right:0}.readout-strip>div:nth-child(-n+2){border-bottom:1px solid #e2e0d9}.readout-strip strong{font-size:21px}.control-scroll{display:flex;flex-direction:column}.panel{width:100%}.footer span:nth-child(2){display:none}.mission{grid-column:auto}}
@media(prefers-reduced-motion:reduce){*{scroll-behaviour:auto!important;transition-duration:0s!important;animation-duration:0s!important}}
/* The desktop observation deck remains viewport-height; its notebook scrolls independently. */
@media(min-width:791px){
  .workspace{height:calc(100dvh - 106px);min-height:0;flex:none;overflow:hidden;grid-template-rows:minmax(0,1fr)}
  .viewport-pane{display:grid;grid-template-rows:auto minmax(245px,1fr) auto auto;min-height:0}
  .viewport-wrap{height:auto;min-height:245px}
  .control-pane{height:100%;min-height:0;overflow:hidden}
  .control-scroll{min-height:0;overflow-y:auto;overscroll-behaviour:contain}
}
