:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#dce6f5;background:#0e141f;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.42;cursor:not-allowed}.app{min-height:100vh;display:flex;flex-direction:column}.topbar{min-height:72px;background:#101725;border-bottom:1px solid #283449;display:flex;align-items:center;justify-content:space-between;padding:0 24px;gap:16px}.brand{display:flex;align-items:center;gap:13px}.brand-mark{display:grid;place-items:center;width:39px;height:39px;border-radius:10px;background:#4367c9;color:#fff;font-weight:900;font-size:20px}.brand div{display:flex;flex-direction:column;line-height:1.25}.brand strong{letter-spacing:.1em;font-size:17px}.brand small{font-size:11px;color:#8fa0b8;margin-top:4px}.header-actions{display:flex;align-items:center;gap:18px}.save-status{font-size:12px;color:#98a9c3}.save-status.saved_local{color:#9accb6}.save-status.error{color:#f5ac99}.button{border:1px solid #344258;background:#202b3d;color:#e9f0ff;border-radius:9px;padding:9px 12px;transition:background .15s;white-space:nowrap;font-size:12px;font-weight:600}.button:not(:disabled):hover{background:#344563}.button.prominent{background:#4e73dc;border-color:#5e81e7;color:#fff;padding:11px 16px}.button.prominent:not(:disabled):hover{background:#6286ed}.button.subtle{background:#1b2534}.button.full{width:100%;margin-top:9px}.workspace{display:flex;flex:1;min-height:0}.sidebar{width:272px;flex-shrink:0;background:#131c2a;border-right:1px solid #2b3649;padding:25px 18px;display:flex;flex-direction:column;gap:9px}.eyebrow{font-size:10px;font-weight:800;color:#7594c8;letter-spacing:.15em}.sidebar h2{font-size:20px;margin:4px 0 19px;font-weight:650}.field-label{font-size:11px;color:#9caec7}.sidebar select{background:#202b3b;border:1px solid #3a4960;border-radius:8px;color:#e2e9f6;padding:11px 10px;width:100%;font-size:12px}.separator{height:1px;background:#2a3648;margin:16px 0}.section-heading{display:flex;justify-content:space-between;font-size:11px;letter-spacing:.12em;color:#bac9e0;font-weight:750}.upload-zone{margin-top:9px;border:1px dashed #536783;background:#1a2636;border-radius:12px;min-height:196px;padding:21px 10px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;text-align:center}.upload-zone[data-dragging=true]{border-color:#82a8ff;background:#263a5a}.upload-icon{font-size:27px;color:#95b7ff}.upload-zone strong{font-size:12px}.upload-zone small{font-size:10px;color:#92a4bf}.import-button{margin-top:9px}.model-list{display:grid;gap:6px;max-height:180px;overflow:auto}.model-row{border:1px solid #2b3b53;border-radius:9px;padding:10px;display:flex;align-items:center;gap:10px;background:#172233}.model-row>span{color:#78a3ed;font-size:21px}.model-row div{min-width:0;display:flex;flex-direction:column;gap:3px}.model-row strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:11px}.model-row small{font-size:10px;color:#8da1bb}.sidebar-note{margin-top:auto;background:#192638;border:1px solid #2d3f57;border-radius:10px;padding:12px}.sidebar-note strong{font-size:11px;color:#a6c2e8}.sidebar-note p{font-size:10px;color:#95a6bf;line-height:1.55;margin-bottom:0}.main{display:flex;flex-direction:column;flex:1;min-width:0;padding:17px 19px 11px;gap:13px}.viewport-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px}.viewport-toolbar>div:first-child{display:flex;gap:10px;align-items:baseline}.viewport-toolbar strong{font-size:13px}.toolbar-actions{display:flex;gap:6px}.viewer-stage{background:#1b2535;min-height:310px;height:min(51vh,660px);flex:1;position:relative;overflow:hidden;border-radius:13px;border:1px solid #35425b}.viewer-stage:fullscreen{height:100vh;border:0;border-radius:0}.viewer-canvas{width:100%;height:100%;position:absolute;inset:0}.viewer-canvas canvas{display:block;outline:none}.empty-hint{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:none;text-align:center;background:#152033ce;border:1px solid #42516c;border-radius:13px;max-width:330px;padding:20px}.empty-hint span{font-size:42px;color:#b3c9f2;display:block}.empty-hint strong{font-size:18px}.empty-hint p{font-size:12px;line-height:1.6;color:#a3b3cb}.canvas-hint{position:absolute;left:13px;bottom:12px;color:#afbcd0;background:#0f1724c7;border-radius:7px;padding:7px 10px;font-size:10px;pointer-events:none}.present-controls{position:absolute;z-index:5;bottom:40px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:6px;background:#111a2be8;padding:11px;border:1px solid #7184a1;border-radius:12px;backdrop-filter:blur(8px)}.present-controls button{border:1px solid #52637e;background:#253550;color:#e5eefc;border-radius:7px;padding:9px 13px}.present-controls button:hover{background:#3b5073}.present-count{font-size:13px;padding:0 10px;min-width:53px}.storyboard{border:1px solid #2c3b52;background:#151f2e;border-radius:13px;padding:15px;min-height:188px}.storyboard-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.storyboard h2{font-size:17px;margin:4px 0 13px}.storyboard h2 span{font-size:13px;font-weight:400;color:#91a3bb;margin-left:5px}.step-strip{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px}.step-empty{color:#8297b5;font-size:12px;line-height:1.6;padding:18px;border:1px dashed #3b4c64;border-radius:10px;flex:1}.step-card{flex:0 0 148px;border:1px solid #354763;border-radius:9px;background:#1c293c;overflow:hidden}.step-card.selected{border-color:#7b9df5;box-shadow:inset 0 0 0 1px #7b9df5}.step-main{border:0;background:transparent;color:#edf2fe;width:100%;padding:11px;display:flex;flex-direction:column;align-items:flex-start;gap:7px;text-align:left}.step-main:hover{background:#2a3952}.step-number{font-size:12px;color:#8cabed}.step-main strong{font-size:12px}.step-main small{font-size:10px;color:#91a7c3}.step-actions{display:flex;border-top:1px solid #354763}.step-actions button{flex:1;border:0;border-right:1px solid #354763;background:#172234;color:#9db5d9;padding:5px}.step-actions button:last-child{border:0}.footer-line{font-size:10px;color:#768da8;display:flex;justify-content:space-between;gap:10px}.notice{position:fixed;z-index:10;bottom:20px;right:20px;max-width:570px;display:flex;gap:15px;align-items:center;border-radius:11px;border:1px solid #976d67;background:#362a30;color:#ffe1d8;padding:13px 17px;box-shadow:0 15px 45px #0007;font-size:12px;line-height:1.5}.notice>div{display:flex;flex-direction:column}.notice button.close-notice{border:0;color:#ffdbd3;background:transparent;font-size:20px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:840px){.workspace{flex-direction:column}.sidebar{width:100%;border-right:0;border-bottom:1px solid #2b3649;padding:13px;display:grid;grid-template-columns:1fr 1fr;align-items:start}.sidebar>.eyebrow,.sidebar h2,.sidebar .separator,.sidebar .section-heading{grid-column:1/-1}.sidebar h2{margin:0}.sidebar-note{margin-top:0}.main{padding:12px}.viewer-stage{height:48vh;flex:none}.viewport-toolbar,.footer-line{flex-wrap:wrap}}@media(max-width:530px){.topbar{padding:10px 12px}.header-actions{gap:8px;flex-wrap:wrap;justify-content:flex-end}.save-status{font-size:10px}.sidebar{display:flex}.viewport-toolbar>div:first-child{display:none}.toolbar-actions{width:100%;justify-content:space-between}.button{padding:8px 9px}.viewer-stage{height:40vh;min-height:260px}.notice{left:10px;right:10px;bottom:10px}.storyboard{padding:12px}}.step-card label{display:flex;flex-direction:column;gap:3px;padding:4px 10px;font-size:11px;color:#aebbd0}.step-card label input,.step-card label select{width:100%;min-width:0;box-sizing:border-box}
