.v3-menu{display:flex;gap:4px;padding:6px;background:#122239}.v3-menu button{flex:1;border:1px solid #44647b;background:#1c354c;color:#d7eafa;padding:8px 2px;font-size:12px;border-radius:4px}.mat-icon{display:inline-block;width:38px;height:38px;flex:none;background-image:url(inventory-atlas.png);background-size:600% 600%;image-rendering:pixelated;border-radius:5px}.resources span:first-child{font-size:11px;color:#bdcfe1}.resources span:last-child{font-size:12px}#material-sidebar{position:absolute;right:8px;top:76px;width:70px;z-index:2;background:#102135d9;border:1px solid #45667d88;border-radius:7px;overflow:hidden}#material-source{width:100%;padding:5px 0;border:0;color:#a3dff0;background:#21425b;font-size:11px}#material-list{max-height:210px;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin}#material-list button{width:100%;display:grid;grid-template-columns:34px 1fr;align-items:center;border:0;border-bottom:1px solid #35506966;background:none;color:#edf9ff;padding:3px;font-size:12px}#material-list .mat-icon{width:33px;height:33px}#material-list small{grid-column:1/3;color:#b4cbdc;font-size:9px;line-height:11px}.empty-pack{display:block;padding:10px 3px;text-align:center;font-size:10px;color:#8fa6b9}#production-toast{position:absolute;left:8px;bottom:153px;max-width:74%;color:#afdfec;font-size:10px;pointer-events:none;background:#14273bcc;padding:4px;border-radius:4px}#quick-return{position:absolute;left:0;top:22px;pointer-events:auto;width:78px;height:56px;border:1px solid #5b9da9;color:#d1f2f4;background:#183c4ade;border-radius:12px;font-size:12px}.station-panel{z-index:6;max-height:92%;padding:12px}.station-panel header button{flex:none}.recipe-list{display:grid;grid-template-columns:1fr;gap:9px}.recipe-card{padding:9px;border:1px solid #355974;background:#192f45;border-radius:7px}.recipe-card header{display:flex;justify-content:flex-start;gap:9px}.recipe-card header div{display:flex;flex-direction:column;gap:3px}.recipe-card header small{font-size:10px;letter-spacing:0}.recipe-card p{font-size:12px;margin:7px 0;color:#cbd9e2}.recipe-card>small{font-size:10px;color:#95b0c6;display:block;line-height:1.5}.recipe-card>button{display:block;width:100%;margin-top:7px;padding:8px;color:#ccecff;background:#204e62;border:1px solid #497e90;border-radius:5px;font-size:12px}.recipe-card>button:disabled{opacity:.7;background:#1b2c3e;color:#8aa0b3}.job-row{display:flex;align-items:center;justify-content:space-between;background:#215043;padding:8px;font-size:12px;margin:4px 0}.job-row button,.inventory-row button,.travel-list button,#deploy-station{border:1px solid #527b90;background:#233e55;color:#d4e9f5;padding:7px;border-radius:4px;font-size:11px}.inventory-head{display:flex;justify-content:space-between;color:#9ebdce;font-size:12px;padding:7px}.inventory-row{display:flex;gap:5px;align-items:center;flex-wrap:wrap;padding:8px 0;border-bottom:1px solid #304a63;font-size:12px}.inventory-row>b{flex:1}.inventory-row>div{width:100%;display:flex;justify-content:flex-end;gap:5px}.equipment-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.equipment-grid article{padding:10px;text-align:center;border:1px solid #3c5c75;border-radius:6px;background:#1b3045}.equipment-grid article b,.equipment-grid article small{display:block;font-size:12px;margin-top:5px}.equipment-grid article small{color:#90b2c7}.equipment-grid .mat-icon{width:70px;height:70px}.travel-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:15px}#save-state{display:block;font-size:10px;color:#86a5ba;text-align:center;padding:5px}#resume-save{margin-bottom:8px;background:#2b6276;color:#e4faff}.dev-controls{margin-top:16px;border-top:1px solid #4b6580;padding-top:8px}.dev-controls h3{font-size:14px}.dev-controls label{display:block;margin:10px 0}.dev-controls button{margin:5px;padding:8px;background:#264d62;border:1px solid #60859a;color:#dff3ff}.dev-controls p{font-size:11px;color:#99b2c6}.overlay{z-index:5}.start-card{width:88%}.start-card h1{font-size:27px}.version{font-size:8px}.scene-meta span{font-size:10px}@media(max-width:360px){#material-sidebar{width:62px;right:5px}#material-list{max-height:170px}#quick-return{width:70px}.masthead b{font-size:10px}}

#survey-bar{position:absolute;z-index:15;bottom:12px;left:10px;right:10px;padding:10px;background:#0a1c2eee;border:1px solid #77cadb;color:#d7eff8;font-size:12px}#survey-bar[hidden]{display:none}#survey-bar input[type=range]{width:100%;touch-action:none}#survey-bar div{display:flex;gap:6px}#survey-bar button{flex:1;padding:9px 3px}.survey-active #virtual-controls,.survey-active #material-sidebar{visibility:hidden}#survey-depth{width:85px}

.survey-active #virtual-controls{visibility:visible}#survey-bar{bottom:auto;top:100px;padding:6px}#survey-bar strong{font-size:11px}#survey-bar input[type=range]{height:16px}#survey-bar button{padding:5px}.debug-number{width:100%;background:#0c2033;color:#d8effb;border:1px solid #54778f;padding:5px}.debug-panel{z-index:20}@media(max-width:1120px){.debug-panel{top:100px;bottom:auto;max-height:35dvh;width:min(280px,calc(100% - 20px))}}

#debug-panel [hidden]{display:none!important}#debug-night{width:100%;margin-top:12px}

/* Right-hand scene actions; movement stays centered. */
#quick-return{left:auto;right:0;top:22px;width:82px;height:54px}#virtual-controls:has(#touch-turret:not([hidden])) #quick-return{top:86px;height:42px}#virtual-controls:has(#touch-turret:not([hidden])){bottom:24px}

#right-actions{position:absolute;z-index:3;right:8px;top:225px;bottom:156px;width:82px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;pointer-events:auto}#right-actions .station-nav,#right-actions .v3-menu{display:flex;flex-direction:column;padding:0;gap:4px;border:0;background:transparent}#right-actions .v3-menu{margin-top:5px}#right-actions button{flex:none;width:100%;min-height:32px;font-size:11px;padding:7px 2px;border:1px solid #54758b;border-radius:6px;background:#17364be8;color:#d6eef8}#material-list{max-height:105px}

#right-actions[hidden],#right-actions [hidden],#quick-return[hidden]{display:none!important}
