
:root{--bg:#14131a;--surface:#1c1a22;--surface2:#23202a;--line:#35313b;--muted:#8f8b99;--cream:#f6f0e8;--coral:#e9a080;--copper:#ba7658;--lime:#bbd5ae;--aqua:#9abac7;--violet:#ac9abe;--ff:Manrope,'DM Sans',system-ui,sans-serif}
*{box-sizing:border-box}html{background:var(--bg);scroll-behaviour:smooth}body{margin:0;background:var(--bg);color:var(--cream);font-family:var(--ff);font-size:13px;-webkit-font-smoothing:antialiased}button,select,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.43}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,canvas:focus-visible{outline:2px solid var(--coral);outline-offset:3px}h1,h2,h3,p{margin-top:0}button,select{-webkit-tap-highlight-color:transparent}.app-shell{max-width:1800px;margin:0 auto}
.topbar{height:78px;padding:0 36px;border-bottom:1px solid #302d35;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:inherit;flex:none}.brand-mark{width:43px;height:43px;background:#e4a17c;clip-path:polygon(50% 0,94% 24%,94% 76%,50% 100%,6% 76%,6% 24%);display:grid;place-items:center;color:#201722;font-size:25px;font-weight:800;transform:rotate(-11deg)}.brand-mark span{transform:rotate(11deg)}.brand-copy{display:flex;flex-direction:column;gap:0}.brand-copy strong{font-size:22px;letter-spacing:.14em;font-weight:800;line-height:1.2}.brand-dot{color:var(--coral)}.brand-copy small{font-size:8px;letter-spacing:.2em;color:#85808f;font-weight:800}.top-location{color:#9d98a5;letter-spacing:.17em;font-weight:800;font-size:9px;text-align:center}.location-spark{color:var(--coral);margin-right:8px}.top-divider{color:#554d56;padding:0 13px}.top-actions{display:flex;align-items:center;gap:11px}.live-pill{border:1px solid #53413e;border-radius:20px;padding:9px 12px;color:#e2b6a0;letter-spacing:.1em;display:flex;align-items:center;gap:8px;font-size:9px;font-weight:800;white-space:nowrap}.live-dot,.scene-dot{height:6px;width:6px;background:#e7ae8d;border-radius:50%;display:inline-block;box-shadow:0 0 13px #e7ae8d8c;animation:twinkle 2.5s infinite}.icon-btn{border:1px solid #4b444d;background:transparent;color:#e9e4e2;border-radius:50%;width:37px;height:37px;display:grid;place-items:center}.icon-btn svg{height:17px;width:17px}.reset-top{background:#e4a17f;color:#271c20;border:0;border-radius:5px;font-size:11px;font-weight:800;padding:12px 14px}.reset-top:hover,.transfer-btn:hover,.certify-btn:hover{filter:brightness(1.09)}
.workspace{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:20px;padding:30px 36px 27px}.left-stack{min-width:0}.intro{padding:9px 0 25px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.19em;color:#bdabb8}.slash{color:#e5a080;padding-right:8px}.eyebrow-counter{margin-left:17px;color:#625965}.intro-line{display:flex;justify-content:space-between;gap:25px;align-items:center}.intro h1{font-size:clamp(29px,3.3vw,49px);letter-spacing:-.056em;line-height:1.13;margin:11px 0 11px;font-weight:800}.intro h1 em,.mission-head h2 em{font-family:Georgia,serif;font-weight:400;color:#e5ab91;letter-spacing:-.045em}.intro p{max-width:655px;color:#9994a0;line-height:1.7;font-size:12px;margin:0}.batch-seal{width:100px;height:100px;border:1px solid #735644;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;flex:none;box-shadow:inset 0 0 0 7px #18161e,inset 0 0 0 8px #57473f;transform:rotate(10deg)}.batch-seal>span{font-weight:800;font-size:28px;color:#f0bb93;letter-spacing:-.04em}.seal-kg{font-size:10px;color:#d48f6c;margin-left:2px}.batch-seal small{font-size:7px;color:#d8aa92;font-weight:800;letter-spacing:.09em}
.scene-frame{position:relative;background:radial-gradient(circle at 48% 38%,#44483a,#20252b 55%,#151721);height:clamp(390px,38vw,615px);overflow:hidden;border:1px solid #4a4140;border-radius:8px;isolation:isolate}.scene-frame:after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 130px #0b0b1450;pointer-events:none;z-index:3}.scene-top{z-index:8;position:absolute;left:0;top:0;right:0;display:flex;justify-content:space-between;gap:10px;align-items:center;padding:19px 22px;background:linear-gradient(#131722c7,transparent);font-size:10px;letter-spacing:.12em;font-weight:800;pointer-events:none}.scene-caption{color:#ece7dc}.scene-dot{margin-right:7px}.scene-aux{color:#a29d95}.scene-status{color:#e6c1ab;display:flex;gap:13px;white-space:nowrap;font-size:9px}.scene-separator{color:#81756e}.scene-side-label{position:absolute;left:15px;top:50%;z-index:7;transform:rotate(-90deg) translateX(-50%);transform-origin:top left;font-size:8px;font-weight:800;letter-spacing:.24em;color:#b4ada7;pointer-events:none;white-space:nowrap}.scene-side-label span{color:#e8ad8b}.scene-side-label .side-hairline{display:inline-block;width:35px;height:1px;background:#bcb6a0;vertical-align:middle;margin:0 12px}.scene-inspect{position:absolute;z-index:8;top:75px;right:16px;width:min(230px,40%);padding:15px;background:#171923c8;border:1px solid #ffffff35;backdrop-filter:blur(13px);border-radius:4px;display:flex;flex-direction:column;gap:6px;pointer-events:none}.inspect-tag{color:#f0bd9b;font-size:8px;font-weight:800;letter-spacing:.18em}.scene-inspect strong{font-size:13px}.scene-inspect span:last-child{font-size:10px;color:#c1b9b6;line-height:1.5}.scene-bottom{position:absolute;z-index:9;bottom:0;left:0;right:0;display:flex;justify-content:space-between;gap:10px;padding:24px 19px 15px;background:linear-gradient(transparent,#131722e5);align-items:center;color:#d5c9bf;font-size:8px;letter-spacing:.14em;font-weight:800}.scene-bottom .sep{padding:0 8px;color:#c89f89}.scene-bottom button{background:#302e30aa;color:#efe7dc;border:1px solid #83716c;padding:7px 9px;font-size:8px;letter-spacing:.1em;border-radius:3px;font-weight:800}.view-controls{position:absolute;z-index:9;bottom:61px;left:50%;transform:translateX(-50%);display:flex;gap:3px;padding:5px;border:1px solid #908a795b;background:#131722b9;backdrop-filter:blur(14px);border-radius:5px}.view-btn{border:0;background:transparent;padding:10px 12px;color:#aeb1aa;font-size:10px;font-weight:800;border-radius:3px;white-space:nowrap}.view-btn span{font-weight:600;margin-left:5px}.view-btn.active{background:#e2a17f;color:#1b1c20}.scene-grain{position:absolute;inset:0;pointer-events:none;z-index:4;opacity:.12;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.62' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E")}
#scene3d,#scene2d{position:absolute;inset:0;width:100%;height:100%;display:block}#scene3d{z-index:2;touch-action:none}#scene3d canvas{width:100%;height:100%;display:block;touch-action:none}#scene2d{z-index:1;touch-action:none;cursor:grab}.scene-frame.has-webgl #scene2d{display:none}
.stat-strip{display:grid;grid-template-columns:repeat(4,1fr);margin:14px 0;gap:10px}.stat{background:#1b1a21;border:1px solid #353139;border-radius:5px;min-height:110px;padding:16px 17px}.stat-label{font-size:9px;color:#a3a0a7;letter-spacing:.13em;font-weight:800;display:flex;justify-content:space-between}.stat-label span{color:#655e65}.stat-line{margin:8px 0 4px;display:flex;align-items:baseline;gap:5px}.stat-line strong{font-size:clamp(23px,2.3vw,35px);line-height:1.05;font-weight:700;letter-spacing:-.055em}.stat-line span{color:#b2a6a7;font-size:13px}.stat-note{font-size:9px;color:#96919a;display:flex;align-items:center;gap:6px}.mini-dot{width:6px;height:6px;border-radius:50%}.coral{background:#eaa17f}.sand{background:#d0bc98}.aqua{background:#8dafb6}.lime{background:#b0cb9c}
.bottom-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:12px}.chart-card,.log-card{background:#1b1a21;border:1px solid #353139;border-radius:5px;padding:17px 18px 11px;min-width:0;height:248px}.mini-heading{display:flex;justify-content:space-between;gap:10px;align-items:center}.tiny-pre{font-size:8px;color:#c98f79;font-weight:800;letter-spacing:.17em}.mini-heading h2{margin:5px 0 0;font-size:15px;letter-spacing:-.03em}.chart-key{display:flex;gap:11px;font-size:9px;color:#b7b0b4}.legend-dot{width:6px;height:6px;border-radius:50%;display:inline-block;margin-right:4px}.legend-dot.copper{background:#edaa89}.legend-dot.blue{background:#9bbfd4}.chart-wrap{height:149px;margin-top:14px}.chart-wrap canvas{width:100%;height:100%;display:block}.chart-foot{display:flex;justify-content:space-between;color:#726d77;font-size:9px;letter-spacing:.08em}.journal-count{font-size:9px;color:#9c8e8a}.journal{margin-top:15px;max-height:164px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#594a4d transparent}.journal-entry{padding:7px 0;border-top:1px solid #373138;display:grid;grid-template-columns:57px 1fr;gap:9px}.journal-entry span{color:#e9a17f;font-weight:800;font-size:9px}.journal-entry p{margin:0;color:#aba3aa;font-size:10px;line-height:1.4}
.controls-panel{align-self:start;border:1px solid #373039;background:#1d1a23;border-radius:7px;padding:24px 23px 22px;position:relative}.controls-panel:before{content:"";position:absolute;top:-1px;left:18px;right:18px;height:2px;background:linear-gradient(90deg,transparent,#da9e7e,transparent)}.panel-top{display:flex;justify-content:space-between;align-items:center}.tiny-id{font-size:8px;letter-spacing:.08em;color:#716b79}.mission-head{padding:25px 0 18px}.mission-id{font-size:8px;letter-spacing:.13em;color:#d9a38b;font-weight:800}.mission-id-box{border:1px solid #65524e;padding:4px 6px;margin-left:6px}.mission-head h2{font-size:29px;line-height:1.18;letter-spacing:-.05em;margin:14px 0 9px}.mission-head p{font-size:11px;color:#a8a1aa;line-height:1.75;margin:0}.progress-section{background:#27222b;border:1px solid #453a42;border-radius:4px;padding:13px 12px 10px}.progress-line{display:flex;justify-content:space-between;gap:6px;font-size:9px;font-weight:800;letter-spacing:.08em}.progress-title{color:#e2b4a0}.progress-hour{color:#b1a8af}.stage-track{height:5px;background:#514147;margin:16px 0 10px;position:relative;border-radius:7px}.stage-track>span{position:absolute;height:100%;width:0;background:linear-gradient(90deg,#ac775d,#f5b190);border-radius:7px;transition:width .2s}.stage-line-1{position:absolute;left:35%;top:-4px;height:13px;width:2px;background:#b9a99f}.stage-labels{display:flex;justify-content:space-between;font-size:7px;color:#867d85;font-weight:800;letter-spacing:.06em}.mission-checks{padding:9px 0 14px}.check-row{display:grid;grid-template-columns:17px 1fr auto;gap:7px;align-items:center;padding:8px 0;border-bottom:1px solid #36303a}.check-icon{color:#80767e;font-size:15px}.check-icon.done{color:#b7cfa0}.check-row>span:nth-child(2){font-size:10px;font-weight:700;color:#e6dfe0}.check-row small{display:block;color:#8f8692;font-size:9px;font-weight:500;margin-top:2px}.check-row strong{font-size:8px;color:#baaaaf;white-space:nowrap}.control-group{border-top:1px solid #443943;padding-top:15px;margin-top:4px;margin-bottom:16px}.group-heading{display:flex;align-items:center;gap:9px;margin-bottom:15px}.group-heading>span{font-size:9px;color:#e7ac8c;font-weight:800}.group-heading h3{font-size:12px;font-weight:800;margin:0;flex:1}.group-heading small{font-size:8px;color:#8c7f87;letter-spacing:.09em}.vis-label{display:block;color:#a29ba4;font-size:9px;letter-spacing:.04em;margin-bottom:6px}select{appearance:none;background:#292530;border:1px solid #554953;border-radius:4px;width:100%;color:#eee7e5;padding:11px 29px 11px 12px;font-size:11px;outline:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%23cfa38a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}.helper-text{font-size:9px;color:#8b808a;margin:8px 0 0;line-height:1.45}.switch-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.switch-row strong{font-size:11px;display:block}.switch-row small{color:#8e8590;font-size:9px;margin-top:2px;display:block}.switch{position:relative;width:36px;height:20px;display:inline-block;flex:none}.switch input{opacity:0;width:100%;height:100%;position:absolute;margin:0;z-index:2;cursor:pointer}.switch span{position:absolute;inset:0;background:#554e58;border-radius:20px;transition:background .15s}.switch span:before{position:absolute;content:"";background:#fff;width:14px;height:14px;border-radius:50%;top:3px;left:3px;transition:transform .15s}.switch input:checked+span{background:#ba8269}.switch input:checked+span:before{transform:translateX(16px)}.switch input:disabled{cursor:not-allowed}.range-head{display:flex;justify-content:space-between;font-size:10px;font-weight:700;margin:7px 0 10px}.range-head output{color:#ebb090}.custom-range{width:100%;height:4px;background:#52444d;border-radius:3px;accent-color:#e8a383;cursor:pointer;margin:0}.range-extremes{display:flex;justify-content:space-between;color:#6f6772;font-size:7px;letter-spacing:.09em;margin:7px 0 13px}.button-pair{display:grid;grid-template-columns:1fr 1fr;gap:7px}.action-secondary{background:#292530;border:1px solid #5d4950;border-radius:4px;color:#eee1dc;padding:11px 8px;font-size:10px;font-weight:700;white-space:nowrap}.action-secondary:hover:not(:disabled),.time-buttons button:hover:not(:disabled){background:#42333b}.action-icon{color:#eda987;font-size:14px;margin-right:4px}.transfer-btn{width:100%;display:flex;justify-content:space-between;align-items:center;border:1px solid #8e6559;background:#593d3a;color:#f7dbcc;font-weight:800;font-size:10px;padding:12px 11px;border-radius:4px;margin-top:9px}.transfer-btn span{font-size:17px}.is-disabled{opacity:.58}.is-disabled button{pointer-events:none}.action-secondary.full{width:100%}.time-controls{border-top:1px solid #443943;padding-top:15px;margin-top:4px}.time-buttons{display:grid;grid-template-columns:1fr 1fr 1.04fr;gap:6px}.time-buttons button{background:#2c2732;border:1px solid #594954;border-radius:4px;color:#e2d5d8;padding:12px 4px;font-size:9px;font-weight:800}.time-buttons button.play-btn{background:#b27b64;color:#231b20;border-color:#b27b64}.time-buttons button.play-btn.playing{background:#c6beaa;color:#252022}.time-note{display:flex;justify-content:space-between;margin-top:9px;font-size:8px;color:#887d86;letter-spacing:.035em}.certify-btn{width:100%;background:#d99a78;color:#241c23;font-weight:800;letter-spacing:.05em;font-size:11px;border:0;border-radius:4px;padding:14px;display:flex;justify-content:space-between;margin:18px 0 14px}.science-note{border:1px solid #524448;background:#28222b;padding:13px;border-radius:4px}.science-note strong{font-size:8px;letter-spacing:.12em;color:#d8ad92;display:flex;justify-content:space-between}.science-note p{font-size:9px;line-height:1.65;color:#9f939c;margin:9px 0 0}
.footer{min-height:74px;border-top:1px solid #343039;padding:18px 36px;display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:9px;font-weight:700;letter-spacing:.07em;color:#85818d}.footer>div{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.footer strong{color:#e5b299;font-size:13px;letter-spacing:.15em}.foot-symbol{color:#e5a080;font-size:18px}.foot-muted{color:#716b78}.footer button{background:transparent;color:#e9b394;border:0;font-weight:800;letter-spacing:.08em;font-size:9px}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,24px);background:#ede4db;color:#201c22;border-left:4px solid #ce8d6b;max-width:min(620px,90vw);padding:15px 22px;border-radius:4px;box-shadow:0 15px 45px #0006;z-index:100;font-size:12px;font-weight:700;opacity:0;pointer-events:none;transition:.2s}.toast.show{transform:translate(-50%,0);opacity:1}.modal[hidden]{display:none}.modal{position:fixed;z-index:80;inset:0;background:#100f16de;backdrop-filter:blur(7px);display:grid;place-items:center;padding:20px}.modal-card{width:min(480px,100%);border:1px solid #806658;background:#221d27;padding:30px 34px 31px;border-radius:6px;text-align:center;box-shadow:0 20px 80px #000b}.modal-ornament{font-size:45px;color:#eeb295;margin-bottom:6px}.modal-card h2{font-size:29px;letter-spacing:-.05em;margin:8px 0}.modal-card p{color:#bbb0b9;font-size:12px;line-height:1.6}.modal-checks{text-align:left;border-top:1px solid #493b43;margin:19px 0}.modal-checks>div{border-bottom:1px solid #493b43;display:flex;justify-content:space-between;padding:11px 0;font-size:11px}.modal-checks strong{color:#e0ad94}.modal-card button{border:0;background:#e9aa8c;color:#21171d;padding:13px 19px;font-weight:800;border-radius:4px;font-size:11px;width:100%}
@keyframes twinkle{50%{opacity:.4;box-shadow:0 0 2px #e7ae8d}}@media(max-width:1350px){.workspace{grid-template-columns:minmax(0,1fr) 350px;padding-left:24px;padding-right:24px}.topbar,.footer{padding-left:24px;padding-right:24px}.controls-panel{padding:22px 18px}.intro h1{font-size:37px}.scene-frame{height:510px}}@media(max-width:1050px){.workspace{grid-template-columns:minmax(0,1fr);max-width:800px;margin:0 auto}.controls-panel{width:100%;display:block}.top-location{display:none}.scene-frame{height:500px}.stat-line strong{font-size:32px}}@media(max-width:630px){.topbar{padding:0 14px;height:69px}.brand-mark{width:34px;height:34px;font-size:20px}.brand-copy strong{font-size:17px}.brand-copy small{font-size:6px}.top-actions{gap:6px}.live-pill{display:none}.reset-top{padding:10px 8px;font-size:10px}.workspace{padding:17px 11px;gap:15px}.intro{padding:7px 6px 18px}.intro h1{font-size:31px;margin:10px 0}.intro p{font-size:11px}.batch-seal{display:none}.scene-frame{height:440px}.scene-top{padding:13px 10px}.scene-status{font-size:8px}.scene-aux,.scene-caption{font-size:8px}.scene-inspect{top:49px;right:9px;width:50%;padding:9px}.scene-inspect strong{font-size:11px}.scene-inspect span:last-child{font-size:9px}.scene-side-label{display:none}.view-controls{bottom:62px;max-width:96%;width:fit-content}.view-btn{padding:10px 7px;font-size:9px}.view-btn span{margin-left:2px}.scene-bottom{padding:19px 10px 12px;font-size:7px}.scene-bottom .sep{padding:0 2px}.scene-bottom button{font-size:7px;padding:5px}.stat-strip{grid-template-columns:repeat(2,1fr);gap:7px;margin:9px 0}.stat{padding:12px;min-height:90px}.stat-line strong{font-size:29px}.bottom-grid{grid-template-columns:1fr}.chart-card,.log-card{height:235px}.controls-panel{padding:20px 16px}.mission-head h2{font-size:27px}.footer{padding:20px 14px}.footer>div{gap:8px}.footer>div:nth-child(2){font-size:8px}.toast{font-size:11px;padding:12px}.scene-frame{touch-action:pan-y}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important}}
