@charset "UTF-8";
:root{color-scheme:dark;--bg:#111713;--panel:#19211b;--panel-soft:#151d17;--input:#141b16;--line:#303a30;--text:#edf0e7;--muted:#9aa594;--dim:#707e6d;--accent:#c6edaa;--accent-dark:#243324;--warm:#d7b995;--danger:#e9a49a;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}button,a{transition:background .18s,color .18s,border-color .18s,transform .18s}button{color:inherit;background:none;border:0}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}input:focus,select:focus,textarea:focus{outline:none;border-color:#8eaf79;box-shadow:0 0 0 2px #c6edaa12}::selection{background:#c6edaa40}h1,h2,h3,p{margin:0}h1,h2{font-family:Georgia,"Times New Roman",serif;font-weight:400}h1{font-size:39px;letter-spacing:-1.35px;line-height:1.2}h2{font-size:30px;letter-spacing:-.7px}h3{font-size:14px;font-weight:550}p{line-height:1.6}.icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.muted{color:var(--muted)}.small{font-size:12px}.dot{display:inline-block;width:6px;height:6px;background:var(--accent);border-radius:50%;flex-shrink:0}.dot.amber{background:#d7b995}.eyebrow{font-size:10px;letter-spacing:1.9px;color:#a6b19d;font-weight:600;margin-bottom:12px}.panel{border:1px solid var(--line);background:var(--panel);border-radius:12px}.pill{padding:5px 9px;border-radius:5px;background:#293128;color:#d4dbc9;font-size:10px;line-height:1}.button{min-height:39px;padding:0 15px;border:1px solid transparent;border-radius:7px;display:inline-flex;gap:8px;align-items:center;justify-content:center;font-size:12px;font-weight:550;white-space:nowrap}.button.primary{background:var(--accent);color:#1b2a19}.button.primary:hover:not(:disabled){background:#d7fac0;transform:translateY(-1px)}.button.primary .icon{width:16px;height:16px}.button.subtle{border-color:#3b4838;background:#202a20;color:#dde4d4}.button.subtle:hover:not(:disabled){background:#2c382a;border-color:#5f7454}.button.full{width:100%}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid transparent;border-radius:6px;color:#a3b197}.icon-button:hover:not(:disabled){background:#ffffff09;color:var(--text)}.text-button{display:flex;align-items:center;gap:6px;color:#aeba9f;font-size:12px}.text-button:hover{color:var(--accent)}.text-button .icon{width:15px;height:15px}.initial-loading{display:flex;gap:18px;align-items:center;justify-content:center;flex-direction:column;min-height:100vh;color:var(--muted)}.initial-loading p{max-width:500px;text-align:center}
.sidebar{width:218px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;background:#151d17;border-right:1px solid #2a342b;padding:29px 17px 20px;z-index:20}.brand{display:flex;align-items:center;gap:10px;padding-left:9px;font-size:28px;font-weight:600;letter-spacing:-1.8px}.brand-period{color:var(--accent)}.workspace-label{display:flex;align-items:center;justify-content:space-between;margin:36px 8px 17px;color:#839079;font-size:8px;letter-spacing:1.1px;font-weight:600}.tiny-pill{font-size:7px;letter-spacing:.7px;background:#263125;color:#b0c1a2;padding:4px 5px;border:1px solid #3b4935;border-radius:4px}.new-project{width:100%;height:39px;border:1px solid #46573d;border-radius:7px;display:flex;align-items:center;gap:8px;padding:0 11px;font-size:12px;background:#253221;color:#d5e6c9}.new-project:hover{background:#33452c}.new-project .icon{width:16px}.new-project kbd{margin-left:auto;background:#ffffff08;border:1px solid #ffffff12;padding:1px 5px;font-size:10px;border-radius:3px;font-family:inherit;color:#9aab8e}nav{display:flex;flex-direction:column;gap:4px;margin-top:24px}.nav-item{min-height:39px;display:flex;align-items:center;gap:11px;padding:0 12px;border-radius:6px;font-size:12px;color:#a4b09b;text-align:left;width:100%}.nav-item .icon{width:17px;height:17px}.nav-item.active{color:#cdebaf;background:#293526}.nav-item:hover{background:#253022;color:#d3dec9}.nav-count{margin-left:auto;font-size:10px;color:#7c8a74}.queue-count{margin-left:auto;border-radius:4px;padding:2px 5px;background:#c6edaa;color:#172016;font-size:10px}.sidebar-section-label{margin:34px 12px 13px;font-size:9px;letter-spacing:1.4px;color:#7d8b74}.recent-projects{display:flex;flex-direction:column;gap:4px;overflow-y:auto}.recent-item{font-size:11px;color:#829077;display:flex;align-items:center;text-align:left;gap:11px;min-height:37px;padding:5px 12px;border-radius:5px}.recent-item span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-item.selected{color:#c7d5bb}.recent-item:hover{background:#ffffff04;color:#e1e8d9}.film-dot{width:5px;height:5px;border-radius:50%;background:#516447;flex-shrink:0}.selected .film-dot{background:var(--accent)}.sidebar-bottom{margin-top:auto;padding-top:35px}.hardware{border-top:1px solid #303a2f;margin-top:16px;padding:20px 5px 13px;display:flex;gap:8px;align-items:center}.hardware-icon{width:29px;height:29px;display:flex;align-items:center;justify-content:center;border:1px solid #3a4734;border-radius:6px;color:#a4b398}.hardware-icon .icon{width:16px}.hardware strong{font-size:10px;font-weight:550;display:block;white-space:nowrap}.hardware strong span{font-size:8px;background:#2b3827;color:#b8caaa;padding:2px 4px;border-radius:3px;margin-left:3px}.hardware small{display:block;color:#7f8e77;font-size:9px;margin-top:5px}.hardware>.dot{margin-left:auto;width:5px;height:5px}.private-note{margin-top:9px;font-size:9px;display:flex;align-items:center;gap:6px;justify-content:center;color:#697960}.private-note .icon{width:11px;height:11px}
.workspace{margin-left:218px;min-height:100vh}.topbar{height:75px;border-bottom:1px solid #283228;display:flex;align-items:center;justify-content:space-between;padding:0 36px}.breadcrumb{display:flex;align-items:center;gap:12px;min-width:0;font-size:11px}.breadcrumb button{color:#8d9c84;padding:0;white-space:nowrap}.breadcrumb button:hover{color:var(--accent)}.breadcrumb>.icon{height:12px;width:12px;color:#586650}.breadcrumb>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#bec9b5}.topbar-right{display:flex;align-items:center;gap:18px;flex-shrink:0}.local-badge{display:flex;align-items:center;gap:7px;font-size:10px;color:#92a487}.local-badge .dot{height:5px;width:5px}.avatar{width:28px;height:28px;border:1px solid #5a624e;border-radius:50%;background:#343d2e;color:#d1d4bf;font-size:10px;display:flex;align-items:center;justify-content:center}.page-content{max-width:1600px;margin:auto;padding:34px 36px 0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:32px}.page-heading>div:first-child{min-width:0}.page-heading h1{overflow-wrap:anywhere}.heading-actions{display:flex;gap:9px;align-items:center;flex-shrink:0;padding-top:20px}.project-meta{display:flex;align-items:center;gap:10px;margin-top:16px;color:#8e9a85;font-size:10px;flex-wrap:wrap}.meta-dot{color:#53634b}.project-meta .dot{width:5px;height:5px;margin-right:4px}.editor-grid{display:grid;grid-template-columns:273px minmax(0,1fr);gap:28px;align-items:start}.brief-panel{padding:23px 19px 17px;background:#172019;position:sticky;top:20px}.panel-title{display:flex;gap:8px;align-items:center;font-weight:550;font-size:13px}.panel-title .icon{width:17px;color:#b9cea8}.brief-panel>.small{font-size:10px;margin-top:7px;margin-bottom:23px}.field-label{font-size:9px;font-weight:600;letter-spacing:1.2px;color:#a0ae94;display:block;margin-bottom:10px}.brief-panel label.field-label{font-size:9px}fieldset{padding:0;margin:0;border:0;min-width:0}label{display:block;font-size:10px;color:#a9b59e;margin-bottom:17px}input,select,textarea{display:block;width:100%;border:1px solid #354230;border-radius:6px;padding:11px 10px;background:var(--input);color:#dce4d3;font-size:11px;line-height:1.65;margin-top:8px;transition:border-color .2s}select{height:38px;padding:0 8px;cursor:pointer;color:#c5d2ba}textarea{resize:vertical;min-height:68px}textarea::placeholder,input::placeholder{color:#6c7c61}textarea#brief{margin-top:0;margin-bottom:22px;min-height:155px;background:#121b14;font-size:11px;line-height:1.9;padding:12px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.divider{height:1px;background:var(--line);margin:22px 0 18px}.label-line{display:flex;justify-content:space-between;align-items:center}.label-line>.icon{width:13px;height:13px;color:#74856a}.label-line .field-label{margin:0}.segmented{display:flex;background:#111913;padding:3px;border:1px solid #303d2a;border-radius:6px;margin-top:11px;gap:3px}.segmented button{flex:1;font-size:11px;height:30px;border-radius:4px;color:#809474}.segmented button.selected{background:#2d4027;color:#c8e1b6;box-shadow:0 1px 3px #0003}.mode-note{font-size:10px;color:#869c79;line-height:1.75;margin:12px 0 17px;min-height:52px}.brief-panel .full{font-size:10px;justify-content:flex-start;padding:0 10px}.brief-panel .full>.icon:last-child{margin-left:auto;width:14px}.brief-foot{font-size:8px;color:#708564;display:flex;align-items:center;gap:5px;margin-top:16px;line-height:1.5}.brief-foot .icon{width:11px;height:11px}
.story-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #303a2f;margin-bottom:23px;height:42px}.tabs{display:flex;align-self:stretch;gap:23px}.tabs>button{display:flex;align-items:center;gap:7px;color:#85947a;font-size:11px;padding:0 0 14px;position:relative}.tabs>button .icon{width:14px;height:14px}.tabs>button.active{color:#d4e6c4}.tabs>button.active::after{content:"";position:absolute;bottom:-1px;height:2px;background:var(--accent);left:0;right:0;border-radius:2px}.tabs .dot{width:4px;height:4px}.story-toolbar>.text-button{padding-bottom:12px;font-size:10px}.scene-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;align-items:start}.scene-card{border:1px solid #354130;border-radius:10px;background:#1a231b;overflow:hidden;transition:border-color .2s}.scene-card.selected{border-color:#9ab581;box-shadow:0 0 0 1px #c6edaa0b}.scene-image{display:block;width:100%;aspect-ratio:4/4.65;position:relative;padding:0;overflow:hidden;background:#27392b}.scene-image>img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}.scene-image:hover>img{transform:scale(1.035)}.scene-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0002,transparent 35%,#07110b66);pointer-events:none}.scene-number{position:absolute;z-index:1;top:12px;left:12px;background:#17221888;border:1px solid #dde9d322;border-radius:5px;padding:5px 7px;backdrop-filter:blur(8px);font-size:10px;letter-spacing:1px;color:#eff4e8}.motion-label{position:absolute;bottom:14px;left:12px;z-index:1;display:flex;align-items:center;gap:5px;font-size:9px;color:#e1e9d9}.motion-label .icon{width:12px;height:12px}.demo-tag{position:absolute;z-index:1;top:15px;right:10px;font-size:7px;letter-spacing:1px;color:#ebeddda8}.image-placeholder{height:100%;display:flex;align-items:center;justify-content:center;gap:12px;flex-direction:column;background:radial-gradient(ellipse at 60% 30%,#334c35,#1d2c20 80%);color:#7b9570;font-size:10px}.image-placeholder .icon{width:32px;height:32px;stroke-width:1}.scene-copy{padding:16px 13px 14px}.scene-heading{display:flex;align-items:start;justify-content:space-between;gap:7px}.scene-heading h3{font-size:11px;line-height:1.5;color:#dce5d2;font-weight:550}.scene-heading>span{font-size:9px;color:#7c906f;white-space:nowrap;padding-top:2px}.scene-copy>p{font-size:10px;line-height:1.8;color:#96a78a;margin-top:9px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:54px}.scene-footer{height:40px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #303e2d;padding:0 11px}.scene-footer>button:first-child{display:flex;gap:5px;align-items:center;color:#abbda0;font-size:9px;padding:0}.scene-footer .icon{height:12px;width:12px}.scene-footer>.icon-button{width:25px;height:25px}.scene-editor{margin-top:21px;padding:21px;background:#171f18}.editor-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.editor-heading .eyebrow{font-size:8px;margin-bottom:7px;letter-spacing:1.4px}.editor-heading h3{font-family:Georgia,serif;font-size:22px;font-weight:400;color:#d3deca}.scene-tools{display:flex;gap:3px}.scene-tools .icon{width:14px;height:14px}.scene-tools .danger:hover{color:var(--danger)}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.detail-grid label>.icon{display:inline;vertical-align:-3px;margin-right:4px;width:13px;height:13px}.detail-grid:last-child label{margin-bottom:0}.detail-grid textarea{font-size:11px;line-height:1.8;min-height:106px}.field-hint{display:block;color:#7f9173;font-size:9px;line-height:1.65;margin-top:9px}.detail-grid audio{width:100%;height:30px;margin-top:9px}.timeline{margin-top:21px;padding:18px 20px;background:#171f18}.timeline-heading{display:flex;justify-content:space-between;font-size:9px;color:#819873;gap:14px;margin-bottom:15px}.timeline-heading>span:first-child{display:flex;align-items:center;gap:6px;color:#b1c2a5;font-size:10px}.timeline-heading .icon{width:13px;height:13px}.timeline-track{display:flex;gap:5px}.timeline-clip{height:49px;border-radius:5px;background:#30452d;position:relative;display:flex;align-items:center;justify-content:space-between;padding:0 10px;overflow:hidden;min-width:35px;border:1px solid #547149}.timeline-clip.selected{border-color:#bad6a3}.timeline-clip img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 48%;opacity:.46}.timeline-clip>span,.timeline-clip>small{z-index:1;font-size:9px;text-shadow:0 1px 2px #000b}.audio-track{margin-top:10px;height:28px;display:flex;align-items:center;gap:10px;background:#252e23;border-radius:4px;padding:0 9px;color:#8fa37f}.audio-track>.icon{width:13px;height:13px}.audio-track>span{font-size:8px;white-space:nowrap}.waveform{display:flex;align-items:center;justify-content:space-between;flex:1;gap:3px;height:20px;overflow:hidden;opacity:.42}.waveform i{display:block;width:2px;flex-shrink:0;background:#8bad74;border-radius:1px}.page-footer{display:flex;justify-content:space-between;align-items:center;padding:28px 0;font-size:9px;color:#6f8064;margin-top:10px}.page-footer>span:last-child{font-size:8px;letter-spacing:1px}.footer-dot{color:#526b45;font-size:6px;margin:0 8px}
.job-banner{display:flex;align-items:center;gap:15px;border:1px solid #557345;border-radius:9px;padding:17px 20px;background:#253220;margin-bottom:23px}.job-icon{color:#b4d79b}.job-copy{flex:1;min-width:0}.job-copy strong{font-size:12px;font-weight:550}.job-copy p{font-size:10px;color:#a0b68f;overflow-wrap:anywhere;max-height:110px;overflow:auto;margin-top:4px}.job-banner.failed{border-color:#7f4b40;background:#33261f}.job-banner.failed .job-icon,.job-banner.failed p{color:#d9a397}.job-banner .button{min-height:32px;font-size:10px}.progress{height:3px;background:#3c4b32;border-radius:3px;margin-top:12px;overflow:hidden}.progress>span{display:block;height:100%;background:var(--accent);transition:width .4s}.spin{animation:spin 2s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.preview-panel{padding:20px;background:#172019}.preview-stage{min-height:370px;max-height:610px;display:flex;justify-content:center;padding:18px;background:radial-gradient(ellipse at center,#273025,#101811);border:1px solid #2e3b29;border-radius:8px}.preview-stage video{max-height:550px;max-width:100%;border-radius:5px}.draft-frame{position:relative;overflow:hidden;border-radius:5px;max-height:510px;max-width:100%;box-shadow:0 20px 60px #0007;background:#243126}.draft-frame.portrait{height:510px;aspect-ratio:9/16}.draft-frame.landscape{width:100%;aspect-ratio:16/9;align-self:center}.draft-frame.square{height:450px;aspect-ratio:1}.draft-frame>img{display:block;width:100%;height:100%;object-fit:cover}.preview-chip{position:absolute;top:14px;left:14px;font-size:7px;letter-spacing:1px;padding:6px 8px;background:#132415aa;border:1px solid #e1edd42b;border-radius:4px;color:#d3dfc9}.draft-caption{position:absolute;bottom:13%;left:12%;right:12%;text-align:center;font-size:20px;font-weight:700;color:#fff;text-shadow:0 2px 5px #000;line-height:1.4}.preview-note{display:flex;align-items:center;gap:14px;margin-top:20px}.preview-note>div{flex:1}.preview-note strong{font-size:12px;font-weight:500}.preview-note p{font-size:10px;color:#9aaf8b;margin-top:5px}.preview-note>.icon{color:#9ab389}.export-info{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:20px}.export-info h3{font-family:Georgia,serif;font-size:24px;font-weight:400}.export-info p{font-size:10px;color:#94a885;margin-top:6px}.export-links{border-top:1px solid #31422b;margin-top:20px;padding-top:14px;display:flex;gap:19px;flex-wrap:wrap;font-size:9px;color:#b2c4a5}.export-links a:hover{color:var(--accent);text-decoration:underline}.empty-state{padding:64px 25px;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:350px;gap:18px}.empty-state>.icon{width:38px;height:38px;color:#99b185;stroke-width:1.2}.empty-state h2{font-size:28px}.empty-state p{font-size:12px;color:#8c9f7f;line-height:1.9}.empty-state .button{margin-top:5px}
.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.library-card{overflow:hidden;text-align:left;padding:0;position:relative}.library-card:hover{border-color:#8fa17e}.library-image{height:240px;background:#233520;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.library-image>img{height:100%;width:100%;object-fit:cover;object-position:center 45%}.library-image>.icon{height:38px;width:38px;color:#6d8d5d}.library-image .pill{position:absolute;top:15px;left:15px;background:#14210dc9;color:#dcebcf}.library-card>div:nth-child(2){padding:22px 25px 25px}.library-card h2{font-size:24px;padding-right:20px}.library-card p{margin-top:12px;color:#839b73;font-size:10px}.library-card>.icon{position:absolute;bottom:27px;right:22px;color:#9bb585}.queue-panel{overflow:hidden}.queue-row{padding:23px;display:flex;align-items:center;gap:20px;border-bottom:1px solid #2d3d27}.queue-row:last-child{border:0}.queue-symbol{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#293524;color:#9bb888;flex-shrink:0}.queue-symbol.completed{background:#2d4123;color:#c6edaa}.queue-symbol.failed{background:#483128;color:#e4ac9b}.queue-description{flex:1;min-width:0}.queue-description>button{text-align:left;padding:0;font-size:14px;color:#cddaC4}.queue-description>button:hover{color:var(--accent)}.queue-description p{font-size:10px;margin-top:8px;color:#9cad8e;overflow-wrap:anywhere}.queue-description small{display:block;font-size:9px;color:#6f8562;margin-top:7px}.status-pill{font-size:9px;border:1px solid #41563a;border-radius:4px;padding:6px 9px;color:#a2bb93;text-transform:capitalize}.status-pill.failed{border-color:#744f40;color:#d7a897}.status-pill.completed{color:var(--accent);background:#273d1f}.queue-row>.button{font-size:10px;min-height:32px}
dialog{border:1px solid #495942;border-radius:15px;background:#19231a;color:var(--text);padding:30px;width:min(565px,calc(100vw - 30px));max-height:90vh;box-shadow:0 25px 100px #0008}dialog::backdrop{background:#080e09b8;backdrop-filter:blur(5px)}.dialog-heading{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:15px}.dialog-heading .eyebrow{font-size:8px}.dialog-heading h2{font-size:31px}dialog>.muted{font-size:11px;margin-bottom:22px}dialog label{font-size:11px}dialog input{font-size:12px}dialog form>label{margin-top:23px}dialog form>.muted{font-size:10px}.connection-card{padding:18px;border:1px solid #354830;background:#152016;border-radius:9px;margin-bottom:12px}.connection-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.connection-heading>strong{font-size:11px;font-weight:550;display:flex;align-items:center;gap:7px}.connection-heading .icon{height:15px;width:15px}.connection-status{display:flex;gap:5px;align-items:center;font-size:9px;white-space:nowrap;color:#c0ad83}.connection-status.ready{color:#b8d7a6}.connection-status .dot{width:5px;height:5px}.connection-card label{font-size:10px;margin-bottom:13px}.connection-card input{font-size:11px}.connection-card .field-hint{margin-top:8px}.connection-card code{font-size:10px;color:#b5c9a7}.dialog-actions{display:flex;justify-content:space-between;gap:12px;margin-top:24px}.dialog-actions .button{font-size:11px}.dialog-heading>.icon-button{flex-shrink:0}#toast{position:fixed;bottom:25px;left:calc(50% + 109px);transform:translate(-50%,20px);background:#d3ebc4;color:#26371f;padding:13px 22px;border-radius:8px;font-size:12px;box-shadow:0 8px 45px #0006;z-index:100;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:min(600px,90vw);line-height:1.5}#toast.visible{opacity:1;transform:translate(-50%,0)}#toast.error{background:#ebc1ac;color:#442921}
@media(min-width:1600px){.page-content{padding-top:44px}.editor-grid{grid-template-columns:290px minmax(0,1fr);gap:34px}.scene-image{aspect-ratio:4/4.35}.scene-heading h3{font-size:13px}.scene-copy>p{font-size:11px;min-height:59px}.scene-copy{padding:18px 17px}.scene-footer{padding:0 16px;height:44px}.brief-panel{padding:25px 23px}.story-toolbar{margin-bottom:26px}}
@media(max-width:1250px){.sidebar{width:190px;padding-left:13px;padding-right:13px}.workspace{margin-left:190px}.topbar{padding:0 25px}.page-content{padding:28px 25px 0}.editor-grid{grid-template-columns:230px minmax(0,1fr);gap:20px}.brief-panel{padding:19px 15px}.scene-grid{gap:10px}.scene-copy{padding:12px 10px}.scene-heading{display:block}.scene-heading>span{display:block;margin-top:5px}.scene-image{aspect-ratio:4/5.4}h1{font-size:32px}.heading-actions{gap:6px}.heading-actions .button{font-size:10px;padding:0 10px}.detail-grid{gap:12px}.sidebar .hardware-icon{display:none}.topbar-right{gap:12px}.workspace-label{font-size:7px}#toast{left:calc(50% + 95px)}}
@media(max-width:1020px){.sidebar{width:172px}.workspace{margin-left:172px}.page-heading{display:block}.heading-actions{justify-content:flex-end;padding-top:18px}.editor-grid{grid-template-columns:1fr}.brief-panel{position:static;display:block}.brief-panel fieldset{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.brief-panel .field-label[for=brief],.brief-panel #brief,.brief-panel .label-line,.brief-panel .segmented,.brief-panel .mode-note,.brief-panel .full{grid-column:1/-1}.brief-panel .divider{display:none}.brief-panel .field-row{margin-bottom:0}.brief-panel>.small{margin-bottom:17px}.brief-panel #brief{min-height:80px;height:100px}.mode-note{min-height:0}.brief-panel .brief-foot{justify-content:center}.scene-image{aspect-ratio:4/4}.page-heading{margin-bottom:23px}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.local-badge{display:none}.hardware strong span{display:none}.scene-copy>p{font-size:11px}.scene-heading h3{font-size:12px}.story-toolbar{margin-top:3px}.preview-note>.icon{display:none}#toast{left:calc(50% + 86px)}}
@media(max-width:700px){.sidebar{position:relative;width:100%;height:auto;padding:15px 19px;display:flex;flex-direction:row;align-items:center;border-right:0;border-bottom:1px solid var(--line);gap:16px}.sidebar .brand{font-size:24px;padding:0}.sidebar .brand img{width:29px;height:29px}.workspace-label,.sidebar-section-label,.recent-projects,.sidebar-bottom,.new-project kbd{display:none}.sidebar .new-project{margin-left:auto;width:auto;padding:0 10px;height:34px;font-size:10px;order:2}.sidebar nav{flex-direction:row;margin:0;gap:3px}.nav-item{width:32px;min-height:32px;overflow:hidden;font-size:0;gap:0;justify-content:center;padding:0}.nav-item>.icon{width:16px;height:16px}.nav-item>.nav-count,.nav-item>.queue-count{display:none}.workspace{margin-left:0}.topbar{height:54px;padding:0 19px}.topbar-right{gap:8px}.breadcrumb{font-size:9px;gap:8px}.breadcrumb>span{max-width:190px}.avatar{width:23px;height:23px;font-size:9px}.topbar .icon-button{height:26px;width:26px}.page-content{padding:25px 19px 0}.page-heading h1{font-size:32px;letter-spacing:-1px;line-height:1.2}.eyebrow{font-size:8px}.project-meta{gap:8px;font-size:9px}.project-meta #save-state{flex-basis:100%;margin-top:3px}.project-meta .meta-dot:last-of-type{display:none}.heading-actions{justify-content:flex-start;padding-top:21px}.heading-actions .button{font-size:11px}.scene-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.scene-image{aspect-ratio:4/4.2}.scene-copy>p{font-size:10px}.scene-heading h3{font-size:11px}.scene-grid>.scene-card:only-child{max-width:260px}.detail-grid{grid-template-columns:1fr;gap:15px}.detail-grid:last-child label{margin-bottom:10px}.scene-editor{padding:19px}.scene-tools{gap:0}.scene-tools>.icon-button{width:29px}.story-toolbar .text-button{font-size:9px}.tabs{gap:20px}.tabs>button{font-size:10px}.preview-stage{min-height:250px;padding:12px}.preview-stage video{max-height:450px}.draft-frame.portrait{height:400px}.draft-caption{font-size:17px}.preview-note{flex-wrap:wrap}.preview-note>div{min-width:160px}.preview-note .button{width:100%;margin-top:6px}.preview-panel{padding:13px}.export-info{flex-wrap:wrap}.export-info>.button{width:100%}.export-links{gap:14px}.library-grid{grid-template-columns:1fr}.library-image{height:210px}.queue-row{gap:10px;padding:17px;flex-wrap:wrap}.queue-symbol{width:30px;height:30px}.queue-description{min-width:150px}.queue-row>.status-pill{margin-left:40px}.queue-description>button{font-size:12px}.queue-description small{font-size:8px}.job-banner{padding:15px;gap:10px;flex-wrap:wrap}.job-copy{min-width:170px}.job-banner .button{margin-left:28px}.job-copy p{font-size:9px}.page-footer{font-size:8px;gap:15px}.page-footer>span:last-child{font-size:6px;white-space:nowrap}#toast{left:50%;font-size:11px;bottom:16px}dialog{padding:23px}.dialog-heading h2{font-size:27px}.connection-heading{flex-wrap:wrap;gap:10px}.connection-card{padding:15px}.dialog-actions .button{font-size:10px;padding:0 10px}.brief-panel fieldset{gap:0 12px}.brief-panel label,.brief-panel select{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
.brief-panel,.story-column,label,select,.field-row{min-width:0}
.field-row{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1020px){.editor-grid{grid-template-columns:minmax(0,1fr)}.brief-panel fieldset{grid-template-columns:repeat(2,minmax(0,1fr))}}
.library-sections{display:flex;flex-direction:column;gap:28px}.film-collection{padding:24px;background:#151e17}.collection-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.collection-heading .eyebrow{font-size:8px;margin-bottom:8px}.collection-heading h2{font-size:27px}.collection-heading p{font-size:10px;color:#849678;margin-top:8px}.collection-count{font-size:10px;color:#bfdbaa;border:1px solid #465b3d;border-radius:999px;padding:7px 11px;white-space:nowrap}.film-collection .library-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.film-collection .library-card{background:#19241b}.film-collection .library-image{height:190px}.film-collection .library-card h2{font-size:20px}.library-section-title{font-size:9px;letter-spacing:1.5px;color:#788b6c;margin:4px 0 15px}
#new-dialog.wide{width:min(860px,calc(100vw - 30px));overflow:auto}.new-type-tabs{display:flex;gap:5px;padding:4px;border:1px solid #354331;background:#131b15;border-radius:8px;margin:18px 0 24px}.new-type-tabs button{flex:1;min-height:36px;border-radius:5px;color:#899b7d;font-size:11px}.new-type-tabs button.selected{background:#2a3c27;color:#d5ecc4}.new-type-tabs button span{font-size:7px;letter-spacing:1px;margin-left:6px;color:var(--accent)}.batch-topline{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:14px}.batch-strategy{border-top:1px solid var(--line);padding-top:18px;margin-top:3px}.batch-strategy>span,.batch-section>legend,.batch-film-input>legend{font-size:8px;font-weight:600;letter-spacing:1.4px;color:#9eae92}.batch-strategy .new-type-tabs{margin:10px 0 19px}.batch-idea-fields{display:grid;grid-template-columns:1fr 1.5fr;gap:14px}.batch-section{border-top:1px solid var(--line);padding-top:18px;margin-top:5px}.batch-section>legend{padding:0 9px 0 0}.batch-settings-grid,.batch-model-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 13px}.batch-model-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.batch-film-list{display:flex;flex-direction:column;gap:10px;margin-bottom:17px}.batch-film-input{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(0,1.3fr);gap:11px 14px;border:1px solid #33432f;border-radius:8px;padding:13px 14px 0;background:#151e17}.batch-film-input>legend{padding:0 7px}.batch-film-input textarea{min-height:62px}.batch-summary{display:flex;gap:12px;align-items:center;padding:14px 16px;border:1px solid #465d3c;background:#21301e;border-radius:8px}.batch-summary>.icon{color:var(--accent)}.batch-summary strong{font-size:11px}.batch-summary p{font-size:9px;color:#91a684;margin-top:4px}.wide .dialog-actions{position:sticky;bottom:-30px;background:#19231a;padding:15px 0 0;margin-top:12px}
@media(max-width:1020px){.film-collection .library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.film-collection{padding:15px}.collection-heading{align-items:flex-start}.collection-heading h2{font-size:23px}.film-collection .library-grid{grid-template-columns:1fr}.film-collection .library-image{height:190px}.batch-topline,.batch-idea-fields,.batch-film-input{grid-template-columns:1fr}.batch-settings-grid,.batch-model-grid{grid-template-columns:1fr 1fr}.batch-film-input{gap:0;padding-top:12px}.new-type-tabs button{font-size:10px}.wide .dialog-actions{bottom:-23px}}
.status-pill.scheduled{border-color:#776441;color:#e0c58e;background:#312b1e}.queue-symbol.scheduled{background:#3b3321;color:#e0c58e}.schedule-row{display:grid;grid-template-columns:1fr 1.35fr;gap:16px;align-items:center;margin:6px 0 2px}.schedule-row .new-type-tabs{margin:0}.schedule-row label{margin:0}.schedule-row input{margin-top:0}.schedule-row>p{font-size:10px;color:#8fa181}.schedule-row .field-hint{margin-bottom:0}.schedule-section{padding-bottom:12px}
@media(max-width:700px){.schedule-row{grid-template-columns:1fr}.schedule-row label input{margin-top:7px}}
