:root{--paper:#f7f9f6;--card:#fff;--green:#194f3e;--ink:#213d34;--muted:#758078;--line:#e0e6df;--sage:#edf3e9;--accent:#a45d3b;--serif:'Manrope','DM Sans',sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.6 'DM Sans','PingFang SC','Microsoft YaHei',sans-serif}button,input,textarea,select{font:inherit;color:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #c39042;outline-offset:3px}a{color:inherit;text-decoration:none}button svg,a svg{flex-shrink:0}svg{display:block}.icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}h1,h2,h3,p{margin:0}input,textarea,select{border:1px solid var(--line);border-radius:8px;background:#fff;padding:10px 12px;min-width:0;max-width:100%}textarea{resize:vertical}.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}.skip{position:absolute;top:-60px;left:12px;background:var(--green);color:white;padding:10px;z-index:100}.skip:focus{top:10px}

.upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.upload-grid>div{min-width:0}.upload{position:relative;min-height:196px;border:1px dashed #b8c9b5;background:#f8faf6;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:20px 10px;text-align:center;cursor:pointer}.upload:hover{border-color:var(--green);background:var(--sage)}.upload:focus-within{outline:3px solid #c39042;outline-offset:3px}.upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:2}.upload>.icon{width:27px;height:27px;color:#72916d}.upload strong{font-size:12px;line-height:1.5}.upload>span{font-size:10px;color:var(--muted)}.upload-art{display:none;width:64px;height:64px}.upload.has-reference{border-style:solid;border-color:#a7bf9e;background:var(--sage)}.upload.has-reference .upload-art{display:block}.upload.has-reference>.icon{display:none}.photo-thumbs{display:none;align-items:center;justify-content:center;gap:4px;overflow:hidden;height:68px;width:100%}.photo-thumbs img{width:54px;height:68px;min-width:0;flex:0 1 54px;object-fit:cover;border-radius:6px}.upload.has-file .photo-thumbs{display:flex}.upload.has-file .upload-art{display:none}.upload-help{margin-top:16px;font-size:10px;color:var(--muted);display:grid;gap:6px}.local-note{display:flex;align-items:center;gap:5px}.local-note>.icon{width:12px;height:12px}.photo-limit{margin-top:6px;font-size:10px;color:var(--muted)}.clear-reference{margin-top:5px}.reference-strip{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px;max-width:100%}.reference-item{position:relative;width:48px;height:54px}.reference-item img{width:100%;height:100%;object-fit:cover;border-radius:5px}.reference-item button{position:absolute;right:-5px;top:-5px;display:grid;place-items:center;width:24px;height:24px;border:1px solid var(--line);background:#fff;border-radius:50%;font-size:17px}.upload.drag-over{outline:3px solid var(--green);background:var(--sage)}

.duration-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.duration-choice{padding:12px 4px;border:1px solid var(--line);border-radius:9px;background:#fff;display:grid;gap:3px;justify-items:center}.duration-choice strong{font-size:15px}.duration-choice span{font-size:10px;color:var(--muted)}.duration-choice[aria-pressed=true]{background:var(--sage);border-color:#8faa83;box-shadow:0 0 0 1px #8faa83}.setting-row{display:grid;gap:10px;margin-top:22px}.setting-label{font-size:12px;font-weight:600}.ratio-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ratio-choice{display:flex;align-items:center;justify-content:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:8px;min-height:42px;font-size:11px;padding:8px}.ratio-choice[aria-pressed=true]{background:var(--sage);border-color:#8faa83}.ratio-shape{display:block;width:17px;height:11px;border:1.5px solid currentColor;border-radius:2px;flex-shrink:0}.ratio-choice[data-ratio='9:16'] .ratio-shape{width:10px;height:17px}.plan-toolbar{margin-bottom:24px}.plan-toolbar label{display:grid;gap:8px;font-size:12px;font-weight:600}.plan-toolbar input{width:100%;font-size:13px;font-weight:400}.notes-disclosure{margin-top:22px;font-size:11px}.notes-disclosure summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;font-weight:600}.notes-disclosure summary::-webkit-details-marker{display:none}.notes-disclosure summary>.icon{width:15px;height:15px}.notes-disclosure[open] summary>.icon{transform:rotate(45deg)}.notes-disclosure label{display:block;margin-top:12px;line-height:1.7}.notes-disclosure textarea{width:100%;min-height:80px;margin:8px 0;font-size:12px}.duration-note{font-size:10px;line-height:1.7;color:var(--muted);margin-top:20px}
.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;padding:10px 14px;min-height:42px;font-size:12px;font-weight:600;border:1px solid var(--line);background:white;line-height:1.5}.primary-button{background:var(--green);color:#fff;border-color:var(--green);width:100%}.primary-button:hover:not(:disabled){background:#123e2e}.secondary-button:hover:not(:disabled){background:var(--sage)}
.preview-card{padding:20px}.preview-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px}.preview-head h2{font-size:14px;font-weight:700}.preview-head .small{font-size:10px;text-align:right}.preview-tabs{display:inline-flex;gap:3px;padding:3px;background:#f0f3ee;border-radius:8px;margin-bottom:16px;max-width:100%}.preview-tabs button{padding:7px 12px;font-size:11px;border:0;background:transparent;border-radius:6px;color:var(--muted)}.preview-tabs [aria-selected=true]{background:#fff;color:var(--green);box-shadow:0 1px 3px #163c3212;font-weight:600}.preview-stage{display:grid;place-items:center;background:#eef1eb;padding:10px;border-radius:10px;min-height:0;}.frame{position:relative;aspect-ratio:16/9;width:100%;border-radius:7px;overflow:hidden;background:#193f31}.frame>img{width:100%;height:100%;object-fit:contain;object-position:center;display:block}.frame-kicker,.frame-time{position:absolute;top:10px;left:10px;z-index:1;padding:4px 6px;border-radius:4px;font-size:9px;background:#fffef3eb;color:var(--green);max-width:80%;line-height:1.5}.timeline-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.timeline-heading h3{font-size:14px}.timeline-heading .small{text-align:right;font-size:10px}.shot-list{list-style:none;padding:0;margin:0;display:grid;gap:8px}.shot{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;padding:12px 10px;border:1px solid var(--line);border-radius:9px}.shot-number{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#e7efdf;font-size:10px;color:var(--green)}.shot-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:2px 0 6px}.shot-top strong{font-size:12px;overflow-wrap:anywhere}.shot-top time{font-size:10px;white-space:nowrap;color:var(--muted)}.shot p{font-size:11px;line-height:1.8;color:var(--muted);overflow-wrap:anywhere}.shot-editor{margin-top:16px;font-size:12px}.shot-editor summary{cursor:pointer;color:var(--green)}.shot-field{min-width:0;border:1px solid var(--line);border-radius:9px;padding:12px;margin:14px 0}.shot-field legend{font-size:11px;color:var(--muted);padding:0 4px}.shot-field label{font-size:11px;display:grid;gap:6px;margin-bottom:10px;color:var(--muted)}.shot-field input,.shot-field textarea{width:100%;font-size:12px;color:var(--ink)}

.dialog{border:0;width:100%;max-width:none;max-height:none;height:100%;margin:0;padding:24px;background:transparent;position:fixed;inset:0;display:grid;place-items:center;overflow:auto;z-index:20}.dialog:not([open]){display:none}.dialog::backdrop{background:#153a2a66}.dialog-content{background:white;max-width:560px;width:100%;border-radius:14px;padding:24px;max-height:85dvh;overflow:auto;box-shadow:0 20px 70px #163c3226}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.dialog-head h2{font-size:20px}.close-dialog{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:8px;background:#fff}.plan-tabs{display:flex;gap:6px;margin:12px 0}.plan-tabs button{font-size:12px;padding:8px 12px;border:1px solid var(--line);border-radius:7px;background:white}.plan-tabs [aria-pressed=true]{background:var(--sage);border-color:#9db795}.plan-list-tools{display:flex;gap:8px}.plan-list-tools input{min-width:0;flex:1;width:50%;font-size:12px}.plan-list-tools select{font-size:11px;max-width:40%;padding:8px}.plan-import{position:relative;display:inline-flex;font-size:11px;text-decoration:underline;text-underline-offset:3px;color:var(--green);margin:14px 0;cursor:pointer}.plan-import input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.work-row{display:flex;gap:14px;padding:16px 0;border-top:1px solid var(--line);align-items:flex-start}.work-row>img{width:74px;height:74px;object-fit:cover;border-radius:8px}.work-content{min-width:0;flex:1}.work-content strong{font-size:13px;overflow-wrap:anywhere}.work-content p{font-size:11px;color:var(--muted);margin:4px 0}.preview-badge{font-size:10px;color:var(--green);background:var(--sage);padding:3px 7px;border-radius:4px;display:inline-block}.work-actions{display:flex;align-items:center;gap:6px 14px;flex-wrap:wrap;margin-top:8px}.delete-confirm{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px;font-size:12px}.dialog-note{font-size:11px;color:var(--muted);margin-top:16px}.work-empty{padding:24px 0;font-size:12px;color:var(--muted)}.dialog-open{overflow:hidden}

/* A compact creator with a cinema preview; existing account and plan modules remain independent. */
.workbench-header{min-height:70px;max-width:1440px;margin:auto;padding:0 36px;display:flex;align-items:center;gap:40px;border-bottom:1px solid var(--line);background:var(--paper)}
.brand{display:inline-flex;align-items:center;gap:9px;font-size:18px;font-weight:800;letter-spacing:-.7px;white-space:nowrap}.brand img{display:block;border-radius:9px}
.workbench-nav{display:flex;align-items:center;gap:25px}.workbench-nav a,.workbench-nav button{background:none;border:0;font-size:12px;color:var(--muted);display:inline-flex;align-items:center;gap:6px;padding:25px 0;white-space:nowrap}.workbench-nav .active{color:var(--green);font-weight:700;border-bottom:2px solid var(--green)}.header-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.video-language select{width:109px;padding:8px;font-size:12px}.account-link{border:1px solid var(--line);border-radius:8px;padding:8px 12px;font-size:12px;font-weight:600;white-space:nowrap}
.video-workspace{max-width:1240px;margin:auto;padding:34px 36px 22px}.page-intro{text-align:center;margin:0 0 28px}.eyebrow{font-size:10px;letter-spacing:1.6px;color:var(--green);font-weight:700;margin-bottom:9px}.page-intro h1{font:750 clamp(28px,3.3vw,44px)/1.25 'Manrope','DM Sans','PingFang SC',sans-serif;letter-spacing:-1.2px}.page-intro>p:last-child{font-size:14px;line-height:1.7;color:var(--muted);margin-top:11px}
.studio-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:24px;align-items:start}.configuration{padding:22px;background:white;border:1px solid #d9e3d6;border-radius:18px;box-shadow:0 12px 40px #20493208;min-width:0;scroll-margin-top:20px}.story-preview{min-width:0;scroll-margin-top:20px}
.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.section-head h2{font-size:16px;line-height:1.4;font-weight:700}.section-head h3{font-size:13px;line-height:1.4;font-weight:700}.text-button{display:inline-flex;align-items:center;gap:5px;padding:5px 0;border:0;background:none;color:var(--green);font-size:11px;font-weight:600;text-decoration:underline;text-underline-offset:4px}.small{font-size:11px;color:var(--muted)}
.upload{min-height:132px;padding:16px 10px;gap:6px;background:#f7faf4}.upload>.icon{width:25px;height:25px}.upload strong{font-size:12px}.upload>span{font-size:10px}.upload.has-reference{background:#eef4e8}.upload-art{width:45px;height:45px}.photo-thumbs{height:48px}.photo-thumbs img{width:42px;height:48px;flex-basis:42px}.upload-help{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;font-size:10px}.local-note{white-space:nowrap}.clear-reference{font-size:10px}.reference-item{width:38px;height:43px}.reference-strip{gap:8px;margin-top:7px}.reference-strip:empty{display:none}
/* Removal buttons sit outside the file label, above the selected references. */
.upload-grid>div{position:relative;display:flex;flex-direction:column}.upload-grid .upload{flex:1}
.upload-grid:has(.has-file) .upload{min-height:144px}
.upload.has-file{padding-top:77px;min-height:132px;justify-content:flex-end}
.upload.has-file .photo-thumbs{display:none}
.reference-strip:not(:empty){position:absolute;z-index:3;top:12px;left:9px;right:9px;margin:0;justify-content:center;pointer-events:none;flex-wrap:nowrap;gap:5px}
.reference-strip:not(:empty) .reference-item{flex:0 1 38px;min-width:0}.reference-item button{pointer-events:auto}

.story-picker{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}.story-picker .section-head{margin-bottom:10px}.story-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.story-choice{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:10px;background:white;padding:5px;min-width:0;text-align:left;min-height:64px}.story-choice[aria-pressed=true]{border-color:#779e75;background:#f1f6ec;box-shadow:0 0 0 1px #779e7522}.story-thumb{width:43px;height:52px;flex-shrink:0;position:relative;overflow:hidden;border-radius:6px;background:var(--sage)}.story-thumb img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 55%}.story-choice strong{font-size:11px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.choice-check{display:none;position:absolute;right:3px;bottom:3px;width:15px;height:15px;place-items:center;border-radius:50%;background:var(--green);color:#fff;font-size:9px}.story-choice[aria-pressed=true] .choice-check{display:grid}
.creation-toolbar{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px}.parameter-menu{position:relative;min-width:0}.parameter-menu>summary,.advanced-settings>summary{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:7px;padding:8px 10px;background:#fafbf8;font-size:11px;cursor:pointer;list-style:none;min-height:36px}.parameter-menu>summary::-webkit-details-marker,.advanced-settings>summary::-webkit-details-marker{display:none}.parameter-menu>summary .icon{width:14px;height:14px}.parameter-panel{position:absolute;top:calc(100% + 8px);left:0;width:min(310px,calc(100vw - 66px));z-index:6;padding:16px;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 40px #183b3224;background:#fff}.parameter-panel>.setting-label{margin-bottom:9px}.setting-label{font-size:12px;font-weight:600}.duration-note{margin-top:13px}.duration-row{gap:6px}.duration-choice{padding:9px 2px}.duration-choice strong{font-size:13px}.duration-choice span{font-size:9px}.ratio-controls{gap:6px}.ratio-choice{font-size:10px;padding:7px 4px}.advanced-settings[open]{flex-basis:100%;order:3}.advanced-panel{margin-top:10px;padding:16px;border:1px solid var(--line);border-radius:10px;background:#fafcf8}.plan-toolbar{margin-bottom:14px}.notes-disclosure{margin-top:0}.review-button{margin-left:auto;font-size:11px;text-decoration:none}.review-button .icon{width:14px;height:14px}
.compose-action{display:grid;gap:7px;text-align:center;margin-top:17px}.compose-action .primary-button{min-height:46px;border-radius:10px;font-size:14px;justify-content:space-between;padding:11px 16px}.compose-action .primary-button>span{margin-right:auto;margin-left:auto}.primary-button:disabled{opacity:1;background:#d8e6d4;color:#5f7d61;border-color:#d2e0cd}.message{margin-top:10px;font-size:11px;line-height:1.7;color:var(--accent)}
/* The dark area is a storyboard preview, never a fabricated finished video. */
.preview-card{border:1px solid #193e2f;border-radius:18px;background:#10271e;padding:18px;color:#f6faf2;box-shadow:0 12px 40px #10271e12}.preview-head{margin-bottom:12px}.preview-head h2{font-size:14px}.draft-badge{display:inline-flex;align-items:center;padding:4px 7px;border:1px solid #345342;background:#1b382a;color:#c4d6bc;border-radius:5px;font-size:9px;white-space:nowrap}.preview-tabs{background:#1b3629;margin-bottom:14px;padding:3px}.preview-tabs button{color:#9fb6a7;padding:6px 11px;font-size:11px}.preview-tabs [aria-selected=true]{background:#35563d;color:#f4faed;box-shadow:none}.preview-stage{background:#0a1d14;min-height:0;padding:0;border-radius:10px;overflow:hidden}.frame{border-radius:0;background:#0a1d14;aspect-ratio:16/9}.frame>img{object-fit:contain;object-position:center}.preview-meta{border-top:1px solid #2d4635;padding-top:12px;margin-top:13px;display:flex;justify-content:space-between;gap:10px;font-size:10px;align-items:center;flex-wrap:wrap}.preview-meta .small{font-size:10px;color:#a6bbab}.preview-meta strong{font-size:10px;font-weight:500;max-width:60%;text-align:right;overflow-wrap:anywhere}.timeline-heading .small{color:#a6bbab}.shot{border-color:#2d4a38;background:#183123}.shot p,.shot-top time{color:#b3c6b7}.shot-number{background:#294e34;color:#dbe9d2}.shot-editor>summary,.preview-card .text-button{color:#c2d9aa}.shot-field{border-color:#49644d}.shot-field label,.shot-field legend{color:#b6c8b7}.shot-field input,.shot-field textarea{background:#fff;color:var(--ink)}
.reference-summary{display:flex;justify-content:space-between;gap:10px;padding:12px 2px 0;font-size:11px;color:var(--muted)}.reference-summary strong{font-weight:500;color:var(--ink)}.reference-readiness{margin-top:4px;font-size:10px;line-height:1.7}.save-disclosure{margin-top:12px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:12px;padding:12px 14px}.save-disclosure>summary{cursor:pointer;font-size:12px;color:var(--green);font-weight:600}.save-location{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;margin:14px 0 12px}.save-location select{font-size:11px;padding:8px;max-width:65%}.save-button{width:100%}.button-note,.draft-note{text-align:center;font-size:10px;color:var(--muted);line-height:1.7;margin-top:8px}.draft-note{font-size:9px;margin-top:4px}.result-actions{display:flex;justify-content:space-between;gap:10px;margin-top:9px}.save-status,.recovery-note{font-size:12px;background:var(--sage);color:var(--green);padding:12px;border-radius:9px;margin-top:12px}.recovery-note{margin:0 0 20px}
.story-inspiration{margin-top:35px}.story-examples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.story-example{display:grid;grid-template-columns:40% minmax(0,1fr);padding:0;overflow:hidden;border:1px solid var(--line);border-radius:12px;text-align:left;background:#fff;min-width:0}.story-example[aria-pressed=true]{border-color:#8daa80}.story-example>img{display:block;width:100%;height:100%;aspect-ratio:4/5;object-fit:cover}.example-copy{display:flex;flex-direction:column;justify-content:center;padding:15px;gap:7px;min-width:0}.example-copy strong{font-size:13px;line-height:1.4}.example-copy>span{font-size:10px;line-height:1.7;color:var(--muted)}.example-copy .example-action{font-size:10px;color:var(--green);font-weight:600;margin-top:8px}.footnote{display:flex;justify-content:space-between;gap:24px;padding-top:18px;border-top:1px solid var(--line);margin-top:28px;font-size:10px;color:var(--muted)}.footnote>span:first-child{max-width:600px}.footnote>span:last-child{white-space:nowrap}.footnote a{text-decoration:underline;text-underline-offset:3px}
/* Readable planner states; media playback belongs to actual generated results. */
.frame.portrait{width:min(56%,196.875px);aspect-ratio:9/16;max-height:none}
.scene-description{margin-top:16px}.scene-description h3{font-size:20px;line-height:1.4;color:#f5faef}.scene-description p{font-size:13px;line-height:1.75;color:#c6d7c8;margin-top:6px}
.illustration-notice{font-size:12px;line-height:1.7;color:#b5cbb8;margin-top:12px;border-top:1px solid #35533d;padding-top:11px}
.generation-note{display:flex;align-items:flex-start;gap:8px;border:1px solid #e6ddbc;background:#fbf8ec;border-radius:9px;padding:11px 12px;color:#665c35;text-align:left;font-size:13px;line-height:1.65}
.generation-note>span{flex:1;min-width:0}
.generation-note{flex-wrap:wrap}.generation-note>a{font-weight:600;text-decoration:underline;text-underline-offset:3px}

.story-inspiration{border:1px solid var(--line);border-radius:12px;background:#fff;padding:0 18px;margin-top:26px}.story-inspiration>summary{display:flex;align-items:center;gap:14px;list-style:none;cursor:pointer;padding:16px 0}.story-inspiration>summary::-webkit-details-marker{display:none}.story-inspiration>summary::after{content:'⌄';margin-left:auto;color:var(--green);font-size:17px}.story-inspiration[open]>summary::after{transform:rotate(180deg)}.inspiration-title{font-size:15px;font-weight:700;color:var(--green)}.story-inspiration>summary .small{font-size:12px}.inspiration-content{padding:0 0 18px}.inspiration-content>.small{font-size:12px;margin-bottom:12px}
.section-head>.text-button{font-size:12px}.text-button{font-size:13px}.small{font-size:12px}.upload strong{font-size:14px}.upload>span{font-size:12px}.upload-help{font-size:12px}.local-note{font-size:12px}.story-choice strong{font-size:13px}.parameter-menu>summary,.advanced-settings>summary{font-size:13px}.review-button{font-size:12px}.preview-head h2{font-size:16px}.draft-badge{font-size:11px}.preview-tabs button{font-size:13px}.preview-meta .small,.preview-meta strong{font-size:12px}.reference-summary{font-size:13px}.reference-readiness{font-size:12px}.save-disclosure>summary{font-size:13px}.save-location,.save-location select{font-size:12px}.button-note{font-size:12px}.draft-note{font-size:11px}.shot p{font-size:13px;line-height:1.8}.shot-top strong{font-size:14px}.shot-top time{font-size:12px}.timeline-heading .small{font-size:12px}.shot-field label,.shot-field legend{font-size:12px}.shot-field input,.shot-field textarea{font-size:13px}.footnote{font-size:12px}
@media(max-width:1050px){.workbench-header{padding:0 24px;gap:24px}.workbench-nav{gap:18px}.video-workspace{padding:28px 24px 22px}.studio-grid{gap:18px}.configuration{padding:18px}.story-choice{display:block;text-align:center;padding:5px}.story-thumb{width:100%;height:55px}.story-choice strong{display:block;font-size:11px;line-height:1.5;margin:6px 2px 2px}.story-picker .section-head>.small{font-size:10px}.preview-card{padding:16px}.preview-stage{min-height:0;}.preview-head h2{font-size:13px}.preview-meta strong{max-width:100%}.review-button{font-size:10px}.story-example{grid-template-columns:42% minmax(0,1fr)}.example-copy{padding:12px}.example-copy strong{font-size:12px}}
@media(max-width:800px){.studio-grid{grid-template-columns:minmax(0,1fr)}.page-intro h1{font-size:34px}.configuration{padding:22px}.story-choice{display:flex;text-align:left;padding:6px}.story-thumb{width:48px;height:57px}.story-choice strong{margin:0;font-size:12px}.preview-stage{min-height:0;}.frame{aspect-ratio:16/9}.story-examples{gap:10px}.story-example{display:block}.story-example>img{aspect-ratio:4/3;object-fit:contain;background:#edf1e7}.example-copy{min-height:125px;padding:13px}}
@media(max-width:650px){.workbench-header{min-height:60px;padding:0 16px;gap:10px;flex-wrap:wrap}.brand{font-size:14px;gap:6px;min-height:58px}.brand img{width:26px;height:28px}.header-actions{gap:6px}.video-language select{width:88px;font-size:11px;padding:7px 6px}.account-link{font-size:11px;padding:7px 8px}.workbench-nav{order:3;width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding-bottom:8px;margin-top:-5px}.workbench-nav a,.workbench-nav button{display:flex;justify-content:center;align-items:center;min-height:34px;padding:8px 3px;font-size:11px;line-height:1.4;border-radius:7px}.workbench-nav .active{border:0;background:var(--sage)}.workbench-nav .icon{width:14px;height:14px}.video-workspace{padding:22px 16px}.page-intro{margin-bottom:19px;text-align:left}.eyebrow{font-size:9px;margin-bottom:7px;letter-spacing:1.2px}.page-intro h1{font-size:27px;line-height:1.35;letter-spacing:-.7px}.page-intro>p:last-child{font-size:12px;line-height:1.7;margin-top:8px}.configuration{border-radius:14px;padding:16px}.section-head{gap:8px;margin-bottom:12px}.section-head h2{font-size:14px}.section-head h3{font-size:12px}.section-head>.text-button{font-size:10px}.section-head>.small{font-size:9px}.upload-grid{gap:10px}.upload{min-height:116px;padding:13px 8px;gap:6px}.upload strong{font-size:11px}.upload>span{font-size:9px}.upload>.icon{width:23px;height:23px}.upload-help{font-size:9px;gap:5px;margin-top:9px;flex-wrap:wrap}.local-note{font-size:9px}.story-picker{margin-top:14px;padding-top:13px}.story-choices{gap:7px}.story-choice{display:block;text-align:left;padding:4px;border-radius:8px;min-height:0}.story-thumb{width:100%;height:52px}.story-choice strong{font-size:10px;line-height:1.4;margin:5px 3px 3px}.choice-check{width:14px;height:14px;font-size:8px}.creation-toolbar{gap:7px;margin-top:13px}.parameter-menu>summary,.advanced-settings>summary{font-size:10px;padding:7px 8px;min-height:34px;gap:5px}.review-button{font-size:10px;gap:4px}.review-button .icon{width:12px;height:12px}.parameter-panel{padding:14px;width:min(300px,calc(100vw - 66px))}.advanced-panel{padding:12px}.compose-action{margin-top:13px;gap:6px}.compose-action .primary-button{min-height:44px;font-size:13px;padding:10px 12px}.studio-grid{gap:20px}.preview-card{border-radius:14px;padding:15px}.preview-stage{min-height:0;}.frame{aspect-ratio:16/9}.preview-head{gap:12px}.preview-head h2{font-size:14px}.preview-tabs{margin-bottom:12px}.preview-tabs button{font-size:11px}.preview-meta{font-size:10px}.reference-summary{font-size:10px}.reference-readiness{font-size:10px}.save-disclosure{margin-top:10px}.story-inspiration{margin-top:27px}.story-examples{grid-template-columns:minmax(0,1fr);gap:12px}.story-example{display:grid;grid-template-columns:104px minmax(0,1fr)}.story-example>img{aspect-ratio:4/5;object-fit:cover}.example-copy{min-height:0;padding:14px;gap:5px}.example-copy strong{font-size:13px}.example-copy>span{font-size:11px}.example-copy .example-action{font-size:11px;margin-top:5px}.footnote{display:grid;gap:10px;margin-top:24px;font-size:10px}.footnote>span:last-child{white-space:normal}.dialog{padding:14px}.dialog-content{padding:20px}.work-row>img{width:56px;height:62px}}
@media(max-width:360px){.workbench-header{padding:0 12px;gap:6px}.brand{font-size:13px}.brand img{width:24px;height:26px}.video-language select{width:82px}.account-link{font-size:10px;padding:7px 6px}.workbench-nav a,.workbench-nav button{font-size:10px}.video-workspace{padding:20px 12px}.page-intro h1{font-size:25px}.configuration{padding:14px}.section-head h2{font-size:13px}.section-head>.text-button{font-size:9px}.upload{min-height:110px}.upload strong{font-size:10px}.story-choice strong{font-size:9px}.story-picker .section-head>.small{font-size:8px}.review-button{margin-left:0}.preview-stage{min-height:0;}.preview-meta{gap:6px}.timeline-heading .small{max-width:50%}.shot-top{gap:6px}.shot-top strong{font-size:11px}.shot-top time{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

@media(max-width:1050px){.story-choice strong{font-size:12px}.story-picker .section-head>.small{font-size:11px}.preview-head h2{font-size:15px}.review-button{font-size:12px}.preview-meta strong{max-width:100%}}
@media(max-width:650px){.section-head h2{font-size:15px}.section-head>.text-button{font-size:12px}.section-head>.small{font-size:11px}.upload strong{font-size:13px}.upload>span{font-size:11px}.upload-help,.local-note{font-size:11px}.story-choice strong{font-size:12px;line-height:1.5}.parameter-menu>summary,.advanced-settings>summary{font-size:12px}.review-button{font-size:12px}.compose-action .primary-button{font-size:14px}.preview-head h2{font-size:15px}.preview-tabs button{font-size:13px}.draft-badge{font-size:10px}.reference-summary,.reference-readiness{font-size:12px}.scene-description h3{font-size:19px}.scene-description p{font-size:13px}.illustration-notice{font-size:12px}.generation-note{font-size:12px;padding:10px;gap:7px}.story-inspiration{padding:0 14px;margin-top:22px}.story-inspiration>summary{flex-wrap:wrap;gap:5px 10px;position:relative;padding-right:22px}.story-inspiration>summary .small{flex-basis:100%;font-size:11px}.story-inspiration>summary::after{position:absolute;right:0;top:18px}.inspiration-title{font-size:14px}.footnote{font-size:11px}.preview-meta .small,.preview-meta strong{font-size:12px}}
@media(max-width:360px){.section-head h2{font-size:14px}.section-head>.text-button{font-size:11px}.story-picker .section-head>.small{font-size:10px}.story-choice strong{font-size:11px}.parameter-menu>summary,.advanced-settings>summary{font-size:11px}.review-button{font-size:12px}.shot-top strong{font-size:13px}.shot-top time{font-size:11px}}
/* Model and per-second duration choices stay visible in the creation flow. */
.generation-options{display:grid;grid-template-columns:minmax(0,1fr)100px 110px;gap:12px;margin-top:18px}.generation-options>div{display:grid;gap:6px;min-width:0}.generation-options label{font-size:12px;font-weight:600}.generation-options select{width:100%;min-height:42px;font-size:13px;font-weight:400;background:#fff}.model-duration-hint{font-size:12px;line-height:1.7;color:#5d6e62;margin-top:8px}.parameter-panel>.setting-row{margin-top:0}
@media(max-width:650px){.generation-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:15px}.generation-options>div:first-child{grid-column:1/-1}.generation-options label{font-size:12px}.generation-options select{font-size:13px;padding:9px 8px}.model-duration-hint{font-size:12px}}
.video-consent{display:flex;align-items:flex-start;gap:10px;text-align:left;font-size:12px;line-height:1.8;color:#506658;margin:12px 0}.video-consent input{flex:0 0 auto;width:17px;height:17px;margin:4px 0 0;accent-color:#184e3e}.video-result{margin-top:18px;padding:20px;border:1px solid #ceddce;border-radius:18px;background:#fff;min-width:0}.video-result h2{font-size:17px;margin:0 0 10px}.video-result p{line-height:1.8;overflow-wrap:anywhere;margin:8px 0}.video-result video{display:block;width:100%;max-height:540px;background:#10291f;border-radius:12px;margin:14px 0}.video-result-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.video-result-actions a{text-decoration:none}.video-progress-row{display:flex;align-items:center;gap:10px}.video-progress-row progress{width:100%;height:10px;accent-color:#39764e}.video-progress-row span{font-size:12px}.video-result [hidden],.video-progress-row [hidden]{display:none!important}
@media(max-width:650px){.video-result{padding:16px}.video-consent{font-size:12px}.video-result-actions{gap:8px}}
.video-history{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.video-history-heading{display:flex;align-items:center;gap:8px}.video-history-heading h3{font-size:14px}.video-history-heading>span{min-width:22px;padding:1px 6px;border-radius:12px;background:var(--sage);font-size:12px;text-align:center}.video-history-list{display:grid;gap:8px;margin-top:10px}.video-history-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:#fff;text-align:left}.video-history-item>strong{font-size:12px;overflow-wrap:anywhere}.video-history-item>time{font-size:11px;color:var(--muted)}.video-history-item>span{grid-column:1/-1;font-size:12px;color:var(--green)}.video-history-item[aria-pressed=true]{border-color:#8faa83;background:var(--sage)}
@media(max-width:650px){.video-history-item{grid-template-columns:minmax(0,1fr)}.video-history-item>time{grid-row:2}.video-history-item>span{grid-row:3}}
.video-history-heading .text-button{margin-left:auto;font-size:12px}
.video-history-more{display:block;margin:12px auto 0;min-height:40px;padding:8px 12px}
.upload:has(input:disabled){cursor:wait;opacity:.75}
.membership-credit-hint{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 12px;font-size:12px;padding:4px 0 14px;color:#687d70;line-height:1.7}.membership-credit-hint strong{color:#174c3c}.membership-credit-hint a{text-decoration:underline;color:#174c3c}.membership-credit-hint small{flex-basis:100%;font-size:11px}
.video-credit-payment{border:1px solid #d7e2d3;border-radius:12px;background:#f3f6ee;padding:12px 14px;margin:12px 0;font-size:12px;line-height:1.65;text-align:left}.video-credit-payment[hidden]{display:none}.video-credit-payment>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}.video-credit-payment strong{font-size:15px;color:#174c3c}.video-credit-payment span{color:#5c7163}.video-credit-payment p{margin:5px 0}.video-credit-payment .small{font-size:11px;color:#617568}.video-credit-payment a{display:inline-block;margin:2px 14px 0 0;color:#174c3c;text-underline-offset:3px}.video-credit-shortfall{color:#97541f;font-weight:600}#video-credit-status{color:#174c3c;font-weight:600}
@media(max-width:650px){.generation-options select,.shot-field input,.shot-field textarea,.plan-toolbar input,.notes-disclosure textarea,.plan-list-tools input,.plan-list-tools select,.save-location select{font-size:16px}}
