
:root{--bg:#07121f;--panel:#0b1a29;--panel2:#0d2030;--line:#1b3548;--line2:#244358;--text:#e8f1f5;--muted:#8299aa;--muted2:#a8bac6;--teal:#67dfc1;--cyan:#65cde2;--amber:#ffb56f;--green:#59e4a8;--violet:#b69aff;--red:#ff8c72;--shadow:0 18px 50px rgba(0,0,0,.28)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 48% -25%,#16324a 0,#091724 42%,#06111d 100%);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:13px;min-width:320px}button,input,select{font:inherit}button{color:inherit;cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--teal);outline-offset:2px}.app-shell{min-height:100vh}.topbar{height:68px;display:flex;align-items:center;padding:0 24px;border-bottom:1px solid rgba(76,123,150,.2);background:rgba(5,16,27,.82);backdrop-filter:blur(16px);position:sticky;top:0;z-index:20}.brand-lockup{display:flex;align-items:center;gap:11px;min-width:245px}.brand-mark{width:34px;height:34px;border-radius:10px;background:#10283a;border:1px solid #28506a;position:relative;overflow:hidden}.brand-mark:before{content:"";position:absolute;left:4px;right:4px;top:16px;border-top:1px solid #315c70}.brand-mark:after{content:"";position:absolute;top:4px;bottom:4px;left:16px;border-left:1px solid #315c70}.brand-mark span{position:absolute;width:23px;height:23px;border:2px solid var(--teal);border-radius:50%;left:5px;top:5px;clip-path:polygon(0 0,100% 0,100% 48%,0 48%);transform:rotate(-28deg)}.brand-mark i{position:absolute;width:7px;height:7px;background:var(--amber);border-radius:50%;left:19px;top:19px;box-shadow:0 0 12px #ffb56f}.brand-name{font-size:16px;letter-spacing:2px;font-weight:800;line-height:1.1}.brand-name span{color:var(--teal)}.brand-kicker{font-size:8px;color:#7892a5;letter-spacing:1.55px;margin-top:4px;font-weight:700}.topbar-center{display:flex;align-items:center;gap:9px;font-size:9px;letter-spacing:1.25px;color:#8fa8b9;font-weight:700}.live-dot{width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 10px #59e4a8}.top-separator{color:#426176}.top-material{color:#c0d0d9}.topbar-actions{margin-left:auto;display:flex;gap:9px}.top-action{border:1px solid #29465b;background:#0c1d2b;border-radius:7px;padding:8px 12px;color:#c5d5df;font-size:11px;font-weight:650}.top-action:hover{border-color:#5b9aab;background:#11283a}.top-action.primary{background:#13342f;border-color:#276657;color:#a5f1d8}.top-action b{font-size:9px;color:#70d8b6;margin-left:5px}.action-glyph{font-size:13px;color:var(--teal);margin-right:6px}.workspace{display:grid;grid-template-columns:224px minmax(480px,1fr) 322px;gap:0;max-width:1920px;margin:0 auto;min-height:calc(100vh - 68px)}.mode-rail{border-right:1px solid rgba(57,98,123,.26);padding:24px 13px 16px 16px;display:flex;flex-direction:column;min-height:calc(100vh - 68px);background:rgba(5,16,27,.28)}.rail-heading{display:flex;align-items:center;justify-content:space-between;color:#718da0;font-size:9px;font-weight:800;letter-spacing:1.45px;padding:0 8px 12px}.rail-count{color:#5a7d91;font-variant-numeric:tabular-nums}.mode-link{width:100%;display:flex;align-items:center;gap:10px;border:1px solid transparent;background:transparent;text-align:left;padding:11px 8px;border-radius:8px;margin-bottom:4px;transition:.18s}.mode-link:hover{background:rgba(26,58,78,.55)}.mode-link.active{background:linear-gradient(100deg,rgba(34,91,91,.33),rgba(17,48,64,.38));border-color:#285a5b;box-shadow:inset 2px 0 var(--teal)}.mode-number{width:23px;height:23px;border:1px solid #29485c;border-radius:6px;display:grid;place-items:center;color:#7896a8;font-size:9px;font-weight:800;flex-shrink:0}.mode-link.active .mode-number{background:#17433e;color:#9bf0d7;border-color:#39796a}.mode-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.mode-copy strong{font-size:11px;font-weight:700;color:#c8d8e1}.mode-link.active .mode-copy strong{color:#e8fff7}.mode-copy small{font-size:9px;color:#718b9e}.mode-chevron{margin-left:auto;color:#6f94a4;font-size:18px;opacity:0}.mode-link.active .mode-chevron,.mode-link:hover .mode-chevron{opacity:1}.rail-divider{height:1px;background:#1a3447;margin:17px 7px}.reference-link{display:flex;align-items:center;gap:10px;width:100%;background:none;border:0;padding:9px 8px;color:#91a7b5;text-align:left;font-size:10px;border-radius:6px}.reference-link:hover{background:#102538;color:#d9e9f1}.ref-icon{color:#74b9c5;font-size:14px;width:22px;text-align:center}.rail-spacer{flex:1;min-height:35px}.rail-seed{padding:12px 10px;border:1px solid #1d3b4f;border-radius:8px;background:rgba(13,34,49,.62);display:flex;flex-direction:column;gap:5px}.seed-label{font-size:8px;letter-spacing:1.25px;color:#7693a6;font-weight:800}.rail-seed strong{font-size:10px;letter-spacing:.8px;color:#a4c9d0;font-variant-numeric:tabular-nums}.rail-seed small{font-size:9px;color:#678195}.rail-footer{display:flex;align-items:center;gap:7px;padding:17px 4px 0;color:#6f899b;font-size:8px;letter-spacing:1px;font-weight:800}.mini-logo{width:18px;height:18px;border-radius:5px;background:#163e40;color:#8ae8cc;display:grid;place-items:center;font-size:10px}.rail-footer b{color:#a2c3ca}.version{margin-left:auto;color:#536e80;font-size:8px}
.lab-main{padding:22px 23px 48px;min-width:0}.scene-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:15px}.eyebrow{font-size:8px;letter-spacing:1.45px;color:#7e9aad;font-weight:800}.scene-heading .eyebrow{display:flex;align-items:center;gap:9px}.eyebrow-line{height:1px;width:25px;background:#355c70}.scene-heading h1{font-size:24px;letter-spacing:-.8px;line-height:1.1;margin:8px 0 5px;font-weight:700}.scene-heading h1 em,.panel-header h2 em,.section-heading h2 em,.modal-head h2 em{font-family:Georgia,serif;font-weight:400;color:var(--teal);letter-spacing:-.4px}.scene-heading p{margin:0;color:#8ca4b3;font-size:11px;line-height:1.5;max-width:650px}.transport{display:flex;align-items:center;gap:5px;flex-shrink:0}.transport-btn{width:30px;height:30px;border-radius:7px;background:#102437;border:1px solid #29495f;color:#a7bdca;font-size:12px}.transport-btn:hover{border-color:#6eb9b6;color:#eafff8}.transport-btn.play{background:#17433e;border-color:#347c68;color:#9ef0d4}.transport-divider{height:22px;width:1px;background:#294459;margin:0 7px}.speed-control{display:flex;align-items:center;gap:7px;color:#7793a5;font-size:8px;letter-spacing:1px;font-weight:800}.speed-control select{background:#0d2030;color:#c7d8e0;border:1px solid #28465b;border-radius:5px;padding:6px 7px;font-size:10px}
.scene-card{border:1px solid #214358;border-radius:10px;overflow:hidden;background:#081724;box-shadow:var(--shadow)}.scene-topline{height:38px;display:flex;align-items:center;padding:0 12px;background:#0d1e2c;border-bottom:1px solid #1b374a}.scene-chip{display:flex;align-items:center;gap:7px;color:#b7cbd6;font-size:9px;font-weight:800;letter-spacing:.8px}.chip-dot{width:6px;height:6px;border-radius:50%;background:#68d9c0;box-shadow:0 0 8px #68d9c0}.scene-hint{margin-left:auto;color:#718c9e;font-size:8px;letter-spacing:.85px}.scene-hint span{color:#3d6579;margin:0 5px}.camera-reset{border:0;background:transparent;color:#86a5b7;font-size:16px;margin-left:12px;padding:3px 5px}.camera-reset:hover{color:var(--teal)}.scene-viewport{height:365px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 48%,#16344a 0,#0b1d2c 48%,#071420 100%)}#scene-canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}#scene-canvas:active{cursor:grabbing}.scene-vignette{pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 0 80px rgba(1,8,15,.52)}.scene-callout{position:absolute;top:17px;display:flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid rgba(79,122,145,.32);border-radius:7px;background:rgba(7,20,31,.78);backdrop-filter:blur(8px);pointer-events:none}.callout-left{left:15px}.callout-right{right:15px}.callout-index{width:18px;height:18px;display:grid;place-items:center;border-radius:5px;background:#593d2b;color:#ffc08a;font-size:9px;font-weight:800}.callout-index.green{background:#174d40;color:#8ff0c9}.scene-callout div{display:flex;flex-direction:column;gap:3px}.scene-callout strong{font-size:8px;letter-spacing:1px;color:#e0edf2}.scene-callout small{font-size:8px;color:#89a3b3}.scene-bottom-label{position:absolute;bottom:13px;left:15px;display:flex;align-items:center;gap:8px;color:#90a9b8;font-size:8px;letter-spacing:.9px;pointer-events:none}.axis-dot{width:6px;height:6px;border-radius:50%;background:#6dcce1;box-shadow:0 0 8px #6dcce1}.bottom-divider{height:11px;width:1px;background:#36566a;margin:0 3px}.scene-watermark{position:absolute;bottom:13px;right:15px;color:#48677b;font-size:8px;letter-spacing:1.7px;font-weight:800;pointer-events:none}.scene-watermark span{color:#6b9b9f}.scene-footer{height:32px;display:flex;align-items:center;justify-content:space-between;padding:0 13px;background:#0b1b29;border-top:1px solid #1a374a}.scene-legend{display:flex;gap:15px;color:#91a8b6;font-size:8px}.scene-legend span{display:flex;align-items:center;gap:5px}.legend-amber,.legend-green,.legend-blue{width:6px;height:6px;border-radius:50%;display:inline-block}.legend-amber{background:var(--amber);box-shadow:0 0 7px #ffb56f}.legend-green{background:var(--green);box-shadow:0 0 7px #59e4a8}.legend-blue{background:var(--cyan);box-shadow:0 0 7px #65cde2}.scene-renderer{font-size:8px;color:#668a9e;letter-spacing:1px;font-weight:800}
.metric-strip{display:grid;grid-template-columns:1.2fr 1.2fr 1.1fr 1fr;gap:0;margin:12px 0 14px;border:1px solid #1b394d;border-radius:8px;background:linear-gradient(90deg,rgba(13,33,48,.9),rgba(9,26,39,.92));overflow:hidden}.metric-cell{padding:11px 13px 10px;border-right:1px solid #1b394d;min-width:0}.metric-cell:last-child{border:0}.metric-cell>span{display:block;color:#7894a6;font-size:8px;letter-spacing:1px;font-weight:800;margin-bottom:6px}.metric-cell>strong{font-size:18px;line-height:1.1;font-weight:700;letter-spacing:-.5px;font-variant-numeric:tabular-nums;color:#e9f5f7;white-space:nowrap}.metric-cell>strong small{font-size:10px;color:#94adba;font-weight:600;letter-spacing:0}.metric-cell:nth-child(1)>strong{color:#9cebd4}.metric-cell:nth-child(2)>strong{color:#a9d7eb}.metric-cell:nth-child(3)>strong{color:#b8e8d4}.metric-note{display:block;color:#6e8798;font-size:8px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.metric-track{height:3px;background:#1b394a;border-radius:9px;display:block;margin-top:7px;overflow:hidden}.metric-track b{height:100%;display:block;background:linear-gradient(90deg,#45ad9d,#78e5c5);border-radius:9px;max-width:100%}
.charts-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.chart-card{border:1px solid #1d3a4d;border-radius:8px;background:#0a1927;overflow:hidden;min-width:0}.chart-head{height:37px;display:flex;align-items:center;justify-content:space-between;padding:0 11px;border-bottom:1px solid #1b3548}.chart-head>div{display:flex;align-items:center;gap:8px;min-width:0}.chart-index{font-size:9px;font-weight:900;color:#6b9d9e;background:#12343a;width:19px;height:19px;border-radius:5px;display:grid;place-items:center}.chart-head strong{font-size:10px;color:#d2e0e6;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chart-tag{font-size:7px;letter-spacing:1px;color:#6e9c9b;font-weight:800;white-space:nowrap}.chart-canvas{width:100%;height:166px;display:block;cursor:crosshair}.chart-foot{height:27px;display:flex;align-items:center;justify-content:space-between;padding:0 11px;border-top:1px solid #183246;color:#70899b;font-size:8px}.chart-legend{display:flex;align-items:center;gap:6px;color:#9ab0bd}.chart-legend i{margin-left:4px}.scan-marker{display:flex;align-items:center;gap:5px;color:#80a9b5}.scan-marker i{width:5px;height:5px;border-radius:50%;background:#8adfc5}
.notebook-card{margin-top:13px;border:1px solid #1d3a4d;border-radius:8px;background:#0a1927;min-height:132px;overflow:hidden}.notebook-head{height:51px;padding:0 13px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #1b3548}.notebook-title{font-size:12px;font-weight:700;color:#d5e3e9;margin-top:3px}.notebook-title span{display:inline-grid;place-items:center;background:#163545;color:#8ed7c4;border-radius:10px;min-width:19px;height:17px;padding:0 5px;font-size:9px;margin-left:5px}.notebook-actions{display:flex;gap:6px}.tiny-btn{padding:6px 9px;border-radius:5px;border:1px solid #2a5d5d;background:#123c3a;color:#9be7d1;font-size:9px;font-weight:700}.tiny-btn:hover{background:#185149}.tiny-btn.quiet{background:#102233;border-color:#284458;color:#91a8b6}.table-scroll{overflow:auto}.notebook-card table{width:100%;border-collapse:collapse;white-space:nowrap}.notebook-card th{text-align:left;padding:9px 12px;color:#6f8b9e;font-size:8px;letter-spacing:.8px;font-weight:800}.notebook-card td{padding:9px 12px;border-top:1px solid #183145;color:#a8bdc8;font-size:9px;font-variant-numeric:tabular-nums}.notebook-card td.accent-cell{color:#86e2c4;font-weight:800}.empty-notebook{min-height:90px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;color:#7893a4;text-align:center}.empty-icon{font-size:20px;color:#5fbba6}.empty-notebook strong{font-size:10px;color:#bdd0da}.empty-notebook span:last-child{font-size:9px}.compare-strip{display:flex;gap:12px;align-items:center;padding:7px 13px;border-top:1px solid #1b3548;background:#0c2030;color:#7895a6;font-size:8px}.compare-strip strong{color:#8fe3c9;font-size:9px}
.mission-section{margin-top:22px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:11px}.section-heading h2{font-size:18px;margin:5px 0 0;letter-spacing:-.4px}.mission-progress{font-size:8px;letter-spacing:1px;color:#80bda9;font-weight:800}.mission-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.mission-chip{border:1px solid #1c3b4f;background:#0b1d2b;border-radius:7px;padding:9px 9px;min-height:65px;text-align:left;display:flex;flex-direction:column;gap:5px;transition:.16s}.mission-chip:hover{border-color:#4d8b83;background:#102a35}.mission-chip.done{border-color:#2c6b5a;background:#10342f}.mission-chip .chip-level{font-size:7px;color:#6d91a1;letter-spacing:.8px;font-weight:800}.mission-chip strong{font-size:9px;color:#c4d5de;line-height:1.3}.mission-chip.done strong{color:#a5e8d0}.mission-chip .chip-status{font-size:8px;color:#66cba9;margin-top:auto}
.control-panel{border-left:1px solid rgba(57,98,123,.26);background:rgba(8,22,34,.76);padding:23px 16px 16px;min-width:0}.panel-header{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:14px}.panel-header h2{font-size:18px;letter-spacing:-.5px;margin:5px 0 0}.panel-live{font-size:8px;letter-spacing:1px;color:#7ecfb2;font-weight:800;display:flex;align-items:center;gap:5px}.panel-live i{width:5px;height:5px;background:#61dca9;border-radius:50%;box-shadow:0 0 7px #61dca9}.control-material{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid #1d3d50;border-radius:7px;background:#0e2333;margin-bottom:17px}.material-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:7px;background:#173e46;color:#8de6d0;font-size:20px}.control-material>div:nth-child(2){display:flex;flex-direction:column;gap:3px;min-width:0}.control-material strong{font-size:10px;color:#d1e2e8}.control-material small{font-size:8px;color:#7f9bab}.info-button{margin-left:auto;width:20px;height:20px;border-radius:50%;border:1px solid #31556b;background:#112b3d;color:#8cb3c2;font-size:10px}.controls-body{display:flex;flex-direction:column;gap:13px}.control-group{display:flex;flex-direction:column;gap:7px}.control-label{display:flex;align-items:center;justify-content:space-between;gap:10px}.control-label label{font-size:9px;color:#a7bbc7;font-weight:700}.control-value{font-size:10px;color:#91e0c6;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}.control-sub{font-size:8px;color:#6f899a;margin-top:-3px}.range-wrap{display:flex;align-items:center;gap:8px}.range-min,.range-max{font-size:7px;color:#617e91;min-width:22px}.range-max{text-align:right}.range-wrap input[type=range]{width:100%;appearance:none;height:3px;background:linear-gradient(90deg,#3d9c8c 0%,#3d9c8c var(--fill,50%),#284356 var(--fill,50%),#284356 100%);border-radius:4px;outline:0}.range-wrap input[type=range]::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border-radius:50%;background:#a5ecd5;border:2px solid #1c514d;box-shadow:0 0 0 3px rgba(99,223,193,.11);cursor:pointer}.range-wrap input[type=range]::-moz-range-thumb{width:9px;height:9px;border-radius:50%;background:#a5ecd5;border:2px solid #1c514d;box-shadow:0 0 0 3px rgba(99,223,193,.11);cursor:pointer}.preset-block{margin-top:18px}.subhead{display:flex;align-items:center;justify-content:space-between;font-size:8px;color:#7894a6;letter-spacing:1.2px;font-weight:800;margin-bottom:8px}.subhead>span{color:#53778b}.preset-buttons{display:flex;flex-wrap:wrap;gap:6px}.preset-btn{border:1px solid #27475a;background:#102536;border-radius:5px;padding:6px 8px;color:#9eb3bf;font-size:8px}.preset-btn:hover{border-color:#4b8a82;color:#baf2de;background:#13343a}.readout-card{margin-top:16px;border:1px solid #1d3c50;border-radius:7px;background:#0b1c2a;padding:11px}.readout-live{color:#66d4b3;font-size:7px;letter-spacing:.7px}.readout-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 8px;padding:5px 0 12px}.readout-grid>div{display:flex;flex-direction:column;gap:4px}.readout-grid small{font-size:8px;color:#6f8a9d}.readout-grid strong{font-size:11px;color:#c9dce3;font-variant-numeric:tabular-nums}.readout-energy{border-top:1px solid #1b374a;padding-top:10px}.readout-energy>span{font-size:7px;letter-spacing:1px;color:#7894a6;font-weight:800}.balance-bar{height:7px;border-radius:8px;display:flex;overflow:hidden;background:#20394b;margin:7px 0}.balance-bar i{display:block;background:#eaa66a}.balance-bar b{display:block;background:#58d9a6}.balance-labels{display:flex;justify-content:space-between;color:#8198a8;font-size:8px}.balance-labels span:first-child b{color:#f1b47a}.balance-labels span:last-child b{color:#72e3b8}.direct-hint{display:flex;align-items:flex-start;gap:9px;padding:11px 2px;margin-top:8px}.drag-icon{width:24px;height:24px;display:grid;place-items:center;border:1px solid #3b6875;border-radius:6px;color:#82d9d0;font-size:15px;flex-shrink:0}.direct-hint div{display:flex;flex-direction:column;gap:4px}.direct-hint strong{font-size:9px;color:#b9cbd4}.direct-hint small{font-size:8px;color:#748e9f;line-height:1.45}.challenge-card{margin-top:8px;border:1px solid #28534e;border-radius:8px;background:linear-gradient(145deg,rgba(17,52,49,.66),rgba(11,30,43,.96));padding:12px}.challenge-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.mission-level{font-size:7px;letter-spacing:.9px;padding:4px 6px;border-radius:4px;background:#1b3f3d;color:#8ee0c4;font-weight:800}.challenge-card select{width:100%;padding:7px 8px;background:#0b1d2a;border:1px solid #315b5c;border-radius:5px;color:#c5d9dd;font-size:9px}.challenge-card h3{font-size:12px;margin:10px 0 5px;color:#e0f1ed}.challenge-card p{font-size:9px;line-height:1.5;color:#a0b9bd;margin:0}.challenge-hint{margin-top:8px;padding:8px;border-left:2px solid #77c9ad;background:rgba(38,89,76,.23);font-size:8px;color:#b2d7ca;line-height:1.5}.challenge-quiz{display:flex;flex-direction:column;gap:5px;margin-top:9px}.quiz-option{display:flex;align-items:center;gap:7px;font-size:8px;color:#aec4c9}.quiz-option input{accent-color:#65d5b0}.challenge-actions{display:flex;align-items:center;justify-content:space-between;margin-top:11px}.text-button{border:0;background:transparent;color:#83cbb5;font-size:8px;padding:5px 0}.check-button{border:1px solid #448d77;background:#1b5949;color:#d4f8e9;border-radius:5px;padding:7px 10px;font-size:8px;font-weight:800}.check-button:hover{background:#246d59}.check-button span{margin-left:9px}.challenge-feedback{font-size:8px;line-height:1.45;margin-top:8px;color:#91e5c7;min-height:0}.challenge-feedback.fail{color:#f0b17d}.panel-footer{border-top:1px solid #1b3548;margin-top:14px;padding-top:11px;display:flex;flex-wrap:wrap;gap:6px;align-items:center;color:#6d899c;font-size:7px;letter-spacing:.8px}.panel-footer strong{color:#9ab1bf;font-size:8px}.panel-footer strong i{color:#5ebc9e;font-style:normal}.footer-seed{margin-left:auto;color:#57768a}
.modal-backdrop{position:fixed;inset:0;z-index:50;background:rgba(1,8,14,.78);backdrop-filter:blur(10px);display:grid;place-items:center;padding:20px}.modal-backdrop[hidden]{display:none}.guide-modal{width:min(980px,96vw);height:min(760px,92vh);border:1px solid #2a5064;border-radius:12px;background:#091a28;box-shadow:0 30px 90px rgba(0,0,0,.6);display:flex;flex-direction:column;overflow:hidden}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #1e3b4e}.modal-head h2{font-size:23px;margin:6px 0 0;letter-spacing:-.7px}.modal-close{width:31px;height:31px;border-radius:7px;border:1px solid #31536a;background:#102638;color:#b8cbd5;font-size:20px}.guide-layout{display:grid;grid-template-columns:215px 1fr;min-height:0;flex:1}.guide-nav{padding:15px;border-right:1px solid #1b394d;overflow:auto}.guide-nav button{display:block;width:100%;text-align:left;border:0;background:transparent;border-radius:6px;padding:10px 9px;color:#91a9b8;font-size:9px;margin-bottom:3px}.guide-nav button.active,.guide-nav button:hover{background:#12343a;color:#b6f1dd}.guide-content{padding:23px 28px;overflow:auto}.guide-content h3{font-size:16px;margin:0 0 13px;color:#d9e8ec}.guide-content p{font-size:11px;line-height:1.8;color:#a5bac5;white-space:pre-line;margin:0 0 18px}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,15px);padding:10px 15px;border:1px solid #397463;background:#10392f;color:#b9f0da;border-radius:7px;font-size:10px;opacity:0;pointer-events:none;transition:.22s;z-index:70;box-shadow:var(--shadow)}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1320px){.workspace{grid-template-columns:194px minmax(420px,1fr) 300px}.lab-main{padding-left:17px;padding-right:17px}.scene-viewport{height:330px}.metric-cell{padding:10px}.metric-cell>strong{font-size:16px}.chart-canvas{height:150px}.mode-rail{padding-left:12px;padding-right:10px}}
@media(max-width:1080px){.workspace{grid-template-columns:175px minmax(0,1fr)}.control-panel{grid-column:2;border-left:0;border-top:1px solid #1c3a4c;display:grid;grid-template-columns:1fr 1fr;gap:0 18px;padding:17px}.panel-header,.control-material,.controls-body,.preset-block,.readout-card,.direct-hint,.challenge-card,.panel-footer{grid-column:auto}.panel-header{grid-column:1/-1}.control-material{grid-column:1/-1}.challenge-card{grid-column:2;grid-row:3/span 4}.panel-footer{grid-column:1/-1}.mode-rail{grid-row:1/span 2}.lab-main{grid-column:2}.scene-viewport{height:360px}}
@media(max-width:760px){.topbar{height:58px;padding:0 12px}.brand-lockup{min-width:0}.brand-mark{width:30px;height:30px}.brand-name{font-size:14px}.brand-kicker{font-size:7px}.topbar-center{display:none}.topbar-actions{gap:5px}.top-action{padding:7px 8px;font-size:9px}.workspace{display:flex;flex-direction:column}.mode-rail{min-height:0;border-right:0;border-bottom:1px solid #1c3a4c;padding:10px 10px 8px;display:block}.rail-heading,.rail-divider,.reference-link,.rail-spacer,.rail-seed,.rail-footer{display:none}.mode-rail nav{display:flex;overflow-x:auto;gap:5px;scrollbar-width:thin}.mode-link{width:auto;min-width:128px;margin:0;padding:7px 8px;gap:7px}.mode-number{width:20px;height:20px}.mode-copy strong{font-size:9px}.mode-copy small{font-size:7px}.mode-chevron{display:none}.lab-main{padding:15px 10px 28px}.scene-heading{align-items:flex-start;flex-direction:column;gap:10px}.scene-heading h1{font-size:21px}.scene-heading p{font-size:10px}.transport{align-self:flex-end;margin-top:-4px}.scene-viewport{height:300px}.scene-hint{display:none}.scene-callout{top:9px;padding:5px 7px}.callout-left{left:8px}.callout-right{right:8px}.scene-callout strong{font-size:7px}.scene-callout small{font-size:7px}.scene-bottom-label{left:8px;bottom:8px;font-size:7px}.scene-watermark{right:8px;bottom:8px;font-size:7px}.scene-footer{padding:0 8px}.scene-legend{gap:8px;font-size:7px}.scene-renderer{font-size:6px}.metric-strip{grid-template-columns:1fr 1fr}.metric-cell:nth-child(2){border-right:0}.metric-cell:nth-child(1),.metric-cell:nth-child(2){border-bottom:1px solid #1b394d}.metric-cell>strong{font-size:16px}.charts-row{grid-template-columns:1fr}.chart-canvas{height:165px}.mission-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mission-chip{min-height:59px}.control-panel{display:block;padding:17px 12px}.panel-header{margin-bottom:12px}.challenge-card{margin-top:12px}.guide-layout{grid-template-columns:1fr;grid-template-rows:auto 1fr}.guide-nav{display:flex;gap:4px;overflow-x:auto;border-right:0;border-bottom:1px solid #1b394d;padding:8px}.guide-nav button{white-space:nowrap;width:auto;margin:0;padding:8px}.guide-content{padding:16px}.modal-head{padding:15px}.modal-head h2{font-size:19px}}
@media(max-width:420px){.scene-viewport{height:255px}.scene-callout{max-width:145px}.scene-callout small{white-space:nowrap}.scene-legend span:nth-child(3){display:none}.metric-cell{padding:9px}.metric-cell>span{font-size:7px}.metric-cell>strong{font-size:15px}.chart-head strong{font-size:9px}.chart-tag{font-size:6px}.mission-grid{grid-template-columns:1fr 1fr}.top-action{font-size:8px}.brand-kicker{letter-spacing:1px}}
