@clipen/clipen-cli 1.0.9 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +53 -43
- package/README.zh-TW.md +99 -0
- package/apps/web/dist/assets/index-BHFCflzf.js +15 -0
- package/apps/web/dist/assets/index-BtenOBwP.css +1 -0
- package/apps/web/dist/favicon.svg +1 -1
- package/apps/web/dist/index.html +2 -2
- package/bin/clipen.js +4 -2
- package/package.json +2 -2
- package/pyproject.toml +1 -1
- package/src/clipen/__init__.py +1 -1
- package/src/clipen/annotations/suggestions.py +1 -1
- package/src/clipen/bootstrap.py +70 -15
- package/src/clipen/cli.py +4 -1
- package/src/clipen/controller/app.py +102 -1
- package/src/clipen/controller/server.py +14 -6
- package/src/clipen/editing/agent_repository.py +29 -3
- package/src/clipen/editing/agent_tools.py +1 -0
- package/src/clipen/editing/aspect.py +27 -0
- package/src/clipen/editing/production_catalog.py +10 -3
- package/src/clipen/editing/production_media.py +1 -1
- package/src/clipen/editing/production_preview.py +7 -0
- package/src/clipen/editing/production_tools.py +7 -2
- package/src/clipen/editing/skill_tools.py +8 -0
- package/src/clipen/editing/slip.py +109 -0
- package/src/clipen/editing/tool_receipts.py +1 -0
- package/src/clipen/editing/versions.py +2 -0
- package/src/clipen/editing/visual_preview.py +11 -3
- package/src/clipen/editing/workbench.py +33 -1
- package/src/clipen/locale_en.py +18 -0
- package/src/clipen/mcp_editing/server.py +3 -1
- package/src/clipen/media/discovery.py +2 -2
- package/src/clipen/media/preview.py +5 -0
- package/src/clipen/media/storage.py +5 -2
- package/src/clipen/projects/models.py +2 -0
- package/src/clipen/projects/storage.py +84 -4
- package/src/clipen/providers/account.py +37 -6
- package/src/clipen/providers/claude.py +5 -3
- package/src/clipen/providers/claude_editing.py +5 -6
- package/src/clipen/providers/codex.py +19 -7
- package/src/clipen/providers/codex_editing.py +2 -1
- package/src/clipen/providers/editing_agent.py +24 -2
- package/src/clipen/providers/model_selection.py +67 -0
- package/src/clipen/rendering/cover.py +1 -1
- package/src/clipen/rendering/program_subtitles.py +3 -1
- package/src/clipen/rendering/renderer.py +13 -3
- package/src/clipen/skills/builtin/references/graphics.md +1 -1
- package/src/clipen/skills/builtin/templates.json +9 -0
- package/src/clipen/workspace.py +21 -0
- package/apps/web/dist/assets/index-DPgSvXZ1.js +0 -15
- package/apps/web/dist/assets/index-DmPWV61v.css +0 -1
- package/src/clipen/editing/EDITORIAL_REGRESSIONS.md +0 -38
- package/src/clipen/editing/REFACTOR_DESIGN.md +0 -241
- package/src/clipen/editing/REFACTOR_HANDOFF.md +0 -73
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#111215;--surface-0:#0b0c0e;--surface-1:#18191d;--surface-2:#202227;--surface-3:#2a2c32;--line:#2b2d33;--line-strong:#3b3e45;--text:#ecebe6;--text-2:#b0b2b8;--text-3:#80838a;--accent:#e9b44c;--accent-hover:#f2c66a;--accent-ink:#261a03;--accent-soft:#e9b44c24;--ok:#74c393;--ok-soft:#74c39324;--warn:#e2ac55;--warn-soft:#e2ac5524;--danger:#ee7d73;--danger-soft:#ee7d7324;--info:#86aee0;--info-soft:#86aee024;--ink:var(--text);--muted:var(--text-2);--paper:var(--surface-1);--green:var(--accent);--green-dark:var(--accent-hover);--green-soft:var(--accent-soft);--studio-dark:var(--surface-0);--studio-accent:var(--accent);--warning:var(--warn);--warning-soft:var(--warn-soft);--error:var(--danger);--mono:ui-monospace, "SF Mono", Menlo, monospace;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-family:-apple-system,BlinkMacSystemFont,PingFang TC,Noto Sans TC,Segoe UI,sans-serif;font-weight:400;line-height:1.6}*{box-sizing:border-box}body{background:var(--bg);min-width:320px;min-height:100vh;margin:0}button,input,textarea{font:inherit}button{color:inherit}.app-shell{min-height:100vh}.topbar{z-index:20;border-bottom:1px solid var(--line);background:var(--surface-2);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);justify-content:space-between;align-items:center;height:68px;padding:0 40px;display:flex;position:sticky;top:0}.brand{color:var(--ink);letter-spacing:-.05em;cursor:pointer;background:0 0;border:0;padding:0;font-size:22px;font-weight:790}.connection-badge{border:1px solid var(--line-strong);min-height:34px;color:var(--text-2);background:var(--surface-1);border-radius:999px;align-items:center;gap:9px;padding:7px 12px;font-size:13px;font-weight:680;display:flex}.connection-badge span,.save-state span{background:var(--surface-3);border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #00000059}.connection-badge.is-ready span{background:var(--ok);box-shadow:0 0 0 4px #00000059}.provider-notice{border-bottom:1px solid var(--accent);min-height:62px;color:var(--accent);background:var(--accent-soft);align-items:center;gap:13px;padding:12px 40px;display:flex}.provider-notice strong{margin-bottom:3px;font-size:14px;display:block}.provider-notice p{margin:0;font-size:13px}.notice-symbol{width:30px;height:30px;color:var(--warning);background:var(--accent-soft);border-radius:50%;flex:none;place-items:center;font-weight:800;display:grid}.home-main,.system-main,.workspace-main{width:min(1180px,100% - 80px);margin:0 auto}.workspace-main{width:min(1680px,100% - 96px)}.home-main{padding:76px 0 96px}.system-main{padding:100px 0}.workspace-main{padding:30px 0 90px}.eyebrow{color:var(--text-2);letter-spacing:.13em;text-transform:uppercase;margin:0 0 12px;font-size:11px;font-weight:780}h1,h2,h3,p{margin-top:0}.home-heading{justify-content:space-between;align-items:flex-end;gap:40px;margin-bottom:44px;display:flex}.home-heading h1{letter-spacing:-.06em;margin-bottom:16px;font-size:58px;line-height:1}.home-heading p:last-child{max-width:660px;color:var(--muted);margin-bottom:0;font-size:17px;line-height:1.65}.button{cursor:pointer;border:1px solid #0000;border-radius:11px;min-height:44px;padding:10px 17px;font-size:14px;font-weight:720;transition:transform .15s,background .15s,border-color .15s}.button:hover:not(:disabled){transform:translateY(-1px)}.button:disabled{opacity:.48;cursor:default}.button.primary{color:#fff;background:var(--green)}.button.secondary{border-color:var(--line);background:var(--surface-1)}.create-button{min-height:48px;padding-inline:20px}.empty-projects,.create-panel,.system-card{border:1px solid var(--line);background:var(--paper);border-radius:24px;box-shadow:0 24px 70px #00000059}.empty-projects{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:340px;padding:50px;display:flex}.empty-mark{border:2px solid var(--line-strong);border-radius:8px;width:64px;height:52px;margin-bottom:25px;position:relative}.empty-mark:before{content:"";border:2px solid var(--line-strong);border-bottom:0;border-radius:6px 6px 0 0;width:24px;height:10px;position:absolute;top:-10px;left:8px}.empty-mark span{background:var(--green);border-radius:50%;width:27px;height:27px;position:absolute;bottom:-9px;right:-9px}.empty-mark span:before,.empty-mark span:after{content:"";background:#fff;position:absolute;inset:7px 12px}.empty-mark span:after{inset:12px 7px}.empty-projects h2{letter-spacing:-.035em;margin-bottom:9px;font-size:27px}.empty-projects p{max-width:480px;color:var(--muted);margin-bottom:24px;line-height:1.65}.create-panel{grid-template-columns:minmax(300px,.8fr) minmax(420px,1.2fr);gap:64px;padding:46px 50px;display:grid}.create-panel h2{letter-spacing:-.035em;margin-bottom:10px;font-size:28px}.create-panel>div>p:last-child{color:var(--muted);line-height:1.65}.create-panel form,.project-form{flex-direction:column;display:flex}label{margin-bottom:8px;font-size:13px;font-weight:730}input,textarea{border:1px solid var(--line);width:100%;color:var(--ink);background:var(--surface-1);border-radius:11px;outline:0;transition:border-color .15s,box-shadow .15s}input{height:46px;padding:0 14px}input[type=checkbox],input[type=radio]{width:16px;height:16px;padding:0}textarea{resize:vertical;padding:13px 14px;line-height:1.6}input:focus,textarea:focus{border-color:var(--line-strong);box-shadow:0 0 0 3px #00000059}.form-actions{justify-content:flex-end;gap:9px;margin-top:18px;display:flex}.form-error{color:var(--error);margin:9px 0 0;font-size:13px}.project-section{margin-top:8px}.section-title-row{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:17px;display:flex}.section-title-row h2{letter-spacing:-.025em;margin-bottom:0;font-size:20px}.section-title-row>span{color:var(--muted);font-size:13px}.section-title-row>div>p{color:var(--muted);margin:7px 0 0;font-size:13px}.project-card{border:1px solid var(--line);background:var(--surface-1);text-align:left;cursor:pointer;border-radius:18px;flex-direction:column;align-items:flex-start;min-height:210px;padding:23px;transition:transform .18s,border-color .18s,box-shadow .18s;display:flex}.project-card strong{letter-spacing:-.025em;margin-bottom:9px;font-size:21px}.project-time{color:var(--text-3);margin-top:auto;font-size:11px}.workspace-layout{grid-template-columns:248px minmax(0,1fr);align-items:start;gap:28px;display:grid}.materials-panel{border:1px solid var(--line);background:var(--surface-1);border-radius:22px;min-width:0;padding:42px 46px 48px;box-shadow:0 24px 70px #00000059}.panel-heading{justify-content:space-between;align-items:flex-start;gap:32px;margin-bottom:33px;display:flex}.panel-heading h1{letter-spacing:-.05em;margin-bottom:12px;font-size:37px;line-height:1.05}.panel-heading>div:first-child>p:last-child{max-width:620px;color:var(--muted);margin-bottom:0;line-height:1.65}.save-state{color:var(--text-2);background:var(--surface-2);border-radius:999px;flex:none;align-items:center;gap:9px;padding:8px 11px;font-size:11px;font-weight:700;display:flex}.save-state span{background:var(--surface-0)}.save-state.unsaved{color:var(--accent);background:var(--accent-soft)}.save-state.unsaved span{background:var(--accent)}.inline-message{border-radius:10px;margin:-8px 0 25px;padding:12px 14px;font-size:13px}.inline-message.success{color:var(--text-2);background:var(--surface-2)}.inline-message.error{color:var(--error);background:var(--danger-soft)}.project-form{border-bottom:1px solid var(--line);padding-bottom:34px}.project-form label:not(:first-child){margin-top:18px}.form-footer{justify-content:space-between;align-items:center;margin-top:12px;display:flex}.form-footer>span{color:var(--text-3);font-size:11px}.danger-zone{border:1px solid var(--line);background:var(--surface-2);border-radius:14px;margin-top:34px;padding:24px}.danger-zone h2{color:var(--text-2);margin-bottom:7px;font-size:17px}.danger-zone p{color:var(--text-2);margin:0 0 18px;font-size:12px;line-height:1.6}.danger-zone .form-error{color:var(--error);margin:-5px 0 10px}.danger-zone label{display:block}.danger-actions{align-items:center;gap:10px;display:flex}.danger-actions input{flex:1}.danger-button{color:var(--text);background:var(--danger);flex:none}.danger-button:hover:not(:disabled){background:var(--danger)}.directory-section{padding-top:32px}.directory-card{border:1px solid var(--line);background:var(--surface-1);border-radius:16px;grid-template-columns:44px minmax(0,1fr);gap:17px;margin-top:12px;padding:22px;display:grid}.directory-card.has-directory{border-color:var(--line);background:var(--ok-soft)}.directory-icon{border:1.5px solid var(--line-strong);border-radius:6px;width:42px;height:34px;margin-top:2px;position:relative}.directory-icon:before{content:"";border:1.5px solid var(--line-strong);border-bottom:0;border-radius:4px 4px 0 0;width:17px;height:7px;position:absolute;top:-7px;left:5px}.directory-title-row{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.directory-title-row h3{margin-bottom:5px;font-size:15px}.directory-title-row p{color:var(--muted);margin-bottom:0;font-size:12px}.availability{color:var(--text-2);background:var(--surface-2);border-radius:999px;flex:none;padding:5px 8px;font-size:10px;font-weight:740}.availability.offline,.availability.changed,.availability.permission_required{color:var(--accent);background:var(--accent-soft)}.selected-path{border:1px solid var(--line);background:var(--surface-1);border-radius:9px;flex-direction:column;gap:3px;margin-top:17px;padding:12px 13px;display:flex}.selected-path strong{font-size:13px}.selected-path span{color:var(--text-3);text-overflow:ellipsis;white-space:nowrap;font-family:SFMono-Regular,Consolas,monospace;font-size:11px;overflow:hidden}.directory-help{color:var(--muted);margin:10px 0 0;font-size:12px}.directory-actions{gap:16px;margin-top:13px;display:flex}.text-button{color:var(--green);cursor:pointer;background:0 0;border:0;padding:0;font-size:12px;font-weight:720}.text-button.danger{color:var(--text-2)}.text-button:disabled{opacity:.5;cursor:default}.choose-button{margin-top:17px}.scope-note{background:var(--green-soft);border-radius:14px;align-items:flex-start;gap:14px;margin-top:26px;padding:20px;display:flex}.scope-note strong{color:var(--ok);margin-bottom:5px;font-size:13px;display:block}.scope-note p{color:var(--text-2);margin:0;font-size:12px;line-height:1.6}.lock-icon{border:1.7px solid var(--line-strong);border-radius:4px;flex:none;width:19px;height:17px;margin:8px 2px 0;position:relative}.lock-icon:before{content:"";border:1.7px solid var(--line-strong);border-bottom:0;border-radius:7px 7px 0 0;width:9px;height:9px;position:absolute;top:-9px;left:3px}.inventory-section{border-top:1px solid var(--line);margin-top:34px;padding-top:34px}.inventory-heading{justify-content:space-between;align-items:flex-start;gap:34px;display:flex}.inventory-heading h2{letter-spacing:-.03em;margin-bottom:8px;font-size:23px}.inventory-heading>div>p:last-child{max-width:620px;color:var(--muted);margin-bottom:0;font-size:13px;line-height:1.65}.inventory-heading>.button{flex:none;margin-top:19px}.inventory-empty,.inventory-progress,.inventory-outcome,.inventory-results{border:1px solid var(--line);background:var(--surface-1);border-radius:16px;margin-top:18px}.inventory-empty{align-items:center;gap:15px;min-height:90px;padding:20px;display:flex}.inventory-empty strong{margin-bottom:4px;font-size:14px;display:block}.inventory-empty p{color:var(--muted);margin:0;font-size:12px}.inventory-empty.muted-state{color:var(--text-2);background:var(--surface-2)}.inventory-mark{border:1.5px solid var(--line-strong);border-radius:5px;width:31px;height:35px;position:relative}.inventory-mark:before{content:"";background:var(--surface-0);width:16px;height:1.5px;position:absolute;top:8px;left:6px;box-shadow:0 6px #00000059,0 12px #00000059}.inventory-progress{border-color:var(--line-strong);background:var(--ok-soft);justify-content:space-between;align-items:center;gap:24px;padding:20px;display:flex}.progress-main{align-items:center;gap:15px;display:flex}.progress-main strong{color:var(--text-2);margin-bottom:5px;font-size:14px;display:block}.progress-main p{color:var(--text-2);margin:0;font-size:12px}.small-spinner{border:2px solid var(--line);border-top-color:var(--green);border-radius:50%;flex:none;width:24px;height:24px;animation:.9s linear infinite spin}.inventory-outcome{border-color:var(--accent);background:var(--accent-soft);align-items:flex-start;gap:14px;padding:18px 20px;display:flex}.inventory-outcome.has-error{border-color:var(--danger);background:var(--danger-soft)}.inventory-outcome .outcome-symbol{width:26px;height:26px;color:var(--accent);background:var(--accent-soft);border-radius:50%;flex:none;place-items:center;font-weight:800;display:grid}.inventory-outcome.has-error .outcome-symbol{color:var(--error);background:var(--danger-soft)}.inventory-outcome strong{margin:3px 0 5px;font-size:13px;display:block}.inventory-outcome p{color:var(--text-2);margin:0;font-size:12px;line-height:1.55}.inventory-outcome small{color:var(--text-3);margin-top:7px;font-size:11px;display:block}.analysis-section{border-top:1px solid var(--line);margin-top:38px;padding-top:38px}.skill-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:22px;display:grid}.consent-check{min-width:0;color:var(--text-2);cursor:pointer;flex:1;align-items:flex-start;gap:11px;margin:0;font-size:13px;font-weight:500;line-height:1.55;display:flex}.consent-check input{accent-color:var(--green);flex:0 0 16px;margin:1px 0 0}.consent-check span{min-width:0}.consent-check strong{color:var(--text-2);margin-bottom:2px;font-size:13px;display:block}.stage-next{border:1px solid var(--line);background:var(--ok-soft);border-radius:13px;justify-content:space-between;align-items:center;gap:20px;margin-top:28px;padding:17px 18px;display:flex}.stage-next span{color:var(--text-2);font-size:12px;font-weight:680}.stage-next .button{flex:none}.consent-check{color:var(--text-2);cursor:pointer;grid-column:1;align-items:flex-start;gap:9px;font-size:11px;line-height:1.45;display:flex}.consent-check input{width:16px;height:16px;accent-color:var(--green);margin:0}@container timeline-stage (width<=520px){.edit-agent-consent>.button,.consent-check{grid-area:auto/1}}.analysis-heading{justify-content:space-between;align-items:flex-start;gap:34px;display:flex}.analysis-heading h2{letter-spacing:-.03em;margin-bottom:8px;font-size:23px}.analysis-heading>div>p:last-child{max-width:620px;color:var(--muted);margin-bottom:0;font-size:13px;line-height:1.65}.analysis-heading>.button{flex:none;margin-top:19px}.analysis-card,.analysis-progress,.analysis-outcome,.analysis-results{border:1px solid var(--line);background:var(--surface-1);border-radius:16px;margin-top:18px}.analysis-card{align-items:center;gap:15px;min-height:90px;padding:20px;display:flex}.analysis-card strong{margin-bottom:5px;font-size:14px;display:block}.analysis-card p{color:var(--muted);margin:0;font-size:12px;line-height:1.55}.analysis-card.setup-required{border-color:var(--accent);background:var(--accent-soft);align-items:flex-start}.runtime-setup-content{flex:1;min-width:0}.runtime-facts{border:1px solid var(--accent);background:var(--accent-soft);border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:16px 0 12px;display:grid;overflow:hidden}.runtime-facts>div{background:var(--surface-1);min-width:0;padding:10px 12px}.runtime-facts dt{color:var(--text-3);margin-bottom:3px;font-size:10px;font-weight:720}.runtime-facts dd{color:var(--text-2);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:11px;line-height:1.45;overflow:hidden}.analysis-card p.runtime-license{color:var(--text-2);margin:0 0 13px;font-size:10px}.runtime-license a{color:var(--text-2);font-weight:720}.runtime-setup code{color:var(--text-2);background:var(--surface-1);border-radius:5px;padding:2px 5px;font-family:SFMono-Regular,Consolas,monospace;font-size:10px}.runtime-failed{align-items:center}.runtime-settings{color:var(--text-3);margin-top:14px;font-size:11px}.runtime-settings summary{cursor:pointer;width:max-content;font-weight:680}.runtime-settings>div{border:1px solid var(--line);background:var(--surface-1);border-radius:10px;justify-content:space-between;align-items:center;gap:18px;margin-top:9px;padding:12px 14px;display:flex}.runtime-settings p{margin:0;line-height:1.5}.analysis-card.scope-preview{border-color:var(--line-strong);background:var(--ok-soft);justify-content:space-between}.analysis-card.scope-preview>span{max-width:240px;color:var(--text-2);text-align:right;font-size:11px;line-height:1.5}.analysis-progress{border-color:var(--line-strong);background:var(--ok-soft);justify-content:space-between;align-items:center;gap:24px;padding:20px;display:flex}.analysis-progress .progress-main{flex:1}.analysis-progress .progress-main>div{flex:1;max-width:520px}.analysis-progress small{color:var(--text-3);margin-top:6px;font-size:10px;display:block}.analysis-progress progress{width:100%;height:7px;accent-color:var(--green);margin-top:10px;display:block}.analysis-outcome{border-color:var(--accent);background:var(--accent-soft);align-items:flex-start;gap:14px;padding:18px 20px;display:flex}.analysis-outcome>div{flex:1}.analysis-outcome>.button{flex:none;align-self:center}.analysis-outcome .outcome-symbol,.analysis-card .outcome-symbol{width:26px;height:26px;color:var(--accent);background:var(--accent-soft);border-radius:50%;flex:none;place-items:center;font-weight:800;display:grid}.analysis-outcome.has-error{border-color:var(--danger);background:var(--danger-soft)}.analysis-outcome.has-error .outcome-symbol{color:var(--error);background:var(--danger-soft)}.analysis-outcome strong{margin:3px 0 5px;font-size:13px;display:block}.analysis-outcome p{color:var(--text-2);margin:0;font-size:12px;line-height:1.55}.analysis-results{border-color:var(--line-strong);background:var(--ok-soft);justify-content:space-between;align-items:center;gap:24px;padding:21px;display:flex}.analysis-results strong{color:var(--text-2);margin-bottom:5px;font-size:14px;display:block}.analysis-results p{color:var(--text-2);margin:0;font-size:12px}.analysis-results p+p{margin-top:6px}.analysis-results .analysis-replace-note{color:var(--text-3);font-size:11px}.transcript-results{--material-xs:clamp(10px, calc(8px + .18vw), 12px);--material-sm:clamp(11px, calc(8px + .24vw), 14px);--material-md:clamp(13px, calc(9px + .28vw), 16px);--material-lg:clamp(15px, calc(10px + .32vw), 19px);border:1px solid var(--line);background:var(--surface-1);border-radius:16px;margin-top:16px;overflow:hidden;container:material-results/inline-size}.transcript-results-heading{justify-content:space-between;align-items:flex-start;gap:24px;padding:20px 22px 14px;display:flex}.transcript-results-heading h3{margin:0 0 5px;font-size:15px}.transcript-results-heading p{color:var(--muted);margin:0;font-size:11px;line-height:1.55}.transcript-results-heading>span{color:var(--text-2);flex:none;font-size:11px;font-weight:700}.review-filters{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--surface-1);align-items:flex-end;gap:10px;padding:12px 22px;display:flex}.review-filters label{gap:5px;min-width:150px;margin:0;display:grid}.review-filters label>span{color:var(--text-2);font-size:9px;font-weight:720}.review-filters select{box-sizing:border-box;border:1px solid var(--line);height:34px;color:var(--text-2);background:var(--surface-1);font:inherit;border-radius:8px;outline:none;padding:0 30px 0 10px;font-size:10px}.review-filters select:focus{border-color:var(--line-strong);box-shadow:0 0 0 3px #00000059}.review-filters>span{color:var(--text-3);margin:0 0 9px auto;font-size:9px;font-weight:680}.transcript-list-state{color:var(--muted);margin:0;padding:22px;font-size:12px}.transcript-list-state.has-error{color:var(--error)}.transcript-list{border-bottom:1px solid var(--line)}.transcript-item{border-top:1px solid var(--line)}.transcript-item:first-child{border-top:0}.transcript-item>summary{cursor:pointer;justify-content:space-between;align-items:flex-start;gap:24px;padding:15px 22px;list-style:none;display:flex}.transcript-item>summary::-webkit-details-marker{display:none}.transcript-item>summary:before{content:"›";color:var(--text-3);flex:none;margin-top:1px;font-size:19px;line-height:1;transition:transform .16s}.transcript-item[open]>summary:before{transform:rotate(90deg)}.transcript-item[open]>summary{background:var(--surface-2)}.transcript-item.status-failed>summary,.transcript-item.status-needs_review>summary{background:var(--accent-soft)}.transcript-item.user-reviewed>summary,.transcript-item.user-confirmed>summary,.transcript-item.user-priority>summary{background:var(--ok-soft)}.transcript-item.user-excluded>summary{background:var(--surface-2)}.transcript-item-main{flex:1;min-width:0}.transcript-item-main strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.transcript-item-main>span{color:var(--text-3);margin-top:3px;font-size:10px;display:block}.annotation-summary{flex-wrap:wrap;gap:5px;margin-top:7px;display:flex}.annotation-summary span{color:var(--text-2);background:var(--surface-2);border-radius:999px;padding:3px 6px;font-size:9px;font-weight:700}.transcript-item-main p{color:var(--text-2);text-overflow:ellipsis;white-space:nowrap;margin:7px 0 0;font-size:11px;line-height:1.5;overflow:hidden}.transcript-item-meta{color:var(--text-3);flex:none;align-items:center;gap:10px;font-size:10px;display:flex}.trip-day-badge{color:var(--text-2);font-weight:720}.user-state{color:var(--text-2);background:var(--surface-2);border-radius:999px;padding:4px 7px;font-weight:720}.user-state.state-reviewed,.user-state.state-confirmed,.user-state.state-priority{color:var(--text-2);background:var(--surface-2)}.user-state.state-excluded{color:var(--text-2);background:var(--danger-soft)}.user-state.state-discarded{color:var(--text-2);background:var(--accent-soft)}.transcript-status{color:var(--text-2);background:var(--surface-2);border-radius:999px;padding:4px 7px;font-weight:720}.status-failed .transcript-status{color:var(--danger);background:var(--danger-soft)}.status-needs_review .transcript-status{color:var(--accent);background:var(--accent-soft)}.user-reviewed .transcript-status,.user-confirmed .transcript-status,.user-priority .transcript-status{color:var(--text-2);background:var(--surface-2)}.user-excluded .transcript-status{color:var(--text-3);background:var(--surface-3)}.status-no_speech .transcript-status,.status-no_audio .transcript-status{color:var(--text-2);background:var(--accent-soft)}.transcript-item-body{border-top:1px solid var(--line);background:var(--surface-1);padding:17px 22px 19px 53px}.transcript-item-body>p{color:var(--text-2);margin:0;font-size:11px;line-height:1.6}.transcript-item-body .transcript-issue{border-left:3px solid var(--accent);color:var(--text-2);background:var(--accent-soft);border-radius:6px;margin-bottom:14px;padding:9px 11px}.transcript-segments{gap:0;margin:0 0 14px;padding:0;list-style:none;display:grid}.transcript-segments li{border-bottom:1px solid var(--line);grid-template-columns:72px minmax(0,1fr) 72px;gap:12px;padding:10px 0;display:grid}.transcript-segments time{color:var(--text-2);font-family:SFMono-Regular,Consolas,monospace;font-size:10px;font-weight:700}.transcript-seek{color:var(--text-2);text-align:left;cursor:pointer;background:0 0;border:0;padding:2px 0;font-family:SFMono-Regular,Consolas,monospace;font-size:10px;font-weight:740}.transcript-seek:hover{text-decoration:underline}.transcript-heading-actions{flex:none;align-items:center;gap:12px;display:flex}.transcript-discard{border-color:var(--danger);min-height:31px;color:var(--text-2);background:var(--surface-1);padding:6px 10px;font-size:9px}.transcript-discard:hover{border-color:var(--danger);background:var(--danger-soft)}.transcript-discard.restore{border-color:var(--line-strong);color:var(--text-2);background:var(--ok-soft)}.transcript-discarded-message{border:1px solid var(--accent);background:var(--accent-soft);border-radius:10px;padding:16px}.transcript-discarded-message strong{color:var(--text-2);font-size:11px}.transcript-discarded-message p{color:var(--text-3);margin:5px 0 0;font-size:10px;line-height:1.55}.transcript-segments p{color:var(--text-2);white-space:pre-wrap;margin:0;font-size:12px;line-height:1.55}.transcript-segments span{color:var(--text-3);text-align:right;font-size:9px}.transcript-pagination{justify-content:center;align-items:center;gap:14px;padding:14px 20px;display:flex}.transcript-pagination span{min-width:84px;color:var(--text-3);text-align:center;font-size:10px}.transcript-pagination .button{min-height:30px;padding:6px 11px;font-size:10px}.annotation-editor{gap:20px;display:grid}.annotation-workbench{grid-template-columns:minmax(260px,.9fr) minmax(340px,1.1fr);align-items:stretch;gap:18px;display:grid}.annotation-decision{flex-direction:column;justify-content:space-between;gap:16px;min-width:0;padding:4px 0;display:flex}.material-player{background:var(--surface-0);border-radius:13px;overflow:hidden}.material-player video{aspect-ratio:16/9;object-fit:contain;background:var(--surface-0);width:100%;max-height:min(48vh,440px);display:block}.material-player audio{box-sizing:border-box;width:100%;padding:18px;display:block}.material-player p{color:var(--text-3);background:var(--surface-0);margin:0;padding:9px 13px;font-size:9px;line-height:1.5}.annotation-intro{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.annotation-intro strong{color:var(--text-2);font-size:14px;display:block}.annotation-intro p{color:var(--muted);margin:4px 0 0;font-size:11px;line-height:1.5}.annotation-origin{flex-wrap:wrap;flex:none;justify-content:flex-end;gap:6px;display:flex}.annotation-origin span{color:var(--text-2);background:var(--surface-2);border-radius:999px;padding:5px 9px;font-size:9px;font-weight:720}.annotation-usage{border:0;min-width:0;margin:0;padding:0}.annotation-usage legend{color:var(--text-2);margin-bottom:8px;padding:0;font-size:10px;font-weight:760}.usage-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.usage-options label{border:1px solid var(--line);background:var(--surface-1);cursor:pointer;border-radius:10px;align-items:center;gap:9px;min-width:0;min-height:50px;padding:9px 10px;transition:border-color .15s,background .15s,box-shadow .15s;display:flex;position:relative}.usage-options label:hover{border-color:var(--line-strong)}.usage-options label.is-selected{border-color:var(--line-strong);background:var(--ok-soft);box-shadow:inset 0 0 0 1px #00000059}.usage-options input{width:15px;height:15px;accent-color:var(--surface-0);margin:0}.usage-options label>span{min-width:0}.usage-options strong,.usage-options small{display:block}.usage-options strong{color:var(--text-2);font-size:10px;line-height:1.3}.usage-options small{color:var(--text-3);text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:8px;line-height:1.35;overflow:hidden}.annotation-context-disclosure{border:1px solid var(--line);background:var(--surface-1);border-radius:11px;overflow:hidden}.annotation-context-disclosure>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:18px;padding:12px 14px;list-style:none;display:flex}.annotation-context-disclosure>summary::-webkit-details-marker{display:none}.annotation-context-disclosure>summary:before{content:"+";width:21px;height:21px;color:var(--text-2);background:var(--surface-2);border-radius:50%;flex:none;place-items:center;font-size:14px;font-weight:500;display:grid}.annotation-context-disclosure[open]>summary:before{content:"−"}.annotation-context-disclosure>summary>div{flex:1;min-width:0}.annotation-context-disclosure>summary strong,.annotation-context-disclosure>summary span{display:block}.annotation-context-disclosure>summary strong{color:var(--text-2);font-size:11px}.annotation-context-disclosure>summary div span{color:var(--text-3);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:9px;overflow:hidden}.annotation-context-disclosure>summary>span{color:var(--text-3);flex:none;font-size:9px}.disclosure-action .when-open,.annotation-context-disclosure[open] .disclosure-action .when-closed{display:none}.annotation-context-disclosure[open] .disclosure-action .when-open{display:block}.annotation-context{border-top:1px solid var(--line);gap:12px;display:grid}.annotation-context-disclosure .annotation-context{padding:13px 14px}.annotation-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.annotation-grid.compact{grid-template-columns:minmax(130px,1.25fr) minmax(130px,1.25fr) repeat(2,minmax(105px,.8fr));align-items:start;gap:9px}.annotation-field{gap:6px;min-width:0;display:grid}.annotation-field>span{color:var(--text-2);font-size:10px;font-weight:740}.annotation-field>span small{color:var(--text-3);margin-left:4px;font-size:9px;font-weight:500}.annotation-field>span .auto-label{color:var(--text-2);background:var(--surface-2);vertical-align:1px;border-radius:999px;margin-left:3px;padding:1px 4px;font-size:7px;font-weight:750;display:inline-block}.annotation-field input,.annotation-field select,.annotation-field textarea,.transcript-segments.editable textarea{box-sizing:border-box;border:1px solid var(--line);width:100%;color:var(--text);background:var(--surface-1);font:inherit;border-radius:8px;outline:none}.annotation-field input,.annotation-field select{height:39px;min-height:39px;padding:8px 10px;font-size:12px;font-weight:520}.annotation-field input[type=number]{appearance:textfield}.annotation-field input[type=number]::-webkit-inner-spin-button{appearance:none;margin:0}.annotation-field input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}.annotation-field textarea,.transcript-segments.editable textarea{resize:vertical;padding:9px 10px;line-height:1.55}.annotation-field input:focus,.annotation-field select:focus,.annotation-field textarea:focus,.transcript-segments.editable textarea:focus{border-color:var(--line-strong);box-shadow:0 0 0 3px #00000059}.annotation-field small{color:var(--text-3);text-align:right;font-size:9px}.day-input{box-sizing:border-box;border:1px solid var(--line);width:100%;height:39px;color:var(--text-3);background:var(--surface-1);border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;padding:0 10px;font-size:11px;display:grid}.day-input:focus-within{border-color:var(--line-strong);box-shadow:0 0 0 3px #00000059}.day-input input{width:100%;height:37px;min-height:0;box-shadow:none;text-align:center;border:0;padding:0 6px}.day-input input:focus{box-shadow:none;border:0}.annotation-note{border-top:1px solid var(--line);padding-top:11px}.annotation-note textarea{background:var(--surface-1);min-height:58px}.transcript-review{border-top:1px solid var(--line);min-width:0;padding-top:18px}.annotation-stale{color:var(--accent);background:var(--accent-soft);border-radius:8px;margin:0 0 12px;padding:9px 11px;font-size:10px;line-height:1.5}.transcript-review-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:10px;display:flex}.transcript-review-heading strong{color:var(--text-2);font-size:13px;display:block}.transcript-review-heading p{color:var(--muted);margin:3px 0 0;font-size:10px}.confirm-transcript{color:var(--text-2);cursor:pointer;flex:none;align-items:center;gap:7px;font-size:10px;display:flex}.transcript-segments.editable li{grid-template-columns:72px minmax(0,1fr) 82px;align-items:start}.transcript-segments.editable textarea{min-width:0;font-size:12px}.transcript-segments.editable .corrected{color:var(--text-2);font-weight:740}.transcript-segments.editable li.is-removed{border-bottom-color:var(--accent)}.transcript-segment-removed{box-sizing:border-box;border:1px dashed var(--line);background:var(--surface-1);border-radius:8px;min-height:58px;padding:10px 12px}.transcript-segment-removed strong,.transcript-segment-removed span{text-align:left;display:block}.transcript-segment-removed strong{color:var(--text-2);font-size:var(--material-sm)}.transcript-segment-removed span{color:var(--text-3);font-size:var(--material-xs);margin-top:4px}.transcript-segment-actions{justify-items:end;gap:8px;display:grid}.transcript-segment-actions>span{min-height:14px}.transcript-segment-remove{color:var(--danger);font:inherit;font-size:var(--material-xs);cursor:pointer;background:0 0;border:0;padding:2px 0}.transcript-segment-remove:hover{text-decoration:underline}.transcript-segment-remove.restore{color:var(--text-2);font-weight:700}.annotation-actions{justify-content:flex-end;align-items:center;gap:20px;min-height:30px;display:flex}.annotation-actions.has-changes{z-index:2;border-top:1px solid var(--line);background:var(--surface-1);justify-content:space-between;margin:0 -4px -4px;padding:10px 8px;position:sticky;bottom:0;box-shadow:0 -8px 20px #00000059}.annotation-actions>div{min-width:0}.annotation-actions p{margin:0;font-size:10px;line-height:1.5}.unsaved-hint{color:var(--accent);font-weight:700}.annotation-current{color:var(--text-2);font-size:9px;font-weight:700}.mark-reviewed{min-height:30px;padding:6px 10px;font-size:9px}.save-success{color:var(--text-2)}.load-transcript{justify-self:start}@media (width<=860px){.review-filters{flex-direction:column;align-items:stretch}.review-filters label{width:100%}.review-filters>span{margin:2px 0 0}.transcript-item-body{padding-left:22px}.annotation-workbench,.usage-options{grid-template-columns:minmax(0,1fr)}.annotation-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.annotation-grid{grid-template-columns:minmax(0,1fr)}.transcript-review-heading,.annotation-actions{flex-direction:column;align-items:stretch}.annotation-actions .button{align-self:flex-end}}@container material-results (width<=720px){.review-filters{flex-wrap:wrap;align-items:stretch}.review-filters label{flex:180px;min-width:0}.review-filters>span{flex:1 0 100%;margin:2px 0 0}.transcript-item>summary{flex-wrap:wrap;gap:10px 16px}.transcript-item-meta{flex-wrap:wrap;width:100%;margin-left:35px}.transcript-item-body{padding-left:22px}.annotation-workbench{grid-template-columns:minmax(0,1fr)}.annotation-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.transcript-review-heading{flex-direction:column;align-items:stretch}.transcript-heading-actions{flex-wrap:wrap;justify-content:space-between;width:100%}}@container material-results (width<=500px){.transcript-results-heading{gap:10px;padding-inline:16px}.review-filters,.transcript-item>summary{padding-inline:16px}.transcript-item-meta{margin-left:0}.transcript-item-body{padding-inline:16px}.usage-options,.annotation-grid.compact,.annotation-grid{grid-template-columns:minmax(0,1fr)}.annotation-intro{flex-direction:column}.annotation-origin{justify-content:flex-start}.transcript-heading-actions{flex-direction:column;align-items:stretch}.confirm-transcript{min-height:34px}.transcript-discard{align-self:flex-start}.transcript-segments.editable li{grid-template-columns:62px minmax(0,1fr)}.transcript-segment-actions{grid-column:2;grid-auto-flow:column;justify-content:space-between;justify-items:start}.annotation-actions{flex-direction:column;align-items:stretch}.annotation-actions .button{align-self:stretch}}.transcript-results-heading h3,.annotation-intro strong{font-size:var(--material-lg)}.transcript-review-heading strong{font-size:var(--material-md)}.transcript-results-heading p,.transcript-item-main strong,.transcript-item-main p,.annotation-field input,.annotation-field select,.transcript-segments.editable textarea{font-size:var(--material-sm)}.review-filters select,.transcript-item-main>span,.transcript-item-meta,.annotation-intro p,.annotation-usage legend,.usage-options strong,.annotation-context-disclosure>summary strong,.annotation-field>span,.transcript-review-heading p,.confirm-transcript,.transcript-discarded-message strong,.annotation-actions p,.review-filters label>span,.review-filters>span,.annotation-summary span,.user-state,.transcript-status,.usage-options small,.annotation-origin span,.annotation-context-disclosure>summary div span,.annotation-context-disclosure>summary>span,.annotation-field small,.material-player p,.transcript-seek,.transcript-segments span,.annotation-current,.mark-reviewed,.transcript-discard{font-size:var(--material-xs)}.inventory-results{border-color:var(--line-strong);background:var(--surface-1);overflow:hidden}.inventory-attention{color:var(--accent);margin:18px 22px 0;font-size:12px}.result-ready{color:var(--text-2);background:var(--surface-2);border-radius:999px;flex:none;padding:5px 8px;font-size:10px;font-weight:750}.inventory-counts{border:1px solid var(--line);background:var(--surface-1);border-radius:12px;grid-template-columns:repeat(3,1fr);margin:22px;display:grid}.inventory-counts>div{border-right:1px solid var(--line);padding:16px 18px}.inventory-counts>div:last-child{border-right:0}.inventory-counts strong{color:var(--text-2);letter-spacing:-.04em;margin-bottom:3px;font-size:22px;display:block}.inventory-counts .attention strong{color:var(--accent)}.inventory-counts span{color:var(--muted);font-size:11px}.asset-list{border-top:1px solid var(--line);background:var(--surface-1)}.asset-list>summary{cursor:pointer;list-style:none}.asset-list>summary::-webkit-details-marker{display:none}.asset-list-heading{justify-content:space-between;align-items:center;gap:20px;padding:15px 22px;display:flex}.asset-list-heading:before{content:"›";color:var(--text-3);flex:none;font-size:18px;transition:transform .16s}.asset-list[open] .asset-list-heading:before{transform:rotate(90deg)}.asset-list-heading>div{flex:1;min-width:0}.asset-list-heading strong,.asset-list-heading span{display:block}.asset-list-heading strong{font-size:12px}.asset-list-heading span{color:var(--muted);margin-top:2px;font-size:10px}.asset-list-heading>span{flex:none;margin:0;font-weight:700}.asset-list-content{border-top:1px solid var(--line)}.asset-row{border-top:1px solid var(--line-strong);grid-template-columns:30px minmax(0,1fr) minmax(150px,auto);align-items:center;gap:12px;min-height:59px;margin:0 10px;padding:9px 12px;display:grid}.asset-kind{width:27px;height:27px;color:var(--text-2);background:var(--surface-2);border-radius:7px;place-items:center;font-size:10px;font-weight:800;display:grid}.asset-kind.audio{color:var(--accent);background:var(--accent-soft)}.asset-kind.image{color:var(--text-2);background:var(--info-soft)}.asset-name{min-width:0}.asset-name strong,.asset-name span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.asset-name strong{margin-bottom:3px;font-size:12px}.asset-name span{color:var(--text-3);font-size:10px}.asset-detail{color:var(--text-3);justify-content:flex-end;gap:9px;font-size:10px;display:flex}.asset-row.needs_attention{border:1px solid var(--accent);background:var(--accent-soft);border-radius:9px;margin-top:4px}.asset-row.needs_attention+.asset-row.needs_attention{margin-top:3px}.asset-row.needs_attention .asset-detail strong{color:var(--danger);font-size:11px}.asset-limit{color:var(--muted);text-align:right;margin:0;padding:12px 22px 16px;font-size:10px}.system-card{align-items:center;gap:25px;min-height:260px;padding:48px;display:flex}.system-card h1{letter-spacing:-.04em;margin-bottom:12px;font-size:31px}.system-card p:last-of-type{color:var(--muted);line-height:1.6}.system-card code{border:1px solid var(--line);background:var(--surface-2);border-radius:8px;padding:7px 10px;font-family:SFMono-Regular,Consolas,monospace;font-size:13px;display:inline-block}.spinner{border:3px solid var(--line);border-top-color:var(--green);border-radius:50%;flex:none;width:38px;height:38px;animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important}.spinner,.small-spinner{animation:none}}.evidence-section>p{max-width:85ch;color:var(--muted);font-size:14px;line-height:1.65}.evidence-actions{flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0;display:flex}.evidence-item{border:1px solid var(--line);border-radius:12px;margin:12px 0;padding:16px}.evidence-item summary{cursor:pointer;font-weight:600}.evidence-item p{overflow-wrap:anywhere;font-size:14px;line-height:1.65}.evidence-frames{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.evidence-frames figure{margin:0}.evidence-frames img{object-fit:contain;background:var(--surface-0);border-radius:8px;width:100%;height:160px}.evidence-frames figcaption{padding:6px 0;font-size:.85rem}.evidence-consent{background:var(--accent-soft);color:var(--accent);border-radius:8px;padding:16px}.evidence-consent button+button{margin-left:12px}.evidence-observation{border-top:1px solid var(--line);margin-top:20px;padding-top:12px}.evidence-section progress{width:100%}.evidence-samples{border:1px solid var(--line);background:var(--surface-1);border-radius:12px;margin-top:18px}.evidence-samples>summary{cursor:pointer;color:var(--text-2);padding:14px 16px;font-size:12px;font-weight:720}.evidence-samples>div{border-top:1px solid var(--line);padding:0 16px 16px}.finishing-music-credit{border:1px solid var(--line);border-radius:12px;margin:1rem 0;padding:1.25rem}.finishing-music-credit h3 small{font-size:.85em;font-weight:400}.finishing-music-credit a{color:var(--ok);text-decoration:underline}.finishing-music-credit p{overflow-wrap:anywhere}.production-brief,.production-output{border:1px solid var(--line,var(--line));border-radius:18px;gap:1rem;padding:1.5rem;display:grid}.production-brief>label:not(.consent-check){font-weight:700}.production-brief textarea,.production-brief select,.production-brief input[type=number]{width:100%;font:inherit;border:1px solid var(--line-strong);background:var(--surface-1);color:inherit;border-radius:8px;padding:.8rem}.production-output video{background:var(--surface-0);border-radius:12px;width:100%;max-height:70vh}.production-workspace .consent-check{font-size:14px;line-height:1.6}.production-status-line{border:1px solid var(--line);background:var(--surface-1);border-radius:12px;align-items:center;gap:10px;padding:8px 12px;display:flex}.production-status-line p{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;margin:0;font-size:13px;overflow:hidden}.production-status-line small{color:var(--muted);margin-left:8px}.production-status-line .button{padding:5px 10px;font-size:12px}.production-status-dot{background:var(--muted);border-radius:50%;flex:none;width:8px;height:8px}.production-status-line.has-problem{border-color:var(--accent)}.production-status-line.has-problem .production-status-dot{background:var(--accent)}.production-status-line.is-active .production-status-dot{background:var(--accent);animation:1.4s ease-in-out infinite rv-pulse}.production-status-panel{border:1px solid var(--line);background:var(--surface-1);border-radius:18px;gap:18px;padding:24px;display:grid}.production-status-panel.has-problem{border-color:var(--accent);background:var(--surface-1)}.production-status-heading,.production-status-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.production-status-heading h3{margin:5px 0 0;font-size:23px;line-height:1.4}.production-status-panel p{margin:0;line-height:1.7}.production-status-panel .production-status-note,.production-status-footer,.production-activity p{color:var(--muted);font-size:13px}.production-elapsed{color:var(--muted);font-variant-numeric:tabular-nums;font-size:13px}.production-stages{grid-template-columns:repeat(7,minmax(0,1fr));margin:0;padding:0;list-style:none;display:grid}.production-stages li{text-align:center;color:var(--muted);justify-items:center;gap:6px;font-size:12px;line-height:1.35;display:grid;position:relative}.production-stages li:before{content:"";background:var(--line);width:100%;height:2px;position:absolute;top:6px;right:50%}.production-stages li:first-child:before{display:none}.production-stages li.is-done:before,.production-stages li.is-current:before,.production-stages li.is-stopped:before{background:var(--green)}.production-stage-dot{border:2px solid var(--line);background:var(--surface-1);box-sizing:border-box;border-radius:50%;width:14px;height:14px;position:relative}.production-stages li.is-done .production-stage-dot{background:var(--green);border-color:var(--green)}.production-stages li.is-current .production-stage-dot{border-color:var(--green);box-shadow:0 0 0 4px var(--green-soft);animation:1.6s ease-in-out infinite production-stage-pulse}.production-stages li.is-stopped .production-stage-dot{border-color:var(--accent);background:var(--accent-soft)}.production-stages li.is-done,.production-stages li.is-current,.production-stages li.is-stopped{color:var(--ink,inherit)}.production-stages li.is-current{font-weight:650}.production-stage-short{display:none}@media (width<=520px){.production-stage-name{display:none}.production-stage-short{display:inline}}@keyframes production-stage-pulse{50%{box-shadow:0 0 0 7px var(--green-soft)}}@media (prefers-reduced-motion:reduce){.production-stages li.is-current .production-stage-dot{animation:none}}.production-job{background:var(--green-soft);border-radius:10px;gap:7px;padding:14px 16px;display:grid}.production-job progress{width:100%;accent-color:var(--green)}.production-job span{color:var(--text-2);font-size:13px}.production-blockers{gap:6px;margin:4px 0 12px;padding-left:22px;line-height:1.6;display:grid}.production-ai-message{border-left:4px solid var(--accent);background:var(--surface-1);border-radius:8px;gap:6px;margin:0;padding:14px 16px;display:grid}.production-ai-message strong,.production-detail strong{font-size:14px}.production-ai-message p,.production-ai-text{white-space:pre-wrap;overflow-wrap:anywhere}.production-detail{gap:6px;margin-top:16px;display:grid}.production-more strong{font-size:14px;font-weight:650}.production-detail p{color:var(--muted);font-size:14px}.production-detail-footer{border-top:1px solid var(--line);justify-items:start;gap:10px;padding-top:12px;display:grid}.production-detail-footer .production-diagnostics{border-top:0;width:100%;padding-top:0}.production-diagnostics .button{margin-bottom:8px}.production-checks{border:1px solid var(--accent);background:var(--accent-soft);border-radius:12px;padding:16px}.production-checks p{color:var(--text-2);margin-top:6px;font-size:14px}.production-checks ul{gap:8px;margin:12px 0 0;padding-left:22px;line-height:1.6;display:grid}.production-activity,.production-diagnostics{border-top:1px solid var(--line);min-width:0;padding-top:14px}.production-status-panel summary{cursor:pointer;font-size:14px;font-weight:650}.production-activity ol{gap:10px;margin:14px 0;padding:0;list-style:none;display:grid}.production-activity li{grid-template-columns:85px minmax(0,1fr);gap:12px;font-size:14px;display:grid}.production-activity time{color:var(--muted);font-variant-numeric:tabular-nums}.production-diagnostics p{color:var(--muted);margin:12px 0;font-size:13px}.production-diagnostics pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface-2);border-radius:8px;max-height:320px;padding:14px;font-size:12px;overflow:auto}.production-connection-notice{border:1px solid var(--accent);background:var(--accent-soft);border-radius:12px;padding:18px 22px}.production-connection-notice p{line-height:1.6}.production-recovery-actions{flex-wrap:wrap;gap:10px;display:flex}.production-recovery-actions a.button{color:var(--green-dark);justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.production-more{border-top:1px solid var(--line);padding-top:12px}.production-more[open]{gap:16px;display:grid}.production-more>.button{justify-self:start;margin-top:12px}.production-more .production-checks,.production-more .production-activity{margin-top:16px}.production-editor>summary,.production-film-info>summary{cursor:pointer;font-size:14px;font-weight:650}.production-editor>summary{padding:16px 0}.production-film-info p{color:var(--muted);font-size:13px;line-height:1.7}.production-status-heading h3{margin:0}.home-main,.system-main,.workspace-main,.workspace-layout>*,.create-panel>*,.project-grid>*,.directory-card>*,.production-workspace>*,.production-editor,.production-brief>*,.production-output>*{min-width:0}.project-card,.sidebar-project strong,.production-workspace p,.production-workspace summary,.finishing-music-credit,.inline-message{overflow-wrap:anywhere}img,video,audio,select{max-width:100%}a.button{text-align:center;justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.production-more summary,.production-editor>summary,.production-film-info>summary,.legacy-workflow-navigation>summary{align-content:center;min-height:44px}.production-output,.production-status-panel{scroll-margin-top:84px}@media (width<=1100px){.workspace-main{width:calc(100% - 48px)}.workspace-layout{grid-template-columns:200px minmax(0,1fr);gap:20px}.materials-panel{padding:28px}.create-panel{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:28px;padding:32px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.panel-heading,.inventory-heading{flex-wrap:wrap;gap:16px}}@media (width<=900px){.text-button,.back-button{min-height:44px}.home-main,.system-main,.workspace-main{width:calc(100% - 40px)}.topbar{padding-inline:20px}.home-main{padding-top:40px}.workspace-layout{grid-template-columns:minmax(0,1fr);gap:20px}.create-panel{grid-template-columns:minmax(0,1fr)}.home-heading{gap:20px}.home-heading h1{font-size:44px}.home-heading .button{flex-shrink:0}.directory-title-row,.inventory-progress,.planning-start,.plan-review-callout,.analysis-heading,.analysis-card.scope-preview{flex-wrap:wrap}.evidence-frames{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.home-main,.system-main,.workspace-main{width:calc(100% - 24px)}.topbar{height:60px;padding-inline:16px}.connection-badge{min-height:32px;font-size:12px}.home-main{padding-block:32px 48px}.workspace-main{padding-block:12px 48px}.system-main{padding-block:32px}.home-heading{flex-direction:column;align-items:stretch;gap:20px;margin-bottom:24px}.home-heading h1{font-size:36px;line-height:1.15}.home-heading p:last-child{font-size:15px}.project-grid{grid-template-columns:minmax(0,1fr)}.project-card{min-height:180px;padding:20px}.create-panel,.system-card{gap:20px;padding:20px}.system-card{flex-direction:column;align-items:flex-start;min-height:0}.system-card h1{font-size:25px}.system-card code{overflow-wrap:anywhere;max-width:100%}.materials-panel{border-radius:16px;padding:20px 14px}.workspace-layout{gap:12px}.panel-heading{flex-direction:column;gap:12px;margin-bottom:20px}.panel-heading h1{font-size:29px;line-height:1.2}.section-title-row,.form-footer,.directory-title-row,.inventory-heading,.analysis-heading,.stage-next,.danger-actions,.preview-render-heading,.planning-start,.plan-review-callout{flex-direction:column;align-items:stretch;gap:12px}.button{white-space:normal;max-width:100%;min-height:44px;line-height:1.5}.text-button{min-height:44px}.form-actions,.directory-actions{flex-wrap:wrap;gap:8px}.form-actions .button,.production-recovery-actions .button{flex:120px}.stage-next .button,.inventory-heading>.button{width:100%;margin-top:0}input:not([type=checkbox]):not([type=radio]),textarea,select{min-width:0;font-size:16px}.directory-card{grid-template-columns:30px minmax(0,1fr);gap:12px;padding:14px}.directory-icon{width:28px;height:25px}.availability{align-self:flex-start}.selected-path{padding:10px}.selected-path span{white-space:normal;overflow-wrap:anywhere}.scope-note{padding:16px}.inventory-counts{grid-template-columns:repeat(3,minmax(0,1fr));margin:16px 12px}.inventory-counts>div{padding:12px 8px}.inventory-counts strong{font-size:20px}.asset-list-heading{gap:10px;padding:14px}.asset-row{grid-template-columns:28px minmax(0,1fr);gap:8px;margin-inline:4px;padding:12px 8px}.asset-detail{flex-wrap:wrap;grid-column:2;justify-content:flex-start}.asset-list-heading>span{overflow-wrap:anywhere;max-width:50%}.danger-zone{padding:16px}.production-workspace{gap:16px}.production-status-panel,.production-brief,.production-output{border-radius:12px;gap:14px;padding:16px}.production-status-heading h3{font-size:20px}.production-brief textarea{min-height:140px}.production-workspace .consent-check{font-size:13px}.production-output video{object-fit:contain;width:100%;max-height:60svh;display:block}.production-activity li{grid-template-columns:64px minmax(0,1fr);gap:8px;font-size:13px}.production-diagnostics pre{max-width:100%;font-size:11px}.skill-grid,.planning-estimate,.blueprint-controls,.annotation-grid.compact{grid-template-columns:minmax(0,1fr)}.review-filters{flex-wrap:wrap}.review-filters label{min-width:0}.evidence-frames img{height:110px}.provider-notice{gap:12px;margin-inline:12px;padding:14px}}.font-style-picker{min-width:0}.font-style-picker select{width:100%}.font-style-picker p{color:var(--muted);margin:8px 0;font-size:13px;line-height:1.6}.font-style-picker img{border-radius:8px;width:min(100%,560px);height:auto;display:block}.production-workbench{border:1px solid var(--line);border-radius:18px;gap:18px;min-width:0;padding:24px;display:grid}.production-workbench fieldset,.production-music-picker{border:1px solid var(--line);border-radius:12px;gap:14px;min-width:0;padding:18px;display:grid}.production-workbench label{gap:8px;min-width:0;display:grid}.production-workbench input,.production-workbench select,.production-workbench textarea,.production-music-picker select{font:inherit;max-width:100%}.production-workbench select,.production-music-picker select{width:100%;padding:10px}.production-music-picker input[type=file]{height:auto;padding:10px}.workbench-tabs{flex-wrap:wrap;gap:8px;display:flex}.production-workbench pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow:auto}.production-workbench .consent-check{align-items:start;gap:8px;display:flex}@media (width<=640px){.production-workbench{padding:14px}}.prompt-history{gap:10px;min-width:0;display:grid}.prompt-history .workbench-tabs{align-items:center}.prompt-history ol{gap:12px;max-height:420px;padding:0;list-style:none;display:grid;overflow:auto}.prompt-history li{background:var(--surface-1);border:1px solid var(--line);border-radius:10px;padding:14px}.prompt-history li>div{gap:4px;display:grid}.prompt-history li span{color:var(--muted);font-size:12px}.prompt-history li p{white-space:pre-wrap;overflow-wrap:anywhere}.workbench-preview-canvas{background:var(--surface-0);width:100%;position:relative;overflow:hidden}.workbench-preview-canvas.is-movable{cursor:move;touch-action:none}.workbench-preview-canvas img,.workbench-preview-canvas video{object-fit:contain;width:100%;height:100%;display:block}.workbench-preview-canvas img{-webkit-user-select:none;user-select:none}.workbench-frame-placeholder{color:#fff;place-content:center;height:100%;padding:24px 12px;display:grid}[hidden]{display:none!important}body{background:var(--bg)}button,input,textarea,select{font:inherit}button,a,summary,input,select,textarea{-webkit-tap-highlight-color:transparent}button svg,a svg{flex-shrink:0}button:disabled{cursor:not-allowed}.topbar{background:var(--surface-1);border-bottom:1px solid var(--line);-webkit-backdrop-filter:none;backdrop-filter:none;height:72px;padding-inline:36px}.brand{letter-spacing:-.8px;align-items:center;gap:10px;font-size:24px;font-weight:750;display:inline-flex}.brand-mark{background:var(--studio-dark);color:var(--text);border-radius:9px;place-items:center;width:34px;height:34px;display:grid;transform:rotate(-6deg)}.brand-studio{letter-spacing:2px;color:var(--text-3);border-left:1px solid var(--line);margin-left:4px;padding-left:12px;font-size:9px;font-weight:600}.connection-badge{border:1px solid var(--line);background:var(--surface-1);color:var(--text-2);box-shadow:none;font-size:12px;font-weight:500}.connection-badge.is-ready{border-color:var(--line);color:var(--text-2);background:var(--surface-1)}.home-heading{align-items:center;margin-bottom:36px}.home-heading h1{letter-spacing:-1.8px;font-size:clamp(34px,4vw,48px);font-weight:700;line-height:1.25}.home-heading p:last-child{max-width:540px;font-size:15px}.eyebrow{color:var(--text-3);letter-spacing:1.8px;font-size:10px;font-weight:650}.button{border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:10px 16px;font-size:13px;font-weight:600;line-height:1.5;text-decoration:none;display:inline-flex}.button.primary{color:var(--text);background:var(--green);box-shadow:0 3px 6px #00000059}.button.secondary:hover:not(:disabled){border-color:var(--line-strong);background:var(--surface-1)}.button.ghost:hover:not(:disabled){background:var(--surface-2)}.button:disabled{opacity:.42;box-shadow:none}input,textarea,select{border:1px solid var(--line);color:var(--ink);background:var(--surface-1);border-radius:8px;font-size:14px}input{height:43px}select{padding:10px 12px}input:focus,textarea:focus,select:focus{background:var(--surface-1);border-color:var(--danger);outline:none;box-shadow:0 0 0 3px #00000059}input[type=checkbox],input[type=radio],input[type=range],progress{accent-color:var(--green)}input[type=range]{height:28px;min-height:28px;box-shadow:none;background:0 0;border:0;padding:0}input[type=file]::file-selector-button{background:var(--surface-2);color:var(--text-2);font:inherit;border:0;border-radius:5px;margin-right:10px;padding:6px 10px}label{color:var(--text-2);font-size:12px;font-weight:600}textarea{line-height:1.75}summary{color:var(--text-2);cursor:pointer;padding:10px 0;font-size:13px}summary:hover{color:var(--green)}legend{color:var(--text-2);padding-inline:8px;font-size:12px;font-weight:600}.empty-projects,.create-panel,.system-card{background:var(--surface-1);border-radius:16px;box-shadow:0 8px 30px #00000059}.project-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;display:grid}.project-card{background:var(--surface-1);border:1px solid var(--line);border-radius:12px;flex-direction:column;align-items:start;gap:8px;min-height:270px;padding:0 22px 20px;display:flex;position:relative;overflow:hidden;box-shadow:0 3px 8px #00000059}.project-card:hover{border-color:var(--line);transform:translateY(-3px);box-shadow:0 8px 24px #00000059}.project-cover{width:calc(100% + 44px);height:154px;color:var(--text-3);background:var(--surface-0);flex-direction:column;justify-content:center;align-items:center;gap:12px;margin:0 -22px 12px;display:flex}.project-card:nth-child(3n+2) .project-cover,.project-card:nth-child(3n+3) .project-cover{background-color:var(--surface-0);color:var(--text-3)}.project-cover>span{letter-spacing:3px;font-size:8px}.project-card>strong{letter-spacing:-.5px;font-size:19px;font-weight:650}.project-next{color:var(--text-3);font-size:12px}.project-time{color:var(--text-3);margin-top:10px;font-size:11px;position:static}.workspace-main{width:min(1800px,100% - 64px);padding-top:18px}.workspace-layout{grid-template-columns:210px minmax(0,1fr);align-items:start;gap:28px}.materials-panel{background:var(--surface-1);border:1px solid var(--line);border-radius:14px;padding:30px;box-shadow:0 5px 20px #00000059}.materials-panel:has(.production-workspace){box-shadow:none;background:0 0;border:0;padding:0}.panel-heading h1{letter-spacing:-1px;font-size:31px;font-weight:650}.panel-heading p:not(.eyebrow){color:var(--muted);max-width:630px;font-size:13px}.directory-card,.inventory-section,.asset-list{border-color:var(--line);background:var(--surface-1);border-radius:10px}.directory-card{background:var(--surface-1)}.directory-icon{border-color:var(--line-strong)}.selected-path{background:var(--surface-2);border-color:var(--line)}.scope-note{background:var(--surface-2);color:var(--text-2);border-color:var(--line)}.save-state{color:var(--text-3);font-size:11px}.stage-next{background:var(--surface-1);border-color:var(--line)}.production-workspace{gap:20px}.studio-view-nav{border-bottom:1px solid var(--line);scrollbar-width:none;gap:4px;margin-bottom:2px;display:flex;overflow-x:auto}.studio-view-nav button{color:var(--text-3);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;justify-content:center;align-items:center;gap:8px;padding:14px 18px;font-size:13px;display:inline-flex}.studio-view-nav button:hover{color:var(--text-2)}.studio-view-nav button[aria-pressed=true]{color:var(--danger);border-bottom-color:var(--danger);font-weight:650}.production-status-panel{border:1px solid var(--line);background:var(--surface-1);box-shadow:none;border-radius:10px;gap:8px;padding:16px 20px}.production-status-heading h3{letter-spacing:0;align-items:center;gap:9px;margin:0;font-size:14px;display:flex}.production-status-heading h3:before{content:"";background:var(--surface-0);border-radius:50%;flex-shrink:0;width:7px;height:7px}.production-status-panel>p{color:var(--muted);margin:2px 0;font-size:12px}.production-status-panel.has-problem{background:var(--surface-1);border-color:var(--accent)}.production-status-panel.has-problem h3:before{background:var(--danger)}.production-recovery-actions:empty{display:none}.production-status-panel .production-more>summary{padding:0;font-size:11px}.production-status-panel .production-more{margin-top:3px}.studio-screen{background:var(--surface-1);border:1px solid var(--line);border-radius:12px;gap:18px;padding:24px}.screen-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.screen-heading h3{letter-spacing:-.5px;margin:4px 0 0;font-size:20px;font-weight:650}.studio-section-number{color:var(--text-3);letter-spacing:1.5px;font-size:9px;font-weight:600}.studio-version{font-variant-numeric:tabular-nums;color:var(--text-3);border:1px solid var(--line);border-radius:6px;padding:5px 10px;font-size:11px}.production-output video{background:var(--surface-0);object-fit:contain;border:0;border-radius:8px;width:100%;max-height:65vh;display:block}.screen-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.screen-actions>span{color:var(--text-3);align-items:center;gap:7px;margin-right:auto;font-size:11px;display:flex}.production-film-info{border-top:1px solid var(--line);padding-top:6px}.production-film-info p{color:var(--muted);font-size:12px}.production-editor{border:1px solid var(--line);background:var(--surface-1);border-radius:12px;padding:6px 24px 24px}.production-editor>summary{color:var(--text-2);padding-block:18px;font-size:15px;font-weight:650}.production-brief{background:var(--surface-1);border:0;gap:14px;padding:10px 0 0}.production-brief>p{font-size:12px}.production-workbench{background:var(--surface-1);border-color:var(--line);border-radius:12px;gap:20px;padding:24px}.production-workbench>fieldset{border:0;gap:20px;margin:0;padding:0}.production-workbench>fieldset>legend{display:none}.production-workbench fieldset legend{color:var(--text-3);font-size:11px;font-weight:500}.workbench-tabs{gap:8px}.workbench-tabs[aria-label=編輯內容]{background:var(--surface-2);border-radius:9px;gap:5px;width:fit-content;max-width:100%;padding:5px}.workbench-tabs[aria-label=編輯內容] .button{color:var(--text-3);min-height:35px;box-shadow:none;background:0 0;padding:7px 12px;font-size:12px}.workbench-tabs[aria-label=編輯內容] .button[aria-pressed=true]{background:var(--surface-1);color:var(--text-2);box-shadow:0 1px 4px #00000059}.workbench-preview-canvas{background:var(--surface-0);border-radius:5px}.production-workbench>fieldset>details{border-top:1px solid var(--line);padding-top:8px}.production-music-picker{background:var(--surface-1);border-color:var(--line);border-radius:9px}.prompt-history{gap:4px}.prompt-history .workbench-tabs>span,.prompt-draft-hint{color:var(--text-3);font-size:11px}.prompt-history .button{min-height:34px;font-size:11px}.prompt-history li{background:var(--surface-1);border-color:var(--line);border-radius:8px;padding:14px 16px}.prompt-history li span{font-size:10px}.consent-check{color:var(--text-3);font-size:11px;font-weight:400;line-height:1.7}.inline-message{border-radius:8px;font-size:12px}.production-workspace .consent-check{font-size:12px}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}@media (width<=1180px){.workspace-main{width:calc(100% - 40px)}.workspace-layout{grid-template-columns:175px minmax(0,1fr);gap:20px}.production-workbench{padding:20px}}@media (width<=980px){.workspace-layout{grid-template-columns:minmax(0,1fr)}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.workbench-tabs[aria-label=編輯內容]{width:100%}.workbench-tabs[aria-label=編輯內容] .button{flex:60px;gap:5px;padding-inline:7px;font-size:11px}.workbench-tabs[aria-label=編輯內容] .button svg{width:14px}}@media (width<=600px){.topbar{height:60px;padding-inline:16px}.brand{gap:8px;font-size:22px}.brand-studio{display:none}.brand-mark{width:30px;height:30px}.home-main,.workspace-main{width:calc(100% - 28px)}.home-main{padding-block:32px}.home-heading{align-items:stretch}.home-heading h1{font-size:34px}.home-heading p:last-child{font-size:13px}.project-grid{grid-template-columns:minmax(0,1fr);gap:16px}.project-cover{height:140px}.workspace-main{padding-top:10px}.workspace-layout{gap:20px}.materials-panel{padding:20px 16px}.studio-view-nav{gap:0}.studio-view-nav button{flex:1 0 auto;gap:5px;padding:12px 9px;font-size:11px}.studio-view-nav button svg{width:15px}.production-status-panel{padding:14px 16px}.production-workspace{gap:16px}.studio-screen,.production-workbench{border-radius:10px;padding:16px}.screen-heading h3{font-size:18px}.studio-version{padding:4px 7px;font-size:10px}.screen-actions{gap:8px}.screen-actions>span{flex-basis:100%}.screen-actions .button{flex:1;font-size:12px}.production-editor{padding:0 16px 16px}.production-workbench>fieldset{gap:16px}.production-workspace .consent-check{font-size:11px}}.project-card>strong{margin-bottom:0}.production-status-panel:not(.has-problem):not(.is-active){grid-template-columns:minmax(0,1fr) auto;gap:4px 24px}.production-status-panel:not(.has-problem):not(.is-active)>.production-status-heading,.production-status-panel:not(.has-problem):not(.is-active)>p{grid-column:1}.production-status-panel:not(.has-problem):not(.is-active)>.production-more:not([open]){border:0;grid-area:1/2/3;align-self:center;margin:0;padding:0}.production-status-panel:not(.has-problem):not(.is-active)>.production-more[open]{grid-column:1/-1}.workbench-content{gap:20px;min-width:0;display:grid}.workbench-content>fieldset{border:0;gap:20px;margin:0;padding:0}.workbench-content>fieldset>legend{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}@media (width<=600px){.production-status-panel:not(.has-problem):not(.is-active){gap:6px}.production-status-panel:not(.has-problem):not(.is-active)>.production-more:not([open]){grid-area:auto/1/auto/-1}.workbench-content,.workbench-content>fieldset{gap:16px}}.studio-heading p:last-child,.workbench-heading p,.prompt-history .workbench-tabs>span,.prompt-draft-hint,.production-workspace .consent-check,.studio-version,.prompt-history li span,.screen-actions>span{color:var(--text-3)}.workbench-heading p,.prompt-draft-hint{font-size:12px}@media (width<=600px){.button,.workbench-tabs[aria-label=編輯內容] .button{min-height:44px}.production-workbench input:not([type=range]):not([type=checkbox]):not([type=radio]),.production-workbench textarea,.production-workbench select,.production-brief input:not([type=checkbox]):not([type=radio]),.production-brief textarea,.production-brief select{font-size:16px}.production-workspace .consent-check{font-size:12px}.workbench-tabs[aria-label=編輯內容] .button{white-space:nowrap;flex-direction:column;gap:3px}.workbench-tabs[aria-label=編輯內容] .button svg{width:16px}}.template-library{min-width:0;padding-block:16px}.template-library-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;display:flex}.template-library-heading h3{letter-spacing:-.8px;margin:6px 0 8px;font-size:25px;font-weight:650}.template-library-heading p{color:var(--muted);margin:0;font-size:12px}.template-library-heading>svg{color:var(--accent);flex-shrink:0}.template-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.template-toolbar>input{max-width:260px;min-height:40px;font-size:12px}.template-categories{flex-wrap:wrap;gap:5px;display:flex}.template-categories button{min-height:40px;color:var(--text-3);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;padding:8px 12px;font-size:12px}.template-categories button[aria-pressed=true]{color:var(--danger);background:var(--accent-soft);border-color:var(--accent);font-weight:600}.template-categories button:hover{background:var(--surface-2)}.template-result-count{color:var(--text-3);margin:14px 0;font-size:11px}.template-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.template-card{border:1px solid var(--line);background:var(--surface-1);border-radius:11px;min-width:0;transition:box-shadow .18s,border-color .18s;overflow:hidden}.template-card:hover{border-color:var(--line);box-shadow:0 6px 20px #00000059}.template-card.is-selected{border-color:var(--accent);box-shadow:0 0 0 1px #00000059}.template-cover{background:var(--surface-2);cursor:pointer;aspect-ratio:16/9;border:0;width:100%;padding:0;display:block;position:relative}.template-cover img{object-fit:cover;width:100%;height:100%;display:block}.template-play{color:#fff;background:var(--info);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--line);border-radius:5px;align-items:center;gap:5px;padding:4px 7px;font-size:10px;display:inline-flex;position:absolute;bottom:9px;right:9px}.template-selected{color:var(--text);background:var(--danger);border-radius:5px;align-items:center;gap:4px;padding:4px 7px;font-size:10px;display:inline-flex;position:absolute;top:9px;right:9px}.template-card-body{padding:16px}.template-category{color:var(--text-3);font-size:10px}.template-card h4{letter-spacing:-.3px;margin:4px 0 6px;font-size:16px;font-weight:650}.template-card-body>p{color:var(--text-3);min-height:38px;margin-bottom:12px;font-size:12px}.template-tags{flex-wrap:wrap;gap:5px;display:flex}.template-tags span{background:var(--surface-2);color:var(--text-3);border-radius:4px;padding:3px 6px;font-size:10px}.template-card-actions{justify-content:space-between;align-items:center;gap:8px;margin-top:16px;display:flex}.template-card-actions .button{min-height:34px;padding:7px 12px;font-size:11px}.template-card-actions .button:disabled{opacity:.7}.template-library>.prompt-draft-hint{margin-top:18px}.template-customize{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding-block:5px}.template-customize[open]{gap:12px;padding-bottom:16px;display:grid}.template-empty{text-align:center;border:1px dashed var(--line);color:var(--text-3);border-radius:12px;padding:40px 20px}.template-empty p{margin-block:10px 16px;font-size:13px}.template-dialog{border:1px solid var(--line);width:min(900px,100vw - 32px);max-height:calc(100dvh - 32px);color:var(--ink);background:var(--surface-1);border-radius:16px;margin:auto;padding:24px;position:fixed;inset:0;overflow-y:auto;box-shadow:0 24px 100px #00000059}.template-dialog::backdrop{background:var(--info);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.template-dialog-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;display:flex}.template-dialog-heading h3{letter-spacing:-.5px;margin:4px 0 0;font-size:25px}.template-dialog video{aspect-ratio:16/9;background:var(--surface-0);object-fit:contain;border-radius:9px;width:100%;max-height:50dvh;display:block}.template-dialog-copy{justify-content:space-between;align-items:end;gap:28px;margin-top:20px;display:flex}.template-dialog-copy h4{margin:0 0 8px;font-size:14px}.template-dialog-copy p{color:var(--text-3);margin:8px 0;font-size:12px}.template-dialog-copy>.button{flex-shrink:0}.template-sample-chapters{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px;display:grid}.template-sample-chapters span{border-top:2px solid var(--line);color:var(--text-2);padding-top:8px;font-size:11px}@media (width<=1180px){.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.template-library-heading h3{font-size:21px}.template-library-heading>svg{display:none}.template-toolbar{gap:10px}.template-toolbar>input{width:100%;max-width:none;font-size:16px}.template-categories{gap:3px}.template-categories button{min-height:44px;padding-inline:9px;font-size:11px}.template-grid{grid-template-columns:minmax(0,1fr);gap:16px}.template-card-actions .button{min-height:44px;font-size:12px}.template-dialog{border-radius:12px;padding:16px}.template-dialog-heading h3{font-size:21px}.template-dialog-copy{flex-direction:column;align-items:stretch;gap:12px}.template-dialog-copy>.button{width:100%}.template-sample-chapters{grid-template-columns:repeat(2,minmax(0,1fr))}}.skill-library{margin-top:40px}.skill-library .section-title-row{align-items:flex-start}.skill-library .section-title-row>div>p{max-width:620px;line-height:1.6}.skill-grid{grid-template-columns:repeat(3,1fr);gap:15px;display:grid}.skill-card{border:1px solid var(--line);background:var(--paper);border-radius:14px;flex-direction:column;gap:8px;padding:18px;display:flex}.skill-card h3{letter-spacing:-.02em;margin:0;font-size:18px}.skill-card p{color:var(--muted);margin:0;font-size:13px;line-height:1.55}.skill-card.is-invalid{border-color:var(--danger);background:var(--surface-2)}.skill-actions,.skill-confirm{flex-wrap:wrap;align-items:center;gap:8px;margin-top:auto;padding-top:6px;display:flex}.skill-confirm p{color:var(--ink);flex-basis:100%}.button.danger{color:#fff;background:var(--error)}@media (width<=900px){.skill-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=640px){.skill-grid{grid-template-columns:1fr}.skill-library .section-title-row{flex-direction:column;align-items:stretch}}.skill-picker{margin:4px 0 18px}.skill-picker-heading h3{letter-spacing:-.02em;margin:4px 0 6px;font-size:20px}.skill-picker-heading p{color:var(--muted);margin:0 0 12px;font-size:13px;line-height:1.55}.skill-picker .skill-card.is-selected{border-color:var(--green);box-shadow:0 0 0 2px var(--green-soft)}.skill-picker-active{margin:0 0 14px;font-size:14px}.skill-picker-mine{margin-bottom:18px}.skill-picker-mine h4{margin:0 0 10px;font-size:14px}.skill-picker-basic{color:var(--muted);margin:14px 0 0;font-size:13px}.link-button{color:var(--green);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.link-button:disabled{opacity:.5;cursor:default}.provider-badge{position:relative}.provider-badge>summary{cursor:pointer;list-style:none}.provider-badge>summary::-webkit-details-marker{display:none}.provider-quota-pill{background:var(--ok-soft);font-variant-numeric:tabular-nums;border-radius:999px;padding:1px 7px;font-style:normal;font-weight:600}.connection-badge.is-low{border-color:var(--accent);color:var(--accent);background:var(--surface-1)}.connection-badge.is-low .provider-quota-pill{background:var(--danger-soft)}.provider-popover{z-index:40;border:1px solid var(--line);background:var(--surface-1);border-radius:12px;gap:10px;width:min(320px,100vw - 32px);padding:16px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 12px 32px #00000059}.provider-popover dl{gap:10px;margin:0;display:grid}.provider-popover dl>div{grid-template-columns:72px minmax(0,1fr);gap:10px;font-size:13px;display:grid}.provider-popover dt{color:var(--muted)}.provider-popover dd{overflow-wrap:anywhere;gap:4px;margin:0;display:grid}.provider-popover meter{width:100%;height:8px}.provider-popover p{color:var(--muted);margin:0;font-size:12px;line-height:1.6}@media (width<=520px){.provider-quota-pill{display:none}}.workbench-provider-switch{border-left:3px solid var(--accent);background:var(--accent-soft);color:var(--accent);border-radius:6px;margin:0;padding:10px 12px;font-size:14px;line-height:1.6}.workbench-versions-note{color:var(--muted);margin:8px 0;font-size:13px}.workbench-versions{gap:6px;max-height:320px;margin:8px 0 12px;padding:0;list-style:none;display:grid;overflow:auto}.workbench-versions li label{border:1px solid var(--line);cursor:pointer;border-radius:8px;align-items:flex-start;gap:10px;padding:8px 10px;display:flex}.workbench-versions li.is-current label{background:var(--green-soft);cursor:default}.workbench-versions li span{gap:2px;min-width:0;display:grid}.workbench-versions li strong{font-size:14px;font-weight:600}.workbench-versions li em{color:var(--green);font-size:12px;font-style:normal}.workbench-versions li small{color:var(--muted);overflow-wrap:anywhere;font-size:12px}.workbench-versions li.is-ai_partial strong{color:var(--accent)}.film-version-bar{border:1px solid var(--line);background:var(--surface-1);border-radius:10px;flex-wrap:wrap;align-items:center;gap:12px;padding:8px 12px;font-size:13px;display:flex}.film-version-bar.is-draft{border-color:var(--accent)}.film-version-now strong{margin-left:2px}.film-version-bar.is-draft .film-version-now strong{color:var(--accent)}.film-version-now small{color:var(--muted);margin-left:8px}.film-version-why{min-width:12em;color:var(--muted);flex:1}.film-version-bar .button{padding:5px 10px;font-size:12px}.power-notice,.production-slept{border-left:3px solid var(--accent);background:var(--accent-soft);color:var(--accent);border-radius:6px;margin:0;padding:10px 12px;font-size:13px;line-height:1.6}.power-notice{font-weight:400}.power-notice strong{font-weight:650}.review-notes{gap:14px;min-width:0;display:grid}.review-notes-heading{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.review-notes-heading h4{margin:0;font-size:15px;font-weight:600}.review-player{background:var(--surface-0);border-radius:10px;gap:10px;padding:12px;scroll-margin-top:80px;display:grid}.review-player video{background:var(--surface-0);border-radius:6px;width:100%;max-height:56vh;display:block}.review-player .prompt-draft-hint{color:var(--text-3)}.review-frame{color:var(--text-3);gap:8px;display:grid}.review-frame label{font-variant-numeric:tabular-nums;font-size:12px}.review-mark-bar{flex-wrap:wrap;align-items:center;gap:10px 14px;display:flex}.review-mark-bar .button{font-variant-numeric:tabular-nums}.review-step{gap:6px;display:inline-flex}.review-note-form{background:var(--surface-1);border:1px solid var(--accent)!important}.review-note-form legend{font-variant-numeric:tabular-nums;padding:0 6px;font-weight:600}.review-chips{flex-wrap:wrap;gap:6px;display:flex}.review-chip{font:inherit;border:1px solid var(--line);background:var(--surface-1);color:var(--ink);cursor:pointer;border-radius:999px;min-height:34px;padding:6px 12px;font-size:13px}.review-chip[aria-checked=true]{border-color:var(--green);background:var(--green-soft);color:var(--green-dark);font-weight:600}.review-chip.is-remove[aria-checked=true]{border-color:var(--danger);background:var(--danger-soft);color:var(--danger)}.review-chip.is-keep[aria-checked=true]{border-color:var(--ok);background:var(--ok-soft);color:var(--ok)}.review-target{color:var(--muted);margin:0;font-size:13px}.review-range summary{color:var(--muted);cursor:pointer;font-size:13px}.review-range p{color:var(--muted);font-size:12px}.review-range input{width:9em}.review-range .workbench-tabs{align-items:end}.review-note-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.review-note-list li{border:1px solid var(--line);background:var(--surface-1);overflow-wrap:anywhere;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:12px;padding:12px 14px;display:grid}.review-note-list strong{flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;font-weight:600;display:flex}.review-note-list p{white-space:pre-wrap;margin:6px 0 0;font-size:13px}.review-note-list small{color:var(--muted);margin-top:6px;font-size:12px;display:block}.review-note-time{font:inherit;font-variant-numeric:tabular-nums;color:var(--green);cursor:pointer;text-align:left;background:0 0;border:0;min-width:3.4em;padding:2px 0;font-size:13px;font-weight:600}.review-note-time:disabled{color:var(--muted);cursor:default}.review-kind{background:var(--green-soft);color:var(--green-dark);border-radius:999px;padding:2px 8px;font-size:11px;font-weight:600}.review-kind.is-remove{background:var(--danger-soft);color:var(--danger)}.review-kind.is-keep{background:var(--ok-soft);color:var(--ok)}.review-note-actions{gap:4px;display:flex}.review-stale{border:1px dashed var(--line);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-size:13px;display:flex}.review-stale p{color:var(--muted);margin:0}.review-prompt summary,.review-sent summary,.workbench-versions-panel summary,.workbench-export summary,.workbench-components summary{cursor:pointer;font-size:13px;font-weight:600}.review-prompt pre,.review-sent pre{font:inherit;background:var(--surface-1);border:1px solid var(--line);border-radius:8px;padding:12px;font-size:13px;line-height:1.7}.review-sent ol{font-size:13px;line-height:1.7}.review-sent,.workbench-versions-panel,.workbench-export,.workbench-components{border-top:1px solid var(--line);gap:10px;padding-top:12px;display:grid}.workbench-export p,.workbench-components p{color:var(--muted);margin:0;font-size:13px}.workbench-components ol{gap:8px;margin:0;padding:0;list-style:none;display:grid}.workbench-components li{grid-template-columns:3.5em minmax(0,1.2fr) minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.workbench-components .component-time{font-family:var(--mono);color:var(--muted);font-size:12px}@media (width<=640px){.workbench-components li{grid-template-columns:3.5em minmax(0,1fr) auto}.workbench-components li input:nth-of-type(2){grid-column:2/3}}.resolve-result{background:var(--paper);border-radius:10px;gap:8px;padding:12px 14px;font-size:13px;display:grid}.resolve-result p{overflow-wrap:anywhere}.resolve-result ol,.resolve-result ul{gap:4px;margin:0;padding-left:20px;line-height:1.6;display:grid}.resolve-titles{border-top:1px solid var(--line);gap:8px;padding-top:8px;display:grid}.resolve-titles .button{justify-self:start}.version-preview video{background:var(--surface-0);border-radius:10px;width:100%;max-height:60vh;display:block}@media (width<=640px){.review-player{padding:8px}.review-player video{max-height:34vh}.review-note-list li{grid-template-columns:auto minmax(0,1fr)}.review-note-actions{grid-column:1/-1;justify-content:flex-end}}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}::selection{background:var(--accent-soft)}h1,h2,h3,h4{color:var(--text);letter-spacing:-.01em}p{color:inherit}.topbar{background:var(--surface-0);border-bottom:1px solid var(--line);height:52px;padding-inline:20px}.brand{color:var(--text);gap:8px;font-size:18px}.brand-mark{background:var(--accent);width:26px;height:26px;color:var(--accent-ink);border-radius:7px;transform:none}.brand-studio{display:none}.connection-badge,.connection-badge.is-ready{border-color:var(--line);color:var(--text-2);background:0 0}.button{border-radius:8px;min-height:36px;padding:7px 14px;font-weight:500}.button.primary{color:var(--accent-ink);background:var(--accent);border-color:var(--accent);box-shadow:none}.button.primary:hover:not(:disabled){background:var(--accent-hover)}.button.secondary{color:var(--text);background:var(--surface-2);border-color:var(--line-strong);box-shadow:none}.button.secondary:hover:not(:disabled){background:var(--surface-3);border-color:var(--line-strong)}.button.ghost{color:var(--text-2);background:0 0;border-color:#0000}.button.ghost:hover:not(:disabled){color:var(--text);background:var(--surface-2)}input,textarea,select{background:var(--surface-2);border-color:var(--line-strong);color:var(--text)}input:focus,textarea:focus,select:focus{background:var(--surface-2);border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}input::placeholder,textarea::placeholder{color:var(--text-3)}kbd{border:1px solid var(--line-strong);background:var(--surface-2);min-width:20px;color:var(--text-2);font:500 11px/18px var(--mono);text-align:center;border-bottom-width:2px;border-radius:5px;padding:0 5px;display:inline-block}video{background:#000}.workspace-main{width:100%;max-width:none;margin:0;padding:0 0 64px}.workspace-bar{z-index:15;border-bottom:1px solid var(--line);background:var(--bg);align-items:center;gap:12px;height:48px;padding:0 20px;display:flex;position:sticky;top:52px}.workspace-back{width:30px;height:30px;color:var(--text-2);cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;display:grid}.workspace-back:hover{color:var(--text);background:var(--surface-2)}.workspace-name{text-overflow:ellipsis;white-space:nowrap;max-width:260px;font-size:14px;font-weight:500;overflow:hidden}.workspace-steps{background:var(--surface-1);border-radius:9px;gap:2px;margin:0 0 0 8px;padding:3px;list-style:none;display:flex}.workspace-steps button,.workspace-tool{height:28px;color:var(--text-2);cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:6px;padding:0 14px;font-size:13px;display:inline-flex}.workspace-steps button:hover:not(:disabled):not([aria-disabled=true]),.workspace-tool:hover:not(:disabled):not([aria-disabled=true]){color:var(--text)}.workspace-steps button.is-active{color:var(--text);background:var(--surface-3)}.workspace-steps button svg{color:var(--ok)}.workspace-steps button:disabled,.workspace-tool:disabled,.workspace-steps button[aria-disabled=true],.workspace-tool[aria-disabled=true]{opacity:.4;cursor:help}.workspace-tool{margin-left:auto}.project-form label small{color:var(--muted);margin-left:8px;font-size:12px;font-weight:400}.project-form h2{margin:0 0 4px;font-size:18px}.workspace-tool.is-active{color:var(--text);background:var(--surface-2)}.workspace-layout{width:min(1440px,100%);margin:0 auto;padding:20px;display:block}.materials-panel{box-shadow:none;background:0 0;border:0;padding:0}.panel-heading{margin-bottom:20px}.panel-heading .eyebrow,.panel-heading p{display:none}.production-workspace{gap:16px;display:grid}.studio-view-nav{background:var(--surface-1);border:0;border-radius:9px;justify-self:start;gap:2px;padding:3px;display:inline-flex}.studio-view-nav button{height:30px;color:var(--text-2);cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:6px;padding:0 14px;font-size:13px;display:inline-flex}.studio-view-nav button[aria-pressed=true]{color:var(--text);background:var(--surface-3);box-shadow:none}.studio-view-nav button[aria-pressed=true]:after{display:none}.studio-screen,.production-workbench,.production-editor,.production-output{border:1px solid var(--line);background:var(--surface-1);box-shadow:none;border-radius:12px}.screen-heading h3{font-size:15px;font-weight:500}.studio-version{border-color:var(--line);color:var(--text-2);font-family:var(--mono);background:0 0;font-size:12px}.review-notes{grid-template-columns:minmax(0,1fr) 340px;align-items:start;column-gap:20px;display:grid}.review-notes>*{grid-column:1}.review-notes-heading{grid-column:1/-1;justify-content:space-between;align-items:baseline;margin-bottom:10px;display:flex}.review-notes-heading h4{font-size:14px;font-weight:500}.review-notes-heading span{color:var(--text-3);font-size:12px}.review-note-list{grid-area:2/2;align-content:start;align-self:stretch;gap:6px;height:0;min-height:100%;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.review-note-list li{border:1px solid var(--line);background:var(--surface-2);border-radius:9px;grid-template-columns:auto minmax(0,1fr);gap:4px 10px;padding:10px 12px;display:grid}.review-note-list li:hover{border-color:var(--line-strong)}.review-note-time{color:var(--accent);font:500 12px/20px var(--mono);cursor:pointer;background:0 0;border:0;align-self:start;padding:0}.review-note-actions{grid-column:2;gap:4px;display:flex}.review-note-actions .button{min-height:26px;padding:2px 8px;font-size:12px}.review-player{border-radius:10px;overflow:hidden}.review-mark-bar{flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0 4px;display:flex}.review-keys{color:var(--text-3);margin-left:auto;font-size:12px}.review-kind{border-radius:5px;margin-right:6px;padding:1px 7px;font-size:11px}.prompt-draft-hint{color:var(--text-3);font-size:12px}@media (width<=1100px){.review-notes{grid-template-columns:minmax(0,1fr)}.review-note-list{grid-area:auto/1;max-height:none}}.review-player video,.production-output video,.film-player video{aspect-ratio:16/9;width:100%;height:auto;display:block}.review-player{background:var(--surface-0);border:0;padding:10px}.production-workbench fieldset{border:0;border-top:1px solid var(--line);margin-top:20px;padding:16px 0 0}.production-workbench legend{color:var(--text);padding:0;font-size:14px;font-weight:500}.production-output video{object-fit:contain;border-radius:8px;width:100%;max-height:62vh}.review-player video{object-fit:contain;min-height:220px;max-height:calc(100vh - 470px)}.production-output .inline-message,.review-notes .inline-message{border:1px solid var(--line);color:var(--text-2);background:var(--surface-2);border-radius:8px;margin:0 0 12px;padding:8px 12px;font-size:13px}.screen-actions{justify-content:flex-end;align-items:center;gap:8px;margin-top:12px;display:flex}.screen-actions>span:first-child{color:var(--text-3);margin-right:auto;font-size:12px}.materials-panel:has(.project-form){max-width:1000px;margin:0 auto}.panel-heading h1{font-size:22px;font-weight:500}.home-main{width:min(1200px,100% - 64px);padding-block:40px}.home-heading{margin-bottom:24px}.home-heading h1{letter-spacing:-.01em;font-size:24px;font-weight:500}.project-card{border-color:var(--line);background:var(--surface-1);box-shadow:none}.project-card:hover{border-color:var(--line-strong);background:var(--surface-2)}.project-cover{height:140px;color:var(--text-3);background:var(--surface-0)}.project-cover.has-still{overflow:hidden}.project-cover img{object-fit:cover;width:100%;height:100%;display:block}.project-next{color:var(--text-2)}.project-time{color:var(--text-3);font-family:var(--mono);font-size:11px}.review-notes>.nle{grid-column:1/-1}.nle{border:1px solid var(--line);background:var(--surface-0);-webkit-user-select:none;user-select:none;border-radius:10px;margin:12px 0;overflow:hidden}.nle-toolbar{border-bottom:1px solid var(--line);align-items:center;gap:10px;height:40px;padding:0 12px;display:flex}.nle-clock{color:var(--text);font:500 15px var(--mono)}.nle-duration{color:var(--text-3);font:12px var(--mono)}.nle-zoom{color:var(--text-3);align-items:center;gap:8px;margin-left:auto;font-size:12px;display:flex}.nle-zoom input{width:140px}.nle-toolbar .button{min-height:28px;padding:2px 10px;font-size:12px}.nle-unseen{color:var(--accent);align-items:center;gap:8px;margin-left:12px;font-size:12px;display:flex}.nle-unseen-key{border:1.5px dashed var(--accent);border-radius:3px;width:14px;height:10px}.nle-clip.is-unseen{outline:1.5px dashed var(--accent);outline-offset:-2px}.nle-scroll{overflow:auto hidden}.nle-canvas{cursor:text;padding-bottom:6px;position:relative}.nle-ruler,.nle-track{display:flex}.nle-corner,.nle-heads{z-index:3;background:var(--surface-1);border-right:1px solid var(--line);flex:0 0 72px;position:sticky;left:0}.nle-ruler{border-bottom:1px solid var(--line);height:26px}.nle-ruler-track{flex:none;position:relative}.nle-tick{border-left:1px solid var(--line-strong);color:var(--text-3);font:10px var(--mono);padding:4px 0 0 4px;position:absolute;top:0;bottom:0}.nle-marker{background:var(--accent);cursor:pointer;z-index:2;border:0;border-radius:2px 2px 6px 6px;width:12px;height:12px;margin-left:-6px;padding:0;position:absolute;bottom:2px}.nle-marker:hover,.nle-marker:focus-visible{transform:scale(1.25)}.nle-marker.is-remove{background:var(--danger)}.nle-marker.is-keep{background:var(--ok)}.nle-track{height:30px;margin-top:4px}.nle-track.is-shot{height:52px}.nle-heads{cursor:default;flex-direction:column;justify-content:center;padding:0 10px;display:flex}.nle-heads strong{color:var(--text-2);font:500 11px var(--mono)}.nle-heads span{color:var(--text-3);font-size:11px}.nle-lane{flex:none;position:relative}.nle-clip{background-repeat:repeat-x;background-size:auto 100%;border:1px solid #0000008c;border-radius:4px;position:absolute;top:0;bottom:0;overflow:hidden}.nle-clip span{color:#fff;white-space:nowrap;text-overflow:ellipsis;text-shadow:0 1px 2px #000;font-size:11px;line-height:14px;position:absolute;top:3px;left:5px;right:4px;overflow:hidden}.is-shot .nle-clip{background-color:#34495a}.is-component .nle-clip{background-color:#6b5a8e}.is-caption .nle-clip{background-color:#4d5058}.is-music .nle-clip{background-color:#3d6a52}.is-shot .nle-clip span{top:auto;bottom:3px}.nle-playhead{z-index:4;pointer-events:none;background:#ff5a4f;width:2px;margin-left:-1px;position:absolute;top:0;bottom:0}.nle-playhead:before{content:"";border:6px solid #0000;border-top:8px solid #ff5a4f;position:absolute;top:0;left:-5px}.rv{gap:14px;min-width:0;padding-bottom:8px;display:grid}.rv h3,.rv h4{margin:0}.rv-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.rv-title{align-items:baseline;gap:10px;display:flex}.rv-title h3{letter-spacing:.01em;font-size:17px;font-weight:600}.rv-title span{color:var(--text-3);font:12px var(--mono)}.rv-tools{align-items:center;gap:8px;display:flex}.rv .button{min-height:34px;padding:6px 14px;font-size:13px}.rv .button.primary{color:var(--accent-ink)}.rv-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.rv-icon{width:28px;height:28px;color:var(--text-3);cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;margin-left:auto;padding:0;font-size:18px;line-height:1;display:inline-grid}.rv-icon:hover{color:var(--text);background:var(--surface-3)}.rv-text-button{color:var(--text-2);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:4px 8px;font-size:12px}.rv-text-button:hover:not(:disabled){color:var(--text);background:var(--surface-3)}.rv-text-button:disabled{opacity:.4;cursor:default}.rv-hint{color:var(--text-3);margin:0;font-size:12px;line-height:1.6}.rv-time{color:var(--accent);font:500 12px var(--mono);font-variant-numeric:tabular-nums}.rv-stale{color:var(--text-2);background:var(--warn-soft);border-radius:10px;align-items:center;gap:10px;margin:0;padding:8px 12px;font-size:13px;display:flex}.rv-render{background:var(--accent-soft);color:var(--text);border-radius:10px;align-items:center;gap:10px;padding:6px 12px;font-size:13px;display:flex}.rv-render>span:not(.rv-spinner){color:var(--text-2);font-variant-numeric:tabular-nums;white-space:nowrap}.rv-render .rv-render-bar{flex:1;min-width:60px}.rv-render-note{margin-left:4px}.rv-render-head{align-items:center;gap:10px;font-size:14px;display:flex}.rv-render-head span:last-child{color:var(--text-2);font-variant-numeric:tabular-nums;margin-left:auto;font-size:13px}.rv-render-bar{background:color-mix(in srgb, var(--accent) 18%, transparent);border-radius:99px;height:6px;overflow:hidden}.rv-render-bar i{border-radius:inherit;background:var(--accent);height:100%;transition:width .6s;display:block}.rv-render p{color:var(--text-2);margin:0;font-size:13px}.rv-spinner{border:2px solid color-mix(in srgb, var(--accent) 25%, transparent);border-top-color:var(--accent);border-radius:50%;flex:none;width:14px;height:14px;animation:.8s linear infinite rv-spin}@keyframes rv-spin{to{transform:rotate(360deg)}}.rv-locked{background:var(--accent-soft);border-radius:8px;align-items:center;gap:8px;margin:0;padding:8px 10px;font-size:13px;display:flex}@media (prefers-reduced-motion:reduce){.rv-spinner{animation-duration:2.4s}.rv-render-bar i{transition:none}}.rv-alert{color:var(--danger);background:var(--danger-soft);border-radius:10px;align-items:center;gap:10px;margin:0;padding:8px 8px 8px 14px;font-size:13px;display:flex}.rv-toast{z-index:40;border:1px solid var(--line-strong);color:var(--text);background:var(--surface-3);border-radius:999px;margin:0;padding:8px 16px;font-size:13px;animation:.2s ease-out rv-rise;position:fixed;bottom:104px;left:50%;transform:translate(-50%);box-shadow:0 10px 30px #00000073}@keyframes rv-rise{0%{opacity:0;transform:translate(-50%,6px)}}.rv-studio{grid-template:"stage panel""composer panel""timeline timeline"/minmax(0,1fr) 340px;gap:12px 14px;min-width:0;display:grid}.rv-studio.is-wide{grid-template:"stage""composer""timeline"/minmax(0,1fr)}.rv-stage{background:#000;border-radius:12px;grid-area:stage;place-items:center;min-width:0;display:grid;overflow:hidden}.rv-stage>video,.rv-compare video{aspect-ratio:16/9;object-fit:contain;background:#000;width:100%;min-height:220px;max-height:max(300px,100vh - 350px);display:block}.rv-still{touch-action:none;place-items:center;width:100%;display:grid;position:relative}.rv-still img{object-fit:contain;-webkit-user-select:none;user-select:none;width:100%;height:100%;transition:opacity .15s;display:block}.rv-still.is-loading img{opacity:.55}.rv-still-wait{color:var(--text-3);font-size:13px}.rv-live{touch-action:none;background:#000;position:relative;overflow:hidden}.rv-live>video{object-fit:contain;width:100%;height:100%;display:block}.rv-live-page{transform-origin:0 0;pointer-events:none;position:absolute;top:0;left:0;overflow:hidden}.rv-live-page iframe{color-scheme:normal;background:0 0;border:0;position:absolute}.rv-live .rv-grab{z-index:2;box-shadow:none;background:0 0}.rv-motion-badge{z-index:3;color:var(--text);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0a0a0cc7;border-radius:999px;align-items:center;gap:10px;padding:5px 6px 5px 12px;font-size:12px;display:flex;position:absolute;top:10px;right:10px}.rv-motion-badge span{align-items:center;gap:8px;display:inline-flex}.rv-motion-badge span:only-child{padding-right:6px}.rv-motion-badge button{border:1px solid var(--line-strong);color:var(--text);font:inherit;cursor:pointer;background:0 0;border-radius:999px;padding:3px 10px}.rv-still-error{color:var(--danger);background:#140808d9;border-radius:8px;margin:0;padding:8px 12px;font-size:12px;position:absolute;bottom:12px;left:12px;right:12px}.rv-compare{width:100%;display:grid}.rv-compare-bar{background:var(--surface-2);color:var(--text-2);flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;font-size:13px;display:flex}.rv-compare-bar span{margin-right:auto}.rv-compare-bar strong{color:var(--accent);margin:0 4px;font-weight:600}.rv-panel{border:1px solid var(--line);background:var(--surface-1);border-radius:12px;flex-direction:column;grid-area:panel;gap:12px;min-width:0;height:0;min-height:100%;padding:14px;display:flex;overflow-y:auto}.rv-panel-head{align-items:center;gap:8px;min-height:32px;display:flex}.rv-panel-head h4{font-size:14px;font-weight:600}.rv-count{color:var(--text-2);background:var(--surface-3);font:500 11px/18px var(--mono);border-radius:999px;padding:0 7px}.rv-mark{margin-left:auto;gap:8px!important}.rv-mark kbd{min-width:18px;font-size:10px}.rv-error{color:var(--danger);background:var(--danger-soft);border-radius:8px;margin:0;padding:8px 10px;font-size:12px}.rv-empty{text-align:center;color:var(--text-3);flex:1;align-content:center;justify-items:center;gap:4px;padding:24px 8px;font-size:13px;display:grid}.rv-empty p{margin:0}.rv-outdated{background:var(--warn-soft);color:var(--text-2);border-radius:8px;gap:6px;padding:10px;font-size:12px;display:grid}.rv-outdated p{margin:0}.rv-outdated .button{justify-self:start}.rv-notes{gap:2px;margin:0 -6px;padding:0;list-style:none;display:grid}.rv-notes li{position:relative}.rv-note-jump{width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:4px 8px;padding:9px 10px;display:grid}.rv-note-jump:hover{background:var(--surface-2)}.rv-note-jump .review-kind{margin:0}.rv-note-target{color:var(--text-2);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.rv-note-text{-webkit-line-clamp:2;-webkit-box-orient:vertical;grid-column:1/-1;font-size:13px;line-height:1.55;display:-webkit-box;overflow:hidden}.rv-note-jump small{color:var(--text-3);grid-column:1/-1;font-size:11px}.rv-note-actions{background:var(--surface-2);opacity:0;border-radius:8px;gap:2px;padding:2px;transition:opacity .12s;display:flex;position:absolute;top:5px;right:4px}.rv-notes li:hover .rv-note-actions,.rv-note-actions:focus-within{opacity:1}.rv-inspector,.rv-note-form{border:0;flex-direction:column;gap:12px;min-width:0;margin:0;padding:0;display:flex}.rv-inspector label,.rv-note-form label:not(.consent-check){color:var(--text-3);gap:6px;font-size:12px;display:grid}.rv-inspector input,.rv-note-form textarea,.rv-note-form select,.rv-range input{border:1px solid var(--line);width:100%;min-height:40px;color:var(--text);background:var(--surface-0);font:inherit;border-radius:8px;outline:none;padding:8px 12px;font-size:14px}.rv-note-form textarea{resize:vertical;line-height:1.6}.rv-inspector input:focus,.rv-note-form textarea:focus,.rv-range input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.rv-inspector select{border:1px solid var(--line);width:100%;min-height:40px;color:var(--text);background:var(--surface-0);font:inherit;border-radius:8px;padding:8px 10px;font-size:13px}.rv-inspector label{position:relative}.rv-inspector{gap:10px}.rv-inspector>.rv-row:last-child{z-index:1;border-top:1px solid var(--line);background:var(--surface-1);margin:auto -14px -14px;padding:10px 14px 14px;position:sticky;bottom:-14px}.rv-look{background:var(--surface-2);border-radius:10px;gap:10px;padding:10px 12px;display:grid}.rv-colors{flex-wrap:wrap;align-items:center;gap:6px 12px;display:flex}.rv-swatch{cursor:pointer;align-items:center;font-size:12px;position:relative;color:var(--text-2)!important;gap:6px!important;display:flex!important}.rv-swatch input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.rv-swatch span{border:1px solid var(--line-strong);border-radius:6px;width:22px;height:22px;box-shadow:inset 0 0 0 1px #00000040}.rv-swatch:hover span{border-color:var(--text-3)}.rv-colors .rv-link{margin-left:auto;font-size:12px}.rv-pair{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;display:grid}.rv-pair:empty{display:none}.rv-field{align-items:center;gap:6px;display:flex}.rv-field input{font-family:var(--mono);font-variant-numeric:tabular-nums}.rv-field em{color:var(--text-3);font-size:12px;font-style:normal}.rv-link{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;margin-left:6px;padding:0}.rv-link:hover{text-decoration:underline}.rv-text-button.is-danger{color:var(--danger);margin-left:auto}.rv-text-button.is-danger:hover:not(:disabled){color:var(--danger);background:var(--danger-soft)}.rv-grab{border:1.5px solid var(--accent);cursor:grab;touch-action:none;background:#e9b44c14;border-radius:6px;outline:none;position:absolute;box-shadow:0 0 0 9999px #0000001a}.rv-grab:active{cursor:grabbing;background:#e9b44c29}.rv-grab:focus-visible{box-shadow:0 0 0 3px var(--accent-soft), 0 0 0 9999px #0000001a}.rv-grab:after{content:"";background:var(--accent);border-radius:2px;width:8px;height:8px;position:absolute;top:-5px;left:-5px}.rv-range summary{color:var(--text-3);cursor:pointer;font-size:12px}.rv-range .rv-row{flex-wrap:nowrap;margin-top:8px}.rv-range input{flex:none;width:9em}.rv-studio>.nle{border-radius:12px;grid-area:timeline;margin:0}.rv-studio>.nle .nle-scroll{max-height:30vh;overflow-y:auto}.rv-studio>.nle .nle-ruler{z-index:4;background:var(--surface-0);position:sticky;top:0}.rv-studio>.nle .nle-track{height:26px;margin-top:3px}.rv-studio>.nle .nle-track.is-shot{height:44px}.nle-clip.is-pickable{cursor:pointer;transition:filter .12s}.nle-clip.is-pickable:hover{filter:brightness(1.25)}.nle-clip.is-selected{z-index:2;box-shadow:0 0 0 2px var(--accent);filter:brightness(1.3)}.nle-clip.is-movable{cursor:grab;touch-action:none}.nle-clip.is-movable:active{cursor:grabbing}.nle-clip.is-movable:before,.nle-clip.is-movable:after{content:"";cursor:ew-resize;z-index:1;width:7px;position:absolute;top:0;bottom:0}.nle-clip.is-movable:before{left:0}.nle-clip.is-movable:after{right:0}.nle-clip.is-movable.is-selected:before,.nle-clip.is-movable.is-selected:after{background:#ffffff47}.nle-lane.is-new{outline:1px dashed var(--line);outline-offset:-1px;border-radius:4px}.nle-lane.is-new:after{content:"放到新的一軌";color:var(--text-3);pointer-events:none;font-size:11px;position:absolute;top:7px;left:8px}.rv-composer{border:1px solid var(--line-strong);background:var(--surface-2);border-radius:12px;grid-area:composer;align-items:flex-end;gap:8px;padding:6px 6px 6px 8px;display:flex}.rv-composer textarea{min-width:0;min-height:34px;max-height:140px;color:var(--text);font:inherit;resize:none;field-sizing:content;background:0 0;border:0;outline:none;flex:1;padding:6px 8px;font-size:14px;line-height:1.55}.rv-composer textarea::placeholder{color:var(--text-3)}.rv-working{color:var(--text-2);align-items:center;gap:10px;margin:0;padding:6px 8px;font-size:13px;display:flex}.rv-pulse{background:var(--accent);border-radius:50%;width:8px;height:8px;animation:1.4s ease-in-out infinite rv-pulse}@keyframes rv-pulse{50%{opacity:.3;transform:scale(.8)}}.rv-menu{position:relative}.rv-menu>.button{gap:8px}.rv-caret{opacity:.7;border-bottom:1.5px solid;border-right:1.5px solid;width:6px;height:6px;margin-top:-3px;transform:rotate(45deg)}.rv-menu-panel{z-index:30;border:1px solid var(--line-strong);background:var(--surface-2);border-radius:12px;min-width:300px;max-width:min(420px,100vw - 32px);padding:6px;animation:.12s ease-out rv-drop;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 16px 40px #00000080}.rv-menu-panel.is-up{top:auto;bottom:calc(100% + 10px)}@keyframes rv-drop{0%{opacity:0;transform:translateY(-4px)}}.rv-menu-list{gap:2px;display:grid}.rv-menu-list>button,.rv-menu-list>a{color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;gap:2px;padding:10px 12px;text-decoration:none;display:grid}.rv-menu-list>:hover:not(:disabled){background:var(--surface-3)}.rv-menu-list>:disabled{opacity:.45;cursor:default}.rv-menu-list strong{font-size:13px;font-weight:600}.rv-menu-list span{color:var(--text-3);font-size:12px}.rv-menu-panel:has(.rv-versions){width:min(460px,100vw - 32px);max-width:none}.rv-versions{gap:2px;max-height:min(420px,60vh);margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.rv-versions li{border-radius:10px;align-items:center;gap:12px;padding:10px 12px;display:flex}.rv-versions li:hover{background:var(--surface-3)}.rv-versions li>div:first-child{flex:1;gap:2px;min-width:0;display:grid}.rv-versions strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px;font-weight:600;line-height:1.45;display:-webkit-box;overflow:hidden}.rv-versions small{color:var(--text-3);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.rv-version-time{color:var(--text-3);font-variant-numeric:tabular-nums;align-items:center;gap:6px;font-size:12px;display:flex}.rv-versions em{color:var(--accent);background:var(--accent-soft);border-radius:5px;padding:0 6px;font-size:11px;font-style:normal;font-weight:600}.rv-versions li.is-current{background:var(--accent-soft)}.rv-versions .rv-row{flex:none}.rv-usage-total{border-bottom:1px solid var(--line);gap:2px;margin:0 0 6px;padding:10px 12px;font-size:13px;display:grid}.rv-usage-total span{color:var(--text-3);font-size:12px}.rv-versions small.rv-usage{color:var(--text-3);font-variant-numeric:tabular-nums}.rv-version-same{color:var(--text-3);font-size:12px}.rv-return-what{background:var(--surface-3);border-radius:8px;margin:0;padding:10px 12px;font-weight:600}.rv-music{width:min(380px,100vw - 48px)}.rv-music .production-music-picker{border:0;gap:10px;padding:6px}.rv-music .production-music-picker legend{display:none}.rv-music label,.rv-music p{color:var(--text-3);font-size:12px}.rv-dialog{border:1px solid var(--line-strong);width:min(480px,100vw - 32px);max-height:calc(100vh - 64px);color:var(--text);background:var(--surface-1);border-radius:16px;padding:0;box-shadow:0 24px 60px #0009}.rv-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0009}.rv-dialog[open]{animation:.16s ease-out rv-pop}@keyframes rv-pop{0%{opacity:0;transform:scale(.97)}}.rv-dialog-body{gap:14px;padding:22px 24px;display:grid}.rv-dialog h3{font-size:17px;font-weight:600}.rv-dialog p{color:var(--text-2);margin:0;font-size:14px;line-height:1.65}.rv-dialog .consent-check{color:var(--text-2);font-size:13px}.rv-dialog-actions{justify-content:flex-end;margin-top:4px}.rv-dialog details summary{color:var(--text-2);cursor:pointer;font-size:13px}.rv-dialog ul{color:var(--text-2);margin:8px 0 0;padding-left:18px;font-size:13px}.rv-note{background:var(--info-soft);border-radius:8px;padding:10px 12px;color:var(--info)!important;font-size:13px!important}.rv-path{background:var(--surface-0);overflow-wrap:anywhere;border-radius:8px;padding:8px 10px;color:var(--text-3)!important;font:12px var(--mono)!important}.rv-steps{color:var(--text-2);gap:6px;margin:0;padding-left:20px;font-size:13px;line-height:1.6;display:grid}@media (width<=1000px){.rv-studio,.rv-studio.is-wide{grid-template:"stage""composer""timeline""panel"/minmax(0,1fr)}.rv-panel{height:auto;min-height:0;max-height:none}.rv-stage>video,.rv-compare video{min-height:0;max-height:56vh}}@media (width<=640px){.rv-composer{flex-wrap:wrap}.rv-composer textarea{flex-basis:100%}.rv-composer>.button{margin-left:auto}.rv-menu-panel{min-width:0;max-width:none;position:fixed;inset:auto 16px 16px}.rv-note-actions{opacity:1;background:0 0;justify-content:flex-end;position:static}.nle-toolbar{white-space:nowrap;gap:8px}.nle-zoom{font-size:0}.nle-zoom input{width:72px}}.rv-looks{gap:12px;width:min(380px,100vw - 32px);max-height:min(70vh,560px);padding:4px;display:grid;overflow:auto}.rv-looks-intro,.rv-looks-empty{color:var(--text-2);margin:0;font-size:12px;line-height:1.6}.rv-looks-empty{width:min(320px,100vw - 32px);padding:4px}.rv-look{border:1px solid var(--line);background:var(--surface-1);border-radius:8px;gap:8px;padding:10px 12px;display:grid}.rv-look header{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.rv-look header span{color:var(--text-3);font-size:11px}.rv-look-font{color:var(--text-2);gap:4px;font-size:12px;display:grid}.rv-look-font select{font-size:15px}.rv-report{flex:none;gap:10px;margin:0;padding:0;display:grid}.rv-panel .rv-report-head strong{display:none}.rv-tabs{background:var(--surface-0);border-radius:9px;flex:none;gap:2px;padding:3px;display:flex}.rv-tabs button{height:28px;color:var(--text-2);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:7px;flex:1;justify-content:center;align-items:center;gap:6px;font-size:13px;display:inline-flex}.rv-tabs button[aria-selected=true]{color:var(--text);background:var(--surface-3)}.rv-tabs button i{background:var(--accent);border-radius:50%;width:6px;height:6px}.rv-panel.has-tabs .rv-panel-head>h4,.rv-panel.has-tabs .rv-panel-head>.rv-count{display:none}.rv-report-head{align-items:center;gap:10px;display:flex}.rv-report-head span{color:var(--text-3);font-size:12px}.rv-report-head .rv-icon{margin-left:auto}.rv-report-body{gap:12px;font-size:13px;line-height:1.6;display:grid}.rv-report-body h5{color:var(--text-3);letter-spacing:.5px;margin:0 0 6px;font-size:12px;font-weight:600}.rv-report-summary{margin:0;font-size:14px}.rv-report-request{color:var(--text-2);gap:2px;margin:0;display:grid}.rv-report-request span{color:var(--text-3);font-size:12px}.rv-report-changes{gap:6px;margin:0;padding-left:20px;display:grid}.rv-report-changes li{display:grid}.rv-report-changes span,.rv-report-notes p{color:var(--text-2)}.rv-report-notes{gap:8px;margin:0;padding:0;list-style:none;display:grid}.rv-report-notes li{grid-template-columns:auto 1fr;align-items:start;gap:10px;display:grid}.rv-report-notes q{color:var(--text-3);font-size:12px;display:block}.rv-report-notes p{margin:0}.rv-report-outcome{border:1px solid var(--line);white-space:nowrap;border-radius:999px;padding:2px 8px;font-size:11px}.is-done .rv-report-outcome,.is-kept .rv-report-outcome{color:#8fd19e;border-color:#8fd19e66}.is-partly .rv-report-outcome{color:var(--accent);border-color:#e9b44c73}.is-not_done .rv-report-outcome{color:#f0a1a1;border-color:#f0a1a173}.rv-report-missing ul{gap:8px;margin:0;padding:0;list-style:none;display:grid}.rv-report-missing li{gap:2px;display:grid}.rv-report-missing li strong{color:#f0c2a1;font-weight:500}.rv-report-missing li>span:not(.rv-report-reason){color:var(--text-2)}.rv-report-reason{color:var(--text-3);justify-self:start;font-size:11px}.rv-report-missing .is-needs_you .rv-report-reason{color:var(--accent)}.rv-report-open{justify-self:start;font-size:12px}.rv-dialog-body h4 small{color:var(--text-3);font-size:12px;font-weight:400}.home-templates{margin-top:56px}.next-step{border:1px solid var(--line-strong);border-left:3px solid var(--accent);background:var(--surface-1);border-radius:12px;gap:14px;margin-bottom:28px;padding:18px 20px;display:grid}.next-step-track{color:var(--text-3);flex-wrap:wrap;gap:6px 18px;margin:0;padding:0;font-size:12px;list-style:none;display:flex}.next-step-track li{align-items:center;gap:7px;display:inline-flex}.next-step-track li>span{border:1px solid var(--line-strong);width:20px;height:20px;font:600 11px var(--mono);border-radius:50%;place-items:center;display:grid}.next-step-track li.is-done{color:var(--text-2)}.next-step-track li.is-done>span{border-color:var(--ok);color:var(--ok)}.next-step-track li.is-now{color:var(--text);font-weight:600}.next-step-track li.is-now>span{border-color:var(--accent);color:var(--accent-ink);background:var(--accent)}.next-step-body{justify-content:space-between;align-items:center;gap:20px;display:flex}.next-step-body strong{font-size:18px;font-weight:600;display:block}.next-step-body p{color:var(--text-2);margin:4px 0 0;font-size:13px}.next-step-body .button{flex:none}.project-settings{border-top:1px solid var(--line);margin-top:34px;padding-top:18px}.project-settings>summary{color:var(--text-2);cursor:pointer;font-size:13px}.project-settings[open]>summary{margin-bottom:18px}@media (width<=720px){.next-step-body{flex-direction:column;align-items:stretch}}.production-step{align-items:center;gap:10px;margin:28px 0 12px;font-size:16px;font-weight:600;display:flex}.production-brief>.production-step:first-of-type{margin-top:4px}.production-step>span{width:22px;height:22px;color:var(--accent-ink);background:var(--accent);font:600 12px var(--mono);border-radius:50%;place-items:center;display:grid}.production-hint{color:var(--text-3);margin:6px 0 0;font-size:12px}.production-hint.is-error{color:var(--error)}.production-reuse{justify-content:flex-end;display:flex}.production-start{border-top:1px solid var(--line);margin-top:8px;padding-top:4px}.production-start>p:empty{display:none}.skill-picker-current{border:1px solid var(--line);background:var(--surface-2);border-radius:10px;justify-content:space-between;align-items:center;gap:16px;padding:12px 14px;display:flex}.skill-picker-current p{margin:0}.skill-picker-current p span{color:var(--text-3);margin-top:3px;font-size:12px;display:block}.skill-picker-current .button{flex:none}.project-next{align-items:center;gap:7px;display:inline-flex}.project-next i{background:var(--text-3);border-radius:50%;width:7px;height:7px}.project-next.is-next i{background:var(--accent)}.project-next.is-done i{background:var(--ok)}.project-next.is-problem{color:var(--accent)}.project-next.is-problem i{background:var(--error)}.project-next.is-active{color:var(--text)}.project-next.is-active i{background:var(--ok);animation:1.4s ease-in-out infinite live-pulse}@keyframes live-pulse{0%,to{box-shadow:0 0 #74c3938c}50%{box-shadow:0 0 0 5px #74c39300}}@media (prefers-reduced-motion:reduce){.project-next.is-active i{animation:none}}.production-status-heading h3{align-items:center;gap:10px;display:flex}.production-live{background:var(--ok);border-radius:50%;flex:none;width:10px;height:10px;animation:1.4s ease-in-out infinite live-pulse}.production-live.is-thinking{background:var(--accent);animation-duration:2.4s}.production-live.is-quiet{background:var(--text-3);animation:none}.production-elapsed{font-family:var(--mono);font-variant-numeric:tabular-nums}.production-now small{color:var(--text-3);margin-top:2px;font-size:12px;display:block}.production-pulse{color:var(--text-2);background:var(--surface-2);font-variant-numeric:tabular-nums;border-radius:8px;margin:0;padding:8px 12px;font-size:13px}.production-pulse small{color:var(--text-3);margin-top:2px;font-size:12px;display:block}.production-pulse.is-quiet{color:var(--text);border:1px solid var(--accent)}.production-status-line.is-active.is-working .production-status-dot{background:var(--ok);animation-name:live-pulse}.production-status-line.is-active.is-quiet .production-status-dot{background:var(--text-3);animation:none}.production-status-line small{font-variant-numeric:tabular-nums}@media (prefers-reduced-motion:reduce){.production-live{animation:none}}.production-status-panel.is-active h3:before{display:none}.production-status-panel:not(.is-active):not(.has-problem) h3:before{background:var(--ok)}.topbar-end{align-items:center;gap:10px;display:flex}.language-switch{border:1px solid var(--line);background:var(--surface-1);border-radius:8px;padding:2px;display:inline-flex}.language-switch button{min-width:38px;height:26px;color:var(--text-3);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:0 8px;font-size:12px}.language-switch button:hover{color:var(--text)}.language-switch button[aria-pressed=true]{color:var(--text);background:var(--surface-3)}html:lang(en) .nle-lane.is-new:after{content:"New lane"}.workspace-views{display:contents}.workspace-bar:has(.workspace-views .studio-view-nav) [data-stage=production]{display:none}.workspace-views .studio-view-nav{background:0 0;border:0;gap:2px;margin:0;padding:0;display:flex}.workspace-views .studio-view-nav button{height:28px;color:var(--text-2);border-radius:7px;padding:0 14px;font-size:13px}.workspace-views .studio-view-nav button[aria-pressed=true]{color:var(--text);background:var(--surface-3)}.workspace-views .studio-view-nav button svg{width:15px;height:15px;color:inherit}.rv-side-toggle{gap:6px}.production-output video{object-fit:contain;background:#000;max-height:max(300px,100vh - 340px)}.film-version-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.film-version-bar .film-version-actions .button{padding:7px 14px;font-size:13px}.rv-composer>.button,.rv-composer>.rv-menu .button{white-space:nowrap;flex:none}@media (width<=720px){.workspace-bar{scrollbar-width:none;gap:6px;padding:0 10px;overflow-x:auto}.workspace-name{display:none}.workspace-steps{flex:none;margin-left:0}.workspace-steps button,.workspace-views .studio-view-nav button,.workspace-tool{white-space:nowrap;padding:0 10px}.workspace-views .studio-view-nav button svg{display:none}.workspace-tool{flex:none}.film-version-actions{flex-wrap:wrap;flex-basis:100%}.film-version-actions .studio-version{display:none}.film-version-actions .button{white-space:nowrap;flex:1;justify-content:center}.rv-tools{flex-wrap:wrap}.rv-tools .button{white-space:nowrap}}.rv-caption-text{background:var(--surface-2);border-radius:8px;margin:0;padding:10px 12px;font-size:15px;line-height:1.6}.rv-caption-facts{grid-template-columns:auto 1fr;gap:6px 12px;margin:0;font-size:13px;display:grid}.rv-caption-facts dt{color:var(--text-3)}.rv-caption-facts dd{margin:0}.rv-caption-input{box-sizing:border-box;resize:vertical;width:100%;font:inherit;border:1px solid var(--line);background:var(--surface-0);color:var(--text);border-radius:8px;padding:8px 10px;font-size:15px;line-height:1.5}@media (width<=600px){.topbar-end{gap:6px;min-width:0}.provider-badge>summary{white-space:nowrap;text-overflow:ellipsis;max-width:42vw;overflow:hidden}.language-switch button{min-width:30px;padding:0 6px}}.rv-live-fallback{place-items:center;width:100%;display:grid;position:relative}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# 剪輯品質失敗的回歸紀錄
|
|
2
|
-
|
|
3
|
-
工具呼叫數、預覽次數、完整解碼都不能證明影片值得看。這次修正依據實際樣片的三種失敗:
|
|
4
|
-
空景/交通鏡頭取代主要互動、地點字卡錯配店面、剪斷口語後放棄全部字幕。
|
|
5
|
-
|
|
6
|
-
| 原本行為 | 現在可執行的修正 | 驗證 |
|
|
7
|
-
| --- | --- | --- |
|
|
8
|
-
| 反覆看相同單張候選圖 | `inspect_candidates` 批次看來源頭/中/尾;`inspect_cut` 比對來源與成片 | 真正取樣來源與 MP4;仍不冒稱連續動作感知 |
|
|
9
|
-
| 任一成片截圖就可完成 | 所有鏡頭頭/中/尾和所有文字中點都須被檢視 | 缺少時間點及文字 ID 明列在 render_review;修改後失效 |
|
|
10
|
-
| 審片只寫泛泛完成 | `review_cut` 列出逐鏡觀察與每張字卡依據 | 未解決問題阻擋完成;同版不能只改評語清除問題 |
|
|
11
|
-
| 字卡跨到其他店面 | `add_clip_title` 限定在同鏡並記錄依據 | 時間越界被拒絕;事實正確與否仍需實際畫面判斷 |
|
|
12
|
-
| 截斷句子消失 | 回傳完整口語來源範圍;`replace_clip_source` 可擴回原片 | 原片邊界、時間基準、12 秒完整段落都有回歸測試 |
|
|
13
|
-
| 待核對逐字稿被當成不存在 | status=needs_review 回傳 provisional_text 和來源時間 | 不納入已核對字幕、不改寫使用者確認狀態 |
|
|
14
|
-
| 強制八鏡、十秒內,妨礙完整發言 | 改為 1–30 鏡、單鏡最長 30 秒 | 短樣片總長仍為 30–75 秒;完整長片尚未實作 |
|
|
15
|
-
| 進入末鏡的淡轉被誤稱片尾淡出 | `set_fade` 明確區分鏡頭頭/尾 | FFmpeg 濾鏡時間與實際跨剪點畫面測試 |
|
|
16
|
-
| 搜尋新風格卻回傳所有舊歌 | 只回傳當次候選,舊曲另列 ID;共用風格詞彙 | 舊歌不混入當次結果;保留實際來源與授權 |
|
|
17
|
-
| 有圖片的成功工作被報協定錯誤 | 剪輯工作解析器使用一致的 32 MiB 上限 | 大於 2 MB 的成功紀錄能保留真實用量 |
|
|
18
|
-
|
|
19
|
-
這些能力仍有明確邊界:模型對取樣圖的判斷可能錯誤;相同模型自評不是獨立驗收;
|
|
20
|
-
目前 Codex 剪輯輸入沒有聲音感知。公開曲庫逾時不得宣稱找到符合風格的配樂。
|
|
21
|
-
未核對的語音不得因為要完成樣片就假裝已核對,亦不能用技術通過替代人工觀看片驗收。
|
|
22
|
-
|
|
23
|
-
本次實際驗證額外發現:單一 agent 即使完成逐鏡自評,仍可能保留過多交通/空景。
|
|
24
|
-
因此另外做了本次對話的導演修訂,保留第一輪供比較;這項人工監督的修訂不能被當成
|
|
25
|
-
產品已具備可靠自主美感評審的證據。
|
|
26
|
-
|
|
27
|
-
本機驗證:`.venv/bin/python -m unittest discover -s tests/python -q`;
|
|
28
|
-
前端在 `apps/web` 執行 `npm run build` 與 `npm run lint`。
|
|
29
|
-
|
|
30
|
-
參考:
|
|
31
|
-
[Adobe B-roll](https://www.adobe.com/creativecloud/video/discover/b-roll.html) 說明補充鏡頭應支援主要事件與敘事意義;
|
|
32
|
-
[B-Script](https://arxiv.org/abs/1902.11216) 探索逐字稿及敘事上下文驅動的 B-roll 編輯。
|
|
33
|
-
|
|
34
|
-
實際多鏡合成另重現 AAC encoder padding 導致跨批次時間戳間隙;
|
|
35
|
-
以每批時間軸精確時長寫入 concat manifest 修正。29.97 fps 來源、九個非整影格
|
|
36
|
-
來源範圍轉成 30 fps 時間軸的測試,會核對平均格率、精確格數、影音長度與完整解碼。
|
|
37
|
-
背景預覽事件與前景工具紀錄的序號配置改成單一原子寫入,四個連線同時寫入的
|
|
38
|
-
回歸測試涵蓋取消預覽時可能出現的序號碰撞。
|
|
@@ -1,241 +0,0 @@
|
|
|
1
|
-
# Clipen:素材驅動的自主節目製作設計草案
|
|
2
|
-
|
|
3
|
-
日期:2026-10-20。狀態:規劃草案;不是已實作功能清單,也不是成片驗收。
|
|
4
|
-
參照 PR #29 的實作與 `REFACTOR_HANDOFF.md`。本文件不修改執行流程。
|
|
5
|
-
|
|
6
|
-
## 1. 產品目標與必須保留的方向
|
|
7
|
-
|
|
8
|
-
使用者提供素材、想做的內容與參考,LLM 自行找事件、理解人物與對話、組織故事、試剪、
|
|
9
|
-
安排字幕/音樂/畫面設計,輸出後檢視並修改,最後交付可播放與可編輯的影片。
|
|
10
|
-
目標是有人物、體驗、反應與節奏的節目,而不是依日期排列素材、加上字幕就完成。
|
|
11
|
-
|
|
12
|
-
- 不使用獨立字卡代替敘事;口語字幕、畫面內標註、重點指示與資訊元件仍有用途。
|
|
13
|
-
- 使用者明確要求音樂、剪輯、轉場時,必須實際交付並檢查結果;不可以用工具紀錄代替。
|
|
14
|
-
- 工具讓 LLM 決定如何剪,不預先寫死每段的模板、剪點或特效數量。
|
|
15
|
-
- 使用者的風格認可、文字核對、模型自評、技術檢查是不同事實,分別保存。
|
|
16
|
-
- 完整長片是產品目標。短樣片是驗證方法,不應成為所有模型、工具與資料結構的永久上限。
|
|
17
|
-
|
|
18
|
-
首個可驗收里程碑:一個沒有舊分析/舊計畫的新作品,可以直接製作完整後製樣片;
|
|
19
|
-
字幕同步、配樂可辨識、人聲清楚、畫面設計與事件有關,而且可用同一流程重現。
|
|
20
|
-
|
|
21
|
-
## 2. 對現況的判斷
|
|
22
|
-
|
|
23
|
-
| 現況與程式位置 | 造成的問題 | 設計決策 |
|
|
24
|
-
| --- | --- | --- |
|
|
25
|
-
| `agent_repository.create_run` 讀 current_timeline;schema 的 base_timeline_id 不可空 | 新工作必須先走過舊計畫與時間軸 | 新 session 可在沒有時間軸時建立 |
|
|
26
|
-
| `agent_tools._confirmed_input` 及 get_edit_status 綁 confirmed plan;UI 入口放在 TimelineValidationSection | LLM 尚未取證就先被舊計畫框住 | 啟動條件改為素材權限、意圖與預算 |
|
|
27
|
-
| 對話檢索只查既有 current_preparation | 沒轉寫過的素材,容易被誤當成沒有相關對話 | 查詢同時回傳覆蓋範圍、未知範圍與可執行的補證據工作 |
|
|
28
|
-
| ASR 視窗被當作 phrase/word;字幕依字數估時 | 摘錄與分頁後不同步 | 轉寫與對齊分離,字幕使用實際字/詞時間 |
|
|
29
|
-
| 配樂層存在與 gain 值即滿足需求 | 有放置但使用者聽不到,也可能被現場聲持續 duck | 檢查來源 stem、預期增益包絡與最終混音;另處理聽感驗收 |
|
|
30
|
-
| render_preview 同時檢查完成需求 | 缺音樂的粗剪無法先輸出來看 | 草稿可輸出;完成交付另設檢查 |
|
|
31
|
-
| `_recut` 會清除字幕、效果與音訊 | 小修改會丟失已完成的後製 | 以來源/片段/剪點錨定,計算受影響項目 |
|
|
32
|
-
| 逐鏡首中末與字幕中點覆蓋 | 能證明取樣,不能證明字幕同步、連續動作與聲音正確 | 加入時間區間、音訊證據與可用的感知輸入 |
|
|
33
|
-
| 30–75 秒、30 鏡、96 段文字等界限散落在樣片流程 | 單純加長片長會撞到字幕、渲染、上下文與預算限制 | 區分樣片執行政策與可擴展的作品模型 |
|
|
34
|
-
|
|
35
|
-
分析仍然必要。要移除的是把整批分析和確認計畫當成必經關卡的設計;
|
|
36
|
-
底層來源身份、語音、畫面與時間證據要變得更可靠,並能按需取得。
|
|
37
|
-
|
|
38
|
-
## 3. 主流程與責任
|
|
39
|
-
|
|
40
|
-
```mermaid
|
|
41
|
-
flowchart LR
|
|
42
|
-
A[素材權限與使用者意圖] --> B[導演 LLM]
|
|
43
|
-
B <--> C[來源檢索與按需證據]
|
|
44
|
-
B --> D[版本化編輯]
|
|
45
|
-
D --> E[草稿與成片渲染]
|
|
46
|
-
E --> F[畫面 音訊與問題檢視]
|
|
47
|
-
F --> B
|
|
48
|
-
E --> G[使用者觀看與驗收]
|
|
49
|
-
G --> B
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
這張圖是可反覆的工作迴圈,不是模型每次必須依序走完的步驟。
|
|
53
|
-
LLM 可先看素材、先查一句話、先試一個剪點,或先比較兩種音樂。
|
|
54
|
-
本機負責可執行性、來源與權限、時間、儲存、預算及失效處理,不代替模型判斷故事。
|
|
55
|
-
|
|
56
|
-
系統按資源限制排程轉寫、取樣、渲染等工作;這不代表要同時啟動多個付費導演。
|
|
57
|
-
保留單一作品寫入序列,防止背景工作覆寫前景的編輯版本。
|
|
58
|
-
|
|
59
|
-
## 4. 分開保存的核心資料
|
|
60
|
-
|
|
61
|
-
| 資料 | 用途與權威 |
|
|
62
|
-
| --- | --- |
|
|
63
|
-
| SourceRevision | 檔案身份、串流、時間基準、可讀範圍;是引用素材的依據 |
|
|
64
|
-
| IntentRevision | 使用者的目標片長、風格、參考、必須有/不能有的內容;模型不能自行改寫 |
|
|
65
|
-
| ProductionSession | 使用哪份意圖、來源快照、能力與預算;可沒有初始時間軸 |
|
|
66
|
-
| EvidenceArtifact | 轉寫、語音活動、字詞對齊、影格、場景/人物觀察;帶來源範圍、模型版本與限制 |
|
|
67
|
-
| WorkingOutline | 模型目前的事件選擇、待查問題與故事假設;可修改,不需前置人為確認 |
|
|
68
|
-
| EditRevision | 實際素材範圍、聲畫軌、時間映射、圖形與聲音處理;可比較、撤銷、分支試做 |
|
|
69
|
-
| PreviewArtifact | 綁定精確 EditRevision、來源/素材資產及渲染配方的輸出與 stems |
|
|
70
|
-
| ReviewFinding | 哪個版本、哪個區間、看見/量到什麼問題、嚴重性、證據與狀態 |
|
|
71
|
-
| UserAcceptance | 使用者認可的是風格、這支影片、逐字稿還是混音;不得混成單一 approved |
|
|
72
|
-
|
|
73
|
-
所有來源範圍使用原生 PTS 與有理數時間基準;UI 的秒數只用於顯示。
|
|
74
|
-
來源字詞時間 → 剪輯片段 → 變速映射 → 成片影格必須有明確映射。
|
|
75
|
-
JSON 輸出仍可保留,但不應把整包模型敘述當作事實索引。
|
|
76
|
-
|
|
77
|
-
新增 session/revision 儲存模型,不直接把現有非空外鍵改成假時間軸或假計畫。
|
|
78
|
-
舊資料經讀取轉接器引用,保留原版本與出處;新資料不再要求 plan_id/plan_revision。
|
|
79
|
-
確切 migration SQL 在資料契約測試後設計,不在規劃時預先固定欄位細節。
|
|
80
|
-
|
|
81
|
-
## 5. 素材理解與檢索
|
|
82
|
-
|
|
83
|
-
### 最小啟動工作
|
|
84
|
-
|
|
85
|
-
素材目錄授權後,先做檔案登錄與必要 probe,保留檔名、錄影時間及其可信度、串流與長度。
|
|
86
|
-
這些工作不需要付費 LLM,也不需要預先看完整批素材。
|
|
87
|
-
|
|
88
|
-
### 按需證據
|
|
89
|
-
|
|
90
|
-
模型可要求來源清單/接觸表、指定區間影格、對話轉寫、語音活動、字詞對齊、
|
|
91
|
-
相鄰片段或同時段線索。每項回傳完整性與未知範圍;空搜尋結果不能等同「素材沒有這件事」。
|
|
92
|
-
長任務回傳 job handle、目前狀態與部分結果,可取消、重試及重用。
|
|
93
|
-
搜尋若只有一小部分轉寫覆蓋,必須明說覆蓋程度,讓模型決定是否擴查。
|
|
94
|
-
|
|
95
|
-
每個證據的快取鍵包括來源身份、範圍、演算法/模型版本、語言與相關修訂。
|
|
96
|
-
人工文字修訂會使對齊失效,不應使整個作品所有視覺證據失效。
|
|
97
|
-
未核對 ASR 保持草稿;語音對齊能改善時間,不能證明文字辨識正確。
|
|
98
|
-
|
|
99
|
-
### 事件與故事
|
|
100
|
-
|
|
101
|
-
事件是有來源支撐、可修訂的工作假設:人物在做什麼、期待什麼、經過什麼、反應是什麼。
|
|
102
|
-
同地點或相鄰日期只是檢索線索,不足以證明即時因果。
|
|
103
|
-
保留拍攝上下文與相鄰句,讓模型有機會發現新事件;不只在舊候選裡重排。
|
|
104
|
-
|
|
105
|
-
## 6. 工具契約:先做完整閉環,再擴大種類
|
|
106
|
-
|
|
107
|
-
以下是待設計的能力群,不代表這些新名稱已經實作;不以工具數量作交付指標。
|
|
108
|
-
|
|
109
|
-
| 能力群 | 必須能完成的工作 |
|
|
110
|
-
| --- | --- |
|
|
111
|
-
| 檢索與取證 | 列來源與覆蓋、讀相鄰上下文、取時間區間、啟動轉寫/對齊、讀取/取消工作 |
|
|
112
|
-
| 故事工作區 | 保存事件假設、證據引用、缺少的素材與可改變的工作綱要 |
|
|
113
|
-
| 聲畫剪輯 | 選源、插入、移除、裁切、重排、分割、保留來源 handle、分離聲畫、J/L cut 與 B-roll |
|
|
114
|
-
| 字幕 | 來源摘錄、正確時間映射、斷句、人物/情緒呈現、避免遮住人臉與畫面重點 |
|
|
115
|
-
| 聲音 | 公開音樂搜尋/比較、來源授權、配樂進退、原音/環境聲、降噪、EQ、duck、音量包絡與混音 |
|
|
116
|
-
| 畫面設計 | 來源錨定的指示、圈選、箭頭、局部強調、資訊標籤、比較畫面、構圖動態與必要遮罩 |
|
|
117
|
-
| 轉場與節奏 | 硬切、聲音先入/後出、合理的溶接/淡轉等;分清時間跳躍、視覺銜接與片尾 |
|
|
118
|
-
| 輸出與檢視 | 區間預覽、前後版本比較、聲音 stems、成片片段與量測、問題定位、交付打包 |
|
|
119
|
-
|
|
120
|
-
每個有副作用的操作都有 idempotency key、預期 revision、前置條件、實際差異與受影響依賴。
|
|
121
|
-
錯誤提供可以採取的下一步。模型不產生任意 shell/FFmpeg 指令;經過型別檢查的編輯表示交給編譯/渲染層。
|
|
122
|
-
未配置的能力明確回報 unavailable,不回傳空成功,也不偷偷改用未授權服務。
|
|
123
|
-
|
|
124
|
-
初版應選少量但可完整取證、執行、檢視、撤銷的畫面元素。不能只新增 schema 名稱,最後沒有實際成片。
|
|
125
|
-
複雜追蹤、生成配音、多機同步等各自列為後續能力,不混入第一個里程碑的完成宣稱。
|
|
126
|
-
|
|
127
|
-
## 7. 時間、依賴與局部修改
|
|
128
|
-
|
|
129
|
-
字幕以來源字/詞錨定;轉場以剪點錨定;人物/餐點指示以來源時間與畫面位置錨定;
|
|
130
|
-
節目固定識別與配樂段落則可有 timeline/episode 錨點。類型要明確。
|
|
131
|
-
|
|
132
|
-
裁切與重排時計算依賴差異:能映射的重新定位;無法保留的標為待修;必須失效的預覽移除驗收資格。
|
|
133
|
-
不能一律默默刪掉所有字幕與聲音,也不能留下已經對不到畫面的標註。
|
|
134
|
-
變速與交疊轉場都必須測試總影格數、聲畫同步、字詞位置與前後版本差異。
|
|
135
|
-
|
|
136
|
-
聲畫分離是 B-roll、J/L cut 與節目感的重要前提。新編輯模型不能繼續假設每鏡都只播放自己的原音。
|
|
137
|
-
|
|
138
|
-
## 8. 三個品質問題的具體處理
|
|
139
|
-
|
|
140
|
-
### 字幕
|
|
141
|
-
|
|
142
|
-
- 轉寫和對齊分開;長視窗不再假裝是逐字時間。
|
|
143
|
-
- 完整來源句先對齊,再依摘錄與斷句映射;停頓不平均分給每個字。
|
|
144
|
-
- 對齊不可靠時列出具體區間,允許先看標示待修的草稿,不能把它當成字幕完成版。
|
|
145
|
-
- 對齊結果保存模型版本、字詞範圍與驗證狀態;不因時間對齊而把 ASR 草稿改成已核對。
|
|
146
|
-
|
|
147
|
-
### 配樂與混音
|
|
148
|
-
|
|
149
|
-
- 分開保留 camera/dialogue、music、FX 及 final mix 的可檢查結果。
|
|
150
|
-
- 量測來源音量、實際增益、duck 包絡、成片峰值與局部音量;確認音樂有進入成片。
|
|
151
|
-
- 對話驅動 duck,而非讓所有現場噪音一直壓住音樂;有底限、attack/release 與可檢查的時間區間。
|
|
152
|
-
- 實際音樂標籤/授權與聽感分開;「japanese」搜尋命中不能證明曲子聽起來符合參考。
|
|
153
|
-
- 量測與相關性可以發現消失、過度壓低、爆音與時間偏移,不能單獨判斷好不好聽。
|
|
154
|
-
|
|
155
|
-
### 節目畫面
|
|
156
|
-
|
|
157
|
-
先決定這個瞬間要讓觀眾注意什麼,再選構圖、指示、標籤、比較或動態。
|
|
158
|
-
文字與數字需有來源,不能自己編價格、評分或人物發言。
|
|
159
|
-
每個元素有起迄時間、位置/錨點、進出動態與圖層順序;可檢查遮擋及在實際成片是否出現。
|
|
160
|
-
不把「每鏡加一個特效」或「累積三個元件」當成節目感驗收。
|
|
161
|
-
|
|
162
|
-
## 9. 必須先攤開的感知限制
|
|
163
|
-
|
|
164
|
-
目前導演 adapter 接收文字與影格,沒有可用的音訊聆聽輸入。
|
|
165
|
-
再增加一個只讀相同文字與截圖的模型評語,也不能證明它聽到了音樂或看完連續動作。
|
|
166
|
-
|
|
167
|
-
規劃以原片/音訊預設留在本機為邊界。兩條路需要明確取捨:
|
|
168
|
-
|
|
169
|
-
- 維持現有 adapter:依本機轉寫、對齊、量測與影格做決策,音樂風格、對白自然度及連續聽感仍由人驗收。
|
|
170
|
-
- 加入真正的影音感知 adapter:須先驗證實際支援的輸入與回傳能力,再定義資料外送、片段範圍、費用、保存與失敗處理。
|
|
171
|
-
若需要雲端服務,須另取得具體外送授權;既有縮圖/逐字稿同意不視為完整音訊上傳同意。
|
|
172
|
-
|
|
173
|
-
這項決策影響能承諾的自主程度,必須在擴展完整長片之前解決。規劃本身不代表已核准外送或選定供應商。
|
|
174
|
-
本機 forced-aligner 的下載/WIP 已存在,但尚未完成實際驗證與正式整合,不能拿來宣稱字幕問題已解決。
|
|
175
|
-
|
|
176
|
-
## 10. 驗證分層與產品狀態
|
|
177
|
-
|
|
178
|
-
| 檢查層 | 會阻止什麼 | 例子 |
|
|
179
|
-
| --- | --- | --- |
|
|
180
|
-
| 可執行性 | 阻止對應渲染/操作 | 來源越界、無權限、壞檔、無效時間與參數 |
|
|
181
|
-
| 需求完整性 | 阻止標示交付就緒,不阻止合理粗剪預覽 | 要求配樂但沒做、字幕待對齊、要求畫面元素但未完成 |
|
|
182
|
-
| 品質問題 | 依嚴重性阻止交付,或呈現待驗收 | 聲音被蓋住、字幕錯位、文字無依據、遮住人物 |
|
|
183
|
-
| 使用者驗收 | 決定是否接受作品/風格 | 故事成立、節奏自然、元素合適、聽感可用 |
|
|
184
|
-
|
|
185
|
-
建議 UI 狀態為:工作中、草稿可觀看、待修正、待驗收、已接受;技術渲染成功獨立顯示。
|
|
186
|
-
模型不能自行把自己升格為使用者已接受。不能以一句「待核對」消除已知嚴重問題。
|
|
187
|
-
已知問題必須連到確切版本與時間;清除問題需要修改或新證據,不只改評語。
|
|
188
|
-
|
|
189
|
-
## 11. 執行順序與每一步的退出條件
|
|
190
|
-
|
|
191
|
-
| 階段 | 工作與依賴 | 退出條件 |
|
|
192
|
-
| --- | --- | --- |
|
|
193
|
-
| M0:可行性與失敗基準 | 保存已知壞樣片與人工標記;用短來源片段驗證對齊、混音及一個實際畫面元件;決定音訊感知邊界 | 能重現並修正三種真實問題,留下原始證據與前後比較;失敗則先處理能力問題 |
|
|
194
|
-
| PR1:啟動與資料解耦 | 建 ProductionSession/Intent/可空草稿、新入口與舊資料轉接;依 M0 的契約 | 從未分析、沒有 plan/timeline 的作品能開始取證;取消、重啟與回退不損失舊作品 |
|
|
195
|
-
| PR2:按需證據 | 工作 handle、覆蓋台帳、快取失效、轉寫/對齊、查詢未知範圍;接入 M0 已驗證能力 | 冷啟動可發現原本沒有逐字稿的事件,無假完整性,字幕對齊測試通過 |
|
|
196
|
-
| PR3:編輯與渲染核心 | 聲畫分軌、穩定錨點、局部修改與區間預覽;舊工具經轉接器復用 | 修一個剪點不丟失其他後製;跨格率、變速與轉場不漂移 |
|
|
197
|
-
| PR4:完整聲畫製作 | 聲音進退/stems/混音檢查、少量完整視覺元素、模型能力回饋 | 真實字幕、音樂及畫面問題可被定位並修正,輸出內容符合本次明確需求 |
|
|
198
|
-
| PR5:真實自主驗收與主入口切換 | 套用下節固定評估集,取代舊 UI 必經步驟;保留舊結果入口 | 同一套流程可重現可接受樣片,沒有外層對話代選鏡頭或手改時間軸 |
|
|
199
|
-
| PR6:完整長片 | 事件/章節層編輯、連續音樂、全局敘事、分段快取與合成;依 PR5 | 目標片長影片可恢復、可局部重做、全片同步且接受敘事與聽音驗收 |
|
|
200
|
-
|
|
201
|
-
這是工程實作的依賴順序,不是使用者必須經歷的七道產品流程。
|
|
202
|
-
不要同時重寫儲存、來源掃描、所有模型與整個 renderer。沿用驗證過的來源開啟、FFmpeg、授權與版本執行能力。
|
|
203
|
-
日期與費用估算應在 M0 量測首用模型準備、實際推論、渲染及上下文成本後補入,避免現在承諾沒有依據的工期。
|
|
204
|
-
|
|
205
|
-
## 12. 驗收資料與初始門檻
|
|
206
|
-
|
|
207
|
-
以下是建議的首輪門檻,需用固定標記集校準;不是宣稱已達到,也不是通用產業標準。
|
|
208
|
-
|
|
209
|
-
- 冷啟動:刪除測試作品的舊分析/計畫前置資料仍可完成工作;不靠製造假計畫繞過。
|
|
210
|
-
- 字幕:包含中文、混合外語、長停頓、截取句、跨鏡與摘錄;人工標出起迄。初始目標起/迄誤差 p95 不超過 200 ms,
|
|
211
|
-
且不能跨到下一句/下一事件;文字正確性獨立核對,測試不能只比較自己生成的時間。
|
|
212
|
-
- 聲音:合成分頻測試驗證來源、duck、音樂進退與漏音;真實資料保留 stems 和量測,逐段聽到音樂且人聲清楚。
|
|
213
|
-
測試應能抓到「有音樂層但成片聽不到」的既有失敗,不只斷言 FFmpeg filter 字串。
|
|
214
|
-
- 畫面:在宣告作用的影格檢查實際像素/區域、來源錨點、字幕/人臉遮擋;元素須在觀看時有用途。
|
|
215
|
-
- 敘事:觀眾能說出這段發生什麼、期待和回應如何連起來;不能只驗證 setup/experience/payoff 三個欄位存在。
|
|
216
|
-
- 自主重現:先選至少三種事件,例如用餐、街頭互動、移動/場景;每種跑兩次,共六次,保存所有成功與失敗及成本。
|
|
217
|
-
初始目標至少五次達使用者可接受方向,且交付就緒版本不能有已知字幕不同步/配樂消失等嚴重問題。
|
|
218
|
-
由外層人工代剪或挑掉失敗不計成功;測試集與標記另存,不把私人素材提交 repository。
|
|
219
|
-
- 修改與恢復:對已完成樣片改一個剪點、一句字幕與一段音量,確認其他元素仍有效;中斷/重啟不自動重送付費工作。
|
|
220
|
-
- 長片:不能只調高片長常數;必須覆蓋字幕數量、分段邊界、音樂連續性、全局故事與總渲染同步。
|
|
221
|
-
|
|
222
|
-
現有 479 項測試作為相容回歸基線,不作為重構成片品質的成功率。
|
|
223
|
-
|
|
224
|
-
## 13. 預算、隱私、恢復與相容
|
|
225
|
-
|
|
226
|
-
- 每次工作固定來源授權、意圖與預算快照;可再取得使用者明確新增範圍,模型不可擴權。
|
|
227
|
-
- 本機工作與付費推論分開記帳;input、cache、output 與未取得用量分開呈現,處理總量不冒充同額花費。
|
|
228
|
-
- 對證據/預覽使用內容快取與區間重做;避免模型反覆讀整份素材/舊計畫或重跑已完成分析。
|
|
229
|
-
- 預算不足時保存可恢復草稿與待辦,不降低品質檢查來假裝完成,也不自動無限重試付費工作。
|
|
230
|
-
- 保留來源、字幕修訂、音樂權利與變更紀錄;音樂下載與本機模型版本固定、可驗證、可取消。
|
|
231
|
-
- 模型輸出只能操作授權 ID 與型別化參數,不能把素材內的文字當成系統指令。
|
|
232
|
-
- 新舊流程可切換;新成果用新 session 格式保存。回退舊程式時不要求它讀懂新格式,也不破壞原作品。
|
|
233
|
-
- PR #29 保存重構前的實作基準;依使用者決定合併,已知品質問題與重構待辦仍保留,不視為成片驗收。
|
|
234
|
-
|
|
235
|
-
## 14. 第一個實作決策
|
|
236
|
-
|
|
237
|
-
先執行 M0,產出「真實失敗 → 可觀測原因 → 局部修正 → 可重現結果」的證據,
|
|
238
|
-
再確定 session/工具/渲染契約並開始 PR1。這能避免解除舊流程後,只把相同的字幕與混音錯誤搬進新架構。
|
|
239
|
-
|
|
240
|
-
在選定具體音訊感知方案前,維持原音/影片留在本機的預設;外送權限與費用不能靠規劃文字默認。
|
|
241
|
-
規劃的完成不等於已取得執行新一輪付費驗證的授權。
|