@charset "UTF-8";
.skip-link:not(:focus){width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}
.skip-link:focus{width:auto;height:auto;overflow:visible;clip:auto;clip-path:none;white-space:normal}
@font-face{font-family:Poppins;src:url('/fonts/Poppins-Regular.ttf') format('truetype');font-style:normal;font-weight:400 500;font-display:swap}
@font-face{font-family:Poppins;src:url('/fonts/Poppins-Bold.ttf') format('truetype');font-style:normal;font-weight:600 800;font-display:swap}
:root{color-scheme:dark;--bg:#171817;--surface:#20211f;--ink:#f1ede5;--muted:#aaa99f;--line:#3c3e37;--soft:#2d2e29;--accent:#d7bc96;--accent-text:#d7bc96;--error:#f2aaa0;--radius:12px;--ease:cubic-bezier(.16,1,.3,1);font-family:Poppins,"Segoe UI",-apple-system,BlinkMacSystemFont,sans-serif;font-size:16px;color:var(--ink);background:var(--bg)}
.retention-note,.footer-retention{font-size:.75rem;line-height:1.6;color:var(--muted);margin-top:18px}.footer-retention{text-align:center;margin-top:32px}
*{box-sizing:border-box}body{margin:0;line-height:1.5}button,input,textarea,select{font:inherit}button,a,input,textarea,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button, a,input,textarea,summary{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #d7bc96}a{color:inherit;text-underline-offset:4px}input,textarea{caret-color:var(--accent-text)}::selection{background:var(--accent);color:var(--bg)}[hidden]{display:none!important}svg{display:block;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;fill:none}p,h1,h2,h3{margin:0}h1,h2,h3{font-weight:600;text-wrap:balance}h1{font-size:2.2rem;letter-spacing:-.035em;line-height:1.16}h2{font-size:1.18rem;letter-spacing:-.015em;line-height:1.3}h3{font-size:1.1rem;line-height:1.35}.muted{color:var(--muted);font-size:.85rem}.visually-hidden{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.skip-link{position:fixed;left:20px;top:-100px;z-index:50;background:var(--ink);color:#20211f;padding:12px}.skip-link:focus{top:12px}.topbar{height:88px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 max(28px,calc((100vw - 1320px)/2));gap:20px;background:var(--bg)}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;font-size:1.05rem;font-weight:650;letter-spacing:-.02em;flex-shrink:0}.brand-mark{width:43px;height:43px;background:var(--ink);color:var(--bg);display:grid;place-items:center;position:relative;font-size:26px;line-height:1;font-weight:450;border-radius:11px;letter-spacing:-.07em}.brand-mark>span{position:absolute;width:7px;height:7px;background:var(--accent);border-radius:50%;right:7px;bottom:9px}.brand-sub{display:block;font-size:.75rem;font-weight:400;letter-spacing:0;color:var(--muted);margin-top:1px}.header-actions{display:flex;gap:20px;align-items:center}.test-badge{display:flex;align-items:center;gap:7px;font-size:.75rem;border:1px solid #666658;border-radius:99px;padding:5px 10px;color:#aaa99f;white-space:nowrap}.test-badge>span{width:5px;height:5px;border-radius:50%;background:#d7bc96}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;border:1px solid transparent;border-radius:8px;padding:10px 17px;line-height:1.35;font-size:.9rem;font-weight:600;text-decoration:none;transition:background 180ms var(--ease),border-color 180ms var(--ease),box-shadow 180ms var(--ease)}.button svg{width:20px;height:20px}.button-primary{background:var(--accent);border-color:#d7bc96;color:#23241f}.button-primary:hover:not(:disabled){background:#e4cdaa;border-color:#e4cdaa;box-shadow:0 3px 8px #00000020}.button-primary:active:not(:disabled){background:#c6aa83}.button-secondary{background:var(--surface);border-color:var(--line);color:var(--ink)}.button-secondary:hover:not(:disabled){background:var(--soft);border-color:#666658}.button-quiet{background:transparent;color:var(--muted);padding-inline:8px}.button-quiet:hover:not(:disabled){background:#2d2e29;color:var(--ink)}.button-small{font-size:.8rem;min-height:38px;padding:8px 12px}.studio{max-width:1320px;margin:auto;padding:44px 28px 0}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:36px}.page-intro p{margin-top:12px;color:var(--muted);font-size:.95rem;max-width:68ch}.help-link{font-size:.82rem;color:var(--muted);text-decoration:none;white-space:nowrap}.help-link:hover{color:var(--accent-text);text-decoration:underline}.workspace{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(340px,.8fr);gap:36px;align-items:start}.editor{min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}.editor-section{padding:27px 30px 30px}.editor-section+.editor-section{border-top:1px solid var(--line)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:21px}.section-heading p{font-size:.83rem;color:var(--muted);margin-top:5px}.count-label{font-size:.77rem;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--muted);background:var(--soft);border-radius:6px;padding:4px 8px}.dropzone{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:29px 18px 24px;border:1px dashed #737361;border-radius:10px;background:#252622;color:var(--ink);transition:background 150ms,border-color 150ms;min-height:209px;text-align:center}.dropzone:hover,.dropzone.is-dragover{background:#303028;border-color:#d7bc96}.dropzone:disabled{pointer-events:none}.dropzone strong{font-size:.95rem;font-weight:600}.dropzone>span:not(.upload-icon){font-size:.82rem;color:var(--muted)}.dropzone small{font-size:.75rem;color:var(--muted);margin-top:10px}.upload-icon{display:grid;place-items:center;width:46px;height:43px;color:#d7bc96;margin-bottom:10px}.upload-icon svg{width:40px;height:40px;stroke-width:1.5}.dropzone.has-media{min-height:94px;padding:16px;gap:3px}.dropzone.has-media .upload-icon,.dropzone.has-media>span:not(.upload-icon){display:none}.dropzone.has-media small{margin-top:4px}.scene-list{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:12px}.scene-row{display:grid;grid-template-columns:68px minmax(0,1fr) 32px;gap:12px;border-bottom:1px solid var(--line);padding-bottom:14px}.scene-row:last-child{border-bottom:0;padding-bottom:0}.scene-thumbnail{position:relative;width:68px;height:91px;border-radius:7px;overflow:hidden;background:#101110}.scene-thumbnail img,.scene-thumbnail video{width:100%;height:100%;object-fit:cover;display:block}.scene-number{position:absolute;bottom:5px;left:5px;min-width:22px;height:22px;border-radius:4px;background:#171817e8;color:#20211f;display:grid;place-items:center;font-size:.75rem;font-variant-numeric:tabular-nums}.scene-content{min-width:0}.scene-file{display:block;font-size:.76rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500;margin-bottom:6px}.scene-meta{font-size:.75rem;color:var(--muted);margin-top:4px}.scene-inputs{display:flex;gap:8px}.scene-inputs label{font-size:.75rem;font-weight:500;color:var(--muted);display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.scene-inputs input{width:100%;height:33px;min-height:33px;padding:5px 8px;font-size:.75rem;border-radius:5px}.scene-inputs .start-control{flex:0 0 75px}.scene-tools{display:flex;flex-direction:column;gap:1px}.icon-button{border:0;background:transparent;border-radius:5px;width:32px;height:30px;display:grid;place-items:center;color:var(--muted);padding:6px}.icon-button svg{width:17px;height:17px}.icon-button:hover:not(:disabled){background:var(--soft);color:var(--ink)}.icon-button.delete:hover{background:#3d2825;color:var(--error)}.media-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:17px}.capture-help{font-size:.78rem;color:var(--muted);margin-top:22px}.capture-help summary{cursor:pointer;list-style-position:outside;margin-left:14px;font-weight:500}.capture-help p{margin-top:10px;line-height:1.6;max-width:68ch}.field{min-width:0;margin-bottom:18px}.field:last-child{margin-bottom:0}.field>label,.music-block label,.login-form label{display:flex;gap:10px;justify-content:space-between;font-size:.82rem;font-weight:600;margin-bottom:7px}.field>label>span{font-size:.75rem;color:var(--muted);font-weight:400}.field small{display:block;margin-top:6px;color:var(--muted);font-size:.75rem;line-height:1.5}input:not([type=checkbox]):not([type=radio]):not([type=file]),textarea{width:100%;background:#20211f;border:1px solid #666658;border-radius:7px;min-height:43px;color:var(--ink);padding:10px 12px;transition:border-color 150ms,box-shadow 150ms;line-height:1.4;font-size:.88rem}input::placeholder,textarea::placeholder{color:#a9aa9c;opacity:1}input:hover,textarea:hover{border-color:#91907d}input:focus,textarea:focus{border-color:#d7bc96}textarea{resize:vertical;min-height:78px;max-height:280px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field-row .field{margin-bottom:0}.preset-group{border:0;margin:0 0 23px;padding:0}.preset-group legend{font-size:.82rem;font-weight:600;margin-bottom:10px;padding:0}.preset-options{display:grid;grid-template-columns:1fr 1fr 1fr;gap:9px}.preset-option{position:relative;display:flex;justify-content:space-between;align-items:center;gap:6px;border:1px solid var(--line);border-radius:8px;padding:12px 13px;cursor:pointer;background:#20211f}.preset-option:hover{background:#2d2e29}.preset-option input{position:absolute;opacity:0;width:1px;height:1px}.preset-option:has(input:checked){background:#343126;border-color:#d7bc96}.preset-option:has(input:focus-visible){outline:3px solid #d7bc96;outline-offset:3px}.preset-option strong{display:block;font-size:.82rem;font-weight:600}.preset-option small{display:block;color:var(--muted);font-size:.75rem;margin-top:2px}.preset-option svg{width:17px;height:17px;opacity:0;color:var(--accent-text);flex-shrink:0}.preset-option:has(input:checked) svg{opacity:1}.music-block{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.music-block label{justify-content:flex-start;margin:0;font-size:.81rem}.optional{font-weight:400;color:var(--muted);font-size:.75rem}.music-block p{font-size:.75rem;color:var(--muted);margin-top:5px}.music-block button{flex-shrink:0}.music-selected{display:flex;gap:12px;align-items:center;justify-content:space-between;font-size:.78rem;background:var(--soft);border-radius:7px;padding:5px 10px;margin-top:9px}.music-selected>span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.authorization{display:flex;gap:10px;align-items:flex-start;font-size:.77rem;line-height:1.55;color:#aaa99f;margin-top:22px;cursor:pointer}.authorization input{accent-color:#d7bc96;width:17px;height:17px;flex:0 0 17px;margin:3px 0 0}.generate-actions{display:flex;align-items:center;gap:20px;margin-top:22px}.generate-button{min-height:48px;white-space:nowrap}.generate-actions>p{font-size:.75rem;line-height:1.55;color:var(--muted)}.field-error{font-size:.79rem;line-height:1.5;color:var(--error);margin-top:12px;background:#342623;border:1px solid #785148;border-radius:7px;padding:10px 12px}.inline-status{font-size:.78rem;color:var(--accent-text);padding-top:12px}.result-column{position:sticky;top:24px;min-width:0}.result-panel{background:#20211f;border:1px solid #3c3e37;border-radius:var(--radius);padding:24px;min-height:535px}.result-heading{margin-bottom:20px}.result-heading h2{font-size:1rem}.status-badge{font-size:.75rem;border-radius:5px;background:#2c3026;color:#d5dac4;padding:4px 7px;font-weight:600}.status-badge.is-error{background:#342623;color:#f2aaa0}.empty-preview{display:flex;align-items:center;flex-direction:column;text-align:center;padding:19px 10px 28px}.empty-frame{display:flex;flex-direction:column;align-items:center;justify-content:center;width:142px;aspect-ratio:9/13;border:1px solid #57594c;border-radius:10px;background:#252622;color:#737361;margin-bottom:30px;position:relative}.empty-frame:after{content:"";position:absolute;width:25px;height:3px;background:#57594c;bottom:13px;border-radius:2px}.empty-frame svg{width:66px;height:66px;stroke-width:1.1}.empty-frame>span{margin-top:12px;font-size:.75rem;letter-spacing:.08em;font-variant-numeric:tabular-nums}.empty-preview h3{font-size:1.1rem;letter-spacing:-.02em}.empty-preview p{font-size:.82rem;color:var(--muted);margin-top:11px;max-width:30ch;line-height:1.65}.studio-note{font-size:.75rem;line-height:1.65;color:var(--muted);text-align:center;max-width:43ch;margin:15px auto 0;padding:0 5px}.job-progress{padding:21px 2px;text-align:center}.processing-art{display:grid;place-items:center;width:100px;height:125px;margin:12px auto 28px;color:#d7bc96}.processing-art svg{width:75px;height:75px;stroke-width:1.2}.job-progress h3{margin-bottom:9px}.job-progress>p{font-size:.82rem;color:var(--muted);min-height:40px}.progress-track{height:5px;background:#4d4f43;margin-top:28px;overflow:hidden;border-radius:5px}.progress-track>div{height:100%;background:#d7bc96;width:0;transition:none}.progress-meta{display:flex;justify-content:space-between;gap:15px;margin-top:9px;font-size:.75rem;color:#aaa99f;font-variant-numeric:tabular-nums}.job-progress .progress-hint{font-size:.75rem;line-height:1.6;margin:24px auto 0;max-width:32ch;min-height:0}.job-failed{padding:50px 0}.job-failed h3{color:var(--error);margin-bottom:16px}.job-failed p{font-size:.82rem;color:var(--muted);margin-bottom:16px}.completed-title{font-size:.83rem;font-weight:500;margin-bottom:13px;overflow-wrap:anywhere}.video-tabs{display:flex;gap:5px;margin-bottom:13px;flex-wrap:wrap}.video-tab{border:1px solid #666658;background:transparent;color:#aaa99f;font-size:.76rem;min-height:36px;border-radius:6px;padding:7px 11px}.video-tab[aria-pressed=true]{background:var(--ink);color:#20211f;border-color:var(--ink)}.video-tab:hover:not([aria-pressed=true]){background:#2d2e29}.video-shell{max-width:300px;margin:auto;background:#101110;border-radius:9px;overflow:hidden;aspect-ratio:9/16}.video-shell video{width:100%;height:100%;display:block;object-fit:contain}.output-downloads{display:grid;gap:7px;margin-top:17px}.download-link{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:.8rem;font-weight:500;color:#d2c7b0;background:#252622;border:1px solid #666658;border-radius:7px;padding:11px 12px;text-decoration:none;min-height:42px}.download-link:hover{background:#20211f;border-color:#939181}.download-link svg{width:17px;height:17px;flex-shrink:0}.caption-details{font-size:.8rem;margin-top:18px}.caption-details summary{cursor:pointer;color:#aaa99f;font-weight:500}.caption-details textarea{margin:10px 0;font-size:.78rem;background:#252622;border-color:#666658;min-height:120px}.approval-block{margin-top:22px;padding-top:18px;border-top:1px solid #3c3e37}.approval-block>p{font-size:.76rem;color:#aaa99f;margin-bottom:11px}.approval-block .button{width:100%}.approval-block .approval-note{font-size:.75rem;margin-top:9px;margin-bottom:0;text-align:center}.result-panel.is-ready{animation:result-ready 350ms var(--ease)}@keyframes result-ready{from{box-shadow:0 8px 24px #00000020}to{box-shadow:0 0 0 transparent}}.history-section{margin-top:46px;padding-top:28px;border-top:1px solid var(--line);scroll-margin-top:25px}.history-list{display:grid;gap:0}.history-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}.history-row h3{font-size:.9rem;overflow-wrap:anywhere}.history-row p{font-size:.75rem;margin-top:3px;color:var(--muted)}.history-row .history-actions{display:flex;gap:8px}.history-confirm{grid-column:1/-1;display:flex;gap:9px;align-items:center;justify-content:flex-end;font-size:.8rem;color:var(--error);flex-wrap:wrap}.button-danger{color:var(--error);border-color:#785148;background:#342623}.button-danger:hover{background:#422b25}.page-footer{display:flex;justify-content:space-between;gap:20px;padding:34px 0 24px;font-size:.75rem;color:var(--muted);margin-top:18px}.access-screen{max-width:480px;padding:70px 24px;margin:20px auto;text-align:center}.access-screen h1{font-size:1.95rem;letter-spacing:-.035em;line-height:1.2}.access-screen>p{font-size:.9rem;color:var(--muted);line-height:1.7;margin-top:18px}.access-icon{width:58px;height:58px;display:grid;place-items:center;background:#2c3026;color:#d7bc96;border-radius:15px;margin:0 auto 26px}.access-icon svg{width:32px;height:32px;stroke-width:1.5}.login-form{text-align:left;margin-top:30px}.login-form input{min-height:48px}.login-form .button{width:100%;margin-top:16px;justify-content:space-between}.access-screen .access-note{font-size:.75rem;margin-top:24px}.loading-mark{width:70%;height:10px;background:#4d4f43;border-radius:5px;margin:0 auto 34px}#boot .button{margin-top:24px}.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);padding:12px 20px;background:#e3d7be;color:#f1ede5;border:1px solid #f1e9d9;border-radius:9px;font-size:.82rem;max-width:calc(100vw - 40px);box-shadow:0 6px 24px #00000030;z-index:40;text-align:center}
@media(min-width:1500px){.workspace{gap:44px}}@media(max-width:1000px){.studio{padding:30px 24px 0}.workspace{gap:22px;grid-template-columns:minmax(0,1fr) minmax(300px,.78fr)}.editor-section{padding:24px}.field-row{grid-template-columns:1fr;gap:18px}.generate-actions{align-items:stretch;flex-direction:column;gap:10px}.generate-actions>p{font-size:.75rem}.generate-actions>p br{display:none}.preset-option{padding:10px 8px}.result-panel{padding:20px}.help-link{display:none}}@media(max-width:760px){.topbar{height:76px;padding:0 20px}.brand{font-size:.96rem;gap:10px}.brand-mark{width:38px;height:38px;font-size:23px}.header-actions{gap:8px}.header-actions .button{font-size:.75rem;padding-inline:4px}.test-badge{font-size:.75rem;padding:4px 7px;gap:5px}.studio{padding:27px 18px 0}.page-intro{margin-bottom:25px}h1{font-size:1.85rem;max-width:18ch}.page-intro p{font-size:.85rem;margin-top:12px;max-width:40ch}.workspace{grid-template-columns:1fr;gap:25px}.editor-section{padding:23px 20px}.result-column{position:static;scroll-margin-top:20px}.result-panel{min-height:0;padding:22px}.empty-preview{padding:10px 12px 20px}.empty-frame{width:85px;aspect-ratio:9/12;margin-bottom:18px}.empty-frame svg{width:42px;height:42px}.empty-frame>span{font-size:.75rem;margin-top:5px}.empty-frame:after{bottom:7px;width:20px;height:2px}.empty-preview p{max-width:36ch}.empty-preview h3{font-size:1rem}.empty-preview p{font-size:.78rem}.video-shell{max-width:270px}.generate-actions{gap:12px}.generate-button{width:100%;min-height:51px}.generate-actions>p{text-align:center}.studio-note{font-size:.75rem}.result-heading{margin-bottom:15px}.history-row{grid-template-columns:minmax(0,1fr) auto;gap:10px}.history-row>.status-badge{justify-self:end}.history-actions{grid-column:1/-1}.page-footer{padding-top:28px;font-size:.75rem;flex-direction:column;gap:4px;margin-top:4px}.access-screen{padding-top:46px}.access-screen h1{max-width:none;font-size:1.8rem}.section-heading h2{font-size:1.1rem}.scene-tools .icon-button{min-height:34px}.scene-row{grid-template-columns:58px minmax(0,1fr) 34px;gap:10px}.scene-thumbnail{width:58px;height:98px}.music-block{flex-wrap:wrap}.preset-options{gap:7px}.preset-option strong{font-size:.78rem}.preset-option small{font-size:.75rem}.authorization{font-size:.75rem}}@media(max-width:380px){.topbar{padding:0 14px}.brand-sub{font-size:.75rem}.header-actions{gap:4px;flex-direction:column;align-items:flex-end}.header-actions .button{min-height:24px;padding-block:0}.studio{padding-inline:12px}.editor-section{padding:22px 16px}.scene-inputs{flex-direction:column;gap:6px}.scene-inputs .start-control{flex-basis:auto}.scene-inputs .start-control input{max-width:95px}.scene-thumbnail{height:110px}.preset-option svg{display:none}.preset-option:has(input:checked) strong{color:#d7bc96}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Three-step editing flow; files and settings remain in the same form. */
.studio .page-intro{max-width:880px;margin:0 auto 28px}
.workflow-steps{max-width:880px;margin:0 auto 26px;display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:0;border-bottom:1px solid var(--line);scroll-margin-top:22px}
.workflow-step{display:flex;align-items:center;gap:11px;text-align:left;border:0;border-bottom:2px solid transparent;background:transparent;padding:15px 10px 18px;color:var(--muted);border-radius:6px 6px 0 0;transition:background 160ms,border-color 160ms}
.workflow-step:hover:not(:disabled){background:#2d2e29}
.workflow-step.is-active{border-bottom-color:#d7bc96;color:var(--ink)}
.workflow-step strong{display:block;font-size:.84rem;font-weight:600}
.workflow-step small{display:block;font-size:.75rem;color:var(--muted);margin-top:3px;font-weight:400}
.workflow-step:disabled{opacity:.57}
.step-number{width:29px;height:29px;display:grid;place-items:center;flex:0 0 29px;border-radius:50%;border:1px solid #666658;font-size:.77rem;font-variant-numeric:tabular-nums;background:var(--bg)}
.workflow-step.is-active .step-number{background:var(--accent);border-color:#d7bc96;color:#23241f}
.workflow-step.is-complete .step-number{background:#343126;border-color:#81745e;color:#cabea7}
.wizard-workspace{grid-template-columns:minmax(0,1fr);gap:0;max-width:880px;margin-inline:auto}
.wizard-workspace .result-column{position:static}
#detailsStep{border-top:0}
.montage-summary{font-size:.75rem;color:#aaa99f;padding:11px 0 17px;margin-bottom:4px;border-bottom:1px solid var(--line)}
#detailsStep .field:first-of-type{margin-top:18px}
.step-navigation{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);margin-top:26px;padding-top:23px}
.step-navigation p{font-size:.76rem;color:var(--muted)}
.step-navigation .button{min-height:48px}
.crop-explainer{font-size:.75rem;line-height:1.65;color:var(--muted);margin-top:19px;max-width:68ch}
.back-step{margin-top:16px;font-size:.78rem;padding-left:0}
.wizard-workspace .scene-row{grid-template-columns:108px minmax(0,1fr) 34px;gap:17px;padding-bottom:20px}
.wizard-workspace .scene-thumbnail{width:108px;height:192px;aspect-ratio:9/16;flex-shrink:0}
.wizard-workspace .scene-thumbnail img,.wizard-workspace .scene-thumbnail video{object-fit:cover}
.wizard-workspace .scene-file{font-size:.8rem;margin-bottom:9px}
.wizard-workspace .scene-inputs input{font-size:.8rem}
.wizard-workspace .scene-meta{margin-top:8px}
.focal-control{margin-top:12px;max-width:360px}
.focal-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.75rem;font-weight:500;color:#aaa99f}
.focal-value{font-size:.75rem;color:var(--muted);font-variant-numeric:tabular-nums}
.focal-control input[type=range].focal-range{appearance:none;-webkit-appearance:none;display:block;width:100%;height:28px;min-height:28px;padding:0;margin:1px 0;border:0;border-radius:0;background:transparent;cursor:ew-resize;box-shadow:none;accent-color:#d7bc96}
.focal-range::-webkit-slider-runnable-track{height:3px;background:#4d4f43;border-radius:5px}
.focal-range::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:15px;height:15px;border-radius:50%;background:#d7bc96;border:2px solid #20211f;box-shadow:0 1px 4px #00000030;margin-top:-6px}
.focal-range::-moz-range-track{height:3px;background:#4d4f43;border-radius:5px}
.focal-range::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:#d7bc96;border:2px solid #20211f;box-shadow:0 1px 4px #00000030}
.focal-ends{display:flex;justify-content:space-between;font-size:.75rem;color:var(--muted);margin-top:-1px}
.wizard-workspace .result-panel{min-height:0;padding:28px}
#completedPreview{display:grid;grid-template-columns:minmax(220px,1fr) minmax(240px,1fr);column-gap:28px;row-gap:20px;align-items:start}
.completed-summary{grid-column:1/-1}
.completed-summary .completed-title{font-size:1.05rem;margin-bottom:4px;font-weight:600}
.template-note{font-size:.75rem;color:var(--muted)}
.review-media,.review-actions{min-width:0}
.review-media .video-shell{max-width:310px;width:100%}
.review-media .video-tabs{justify-content:center}
.review-media .video-tab{font-size:.75rem}
.review-actions .output-downloads{margin-top:0}
.review-actions .download-link{font-size:.78rem}
.remix-block{padding-bottom:23px;margin-bottom:21px;border-bottom:1px solid #3c3e37}
.remix-block h3{font-size:.97rem;margin-bottom:8px}
.remix-block p{font-size:.76rem;line-height:1.65;color:#aaa99f;margin-bottom:13px}
.remix-block .button{width:100%;font-size:.8rem}
.remix-block small{display:block;font-size:.75rem;color:var(--muted);margin-top:8px;text-align:center}
.review-navigation{display:flex;align-items:center;gap:18px;margin-top:19px}
.review-navigation p{font-size:.75rem;color:var(--muted);max-width:39ch}
.review-navigation .button{flex-shrink:0}
.wizard-workspace .job-progress,.wizard-workspace .job-failed{max-width:480px;margin-inline:auto}
.wizard-workspace .studio-note{max-width:74ch}
@media(min-width:1001px){.wizard-workspace .field-row{grid-template-columns:1fr 1fr}.wizard-workspace .generate-actions{justify-content:space-between}.wizard-workspace .generate-button{min-width:235px}}
@media(max-width:760px){
  .studio .page-intro{margin-bottom:20px}.workflow-steps{margin-bottom:22px;grid-template-columns:1fr 1fr 1.28fr}
  .workflow-step{flex-direction:column;align-items:flex-start;gap:7px;padding:9px 6px 12px}.workflow-step strong{font-size:.75rem;line-height:1.5}.workflow-step small{display:none}.step-number{width:25px;height:25px;flex-basis:25px;font-size:.75rem}
  .wizard-workspace .scene-row{grid-template-columns:86px minmax(0,1fr) 30px;gap:11px}.wizard-workspace .scene-thumbnail{width:86px;height:153px}
  .wizard-workspace .scene-file{font-size:.75rem}.wizard-workspace .scene-inputs{flex-direction:column;gap:7px}.wizard-workspace .scene-inputs .start-control{flex-basis:auto;max-width:100px}.wizard-workspace .scene-inputs input{height:34px;min-height:34px;font-size:.75rem;padding:7px 8px}
  .wizard-workspace .scene-meta{font-size:.75rem;margin-top:6px}.focal-control{margin-top:10px}.focal-label{font-size:.75rem}.focal-ends{font-size:.75rem}
  .step-navigation{flex-direction:column;align-items:stretch;gap:13px}.step-navigation p{font-size:.75rem}.step-navigation .button{width:100%;font-size:.81rem}
  .montage-summary{font-size:.75rem}.wizard-workspace .result-panel{padding:20px}#completedPreview{grid-template-columns:minmax(0,1fr);gap:21px}.completed-summary{grid-column:auto}.completed-summary .completed-title{font-size:.95rem}.review-media .video-shell{max-width:290px}.review-navigation{flex-direction:column;align-items:stretch;gap:9px}.review-navigation p{text-align:center;max-width:none;font-size:.75rem}.review-navigation .button{width:100%}.remix-block{padding-bottom:20px}
}
@media(max-width:380px){.workflow-step strong{font-size:.75rem}.wizard-workspace .scene-row{grid-template-columns:73px minmax(0,1fr) 29px;gap:8px}.wizard-workspace .scene-thumbnail{width:73px;height:130px}.wizard-workspace .scene-file{font-size:.75rem}.wizard-workspace .scene-tools .icon-button{width:29px}.focal-value{font-size:.75rem}.focal-label{font-size:.75rem}.crop-explainer{font-size:.75rem}}

/* Private editorial studio: quiet controls, warm graphite, the film in focus. */
:root{--radius:8px}
h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:3.35rem;letter-spacing:-.035em;line-height:1.08}
h4{margin:0;font-size:.77rem;line-height:1.5}
.skip-link{top:12px;background:var(--accent);color:var(--bg)}
.topbar{height:90px;padding-inline:max(28px,calc((100vw - 1240px)/2))}
.brand{gap:15px}
.brand-mark{width:42px;height:46px;padding-right:13px;border-right:1px solid #595a4e;border-radius:0;background:transparent;color:var(--accent);font-family:Georgia,serif;font-size:37px;font-weight:400}
.brand-mark>span{display:none}
.brand-sub{font-size:.75rem;letter-spacing:.035em;margin-top:3px}
.test-badge{border:0;padding:0;font-size:.75rem;color:var(--muted)}
.button{border-radius:5px;font-size:.8rem;min-height:45px;padding:11px 18px}
.button-primary:hover:not(:disabled){box-shadow:none}
.button-secondary{background:transparent;border-color:#66665a}
.button-small{font-size:.75rem;min-height:38px;padding:8px 12px}
.studio{max-width:1240px;padding-top:49px}
.studio .page-intro{max-width:1080px;margin-bottom:37px;align-items:flex-end}
.page-intro p{margin-top:17px;font-size:.83rem;line-height:1.7}
.help-link{font-size:.75rem}
.workflow-steps,.wizard-workspace{max-width:1080px}
.workflow-steps{margin-bottom:29px}
.workflow-step{padding:16px 12px 18px;gap:12px;border-radius:0}
.workflow-step strong{font-size:.81rem}.workflow-step small{font-size:.75rem;margin-top:4px}
.step-number{width:30px;height:30px;flex-basis:30px;font-size:.75rem}
.editor{max-width:850px;width:100%;margin-inline:auto}
.editor-section{padding:30px 34px 32px}
.section-heading{margin-bottom:23px}.section-heading h2{font-size:1.1rem}.section-heading p{font-size:.78rem;line-height:1.65;margin-top:7px}
.count-label{background:transparent;border:1px solid var(--line);border-radius:4px;padding:5px 9px}
.dropzone{background:#252622;padding:38px 18px 32px;min-height:229px;border-radius:5px}
.upload-icon{margin-bottom:13px}.upload-icon svg{width:36px;height:36px;stroke-width:1.3}
.dropzone small{margin-top:13px}.dropzone.has-media{min-height:98px}
.scene-list{margin-top:23px;gap:20px}.scene-thumbnail{border-radius:4px}.scene-number{color:var(--ink)}
.scene-tools{gap:3px}.icon-button{height:34px}
input:not([type=checkbox]):not([type=radio]):not([type=file]),textarea{background:#191b18;border-color:#626456;border-radius:5px;min-height:45px;font-size:.83rem;line-height:1.5;padding:11px 13px}
.scene-inputs input{min-height:35px;height:35px;padding:6px 9px}
.field{margin-bottom:23px}.field>label{font-size:.79rem}.field small{font-size:.75rem;margin-top:7px;line-height:1.6}
.montage-summary{padding:0 0 19px;margin-bottom:24px;font-size:.75rem}
.preset-option{background:transparent;border-color:#636456;border-radius:5px;padding:15px}
.preset-option:has(input:checked){background:#343126}
.music-block{padding-block:21px}.authorization{font-size:.75rem;line-height:1.7;margin-top:24px}
.generate-actions{margin-top:25px}.generate-button{min-height:50px}.generate-actions>p{font-size:.75rem;line-height:1.7}
.back-step{margin-top:20px;font-size:.75rem}
.field-error{border-radius:5px;overflow-wrap:anywhere;line-height:1.65}
.wizard-workspace .result-panel{padding:30px;background:var(--surface)}
.result-panel.is-ready{animation:none}
.result-heading{padding-bottom:19px;margin-bottom:23px;border-bottom:1px solid var(--line)}
.result-heading h2{font-size:.87rem;font-weight:400;color:var(--muted)}
.status-badge{border:1px solid #6c705b;font-size:.75rem;border-radius:4px;font-weight:400;padding:5px 8px;white-space:nowrap}
.status-badge.is-error{border-color:#7b5145}
#completedPreview{grid-template-columns:minmax(300px,1.06fr) minmax(0,1fr);column-gap:44px;row-gap:26px}
.completed-summary .completed-title{font-family:Georgia,"Times New Roman",serif;font-size:1.8rem;font-weight:400;letter-spacing:-.02em;line-height:1.22;margin:0}
.template-note{font-size:.75rem;margin-top:9px}
.review-media{position:sticky;top:25px}
.review-media .video-shell{max-width:370px;background:#080908;border:1px solid #44473c;border-radius:5px;box-shadow:none}
.video-tabs{margin-bottom:16px;gap:6px}.video-tab{min-height:38px;border-radius:4px;padding:8px 13px}
.video-tab[aria-pressed=true]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.video-review-note{text-align:center;font-size:.75rem;color:var(--muted);margin:16px auto 0;max-width:40ch;line-height:1.7}
.adjustment-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.adjustment-heading h3{font-size:1.11rem;letter-spacing:-.015em}
.private-label{font-size:.75rem;color:var(--accent);white-space:nowrap}
.adjustment-intro{font-size:.76rem;color:var(--muted);line-height:1.75;margin-top:9px;margin-bottom:20px}
.prompt-label{display:block;font-size:.75rem;font-weight:600;margin-bottom:8px}
#adjustmentPrompt{min-height:117px;font-size:.81rem;line-height:1.75;padding:13px 14px}
.prompt-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-top:8px;color:var(--muted)}
.prompt-meta p{font-size:.75rem;line-height:1.7;max-width:45ch}.prompt-meta span{font-size:.75rem;white-space:nowrap;font-variant-numeric:tabular-nums;margin-top:1px}
.prompt-suggestions{display:flex;flex-wrap:wrap;gap:7px;margin:17px 0 18px}
.prompt-suggestions button{font-size:.75rem;border:1px solid #666658;border-radius:4px;color:#d0ccbc;background:transparent;padding:8px 10px;min-height:35px;line-height:1.4;transition:background 150ms,border-color 150ms}
.prompt-suggestions button:hover:not(:disabled){border-color:var(--accent);background:#343126;color:var(--ink)}
#previewAdjustments{width:100%;justify-content:space-between;font-size:.76rem}
.adjustment-status{font-size:.75rem;line-height:1.7;color:var(--accent);margin-top:13px}
.adjustment-plan{border-top:1px solid #726953;margin-top:23px;padding-top:20px}
.adjustment-plan>h4{color:var(--accent)}.adjustment-plan ul{padding-left:17px;margin:11px 0 0;font-size:.75rem;line-height:1.8;color:#d1cfc4}.adjustment-plan li+li{margin-top:5px}
.adjustment-warnings{margin-top:17px;padding:13px 14px;background:#322e25;border:1px solid #79694c;border-radius:4px;color:#dfc194}
.adjustment-warnings ul{color:#dfcfae;font-size:.75rem;margin-top:7px}
#applyAdjustments{width:100%;margin-top:20px;justify-content:space-between;font-size:.77rem}
.version-note{font-size:.75rem;color:var(--muted);line-height:1.75;margin-top:11px}
.download-section{border-top:1px solid var(--line);padding-top:24px;margin-top:29px}.download-section h3{font-size:.87rem}
.review-actions .output-downloads{margin-top:12px;gap:0}
.review-actions .download-link{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:12px 0;font-size:.75rem;color:#d2c7b0}.download-link:hover{color:var(--ink)}
.caption-details{font-size:.75rem;margin-top:23px}.caption-details summary{color:var(--ink);line-height:1.65}.caption-details textarea{background:#191b18;margin-top:13px;font-size:.75rem;line-height:1.75}
.approval-block{margin-top:25px;padding-top:22px}.approval-block>p{font-size:.75rem;line-height:1.7;margin-bottom:13px}.approval-block .button{font-size:.75rem}.approval-block .approval-note{font-size:.75rem;margin-top:10px}
.remix-block{padding-top:22px;padding-bottom:0;margin-top:25px;margin-bottom:0;border-top:1px solid var(--line);border-bottom:0}.remix-block p{color:var(--muted)}
.review-navigation{margin-top:23px}.review-navigation .button{font-size:.75rem}.review-navigation p{font-size:.75rem;line-height:1.7;max-width:48ch}
.history-section{max-width:1080px;margin-inline:auto}.history-row{padding-block:19px}.history-row h3{font-size:.84rem}.history-row p{font-size:.75rem;margin-top:5px}
.footer-retention{font-size:.75rem;margin-top:39px}.page-footer{border-top:1px solid var(--line);margin-top:22px;padding-top:27px;font-size:.75rem}
.access-screen{max-width:580px;padding:64px 28px}.access-screen h1{font-size:2.85rem;font-weight:400;line-height:1.12}.access-screen>p{font-size:.84rem;line-height:1.85;margin-top:23px}
.access-icon{background:transparent;border-radius:0;width:54px;height:54px;margin-bottom:24px}.access-icon svg{width:30px;height:30px;stroke-width:1.3}
.login-form{max-width:360px;margin:32px auto 0}.login-form .button{min-height:49px}.access-screen .access-note{font-size:.75rem}.loading-mark{height:5px;width:55%}
.toast{color:#22251f;border-radius:5px;font-size:.77rem}
@media(max-width:1000px){
  .studio{padding-top:36px}h1{font-size:2.9rem}.studio .page-intro{margin-bottom:30px}.editor-section{padding:27px}.wizard-workspace .result-panel{padding:25px}#completedPreview{gap:27px;grid-template-columns:minmax(255px,.95fr) minmax(0,1fr)}.review-media .video-shell{max-width:340px}
}
@media(max-width:760px){
  .topbar{height:78px;padding-inline:20px}.brand{font-size:.97rem;gap:11px}.brand-mark{width:36px;height:40px;font-size:32px;padding-right:10px}.brand-sub{font-size:.75rem}.header-actions{gap:7px;flex-direction:column;align-items:flex-end}.header-actions .button{font-size:.75rem;min-height:23px;padding:0 4px}.test-badge{font-size:.75rem;padding:0}
  .studio{padding-top:31px}.studio .page-intro{margin-bottom:26px}h1{font-size:2.48rem;line-height:1.1;max-width:none}.page-intro p{font-size:.75rem;margin-top:16px;max-width:36ch;line-height:1.8}
  .workflow-steps{margin-bottom:24px}.workflow-step{padding:10px 6px 15px;gap:9px}.workflow-step strong{font-size:.75rem}.step-number{width:25px;height:25px;flex-basis:25px;font-size:.75rem}
  .editor-section{padding:23px 20px}.section-heading{gap:13px;margin-bottom:20px}.section-heading h2{font-size:1rem}.section-heading p{font-size:.75rem;line-height:1.7}.count-label{font-size:.75rem;padding:4px 6px}.dropzone{padding:30px 12px 26px;min-height:215px}.dropzone strong{font-size:.83rem}.dropzone>span:not(.upload-icon){font-size:.75rem}.dropzone small{font-size:.75rem;max-width:30ch;line-height:1.7}
  input:not([type=checkbox]):not([type=radio]):not([type=file]),textarea{font-size:1rem}.wizard-workspace .scene-inputs input{font-size:.75rem}.crop-explainer{font-size:.75rem}.capture-help{font-size:.75rem}.step-navigation .button{font-size:.76rem}.montage-summary{font-size:.75rem;line-height:1.8}.field>label{font-size:.75rem}.field small{font-size:.75rem}.preset-option{padding:12px 9px}.preset-option svg{width:13px;height:13px}.authorization{font-size:.75rem}.generate-actions>p{font-size:.75rem}
  .wizard-workspace .result-panel{padding:22px 19px}.result-heading{align-items:flex-start;margin-bottom:21px;padding-bottom:17px}.result-heading h2{font-size:.75rem;max-width:17ch}.status-badge{font-size:.75rem;padding:4px 6px}
  #completedPreview{grid-template-columns:minmax(0,1fr);gap:28px}.completed-summary .completed-title{font-size:1.55rem;line-height:1.3}.template-note{font-size:.75rem}.review-media{position:static}.review-media .video-shell{max-width:355px}.video-review-note{font-size:.75rem;margin-top:14px}
  .review-actions{padding-top:25px;border-top:1px solid var(--line)}.adjustment-heading h3{font-size:1.05rem}.adjustment-intro{font-size:.75rem;margin-bottom:19px}.prompt-label{font-size:.75rem}#adjustmentPrompt{font-size:1rem;min-height:145px;line-height:1.6}.prompt-meta p{font-size:.75rem}.prompt-meta span{font-size:.75rem}.prompt-suggestions button{font-size:.75rem;min-height:38px;padding:9px 10px}.caption-details textarea{font-size:.85rem}
  .review-navigation p{font-size:.75rem}.studio-note{font-size:.75rem;max-width:43ch}.footer-retention{font-size:.75rem;margin-top:31px;text-align:left}.page-footer{font-size:.75rem;gap:6px;margin-top:24px}
  .access-screen{padding:49px 27px}.access-screen h1{font-size:2.46rem;line-height:1.15}.access-screen>p{font-size:.78rem;margin-top:20px}.access-icon{margin-bottom:20px}.access-screen .access-note{font-size:.75rem}
}
@media(max-width:380px){.topbar{padding-inline:15px}.brand-sub{font-size:.75rem}h1{font-size:2.22rem}.editor-section{padding:21px 16px}.workflow-step strong{font-size:.75rem}.wizard-workspace .result-panel{padding:20px 16px}.private-label{font-size:.75rem}.prompt-suggestions button{font-size:.75rem}.status-badge{white-space:normal;text-align:center;max-width:130px}}
