.workflow-main{min-width:0;overflow:auto}.workflow-sidebar{position:relative;z-index:calc(var(--z-base) + 1);box-sizing:border-box;grid-template-rows:auto auto minmax(0,1fr);gap:var(--space-3);width:100%;height:100%;max-height:none;overflow-y:hidden;border:1px solid var(--border-subtle);border-radius:var(--radius-card);padding:var(--workflow-card-padding);background:color-mix(in srgb,var(--bg-panel) 92%,transparent);box-shadow:var(--shadow-panel);animation:workflow-sidebar-enter var(--workflow-motion-sidebar-duration) var(--ease-cinematic) backwards;will-change:opacity,transform,filter}.workflow-sidebar,.workflow-sidebar-scroll{display:grid;align-content:start;min-width:0;min-height:0;overflow-x:hidden;overscroll-behavior-x:none;overscroll-behavior-y:contain;touch-action:pan-y;scrollbar-color:var(--scrollbar-firefox-thumb) var(--scrollbar-track)}.workflow-sidebar-scroll{gap:var(--space-6);overflow-y:auto;scrollbar-width:thin}.workflow-sidebar-scroll::-webkit-scrollbar{width:var(--scrollbar-size)}.workflow-sidebar-scroll::-webkit-scrollbar-track{background:var(--scrollbar-track)}.workflow-sidebar-scroll::-webkit-scrollbar-thumb{border:var(--scrollbar-thumb-inset) solid transparent;border-radius:var(--radius-pill);background:var(--scrollbar-thumb);background-clip:content-box}.workflow-sidebar-scroll::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover);background-clip:content-box}.workflow-sidebar::-webkit-scrollbar{width:var(--scrollbar-size)}.workflow-sidebar::-webkit-scrollbar-track{background:var(--scrollbar-track)}.workflow-sidebar::-webkit-scrollbar-thumb{border:var(--scrollbar-thumb-inset) solid transparent;border-radius:var(--radius-pill);background:var(--scrollbar-thumb);background-clip:content-box}.workflow-sidebar::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover);background-clip:content-box}.workflow-sidebar .ui-tip:focus-visible,.workflow-sidebar .ui-tip:hover{z-index:calc(var(--z-popover) + 1)}.workflow-actions,.workflow-export-panel,.workflow-footer,.workflow-progress>div:first-child,.workflow-sidebar-head,.workflow-step-title,.workflow-toolbar,.workflow-toolbar-right{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4)}.workflow-export-stats strong,.workflow-progress strong,.workflow-sidebar-head strong{font-size:var(--text-xl);font-weight:var(--fw-medium);letter-spacing:-.4px}.workflow-sidebar-head{min-width:0;max-width:100%;overflow-x:hidden}.workflow-group{display:grid;gap:var(--space-2);min-width:0;max-width:100%}.workflow-group-label{color:var(--text-muted);font-family:var(--font-mono);font-size:var(--text-xs);letter-spacing:.8px;animation:workflow-label-enter var(--workflow-motion-step-duration) var(--ease-cinematic) var(--workflow-motion-delay,0s) backwards}.workflow-optional-toggle{display:grid;grid-template-columns:10px minmax(0,1fr) auto auto;gap:var(--space-2);align-items:center;justify-items:start;width:100%;min-height:var(--workflow-step-height);border:1px solid color-mix(in srgb,var(--border-subtle) 72%,transparent);border-radius:var(--control-radius-button);padding-block:0;padding-inline:var(--control-padding-x-regular);background:color-mix(in srgb,var(--bg-soft) 82%,transparent);color:var(--text-muted);cursor:pointer;box-shadow:var(--shadow-control-rest);text-align:left;transition:background-color var(--motion-control) var(--easing-control),border-color var(--motion-control) var(--easing-control),color var(--motion-control) var(--easing-control),box-shadow var(--motion-control) var(--easing-control),transform var(--motion-control) var(--easing-control)}.workflow-optional-toggle:hover{transform:translateY(-1px);border-color:var(--text-primary);background:var(--bg-soft);box-shadow:var(--shadow-control-hover)}.workflow-optional-toggle:focus-visible{outline:var(--focus-ring-width) solid var(--focus-border);outline-offset:var(--focus-ring-offset)}.workflow-optional-toggle-dot{width:8px;height:8px;border-radius:50%;background:color-mix(in srgb,var(--border-strong) 70%,transparent)}.workflow-optional-toggle-label{min-width:0;max-width:100%;overflow:hidden;color:var(--text-secondary);font-size:var(--text-xs);text-overflow:ellipsis;white-space:nowrap}.workflow-optional-toggle-count{display:inline-flex;align-items:center;justify-self:end;min-height:var(--control-height-mini);border:1px solid var(--border-subtle);border-radius:var(--control-radius-pill);padding-inline:var(--control-padding-x-mini);background:color-mix(in srgb,var(--bg-panel) 76%,transparent);color:var(--text-muted);font-size:var(--text-2xs);line-height:1;white-space:nowrap}.workflow-optional-toggle-icon{justify-self:end;color:var(--text-muted);font-family:var(--font-mono);font-size:var(--text-xs);line-height:1}.workflow-optional-steps{display:grid;gap:var(--space-2);margin-inline-start:var(--space-1);padding-inline-start:var(--space-2);border-inline-start:1px solid var(--border-subtle)}.workflow-chip,.workflow-footer-button,.workflow-pill,.workflow-primary-action,.workflow-secondary-action,.workflow-step{display:inline-flex;align-items:center;justify-content:center;min-height:var(--control-height-compact);border:1px solid var(--border-subtle);border-radius:var(--control-radius-pill);padding-block:0;padding-inline:var(--control-padding-x-compact);background:var(--bg-soft);color:var(--text-primary);font-size:var(--text-xs);letter-spacing:-.08px;cursor:pointer;box-shadow:var(--shadow-control-rest);transition:background-color var(--motion-control) var(--easing-control),border-color var(--motion-control) var(--easing-control),color var(--motion-control) var(--easing-control),box-shadow var(--motion-control) var(--easing-control),transform var(--motion-control) var(--easing-control)}.workflow-step{box-sizing:border-box;display:grid;grid-template-columns:10px minmax(0,1fr);align-items:center;justify-items:start;width:100%;min-height:var(--workflow-step-height);border-radius:var(--control-radius-button);padding-inline:var(--control-padding-x-regular);text-align:left;animation:workflow-step-enter var(--workflow-motion-step-duration) var(--ease-cinematic) var(--workflow-motion-delay,0s) backwards;will-change:opacity,transform}.workflow-step,.workflow-step>span{max-width:100%;min-width:0;overflow:hidden}.workflow-step>span{text-overflow:ellipsis;white-space:nowrap}.workflow-primary-action{font-weight:var(--fw-medium)}.workflow-batch-run-action .workflow-primary-action{min-height:var(--control-height-regular);border-radius:var(--control-radius-button);padding-inline:var(--control-padding-x-regular);font-size:var(--text-xs)}.workflow-batch-run-action .workflow-primary-action[disabled]:not(.is-running){min-height:var(--control-height-compact);border-radius:var(--control-radius-pill);padding-inline:var(--control-padding-x-compact);font-size:var(--text-xs)}.workflow-batch-run-action{display:inline-flex;align-items:center;gap:var(--actions-gap-tight);min-width:0;max-width:100%}.workflow-batch-run-limit{box-sizing:border-box;display:inline-flex;flex:0 0 auto;align-items:center;gap:var(--space-2);min-width:max-content;min-height:var(--control-height-regular);border:1px solid color-mix(in srgb,var(--border-subtle) 78%,transparent);border-radius:var(--control-radius-button);padding:0 var(--space-2);background:var(--bg-soft);color:color-mix(in srgb,var(--text-secondary) 82%,transparent);font-size:var(--text-xs);white-space:nowrap}.workflow-batch-run-limit-label{flex:0 0 auto}.workflow-batch-run-limit input{box-sizing:border-box;flex:0 0 calc(var(--space-8) + var(--space-6));width:calc(var(--space-8) + var(--space-6));min-height:var(--control-height-compact);border:0;border-radius:var(--control-radius-pill);padding:0 var(--space-2);appearance:textfield;background:color-mix(in srgb,var(--surface-panel) 78%,transparent);color:var(--text-primary);font:inherit;text-align:center}.workflow-batch-run-limit input::-webkit-inner-spin-button,.workflow-batch-run-limit input::-webkit-outer-spin-button{margin:0;appearance:none}.workflow-batch-run-limit input:focus-visible{outline:2px solid color-mix(in srgb,var(--v2-accent-orange) 48%,transparent);outline-offset:1px}.workflow-batch-run-limit input:disabled{opacity:.52}.workflow-head-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:var(--actions-gap-tight);min-width:0}.workflow-video-source-quick-select{min-width:136px}.workflow-video-source-quick-select .custom-select-label{color:var(--text-muted);font-size:var(--text-2xs);white-space:nowrap}.workflow-video-source-quick-select .custom-select-trigger{min-height:var(--control-height-regular);border-radius:var(--control-radius-button);padding-inline:var(--control-padding-x-regular);background:color-mix(in srgb,var(--bg-panel) 88%,var(--color-black) 12%);border-color:var(--border-subtle);color:var(--text-primary);box-shadow:var(--shadow-control-rest)}.workflow-primary-action.is-running{cursor:progress;opacity:.92}.workflow-footer-button.primary{min-height:var(--control-height-large);border-radius:var(--control-radius-button);padding-inline:var(--control-padding-x-large);font-size:var(--text-md)}.workflow-pill{min-height:var(--control-height-mini);padding-inline:var(--control-padding-x-mini);font-size:var(--text-2xs);cursor:default;color:var(--text-muted)}.workflow-chip[aria-pressed=true],.workflow-footer-button.primary,.workflow-primary-action,.workflow-step[aria-current=step]{border-color:var(--text-primary);background:var(--text-primary);color:var(--bg-page)}.workflow-step[aria-current=step]{border-inline-start-width:2px;border-inline-start-color:var(--text-muted);padding-inline-start:calc(var(--control-padding-x-regular) - 1px)}.workflow-step[aria-current=step].status-ready{border-inline-start-color:var(--v2-status-success-text)}.workflow-step[aria-current=step].status-generating{border-inline-start-color:var(--v2-status-info-text)}.workflow-step[aria-current=step].status-needs-review{border-inline-start-color:var(--v2-status-warning-text)}.workflow-step[aria-current=step].status-failed{border-inline-start-color:var(--v2-status-error-text)}.workflow-chip:hover,.workflow-footer-button:hover:not(:disabled),.workflow-secondary-action:hover,.workflow-step:hover{transform:translateY(-1px);border-color:var(--text-primary);box-shadow:var(--shadow-control-hover)}.workflow-primary-action:hover:not(:disabled){transform:translateY(-1px);border-color:var(--text-primary);box-shadow:var(--shadow-control-primary-hover)}.workflow-chip:active,.workflow-footer-button:active:not(:disabled),.workflow-primary-action:active:not(:disabled),.workflow-secondary-action:active,.workflow-step:active{transform:translateY(0);box-shadow:var(--shadow-control-press-inset)}.workflow-chip:focus-visible,.workflow-footer-button:focus-visible,.workflow-primary-action:focus-visible,.workflow-secondary-action:focus-visible,.workflow-step:focus-visible{outline:var(--focus-ring-width) solid var(--focus-border);outline-offset:var(--focus-ring-offset)}.workflow-step-dot{width:8px;height:8px;border-radius:50%;background:var(--border-strong)}.workflow-status.status-ready,.workflow-step.status-ready .workflow-step-dot{color:var(--v2-status-success-text)}.workflow-step.status-ready .workflow-step-dot{background:var(--v2-status-success)}.workflow-step.status-generating .workflow-step-dot{background:var(--v2-status-info)}.workflow-step.status-needs-review .workflow-step-dot{background:var(--v2-status-warning)}.workflow-asset-status-pill.status-generating,.workflow-queue-strip .status-generating .status-dot,.workflow-status.status-generating,.workflow-step.status-generating .workflow-step-dot{animation:workflow-generating-pulse var(--workflow-motion-feedback-duration) ease-in-out infinite}.workflow-step.status-needs-review .workflow-step-dot{box-shadow:0 0 0 2px color-mix(in srgb,var(--v2-status-warning) 35%,transparent)}.workflow-step.status-empty .workflow-step-dot{background:var(--border-strong)}.workflow-step.status-failed .workflow-step-dot{background:var(--v2-status-error);box-shadow:0 0 0 2px color-mix(in srgb,var(--v2-status-error) 30%,transparent)}.workflow-progress{display:grid;gap:var(--space-1);padding:var(--space-1) var(--space-2);border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:color-mix(in srgb,var(--bg-soft) 70%,transparent);color:var(--text-muted);font-size:var(--text-2xs);animation:workflow-label-enter var(--workflow-motion-stage-duration) var(--ease-cinematic) 90ms backwards}.workflow-progress-bar{height:4px;overflow:hidden;border-radius:var(--radius-pill);background:var(--bg-soft)}.workflow-progress-bar span{display:block;height:100%;border-radius:inherit;background:var(--text-primary);transition:width var(--workflow-motion-main-duration) var(--ease-cinematic)}.workflow-main{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:var(--space-5);min-height:0;overflow:hidden;animation:workflow-main-enter var(--workflow-motion-main-duration) var(--ease-cinematic) var(--workflow-motion-main-delay) backwards;will-change:opacity,transform,filter}.workflow-asset-grid,.workflow-editor,.workflow-empty-state,.workflow-export-panel,.workflow-generating-state,.workflow-shot-list{min-height:280px}.workflow-editor{position:relative;display:grid;align-content:start;gap:var(--space-5);border:1px solid var(--border-subtle);border-radius:var(--radius-card);padding:var(--space-6);background:var(--bg-soft)}.workflow-editor>p{max-width:720px;margin:0 auto;color:var(--text-primary);font-size:var(--text-display-sm);line-height:var(--leading-relaxed);letter-spacing:var(--tracking-tight)}.workflow-editor>small{max-width:720px;margin-inline:auto;color:var(--text-muted);font-size:var(--text-md);line-height:var(--leading-normal)}.workflow-source-meta{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3);padding-bottom:var(--space-3);border-bottom:1px solid var(--border-subtle);font-size:var(--text-xs);color:var(--text-muted);letter-spacing:var(--tracking-tight)}.workflow-source-meta-item{display:inline-flex;align-items:center;font-variant-numeric:tabular-nums}.workflow-source-meta-item+.workflow-source-meta-item:before{content:"·";margin-inline-end:var(--space-3);color:var(--border-strong)}.workflow-source-meta-action{margin-inline-start:auto;background:transparent;border:0;padding:0;color:var(--text-primary);font-size:var(--text-xs);letter-spacing:var(--tracking-tight);cursor:pointer;transition:color var(--motion-control) var(--easing-control)}.workflow-source-meta-action:hover{color:var(--text-link,var(--text-primary));text-decoration:underline;text-underline-offset:2px}.workflow-source-meta-action:focus-visible{outline:var(--focus-ring-width) solid var(--focus-border);outline-offset:var(--focus-ring-offset);border-radius:var(--radius-sm)}.workflow-asset-card p,.workflow-asset-card small,.workflow-shot-row p{color:var(--text-muted)}.workflow-empty-state{display:grid;place-items:center;align-content:center;gap:var(--space-4);border:1px dashed var(--border-strong);border-radius:var(--radius-card);padding:var(--space-10);background:var(--bg-soft);text-align:center}.workflow-empty-icon{width:46px;height:46px;border:1px solid var(--border-strong);border-radius:var(--radius-card);background:linear-gradient(90deg,transparent 48%,var(--border-subtle) 50%,transparent 52%),linear-gradient(0deg,transparent 48%,var(--border-subtle) 50%,transparent 52%)}.workflow-empty-state h3{margin:0;font-size:var(--text-xl)}.workflow-empty-state p{max-width:520px;margin:0}.workflow-generating-state{position:relative;display:grid;place-items:center;align-content:center;gap:var(--space-5);min-height:280px;padding:var(--space-8);border-radius:var(--radius-md);overflow:hidden;border:1px solid var(--border-subtle);background:var(--bg-panel)}.workflow-generating-glow{position:absolute;inset:0;background:radial-gradient(ellipse 60% 40% at 50% 50%,color-mix(in srgb,var(--v2-status-info) 6%,transparent),transparent);animation:generating-glow-pulse 2.5s ease-in-out infinite;pointer-events:none}@keyframes generating-glow-pulse{0%,to{opacity:.4}50%{opacity:1}}.workflow-generating-content{position:relative;display:grid;place-items:center;gap:var(--space-4);text-align:center}.workflow-generating-content h3{margin:0;font-size:var(--text-lg);font-weight:var(--fw-semibold);color:var(--text-primary);animation:generating-text-pulse 2s ease-in-out infinite}.workflow-generating-content p{margin:0;max-width:400px;font-size:var(--text-sm);color:var(--text-muted);line-height:var(--leading-relaxed)}@keyframes generating-text-pulse{0%,to{opacity:1}50%{opacity:.6}}.workflow-generating-icon{position:relative;width:33px;height:33px;perspective:67px}.workflow-generating-icon span{display:block;width:100%;height:100%;background:var(--v2-status-info);position:absolute;left:50%;transform-origin:left;border-radius:2px;animation:generating-page-flip 2s infinite}.workflow-generating-icon span:first-child{animation-delay:.15s}.workflow-generating-icon span:nth-child(2){animation-delay:.3s}.workflow-generating-icon span:nth-child(3){animation-delay:.45s}.workflow-generating-icon span:nth-child(4){animation-delay:.6s}.workflow-generating-icon span:nth-child(5){animation-delay:.75s}@keyframes generating-page-flip{0%{transform:rotateY(0deg);opacity:1}50%,80%{transform:rotateY(-180deg);opacity:1}90%,to{opacity:0;transform:rotateY(-180deg)}}.workflow-generating-eyes{position:relative;width:108px;height:48px;display:flex;justify-content:space-between}.workflow-generating-eyes:after,.workflow-generating-eyes:before{content:"";display:inline-block;width:48px;height:48px;background-color:var(--v2-status-info-text);background-image:radial-gradient(circle 14px,var(--surface-page) 100%,transparent 0);background-repeat:no-repeat;border-radius:50%;animation:generating-eye-move 10s infinite,generating-eye-blink 10s infinite}@keyframes generating-eye-move{0%,10%{background-position:0 0}13%,40%{background-position:-15px 0}43%,70%{background-position:15px 0}73%,90%{background-position:0 15px}93%,to{background-position:0 0}}@keyframes generating-eye-blink{0%,10%,12%,20%,22%,40%,42%,60%,62%,70%,72%,90%,92%,98%,to{height:48px}11%,21%,41%,61%,71%,91%,99%{height:18px}}.workflow-generating-wave{display:flex;justify-content:center;align-items:flex-end;width:160px;height:64px}.workflow-generating-wave>span{width:14px;height:10px;margin:0 4px;background-color:var(--v2-status-info-text);border-radius:4px;animation:generating-wave-bar 1s ease-in-out infinite}.workflow-generating-wave>span:nth-child(2){animation-delay:.1s}.workflow-generating-wave>span:nth-child(3){animation-delay:.2s}.workflow-generating-wave>span:nth-child(4){animation-delay:.3s}@keyframes generating-wave-bar{0%{height:10px}50%{height:48px}to{height:10px}}.workflow-generating-cards{display:flex;gap:10px;justify-content:center;align-items:flex-end;height:100px}.workflow-generating-cards>span{position:relative;width:20px;height:30px;perspective:500px;animation:generating-card-flip 2s ease-in-out infinite}.workflow-generating-cards>span:after,.workflow-generating-cards>span:before{content:"";position:absolute;width:100%;height:100%;border-radius:4px;backface-visibility:hidden}.workflow-generating-cards>span:before{background:var(--v2-status-info)}.workflow-generating-cards>span:after{background:color-mix(in srgb,var(--v2-status-info) 65%,transparent);transform:rotateY(180deg)}.workflow-generating-cards>span:nth-child(2){animation-delay:.2s}.workflow-generating-cards>span:nth-child(3){animation-delay:.4s}.workflow-generating-cards>span:nth-child(4){animation-delay:.6s}@keyframes generating-card-flip{0%,to{transform:rotateY(0deg)}50%{transform:rotateY(180deg)}}.workflow-generating-meta{display:flex;align-items:center;gap:var(--space-3);margin-top:var(--space-2)}.workflow-generating-step{font-size:var(--text-xs);color:var(--text-muted);padding:2px 8px;border-radius:var(--radius-sm);background:var(--surface-subtle)}.workflow-generating-timer{font-size:var(--text-sm);font-variant-numeric:tabular-nums;color:var(--v2-status-info-text);font-weight:var(--fw-medium)}.workflow-generating-bar{position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--border-subtle);overflow:hidden}.workflow-generating-bar:after{content:"";position:absolute;inset:0;width:40%;background:linear-gradient(90deg,transparent,var(--v2-status-info),transparent);animation:generating-bar-slide 1.8s ease-in-out infinite}@keyframes generating-bar-slide{0%{transform:translateX(-100%)}to{transform:translateX(350%)}}.workflow-generating-cursor{display:inline-block;margin-left:1px;font-weight:var(--fw-light);color:var(--v2-status-info-text);animation:generating-cursor-blink .8s steps(2) infinite}@keyframes generating-cursor-blink{0%{opacity:1}50%{opacity:0}}.workflow-shot-list{display:grid;align-content:start;gap:var(--space-3)}.workflow-shot-row{display:grid;grid-template-columns:68px minmax(0,1fr);gap:var(--space-5);border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:var(--space-5);background:var(--bg-soft)}.workflow-shot-row span{color:var(--text-muted);font-family:var(--font-mono);font-size:var(--text-sm)}.workflow-asset-card strong,.workflow-shot-row strong{display:block;margin-bottom:var(--space-1)}.workflow-asset-card p,.workflow-shot-row p{margin:0;font-size:var(--text-sm)}.workflow-asset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:var(--space-5)}.workflow-step-library{position:relative}.workflow-step-library small{min-width:0;max-width:100%;overflow:hidden;margin-left:auto;color:var(--text-muted);font-family:var(--font-mono);font-size:var(--text-2xs);text-overflow:ellipsis;white-space:nowrap}.asset-library-panel{display:grid;align-content:start;gap:var(--space-6)}.asset-library-section{border:1px solid var(--border-subtle);border-radius:var(--radius-card);background:linear-gradient(180deg,color-mix(in srgb,var(--text-primary) 4%,transparent),transparent 38%),var(--bg-soft)}.asset-library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);min-width:0}.asset-library-metrics{display:flex;flex-wrap:wrap;gap:var(--space-2);min-width:0}.asset-library-density{display:inline-flex;flex:0 0 auto;align-items:center;gap:var(--space-2);color:var(--text-muted);font-size:var(--text-xs);font-weight:var(--fw-medium);line-height:var(--leading-tight);white-space:nowrap}.asset-library-density-title{color:var(--text-secondary)}.asset-library-density output{min-width:3.5ch;color:var(--text-primary);font-family:var(--font-mono);text-align:right}.asset-library-density-input{--asset-library-density-fill:33.333%;width:104px;height:18px;appearance:none;background:transparent;cursor:pointer}.asset-library-density-input::-webkit-slider-runnable-track{height:3px;border-radius:var(--radius-pill);background:linear-gradient(90deg,color-mix(in srgb,var(--text-primary) 34%,transparent) 0 var(--asset-library-density-fill),color-mix(in srgb,var(--text-primary) 14%,transparent) var(--asset-library-density-fill) 100%)}.asset-library-density-input::-webkit-slider-thumb{width:12px;height:12px;margin-top:calc(var(--space-1) * -1);appearance:none;border:1px solid color-mix(in srgb,var(--text-primary) 72%,transparent);border-radius:var(--radius-pill);background:var(--text-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--text-primary) 10%,transparent)}.asset-library-density-input::-moz-range-track{height:3px;border:0;border-radius:var(--radius-pill);background:color-mix(in srgb,var(--text-primary) 14%,transparent)}.asset-library-density-input::-moz-range-progress{height:3px;border-radius:var(--radius-pill);background:color-mix(in srgb,var(--text-primary) 34%,transparent)}.asset-library-density-input::-moz-range-thumb{width:12px;height:12px;border:1px solid color-mix(in srgb,var(--text-primary) 72%,transparent);border-radius:var(--radius-pill);background:var(--text-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--text-primary) 10%,transparent)}.asset-library-density-input:focus-visible{outline:none}.asset-library-density-input:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px color-mix(in srgb,var(--text-primary) 14%,transparent),0 0 0 5px color-mix(in srgb,var(--v2-accent-orange) 18%,transparent)}.asset-library-density-input:focus-visible::-moz-range-thumb{box-shadow:0 0 0 3px color-mix(in srgb,var(--text-primary) 14%,transparent),0 0 0 5px color-mix(in srgb,var(--v2-accent-orange) 18%,transparent)}.asset-library-meta span,.asset-library-metrics span,.asset-library-reference-row span{border:1px solid color-mix(in srgb,var(--text-primary) 12%,transparent);border-radius:var(--radius-pill);background:color-mix(in srgb,var(--text-primary) 6%,transparent);color:var(--text-muted);font-size:var(--text-xs)}.asset-library-metrics span{padding:6px 10px}.asset-library-section{display:grid;gap:var(--space-4);padding:var(--space-5)}.asset-library-section>header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-4)}.asset-library-section>header strong{display:block;color:var(--text-primary);font-size:var(--text-lg)}.asset-library-section>header small{display:block;margin-top:var(--space-1);color:var(--text-muted);font-size:var(--text-sm)}.asset-library-section>header>span{border:1px solid var(--border-subtle);border-radius:var(--radius-pill);padding:4px 8px;color:var(--text-muted);font-family:var(--font-mono);font-size:var(--text-xs)}.asset-library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-4)}.asset-library-grid[data-density-columns="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}.asset-library-grid[data-density-columns="5"],.asset-library-grid[data-density-columns="6"]{grid-template-columns:repeat(5,minmax(0,1fr))}.asset-library-card{display:grid;align-content:start;gap:var(--space-3);min-width:0;overflow:hidden;border:1px solid color-mix(in srgb,var(--text-primary) 10%,transparent);border-radius:var(--radius-card);padding:var(--space-4);background:color-mix(in srgb,var(--bg-panel) 66%,transparent)}.asset-library-panel[data-density-columns="5"] .asset-library-card,.asset-library-panel[data-density-columns="6"] .asset-library-card{gap:var(--space-2);padding:var(--space-3)}.asset-library-preview{position:relative;display:grid;width:100%;max-width:100%;min-width:0;aspect-ratio:16/9;place-items:center;overflow:hidden;border:1px solid color-mix(in srgb,var(--text-primary) 10%,transparent);border-radius:var(--radius-md);background:var(--color-black);color:var(--text-muted);font-size:var(--text-sm)}.asset-library-preview img,.asset-library-preview video{display:block;width:100%;max-width:100%;height:100%;min-width:0;object-fit:contain;animation:workflow-media-reveal var(--workflow-motion-card-duration) var(--ease-cinematic) backwards}.asset-library-preview-button{position:relative;display:grid;width:100%;max-width:100%;height:100%;min-width:0;place-items:center;overflow:hidden;border:0;border-radius:inherit;padding:0;background:transparent;color:var(--text-primary);cursor:zoom-in}.asset-library-preview-button span{position:absolute;right:var(--space-2);bottom:var(--space-2);border-radius:var(--radius-pill);padding:4px 8px;background:color-mix(in srgb,var(--color-black) 66%,transparent);color:var(--text-primary);font-size:var(--text-2xs)}.asset-library-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-3)}.asset-library-card-head>div,.asset-library-card>*{min-width:0;max-width:100%}.asset-library-card-head strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:var(--text-primary);font-size:var(--text-md);line-height:1.35;overflow-wrap:anywhere}.asset-library-card-head small{display:block;overflow:hidden;margin-top:var(--space-1);color:var(--text-muted);font-size:var(--text-xs);text-overflow:ellipsis;white-space:nowrap}.asset-library-meta,.asset-library-reference-row{display:flex;flex-wrap:wrap;gap:var(--space-1)}.asset-library-meta span,.asset-library-reference-row span{padding:2px 6px}.asset-library-reference-row span{border-color:color-mix(in srgb,var(--v2-accent-orange) 26%,transparent);color:var(--text-accent)}.asset-library-error{display:-webkit-box;overflow:hidden;margin:0;-webkit-box-orient:vertical;-webkit-line-clamp:3;color:var(--v2-status-error-text);font-size:var(--text-xs);line-height:var(--leading-normal)}.asset-library-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-2);min-width:0}.asset-library-actions>*{min-width:0;max-width:100%}.asset-library-link{display:inline-grid;place-items:center;text-decoration:none}.workflow-asset-card{position:relative;display:grid;align-content:start;gap:var(--space-4);overflow:hidden;border:1px solid var(--border-subtle);border-radius:var(--radius-card);padding:var(--space-5);background:linear-gradient(180deg,color-mix(in srgb,var(--text-primary) 4%,transparent),transparent 34%),var(--bg-soft);transition:border-color var(--motion-medium) ease,transform var(--motion-medium) ease,background var(--motion-medium) ease}.workflow-stage-scroll .asset-library-grid>.asset-library-card,.workflow-stage-scroll .character-reference-grid>.character-reference-card,.workflow-stage-scroll .extract-preview-item,.workflow-stage-scroll>.workflow-asset-grid>.workflow-asset-card{animation:workflow-card-enter var(--workflow-motion-card-duration) var(--ease-cinematic) backwards;will-change:opacity,transform}.workflow-stage-scroll .asset-library-grid>.asset-library-card:nth-child(2),.workflow-stage-scroll .character-reference-grid>.character-reference-card:nth-child(2),.workflow-stage-scroll .extract-preview-item:nth-child(2),.workflow-stage-scroll>.workflow-asset-grid>.workflow-asset-card:nth-child(2){animation-delay:50ms}.workflow-stage-scroll .asset-library-grid>.asset-library-card:nth-child(3),.workflow-stage-scroll .character-reference-grid>.character-reference-card:nth-child(3),.workflow-stage-scroll .extract-preview-item:nth-child(3),.workflow-stage-scroll>.workflow-asset-grid>.workflow-asset-card:nth-child(3){animation-delay:.1s}.workflow-stage-scroll .asset-library-grid>.asset-library-card:nth-child(n+4),.workflow-stage-scroll .character-reference-grid>.character-reference-card:nth-child(n+4),.workflow-stage-scroll .extract-preview-item:nth-child(n+4),.workflow-stage-scroll>.workflow-asset-grid>.workflow-asset-card:nth-child(n+4){animation-delay:.15s}.workflow-asset-card:hover{transform:translateY(-1px);border-color:var(--border-strong)}.workflow-asset-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-1)}.workflow-asset-card-head>div{min-width:0}.workflow-asset-card-head strong{display:-webkit-box;overflow:hidden;margin-bottom:var(--space-1);-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:var(--text-md);line-height:1.25}.workflow-asset-card-head small{display:block;overflow:hidden;color:var(--text-muted);font-family:var(--font-mono);font-size:var(--text-2xs);text-overflow:ellipsis;white-space:nowrap}.workflow-asset-status-pill{flex:0 0 auto;border:1px solid color-mix(in srgb,var(--text-primary) 12%,transparent);border-radius:var(--radius-pill);padding:2px 8px;background:color-mix(in srgb,var(--text-primary) 6%,transparent);color:var(--text-muted);font-size:var(--text-2xs);font-weight:var(--fw-medium);line-height:1.4}.workflow-asset-status-pill.status-ready{border-color:color-mix(in srgb,var(--v2-status-success) 42%,transparent);color:var(--v2-status-success-text)}.workflow-asset-status-pill.status-generating{border-color:color-mix(in srgb,var(--v2-status-info) 42%,transparent);color:var(--v2-status-info-text)}.workflow-asset-status-pill.status-failed{border-color:color-mix(in srgb,var(--v2-status-error) 42%,transparent);color:var(--v2-status-error-text)}.workflow-asset-status-pill.status-needs-review{border-color:color-mix(in srgb,var(--v2-status-warning) 42%,transparent);color:var(--v2-status-warning-text)}.workflow-asset-purpose{display:-webkit-box;overflow:hidden;margin:calc(var(--space-2) * -1) 0 0;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:var(--text-primary);font-size:var(--text-sm);font-weight:var(--fw-medium);line-height:1.48}.workflow-asset-notes{display:grid;gap:var(--space-1);margin:var(--space-3) 0 0;padding-left:var(--space-4);line-height:1.45}.workflow-asset-note,.workflow-asset-notes{color:var(--text-muted);font-size:var(--text-xs)}.workflow-asset-note{margin:0;line-height:var(--leading-normal)}.video-prompt-mode-mismatch{margin:var(--space-2) 0;padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);border:1px solid color-mix(in srgb,var(--v2-status-warning) 28%,transparent);background:color-mix(in srgb,var(--v2-status-warning) 6%,transparent);color:var(--text-secondary);font-size:var(--text-xs);line-height:var(--leading-normal)}.workflow-asset-bible{display:grid;gap:var(--space-2);padding:var(--space-3);border:1px solid color-mix(in srgb,var(--text-primary) 10%,transparent);border-radius:var(--radius-md);background:color-mix(in srgb,var(--bg-panel) 58%,transparent)}.workflow-asset-bible-ref{display:inline-block;font-family:var(--font-mono);font-size:var(--text-2xs);letter-spacing:var(--tracking-wider);color:var(--text-muted)}.workflow-asset-bible-headline{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:var(--text-sm);line-height:1.48;color:var(--text-primary)}.workflow-asset-palette{display:flex;align-items:center;gap:var(--space-1)}.workflow-asset-palette-chip{width:18px;height:8px;border-radius:var(--radius-pill);border:1px solid color-mix(in srgb,var(--text-primary) 14%,transparent)}.workflow-asset-palette-text{font-family:var(--font-mono);font-size:var(--text-2xs);color:var(--text-muted);margin-left:var(--space-1)}.workflow-asset-keyword-row{display:flex;flex-wrap:wrap;gap:var(--space-1)}.workflow-asset-keyword-chip{font-size:var(--text-2xs);padding:2px 6px;border-radius:var(--radius-pill);background:color-mix(in srgb,var(--text-primary) 8%,transparent);color:var(--text-muted)}.workflow-asset-details{padding:0;min-width:0;overflow:hidden;border:1px solid color-mix(in srgb,var(--text-primary) 10%,transparent);border-radius:var(--radius-md);background:color-mix(in srgb,var(--bg-panel) 56%,transparent)}.workflow-asset-details>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:var(--space-2);min-width:0;min-height:var(--control-height-regular);padding-block:0;padding-inline:var(--space-3);font-size:var(--text-xs);color:var(--text-muted);user-select:none}.workflow-asset-details[open]>summary{border-bottom:1px solid color-mix(in srgb,var(--text-primary) 8%,transparent)}.workflow-asset-details>summary::-webkit-details-marker{display:none}.workflow-asset-details>summary:before{content:"";flex-shrink:0;display:inline-block;width:0;height:0;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:6px solid var(--text-muted);transition:transform var(--motion-control,.16s) var(--easing-control,ease)}.workflow-asset-details[open]>summary:before{transform:rotate(90deg)}.workflow-asset-details-meta{margin-left:auto;font-family:var(--font-mono);font-size:var(--text-2xs);letter-spacing:var(--tracking-wider);color:var(--text-muted)}.workflow-asset-details-block{margin-top:var(--space-3);padding:0 var(--space-3) var(--space-3)}.workflow-asset-details-block h5{margin:0 0 var(--space-1);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:var(--tracking-wider);text-transform:uppercase;color:var(--text-muted)}.workflow-asset-prompt-text{max-height:240px;overflow:auto;padding:var(--space-2);margin:0;border-radius:var(--radius-sm);background:color-mix(in srgb,var(--bg-panel) 70%,transparent);font-family:var(--font-mono);font-size:var(--text-2xs);line-height:1.55;color:var(--text-primary);white-space:pre-wrap;word-break:break-word}.video-prompt-rewrite-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);margin-bottom:var(--space-1)}.video-prompt-rewrite-row>h5{margin:0}.video-prompt-rewrite-button{display:inline-flex;align-items:center;justify-content:center;min-height:var(--control-height-mini);padding:0 var(--control-padding-x-mini);border-radius:var(--control-radius-button);border:1px solid var(--border-subtle);background:var(--surface-panel);color:var(--text-secondary);font-size:var(--text-2xs);font-weight:var(--fw-medium);letter-spacing:var(--tracking-tight);cursor:pointer;transition:background var(--motion-control) var(--easing-control),color var(--motion-control) var(--easing-control),border-color var(--motion-control) var(--easing-control)}.video-prompt-rewrite-button:hover:not(:disabled){background:color-mix(in srgb,var(--accent-primary) 12%,var(--surface-panel));border-color:color-mix(in srgb,var(--accent-primary) 40%,var(--border-subtle));color:var(--text-accent)}.video-prompt-rewrite-button:disabled{opacity:.55;cursor:not-allowed}.video-prompt-editor-section summary{display:flex;align-items:center;gap:var(--space-2)}.video-prompt-override-badge{background:color-mix(in srgb,var(--accent-primary) 16%,transparent);color:var(--text-accent)}.video-prompt-override-badge,.video-prompt-source-badge{display:inline-flex;align-items:center;padding:1px 6px;border-radius:var(--radius-sm);font-size:var(--text-2xs);font-weight:var(--fw-medium);letter-spacing:.02em}.video-prompt-source-badge{margin-left:var(--space-1)}.video-prompt-source-badge--agent{background:color-mix(in srgb,var(--v2-accent-orange) 16%,transparent);color:var(--text-accent)}.video-prompt-agent-status{margin:var(--space-1) 0 var(--space-2);border:1px solid color-mix(in srgb,var(--v2-status-warning) 22%,transparent);border-radius:var(--radius-sm);background:color-mix(in srgb,var(--v2-status-warning) 5%,transparent);font-size:var(--text-xs)}.video-prompt-agent-status>summary{padding:var(--space-1) var(--space-2);cursor:pointer;color:var(--text-secondary);list-style:none}.video-prompt-agent-status>summary::-webkit-details-marker{display:none}.video-prompt-agent-status-body{padding:0 var(--space-2) var(--space-2);display:grid;gap:var(--space-2);color:var(--text-secondary);line-height:var(--leading-normal)}.video-prompt-agent-group ul{margin:var(--space-1) 0 0;padding-left:var(--space-4)}.video-prompt-agent-group-title{font-weight:var(--fw-semibold);color:var(--text-primary)}.video-prompt-agent-anchor{color:var(--text-muted)}.video-prompt-agent-count{display:inline-flex;align-items:center;justify-content:center;margin-left:var(--space-1);min-width:1.2em;height:1.2em;padding:0 4px;border-radius:var(--radius-pill,999px);background:color-mix(in srgb,var(--v2-status-warning) 24%,transparent);color:var(--v2-status-warning-text);font-size:var(--text-2xs);font-weight:var(--fw-medium)}.video-prompt-editor-actions-row{display:flex;align-items:center;gap:var(--space-1)}.video-prompt-editor-wrap{display:flex;flex-direction:column;gap:var(--space-2);margin-top:var(--space-2)}.video-prompt-editor-textarea{width:100%;min-height:180px;padding:var(--space-2);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);background:var(--bg-panel);color:var(--text-primary);font-family:var(--font-mono);font-size:var(--text-2xs);line-height:1.55;resize:vertical;transition:border-color var(--motion-control) var(--easing-control)}.video-prompt-editor-textarea:focus{outline:none;border-color:var(--text-accent)}.video-prompt-editor-textarea:disabled{opacity:.6;cursor:not-allowed}.video-prompt-editor-actions{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap}.video-prompt-editor-apply{display:inline-flex;align-items:center;justify-content:center;min-height:var(--control-height-mini);padding:0 var(--control-padding-x-mini);border-radius:var(--control-radius-button);border:1px solid var(--accent-primary);background:color-mix(in srgb,var(--accent-primary) 10%,var(--surface-panel));color:var(--text-accent);font-size:var(--text-2xs);font-weight:var(--fw-medium);cursor:pointer;transition:background var(--motion-control) var(--easing-control)}.video-prompt-editor-apply:hover:not(:disabled){background:color-mix(in srgb,var(--accent-primary) 20%,var(--surface-panel))}.video-prompt-editor-apply:disabled{opacity:.55;cursor:not-allowed}.video-prompt-editor-clear{display:inline-flex;align-items:center;justify-content:center;min-height:var(--control-height-mini);padding:0 var(--control-padding-x-mini);border-radius:var(--control-radius-button);border:1px solid var(--border-subtle);background:var(--surface-panel);color:var(--text-secondary);font-size:var(--text-2xs);font-weight:var(--fw-medium);cursor:pointer;transition:background var(--motion-control) var(--easing-control),color var(--motion-control) var(--easing-control)}.video-prompt-editor-clear:hover{background:color-mix(in srgb,var(--v2-status-error) 10%,var(--surface-panel));color:var(--v2-status-error-text);border-color:color-mix(in srgb,var(--v2-status-error) 40%,var(--border-subtle))}.video-prompt-editor-hint{margin:0;font-size:var(--text-2xs);color:var(--text-tertiary);line-height:1.5}.video-intent-editor.workflow-asset-details{border-top:1px solid color-mix(in srgb,var(--text-primary) 10%,transparent)}.video-intent-editor-hint{margin:0 0 var(--space-3);font-size:var(--text-xs);color:var(--text-muted);line-height:1.6}.video-intent-editor-hint strong{color:var(--text-primary);font-weight:var(--fw-semibold)}.video-intent-editor-field{display:grid;gap:var(--space-1);margin-bottom:var(--space-3)}.video-intent-editor-field>span{font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:var(--tracking-wider);text-transform:uppercase;color:var(--text-muted)}.video-intent-editor-field textarea{width:100%;min-height:56px;resize:vertical;border:1px solid color-mix(in srgb,var(--text-primary) 12%,transparent);border-radius:var(--radius-sm);padding:var(--space-2);background:color-mix(in srgb,var(--color-black) 14%,transparent);color:var(--text-primary);font-family:var(--font-sans);font-size:var(--text-sm);line-height:1.55;transition:border-color var(--motion-control) var(--easing-control)}.video-intent-editor-field textarea:focus{border-color:color-mix(in srgb,var(--text-primary) 32%,transparent);outline:0}.video-intent-editor-field textarea:disabled{cursor:not-allowed;opacity:.65}.video-intent-editor-cues{margin-bottom:var(--space-3)}.video-intent-editor-cues-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);margin-bottom:var(--space-1)}.video-intent-editor-cues-head>span{font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:var(--tracking-wider);text-transform:uppercase;color:var(--text-muted)}.video-intent-editor-cue-add{min-height:var(--control-height-mini);padding:0 var(--space-2);border:1px solid color-mix(in srgb,var(--text-primary) 18%,transparent);border-radius:var(--radius-pill);background:transparent;color:var(--text-muted);font-size:var(--text-2xs);letter-spacing:var(--tracking-wider);cursor:pointer;transition:border-color var(--motion-control) var(--easing-control),color var(--motion-control) var(--easing-control)}.video-intent-editor-cue-add:hover:not(:disabled){border-color:color-mix(in srgb,var(--text-primary) 38%,transparent);color:var(--text-primary)}.video-intent-editor-cue-add:disabled{cursor:not-allowed;opacity:.5}.video-intent-editor-cue-empty{margin:0;font-size:var(--text-2xs);color:var(--text-muted);font-style:italic}.video-intent-editor-cue-list{margin:0;padding:0;list-style:none;display:grid;gap:var(--space-1)}.video-intent-editor-cue-list li{display:flex;align-items:center;gap:var(--space-1)}.video-intent-editor-cue-input{flex:1;min-height:var(--control-height-compact);border:1px solid color-mix(in srgb,var(--text-primary) 12%,transparent);border-radius:var(--radius-sm);padding:0 var(--space-2);background:color-mix(in srgb,var(--color-black) 14%,transparent);color:var(--text-primary);font-family:var(--font-sans);font-size:var(--text-sm);transition:border-color var(--motion-control) var(--easing-control)}.video-intent-editor-cue-input:focus{border-color:color-mix(in srgb,var(--text-primary) 32%,transparent);outline:0}.video-intent-editor-cue-input:disabled{cursor:not-allowed;opacity:.65}.video-intent-editor-cue-remove{width:var(--control-height-compact);min-height:var(--control-height-compact);border:1px solid color-mix(in srgb,var(--text-primary) 12%,transparent);border-radius:var(--radius-sm);background:transparent;color:var(--text-muted);font-size:var(--text-md);line-height:1;cursor:pointer;transition:color var(--motion-control) var(--easing-control),border-color var(--motion-control) var(--easing-control)}.video-intent-editor-cue-remove:hover:not(:disabled){color:var(--v2-status-error-text);border-color:color-mix(in srgb,var(--v2-status-error) 38%,transparent)}.video-intent-editor-cue-remove:disabled{cursor:not-allowed;opacity:.5}.video-intent-editor-actions{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap}.video-intent-editor-save{min-height:var(--control-height-regular);padding:0 var(--space-3);border:1px solid color-mix(in srgb,var(--text-primary) 22%,transparent);border-radius:var(--radius-sm);background:var(--text-primary);color:var(--bg-page);font-size:var(--text-sm);font-weight:var(--fw-medium);letter-spacing:var(--tracking-tight);cursor:pointer;transition:opacity var(--motion-control) var(--easing-control),transform var(--motion-control) var(--easing-control)}.video-intent-editor-save:hover:not(:disabled){transform:translateY(-1px)}.video-intent-editor-save:disabled{cursor:not-allowed;opacity:.45}.video-intent-editor-reset{min-height:var(--control-height-regular);padding:0 var(--space-3);border:1px solid color-mix(in srgb,var(--text-primary) 14%,transparent);border-radius:var(--radius-sm);background:transparent;color:var(--text-muted);font-size:var(--text-sm);cursor:pointer;transition:color var(--motion-control) var(--easing-control),border-color var(--motion-control) var(--easing-control)}.video-intent-editor-reset:hover:not(:disabled){color:var(--text-primary);border-color:color-mix(in srgb,var(--text-primary) 30%,transparent)}.video-intent-editor-reset:disabled{cursor:not-allowed;opacity:.4}.video-intent-editor-error{font-size:var(--text-xs);color:var(--v2-status-error-text)}.workflow-asset-foot{display:block;color:var(--text-muted);font-family:var(--font-mono);font-size:var(--text-2xs);letter-spacing:var(--tracking-wider)}.workflow-asset-generate-button,.workflow-asset-text-task{margin-top:0}.workflow-asset-generate-button{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:var(--control-height-regular);border:1px solid color-mix(in srgb,var(--text-primary) 22%,transparent);border-radius:var(--control-radius-button);padding-block:0;padding-inline:var(--control-padding-x-regular);background:color-mix(in srgb,var(--text-primary) 8%,transparent);color:var(--text-primary);font-size:var(--text-sm);font-weight:var(--fw-medium);cursor:pointer;box-shadow:var(--shadow-control-rest);transition:background-color var(--motion-control) var(--easing-control),border-color var(--motion-control) var(--easing-control),box-shadow var(--motion-control) var(--easing-control),transform var(--motion-control) var(--easing-control)}.workflow-asset-generate-button:hover:not(:disabled){background:color-mix(in srgb,var(--text-primary) 14%,transparent);border-color:var(--border-strong);transform:translateY(-1px);box-shadow:var(--shadow-control-hover)}.workflow-asset-generate-button:active:not(:disabled){transform:translateY(0);box-shadow:var(--shadow-control-press-inset)}.workflow-asset-generate-button:focus-visible{outline:var(--focus-ring-width) solid var(--focus-border);outline-offset:var(--focus-ring-offset)}.workflow-asset-generate-button:disabled{opacity:.55;cursor:not-allowed}.workflow-asset-generate-button.is-danger{border-color:color-mix(in srgb,var(--v2-status-error) 38%,transparent);background:color-mix(in srgb,var(--v2-status-error) 12%,transparent);color:var(--v2-status-error-text)}.workflow-asset-generate-button.is-danger:hover:not(:disabled){background:color-mix(in srgb,var(--v2-status-error) 18%,transparent);border-color:color-mix(in srgb,var(--v2-status-error) 60%,transparent)}.workflow-asset-text-task{display:inline-flex;align-items:center;width:fit-content;min-height:var(--control-height-mini);padding-block:0;padding-inline:var(--control-padding-x-mini);border-radius:var(--control-radius-pill);background:color-mix(in srgb,var(--text-primary) 7%,transparent);color:var(--text-muted);font-size:var(--text-2xs)}.extract-preview-list{display:grid;gap:var(--space-4);padding:0;margin:0;list-style:none}.extract-preview-item{display:grid;gap:var(--space-3);padding:var(--space-4);border:1px solid color-mix(in srgb,var(--text-primary) 12%,transparent);border-radius:var(--radius-md);background:color-mix(in srgb,var(--bg-panel) 78%,transparent)}.extract-preview-text-item{border-left:2px solid color-mix(in srgb,var(--v2-accent-orange) 58%,transparent)}.extract-preview-item-head{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2)}.extract-preview-item-head strong{font-size:var(--text-md);color:var(--text-primary)}.extract-preview-item-head small{margin-left:auto;border:1px solid color-mix(in srgb,var(--text-primary) 12%,transparent);border-radius:var(--radius-pill);padding:2px 8px;color:var(--text-muted);font-size:var(--text-2xs)}.extract-preview-item-head code{font-family:var(--font-mono);font-size:var(--text-2xs);color:var(--text-muted);letter-spacing:var(--tracking-wider)}.extract-preview-item-head span{font-size:var(--text-xs);color:var(--text-muted)}.extract-preview-item-desc{margin:0;font-size:var(--text-sm);color:var(--text-primary);line-height:1.5}.extract-preview-prompt-fold{border-top:1px solid color-mix(in srgb,var(--text-primary) 8%,transparent);padding-top:var(--space-2)}.extract-preview-prompt-fold>summary{display:flex;align-items:center;gap:var(--space-2);cursor:pointer;list-style:none;user-select:none}.extract-preview-prompt-fold>summary::-webkit-details-marker{display:none}.extract-preview-prompt-fold>summary:before{content:"";flex-shrink:0;display:inline-block;width:0;height:0;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:6px solid var(--text-muted);transition:transform var(--motion-control,.16s) var(--easing-control,ease)}.extract-preview-prompt-fold[open]>summary:before{transform:rotate(90deg)}.extract-preview-prompt-fold>summary span{color:var(--text-muted);font-size:var(--text-sm);letter-spacing:var(--tracking-tight)}.extract-preview-prompt-body{margin:var(--space-2) 0 0;border-radius:var(--radius-sm);padding:var(--space-3);background:var(--bg-soft);color:var(--text-primary);font-size:var(--text-sm);line-height:1.6}.extract-preview-prompt-fold[open]>.extract-preview-keywords,.extract-preview-prompt-fold[open]>.extract-preview-palette,.extract-preview-prompt-fold[open]>.storyboard-detail-grid{margin-top:var(--space-2)}.extract-prompt-details{border-top:1px solid color-mix(in srgb,var(--text-primary) 10%,transparent);padding-top:var(--space-2)}.extract-prompt-details>summary{display:flex;align-items:center;gap:var(--space-2);cursor:pointer;list-style:none;color:var(--text-muted);font-size:var(--text-xs);user-select:none}.extract-prompt-details>summary::-webkit-details-marker{display:none}.extract-prompt-details>summary:before{content:"";flex-shrink:0;display:inline-block;width:0;height:0;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:6px solid var(--text-muted);transition:transform var(--motion-control,.16s) var(--easing-control,ease)}.extract-prompt-details[open]>summary:before{transform:rotate(90deg)}.extract-prompt-details pre{max-height:220px;overflow:auto;margin:var(--space-2) 0 0;border-radius:var(--radius-sm);padding:var(--space-3);background:color-mix(in srgb,var(--bg-panel) 70%,transparent);color:var(--text-primary);font-family:var(--font-mono);font-size:var(--text-2xs);line-height:1.6;white-space:pre-wrap;word-break:break-word}.character-reference-grid{display:grid;grid-template-columns:1fr;align-content:start;gap:var(--space-4);padding-bottom:var(--space-3)}.workflow-stage-scroll>.character-reference-grid:last-child{margin-bottom:0}.prop-reference-empty{display:flex;flex-direction:column;gap:var(--space-2);padding:var(--space-5);background:var(--surface-subtle);border:1px dashed var(--border-subtle);border-radius:var(--radius-card,12px);align-items:flex-start}.prop-reference-empty-title{font-size:var(--text-xs);font-weight:var(--fw-medium);color:var(--text-secondary);margin:0}.prop-reference-empty-desc{line-height:1.5}.prop-reference-empty-desc,.prop-reference-empty-hint{font-size:var(--text-2xs);color:var(--text-tertiary);margin:0}.prop-reference-empty-hint{font-style:italic}.prop-reference-meta{display:flex;flex-direction:column;gap:var(--space-2);border:1px solid color-mix(in srgb,var(--text-primary) 10%,transparent);border-radius:var(--radius-md);padding:var(--space-2);background:color-mix(in srgb,var(--bg-panel) 68%,transparent)}.prop-reference-meta .extract-preview-item-desc{font-size:var(--text-xs);color:var(--text-secondary);line-height:1.55}.prop-reference-category{display:inline-flex;align-items:center;height:var(--control-height-mini);padding:0 var(--control-padding-x-mini);font-size:var(--text-2xs);font-weight:var(--fw-medium);color:var(--text-tertiary);background:var(--surface-subtle);border-radius:999px}.prop-image-workflow{display:flex;flex-direction:column;gap:var(--space-7)}.prop-image-workflow-error{font-size:var(--text-xs);color:var(--v2-status-error-text);background:var(--surface-subtle);border:1px solid var(--v2-status-error);border-radius:var(--radius-card,12px);padding:var(--space-3) var(--space-5);margin:0}.prop-image-workflow-section{display:flex;flex-direction:column;gap:var(--space-4)}.prop-image-workflow-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-3)}.prop-image-workflow-section-head h5{font-size:var(--text-md);font-weight:var(--fw-medium);color:var(--text-primary);margin:0}.prop-image-workflow-hint,.prop-image-workflow-section-head small{font-size:var(--text-2xs);color:var(--text-tertiary)}.prop-image-workflow-hint{font-style:italic;margin:0}.prop-candidate-list{list-style:none;display:flex;flex-direction:column;gap:var(--space-3);padding:0;margin:0}.prop-candidate-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:var(--space-2) var(--space-4);padding:var(--space-4) var(--space-5);background:var(--surface-subtle);border:1px solid var(--border-subtle);border-radius:var(--radius-card,12px);transition:border-color var(--motion-control,.18s) var(--easing-control,ease)}.prop-candidate-row:hover{border-color:var(--border-strong)}.prop-candidate-row.is-anchored{border-color:color-mix(in srgb,var(--v2-accent-orange) 55%,var(--border-strong));background:color-mix(in srgb,var(--v2-accent-orange) 6%,var(--surface-panel))}.prop-candidate-row-main{display:flex;align-items:baseline;gap:var(--space-3)}.prop-candidate-row-name{font-size:var(--text-md);font-weight:var(--fw-medium);color:var(--text-primary)}.prop-candidate-row-meta,.prop-candidate-row-variants{font-size:var(--text-2xs);color:var(--text-tertiary)}.prop-candidate-row-variants{grid-column:1/-1;margin:0;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.prop-candidate-row-actions{display:flex;align-items:center;gap:var(--space-2)}.prop-candidate-row-badge{display:inline-flex;align-items:center;height:var(--control-height-mini);padding:0 var(--control-padding-x-mini);font-size:var(--text-2xs);font-weight:var(--fw-medium);border-radius:999px}.prop-candidate-row-badge.is-anchored{color:var(--text-accent);background:color-mix(in srgb,var(--v2-accent-orange) 14%,transparent);border:1px solid color-mix(in srgb,var(--v2-accent-orange) 30%,transparent)}.prop-candidate-row-dismiss,.prop-reference-close{display:inline-flex;align-items:center;justify-content:center;width:var(--control-height-mini);height:var(--control-height-mini);margin-left:var(--space-2);padding:0;color:var(--text-tertiary);background:transparent;border:1px solid var(--border-subtle);border-radius:999px;cursor:pointer;transition:color var(--motion-control,.18s) var(--easing-control,ease),border-color var(--motion-control,.18s) var(--easing-control,ease),background-color var(--motion-control,.18s) var(--easing-control,ease)}.prop-candidate-row-dismiss>svg,.prop-reference-close>svg{width:12px;height:12px;display:block}.prop-candidate-row-dismiss:hover:not(:disabled),.prop-reference-close:hover:not(:disabled){color:var(--v2-status-error-text);border-color:var(--v2-status-error-text);background:color-mix(in srgb,var(--v2-status-error) 8%,transparent)}.prop-candidate-row-dismiss:focus-visible,.prop-reference-close:focus-visible{outline:var(--focus-ring-width,2px) solid var(--focus-border,var(--accent-primary));outline-offset:var(--focus-ring-offset,2px)}.prop-candidate-row-dismiss:disabled,.prop-reference-close:disabled{opacity:.5;cursor:not-allowed}.prop-reference-close.is-floating{position:absolute;top:var(--space-5);inset-inline-end:var(--space-5);margin-left:0;z-index:1}.prop-reference-usage{display:flex;flex-direction:column;gap:var(--space-2)}.prop-reference-usage-row{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap}.prop-reference-usage-toggle{display:inline-flex;align-items:center;gap:var(--space-2);min-height:var(--control-height-compact);padding:0 var(--control-padding-x-compact) 0 var(--space-2);border:1px solid var(--border-subtle);border-radius:999px;background:var(--surface-panel);color:var(--text-primary);font-size:var(--text-xs);font-weight:var(--fw-regular);cursor:pointer;transition:background-color var(--motion-control,.18s) var(--easing-control,ease),border-color var(--motion-control,.18s) var(--easing-control,ease),color var(--motion-control,.18s) var(--easing-control,ease)}.prop-reference-usage-toggle.is-on{border-color:color-mix(in srgb,var(--v2-accent-orange) 40%,transparent);background:color-mix(in srgb,var(--v2-accent-orange) 12%,var(--surface-panel))}.prop-reference-usage-toggle.is-off{border-color:var(--border-subtle);background:var(--surface-page);color:var(--text-secondary)}.prop-reference-usage-toggle:hover:not(:disabled){border-color:var(--text-accent)}.prop-reference-usage-toggle:focus-visible{outline:var(--focus-ring-width,2px) solid var(--focus-border,var(--accent-primary));outline-offset:var(--focus-ring-offset,2px)}.prop-reference-usage-toggle:disabled{opacity:.5;cursor:not-allowed}.prop-reference-usage-track{position:relative;display:inline-block;width:28px;height:16px;border-radius:999px;background:var(--surface-page);transition:background-color var(--motion-control,.18s) var(--easing-control,ease)}.prop-reference-usage-toggle.is-on .prop-reference-usage-track{background:var(--v2-accent-orange)}.prop-reference-usage-thumb{position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:999px;background:var(--surface-panel);transition:transform var(--motion-control,.18s) var(--easing-control-snappy,cubic-bezier(.4,0,.2,1))}.prop-reference-usage-toggle.is-on .prop-reference-usage-thumb{transform:translateX(12px)}.prop-reference-usage-label{white-space:nowrap}.prop-reference-usage-hint{flex:1 1 auto;font-size:var(--text-2xs);color:var(--text-tertiary);letter-spacing:var(--tracking-tight,0)}.prop-reference-usage-expand{display:inline-flex;align-items:center;justify-content:space-between;gap:var(--space-2);width:100%;min-height:var(--control-height-compact);padding:0 var(--control-padding-x-compact);border:1px solid transparent;border-radius:var(--control-radius-button);background:transparent;color:var(--text-secondary);font-size:var(--text-xs);cursor:pointer;transition:background-color var(--motion-control,.18s) var(--easing-control,ease),color var(--motion-control,.18s) var(--easing-control,ease)}.prop-reference-usage-expand:hover:not(:disabled){background:var(--surface-panel);color:var(--text-primary)}.prop-reference-usage-expand:focus-visible{outline:var(--focus-ring-width,2px) solid var(--focus-border,var(--accent-primary));outline-offset:var(--focus-ring-offset,2px)}.prop-reference-usage-expand:disabled{opacity:.5;cursor:not-allowed}.prop-reference-usage-expand small{font-size:var(--text-2xs);color:var(--text-tertiary);margin-left:var(--space-1)}.prop-reference-usage-chevron{width:12px;height:12px;transition:transform var(--motion-control,.18s) var(--easing-control,ease)}.prop-reference-usage-chevron.is-open{transform:rotate(180deg)}.prop-reference-usage-nodes{list-style:none;margin:0;padding:var(--space-2) 0 0;display:flex;flex-direction:column;gap:var(--space-1);max-height:220px;overflow-y:auto}.prop-reference-usage-node{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-1) var(--space-2);border-radius:var(--control-radius-button)}.prop-reference-usage-node-toggle{display:inline-flex;align-items:center;padding:0;border:0;background:transparent;cursor:pointer;flex-shrink:0}.prop-reference-usage-node-toggle .prop-reference-usage-track{width:24px;height:14px}.prop-reference-usage-node-toggle .prop-reference-usage-thumb{width:10px;height:10px}.prop-reference-usage-node-toggle.is-on .prop-reference-usage-thumb{transform:translateX(10px)}.prop-reference-usage-node-toggle:focus-visible{outline:var(--focus-ring-width,2px) solid var(--focus-border,var(--accent-primary));outline-offset:var(--focus-ring-offset,2px);border-radius:999px}.prop-reference-usage-node-toggle:disabled{opacity:.5;cursor:not-allowed}.prop-reference-usage-node-title{flex:1 1 auto;font-size:var(--text-xs);color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.prop-reference-usage-node-tag{font-size:var(--text-2xs);color:var(--text-accent);letter-spacing:var(--tracking-tight,0);flex-shrink:0}.character-reference-card{display:grid;grid-template-columns:minmax(200px,1fr) minmax(280px,1fr);align-items:stretch;min-width:0;gap:var(--space-4) var(--space-5);border:1px solid color-mix(in srgb,var(--text-primary) 12%,transparent);border-left:3px solid transparent;border-radius:var(--radius-card);padding:var(--space-4) var(--space-5);position:relative;overflow:hidden;background:linear-gradient(180deg,color-mix(in srgb,var(--text-primary) 4%,transparent),transparent 34%),var(--bg-soft);transition:border-color var(--motion-medium,.2s) ease,box-shadow var(--motion-medium,.2s) ease,transform var(--motion-medium,.2s) ease}.character-reference-card:hover{border-color:color-mix(in srgb,var(--text-primary) 22%,transparent);box-shadow:0 2px 8px color-mix(in srgb,var(--color-black) 8%,transparent);transform:translateY(-1px)}.character-reference-card:has(.custom-select-trigger[aria-expanded=true]){overflow:visible;z-index:var(--z-popover)}.character-reference-card.status-ready{border-left-color:color-mix(in srgb,var(--v2-status-success) 70%,transparent)}.character-reference-card.status-generating{border-left-color:transparent}.character-reference-card.status-failed{border-left-color:color-mix(in srgb,var(--v2-status-error) 70%,transparent)}.character-reference-card__thumbnail{min-width:0;min-height:0;align-self:start;display:grid}.character-reference-card__body{display:grid;gap:var(--space-3);min-width:0;align-content:start}.character-reference-card__body>.editable-asset-prompt-details,.character-reference-card__body>.shot-config-details{margin-top:var(--space-2);border-top:1px solid color-mix(in srgb,var(--text-primary) 8%,transparent);padding-top:var(--space-3)}.character-reference-card>.character-generation-error,.character-reference-card>.editable-asset-prompt-details,.character-reference-card>.shot-config-details,.character-reference-card>.workflow-asset-details{grid-column:1/-1}.character-reference-card__actions{display:flex;flex-direction:column;align-items:flex-end;gap:var(--space-2);min-width:max-content}.character-reference-head{display:flex;align-items:baseline;min-width:0;gap:var(--space-2);flex-wrap:wrap}.character-reference-card:has(.prop-reference-close.is-floating) .character-reference-head{padding-right:calc(24px + var(--space-2))}.character-reference-head>div:first-child{display:flex;align-items:baseline;gap:var(--space-2);min-width:0;flex:1 1 auto}.character-reference-head span{display:inline-flex;color:var(--text-muted);font-family:var(--font-mono);font-size:var(--text-2xs);letter-spacing:var(--tracking-widest);text-transform:uppercase;flex-shrink:0}.character-reference-head strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-primary);font-size:var(--text-sm);font-weight:var(--fw-medium);line-height:1.4}.character-reference-head small{flex:0 0 auto;white-space:nowrap;border:1px solid color-mix(in srgb,var(--text-primary) 14%,transparent);border-radius:var(--radius-pill);padding:2px 8px;color:var(--text-muted);font-size:var(--text-2xs)}.character-reference-head-meta{display:inline-flex;flex:0 0 auto;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:var(--space-2);row-gap:var(--space-1)}.reference-source-badge{display:inline-flex;align-items:center;gap:var(--space-1);height:var(--control-height-mini);padding:0 var(--space-3);border:1px solid var(--border-subtle);border-radius:var(--radius-pill);background:var(--bg-soft);color:var(--text-secondary);font-family:var(--font-mono);font-size:var(--text-2xs);letter-spacing:var(--tracking-tight);text-transform:uppercase}.character-reference-card.is-uploaded{border-color:color-mix(in srgb,var(--v2-status-success) 24%,transparent);background:linear-gradient(180deg,color-mix(in srgb,var(--v2-status-success) 4%,transparent),transparent 34%),var(--bg-soft)}.reference-upload{display:flex;flex-direction:column;align-items:stretch;gap:var(--space-1);min-width:0;width:100%}.reference-upload-trigger{display:inline-flex;align-items:center;justify-content:center;height:var(--control-height-regular);padding:0 var(--control-padding-x-regular);border:1px dashed color-mix(in srgb,var(--text-primary) 32%,transparent);border-radius:var(--control-radius-button);background:transparent;color:var(--text-secondary);font-size:var(--text-sm);letter-spacing:var(--tracking-tight);cursor:pointer;transition:border-color var(--motion-control) var(--easing-control),color var(--motion-control) var(--easing-control),background-color var(--motion-control) var(--easing-control),transform var(--motion-control) var(--easing-control)}.reference-upload-trigger:hover:not(:disabled){border-color:color-mix(in srgb,var(--text-primary) 40%,transparent);color:var(--text-primary);background:color-mix(in srgb,var(--text-primary) 5%,transparent)}.reference-upload-trigger:active:not(:disabled){transform:translateY(1px)}.reference-upload-trigger:focus-visible{outline:var(--focus-ring-width) solid var(--focus-border);outline-offset:var(--focus-ring-offset)}.reference-upload-trigger:disabled{opacity:.55;cursor:not-allowed}.reference-upload.is-compact .reference-upload-trigger{height:var(--control-height-mini);padding:0 var(--space-3);font-size:var(--text-2xs)}.reference-upload-error{color:var(--v2-status-error-text);font-size:var(--text-2xs);letter-spacing:var(--tracking-tight)}.character-reference-preview{position:relative;display:grid;width:100%;aspect-ratio:16/9;min-height:140px;place-items:center;overflow:hidden;border:1px solid color-mix(in srgb,var(--text-primary) 10%,transparent);border-radius:var(--radius-md);background:color-mix(in srgb,var(--bg-panel) 78%,transparent)}.character-reference-preview img{width:100%;height:100%;object-fit:cover;padding:0;border-radius:var(--radius-md);animation:workflow-media-reveal var(--workflow-motion-card-duration) var(--ease-cinematic) backwards}.character-reference-preview:not(.is-empty):not(.is-generating) img{cursor:zoom-in}.shot-reference-preview-shell{position:relative;min-width:0;height:100%}.shot-card-delete-button{display:inline-grid;width:28px;height:28px;place-items:center;border:1px solid color-mix(in srgb,var(--v2-status-error) 24%,transparent);border-radius:var(--radius-pill);background:color-mix(in srgb,var(--v2-status-error) 8%,transparent);color:var(--v2-status-error-text);cursor:pointer;transition:transform var(--motion-normal) ease,border-color var(--motion-normal) ease,background var(--motion-normal) ease,color var(--motion-normal) ease,opacity var(--motion-normal) ease}.shot-card-delete-button:focus-visible,.shot-card-delete-button:hover:not(:disabled){border-color:color-mix(in srgb,var(--v2-status-error) 52%,transparent);background:color-mix(in srgb,var(--v2-status-error) 16%,transparent);color:var(--v2-status-error-text);outline:0;transform:translateY(-1px)}.shot-card-delete-button:focus-visible{outline:var(--focus-ring-width) solid var(--focus-border);outline-offset:var(--focus-ring-offset)}.shot-card-delete-button:disabled{cursor:not-allowed;opacity:.45}.shot-card-delete-button svg{display:block;width:14px;height:14px}.shot-card-video-source-button{display:inline-grid;width:28px;height:28px;place-items:center;border:1px solid color-mix(in srgb,var(--text-muted) 34%,transparent);border-radius:var(--radius-pill);background:color-mix(in srgb,var(--text-muted) 6%,transparent);color:color-mix(in srgb,var(--text-muted) 72%,transparent);cursor:pointer;font-size:var(--text-sm);line-height:1;transition:transform var(--motion-normal) ease,border-color var(--motion-normal) ease,background var(--motion-normal) ease,color var(--motion-normal) ease,opacity var(--motion-normal) ease}.shot-card-video-source-button:focus-visible,.shot-card-video-source-button:hover:not(:disabled){border-color:color-mix(in srgb,var(--v2-accent-orange) 42%,transparent);background:color-mix(in srgb,var(--v2-accent-orange) 10%,transparent);color:var(--text-accent);outline:0;transform:translateY(-1px)}.shot-card-video-source-button.is-selected{border-color:color-mix(in srgb,var(--v2-accent-orange) 72%,transparent);background:color-mix(in srgb,var(--v2-accent-orange) 18%,transparent);color:var(--text-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--v2-accent-orange) 16%,transparent);transform:translateY(-1px)}.shot-card-video-source-button.is-selected:focus-visible,.shot-card-video-source-button.is-selected:hover:not(:disabled){border-color:var(--text-accent);background:color-mix(in srgb,var(--v2-accent-orange) 24%,transparent)}.shot-card-video-source-button:focus-visible{outline:var(--focus-ring-width) solid var(--focus-border);outline-offset:var(--focus-ring-offset)}.shot-card-video-source-button:disabled{cursor:not-allowed;opacity:.45}.character-reference-generating{position:absolute;inset:0;z-index:var(--z-raised);display:grid;place-items:center;overflow:hidden;isolation:isolate;background:color-mix(in srgb,var(--color-black) 58%,transparent);backdrop-filter:blur(3px) saturate(.6);pointer-events:none}.character-reference-generating:before{content:"";position:absolute;inset:0;z-index:0;background-image:radial-gradient(circle,color-mix(in srgb,var(--text-primary) 34%,transparent) 1px,transparent 1.7px);background-size:12px 12px;-webkit-mask-image:linear-gradient(90deg,transparent,var(--color-black) 28%,var(--color-black) 72%,transparent);mask-image:linear-gradient(90deg,transparent,var(--color-black) 28%,var(--color-black) 72%,transparent);opacity:.72;pointer-events:none}.character-reference-generating:after{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,transparent 30%,color-mix(in srgb,var(--text-primary) 4%,transparent) 42%,color-mix(in srgb,var(--text-primary) 20%,transparent) 50%,color-mix(in srgb,var(--text-primary) 4%,transparent) 58%,transparent 70%);transform:translateX(-115%);animation:character-reference-generation-sweep var(--motion-loop-deliberate) var(--easing-control) infinite;pointer-events:none}.character-reference-preview.is-generating img{filter:saturate(.7) brightness(.72);transition:filter var(--motion-medium) ease}.character-reference-generating__content{position:relative;z-index:1;display:grid;width:100%;min-width:0;justify-items:center;gap:var(--space-3)}.character-reference-generating__progress{color:var(--text-primary);filter:drop-shadow(0 0 12px color-mix(in srgb,var(--text-primary) 12%,transparent))}.character-reference-generating__progress .asset-canvas-progress-ring__track{stroke:color-mix(in srgb,var(--text-primary) 18%,transparent)}.character-reference-generating__progress .asset-canvas-progress-ring__value{stroke:color-mix(in srgb,var(--text-primary) 94%,transparent)}.character-reference-generating__status{display:block;width:100%;margin:0;color:color-mix(in srgb,var(--text-primary) 88%,transparent);font-size:var(--text-xs);font-weight:var(--fw-medium);line-height:var(--leading-tight);text-align:center}@keyframes character-reference-generation-sweep{55%,to{transform:translateX(115%)}}@media (prefers-reduced-motion:reduce){.character-reference-generating:after{animation:none}}.character-reference-preview.is-empty{padding:var(--space-3);text-align:center}.character-reference-preview.is-empty span{color:var(--text-primary);font-size:var(--text-md);font-weight:var(--fw-semibold)}.character-reference-preview.is-empty p{max-width:26ch;margin:var(--space-1) 0 0;color:var(--text-muted);font-size:var(--text-sm);line-height:1.5}.character-reference-preview.has-chrome.is-empty{padding:0;text-align:left}.character-reference-preview__chrome{position:absolute;inset:0;z-index:calc(var(--z-raised) + 1);pointer-events:none}.character-reference-preview__name,.character-reference-preview__status{position:absolute;display:inline-flex;align-items:center;max-width:calc(100% - var(--space-2) - 32px - var(--space-3));overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:var(--radius-pill);padding:0 var(--space-2);border:1px solid var(--control-border);background:color-mix(in srgb,var(--bg-page) 84%,transparent);backdrop-filter:blur(8px);font-size:var(--text-2xs);font-weight:var(--fw-medium);line-height:var(--control-height-mini)}.character-reference-preview__name{top:var(--space-2);left:var(--space-2);color:var(--text-primary)}.character-reference-preview__status{bottom:var(--space-2);left:var(--space-2);border-color:var(--v2-status-warning-text);background:var(--v2-status-warning-soft);color:var(--v2-status-warning-text)}.character-reference-preview[data-status-tone=ready] .character-reference-preview__status,.character-reference-preview__status[data-status-tone=ready]{border-color:var(--v2-status-success);background:color-mix(in srgb,var(--v2-status-success) 18%,var(--bg-page));color:var(--v2-status-success-text)}.character-reference-preview[data-status-tone=generating] .character-reference-preview__status,.character-reference-preview__status[data-status-tone=generating]{border-color:var(--v2-status-info);background:color-mix(in srgb,var(--v2-status-info) 18%,var(--bg-page));color:var(--v2-status-info-text)}.character-reference-preview[data-status-tone=failed] .character-reference-preview__status,.character-reference-preview__status[data-status-tone=failed]{border-color:var(--v2-status-error-text);background:var(--v2-status-error-soft);color:var(--v2-status-error-text)}.character-reference-preview__history,.character-reference-preview__view{position:absolute;right:var(--space-2);pointer-events:auto;backdrop-filter:blur(8px)}.character-reference-preview__view{top:var(--space-2)}.character-reference-preview__history{bottom:var(--space-2)}.character-generation-settings{display:grid;gap:var(--space-1);border:1px solid color-mix(in srgb,var(--text-primary) 10%,transparent);border-radius:var(--radius-md);padding:var(--space-2);background:color-mix(in srgb,var(--bg-panel) 68%,transparent)}.character-generation-settings-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2)}.character-generation-setting-grid span,.character-generation-settings-head small,.character-generation-settings-head span{color:var(--text-muted);font-size:var(--text-2xs);letter-spacing:var(--tracking-wide)}.character-generation-setting-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-1)}.character-generation-setting-grid .custom-select{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);min-width:0;border-radius:var(--radius-sm);padding:6px 8px;background:color-mix(in srgb,var(--text-primary) 6%,transparent)}.character-generation-setting-grid .custom-select-label{flex:0 0 auto;color:var(--text-muted);font-size:var(--text-2xs);letter-spacing:var(--tracking-wide);white-space:nowrap}.character-generation-setting-grid .custom-select-trigger{flex:1 1 auto;min-width:0;min-height:18px;padding:2px 16px 2px 0;border:0;border-radius:0;background:transparent;color:var(--text-primary);font-size:var(--text-xs);font-weight:var(--fw-medium);text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.character-generation-setting-grid .custom-select-trigger:hover,.character-generation-setting-grid .custom-select-trigger[aria-expanded=true]{background:transparent;border-color:transparent}.character-generation-setting-grid .custom-select-menu{min-width:168px}.character-privacy-toggle{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:var(--space-1) var(--space-2);border:1px solid color-mix(in srgb,var(--text-primary) 10%,transparent);border-radius:var(--radius-sm);padding:8px;background:color-mix(in srgb,var(--text-primary) 5%,transparent);cursor:pointer}.character-privacy-toggle input{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden;white-space:nowrap;opacity:0;pointer-events:none;appearance:none;-webkit-appearance:none}.character-privacy-toggle>span{position:relative;width:32px;height:18px;border:1px solid var(--border-subtle);border-radius:var(--radius-pill);background:color-mix(in srgb,var(--color-black) 18%,transparent);transition:background var(--motion-normal) ease,border-color var(--motion-normal) ease}.character-privacy-toggle>span:after{content:"";position:absolute;top:50%;left:var(--space-hairline);width:12px;height:12px;border-radius:50%;background:var(--text-muted);transform:translateY(-50%);transition:transform var(--motion-normal) ease,background var(--motion-normal) ease}.character-privacy-toggle input:checked+span{border-color:color-mix(in srgb,var(--v2-accent-orange) 46%,var(--border-subtle));background:color-mix(in srgb,var(--v2-accent-orange) 18%,transparent)}.character-privacy-toggle input:checked+span:after{background:var(--v2-accent-orange);transform:translate(14px,-50%)}.character-privacy-toggle input:disabled+span,.character-privacy-toggle input:disabled~strong{opacity:.55}.character-privacy-toggle strong{color:var(--text-primary);font-size:var(--text-sm)}.character-privacy-action{display:flex;align-items:center;gap:var(--space-2)}.character-privacy-action-button{flex:1 1 auto;min-width:0;height:var(--control-height-regular);padding:0 var(--control-padding-x-regular);border-radius:var(--control-radius-button);border:1px solid var(--border-subtle);background:var(--bg-soft);color:var(--text-primary);font-size:var(--text-sm);font-weight:var(--fw-regular);cursor:pointer;transition:border-color var(--motion-control) var(--easing-control),background var(--motion-control) var(--easing-control),color var(--motion-control) var(--easing-control)}.character-privacy-action-button:hover:not(:disabled){border-color:color-mix(in srgb,var(--text-primary) 40%,var(--border-subtle));background:color-mix(in srgb,var(--text-primary) 5%,var(--bg-soft))}.character-privacy-action-button:disabled{opacity:.55;cursor:not-allowed}.character-privacy-action.is-generating .character-privacy-action-button{border-style:dashed;color:var(--text-secondary)}.character-privacy-action.is-failed .character-privacy-action-button{border-color:color-mix(in srgb,var(--v2-status-error) 40%,var(--border-subtle));color:var(--v2-status-error-text)}.character-reference-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--space-2);min-width:0}.character-reference-actions>*{width:100%;min-width:0}.shot-image-production-card .character-reference-actions{grid-template-columns:1fr}.shot-image-production-card .character-reference-actions .workflow-asset-generate-button{grid-column:1/-1}.shot-image-production-card .character-reference-actions .character-reference-secondary{display:inline-flex}.character-reference-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:var(--control-height-regular);border:1px solid var(--border-subtle);border-radius:var(--control-radius-input);padding-block:0;padding-inline:var(--control-padding-x-regular);background:color-mix(in srgb,var(--text-primary) 6%,transparent);color:var(--text-muted);font-size:var(--text-sm);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;transition:background-color var(--motion-control) var(--easing-control),border-color var(--motion-control) var(--easing-control),color var(--motion-control) var(--easing-control),box-shadow var(--motion-control) var(--easing-control),transform var(--motion-control) var(--easing-control)}.character-reference-secondary:disabled{opacity:.55;cursor:not-allowed}.character-reference-secondary.is-danger{border-color:color-mix(in srgb,var(--v2-status-error) 34%,var(--border-subtle));color:var(--v2-status-error-text)}.character-generation-error{margin-top:var(--space-3);padding:var(--space-3) var(--space-4);border:1px solid color-mix(in srgb,var(--v2-status-error) 24%,transparent);border-left:3px solid color-mix(in srgb,var(--v2-status-error) 70%,transparent);border-radius:var(--radius-sm);background:color-mix(in srgb,var(--v2-status-error) 6%,var(--bg-soft))}.character-generation-error>.character-generation-error__summary{display:flex;align-items:center;gap:var(--space-2);color:var(--v2-status-error-text);cursor:pointer;font-size:var(--text-xs);font-weight:var(--fw-medium);line-height:1.4;list-style:none;user-select:none}.character-generation-error>.character-generation-error__summary::-webkit-details-marker{display:none}.character-generation-error>.character-generation-error__summary:before{content:"";flex-shrink:0;display:inline-block;width:0;height:0;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:6px solid;opacity:.7;transition:transform var(--motion-control,.16s) var(--easing-control,ease)}.character-generation-error[open]>.character-generation-error__summary:before{transform:rotate(90deg)}.character-generation-error__title{display:inline-flex;align-items:center;gap:var(--space-1)}.character-generation-error__message{margin:var(--space-2) 0 0;padding-left:var(--space-5);max-height:120px;overflow:auto;color:var(--text-secondary);font-family:var(--font-mono);font-size:var(--text-2xs);line-height:1.55;overflow-wrap:anywhere}.video-retry-guide{margin-top:var(--space-3);padding:var(--space-3);border-radius:var(--radius-sm);background:color-mix(in srgb,var(--v2-status-warning) 8%,var(--bg-soft));border:1px solid color-mix(in srgb,var(--v2-status-warning) 24%,transparent)}.video-retry-guide-hint{margin:0 0 var(--space-2);font-size:var(--text-xs);font-weight:var(--fw-medium);color:var(--v2-status-warning-text)}.video-retry-guide-steps{margin:0;padding-left:var(--space-4);font-size:var(--text-2xs);color:var(--text-secondary);line-height:1.7}.video-retry-guide .character-reference-secondary{margin-top:var(--space-3);width:100%}.audio-production-card{grid-template-columns:1fr}.audio-card{display:flex;flex-direction:column;gap:var(--space-3);border:1px solid color-mix(in srgb,var(--text-primary) 12%,transparent);border-left:3px solid transparent;border-radius:var(--radius-card);padding:var(--space-4) var(--space-5);position:relative;overflow:hidden;background:linear-gradient(180deg,color-mix(in srgb,var(--text-primary) 4%,transparent),transparent 34%),var(--bg-soft);transition:border-color var(--motion-medium,.2s) ease,box-shadow var(--motion-medium,.2s) ease,transform var(--motion-medium,.2s) ease}.audio-card:hover{border-color:color-mix(in srgb,var(--text-primary) 22%,transparent);box-shadow:0 2px 8px color-mix(in srgb,var(--color-black) 8%,transparent);transform:translateY(-1px)}.audio-card.status-ready{border-left-color:color-mix(in srgb,var(--v2-status-success) 70%,transparent)}.audio-card.status-generating{border-left-color:transparent}.audio-card.status-failed{border-left-color:color-mix(in srgb,var(--v2-status-error) 70%,transparent)}.audio-card__head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}.audio-card__identity{display:flex;align-items:center;gap:var(--space-2);min-width:0}.audio-card__role-badge{flex-shrink:0;display:inline-flex;align-items:center;height:20px;padding-inline:var(--space-2);border-radius:var(--control-radius-pill);background:color-mix(in srgb,var(--text-primary) 8%,transparent);color:var(--text-secondary);font-size:var(--text-2xs);font-weight:var(--fw-medium);letter-spacing:var(--tracking-wide)}.audio-card__name{font-size:var(--text-md);font-weight:var(--fw-semibold);color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.audio-card__status{flex-shrink:0;font-size:var(--text-2xs);color:var(--text-muted);letter-spacing:var(--tracking-wide)}.audio-card__voice-rule{display:grid;gap:var(--space-1);border:1px solid color-mix(in srgb,var(--text-primary) 10%,transparent);border-radius:var(--radius-md);padding:var(--space-3);background:color-mix(in srgb,var(--bg-panel) 68%,transparent)}.audio-card__voice-rule p{margin:0;color:var(--text-primary);font-size:var(--text-sm);line-height:1.58}.audio-card__label{display:block;color:var(--text-muted);font-size:var(--text-2xs);font-weight:var(--fw-medium);letter-spacing:var(--tracking-widest)}.audio-card__tts-input{display:flex;flex-direction:column;gap:var(--space-1)}.audio-card__textarea{resize:vertical;min-height:60px;max-height:160px;padding:var(--space-2) var(--space-3);border:1px solid color-mix(in srgb,var(--text-primary) 12%,transparent);border-radius:var(--radius-md);background:var(--bg-panel);color:var(--text-primary);font-size:var(--text-sm);line-height:1.6;font-family:inherit;transition:border-color var(--motion-control) var(--easing-control)}.audio-card__textarea:focus{outline:none;border-color:color-mix(in srgb,var(--text-primary) 36%,transparent)}.audio-card__textarea:disabled{opacity:.6;cursor:not-allowed}.audio-card__actions{display:flex;align-items:center;gap:var(--space-2)}.audio-card__generate-btn{display:inline-flex;align-items:center;gap:var(--space-1);height:var(--control-height-sm);padding-inline:var(--space-4);border:1px solid color-mix(in srgb,var(--text-primary) 18%,transparent);border-radius:var(--control-radius-pill);background:color-mix(in srgb,var(--text-primary) 8%,transparent);color:var(--text-primary);font-size:var(--text-sm);font-weight:var(--fw-medium);cursor:pointer;transition:background var(--motion-control) var(--easing-control),border-color var(--motion-control) var(--easing-control),transform var(--motion-micro) var(--easing-control),opacity var(--motion-control) var(--easing-control)}.audio-card__generate-btn:hover:not(:disabled){background:color-mix(in srgb,var(--text-primary) 14%,transparent);border-color:color-mix(in srgb,var(--text-primary) 32%,transparent);transform:translateY(-1px)}.audio-card__generate-btn:active:not(:disabled){transform:translateY(0)}.audio-card__generate-btn:disabled{opacity:.5;cursor:not-allowed}.audio-card__spinner{display:inline-block;width:14px;height:14px;border:2px solid color-mix(in srgb,var(--text-primary) 20%,transparent);border-top-color:var(--text-primary);border-radius:50%;animation:audio-spin .6s linear infinite}@keyframes audio-spin{to{transform:rotate(1turn)}}.audio-card__play-btn{display:inline-flex;align-items:center;gap:var(--space-1);height:var(--control-height-sm);padding-inline:var(--space-3);border:1px solid color-mix(in srgb,var(--text-primary) 18%,transparent);border-radius:var(--control-radius-pill);background:color-mix(in srgb,var(--text-primary) 6%,transparent);color:var(--text-primary);font-size:var(--text-sm);cursor:pointer;transition:background var(--motion-control) var(--easing-control),border-color var(--motion-control) var(--easing-control)}.audio-card__play-btn:hover{background:color-mix(in srgb,var(--text-primary) 12%,transparent);border-color:color-mix(in srgb,var(--text-primary) 32%,transparent)}.audio-card__error{margin:0;padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);background:color-mix(in srgb,var(--v2-status-error) 10%,transparent);color:var(--v2-status-error-text);font-size:var(--text-xs);line-height:1.5}.audio-card__management{display:flex;align-items:center;gap:var(--space-2);padding-top:var(--space-1);border-top:1px solid color-mix(in srgb,var(--text-primary) 8%,transparent)}.audio-card__confirm-delete{display:inline-flex;align-items:center;gap:var(--space-2)}.audio-card__confirm-label{font-size:var(--text-xs);color:var(--v2-status-error-text)}.music-card{min-height:240px}.music-card .audio-card__textarea{min-height:120px}.music-card__timeline{flex:1;display:flex;align-items:center;gap:var(--space-2);margin-left:var(--space-2);cursor:pointer}.music-card__track{position:relative;flex:1;height:4px;border-radius:2px;background:color-mix(in srgb,var(--text-primary) 12%,transparent);overflow:visible}.music-card__progress{top:0;left:0;height:100%;border-radius:2px;transition:width .1s linear}.music-card__progress,.music-card__thumb{position:absolute;background:var(--v2-accent-orange)}.music-card__thumb{top:50%;width:10px;height:10px;border-radius:50%;border:2px solid var(--bg-panel);transform:translate(-50%,-50%);box-shadow:0 0 0 2px color-mix(in srgb,var(--v2-accent-orange) 30%,transparent);transition:left .1s linear}.music-card__time{flex-shrink:0;font-size:var(--text-xs);font-variant-numeric:tabular-nums;color:var(--text-muted);min-width:72px;text-align:right}.audio-card__details{border-top:1px solid color-mix(in srgb,var(--text-primary) 8%,transparent);padding-top:var(--space-2)}.audio-card__details summary{display:flex;align-items:center;gap:var(--space-2);color:var(--text-muted);font-size:var(--text-xs);cursor:pointer;padding:var(--space-1) 0;user-select:none;list-style:none}.audio-card__details summary::-webkit-details-marker{display:none}.audio-card__details summary::marker{content:""}.audio-card__fold-icon{display:inline-block;width:12px;height:12px;flex-shrink:0;border:none;background:none;position:relative}.audio-card__fold-icon:before{content:"";position:absolute;top:2px;left:3px;width:0;height:0;border-style:solid;border-width:4px 0 4px 6px;border-color:transparent transparent transparent var(--text-muted);transition:transform var(--motion-control) var(--easing-control)}.audio-card__details[open] .audio-card__fold-icon:before{transform:rotate(90deg);transform-origin:3px 4px}.audio-card__details summary:hover{color:var(--text-secondary)}.audio-card__voice-current{display:inline-flex;align-items:center;height:18px;padding-inline:var(--space-2);border-radius:var(--control-radius-pill);background:color-mix(in srgb,var(--text-primary) 8%,transparent);color:var(--text-primary);font-size:var(--text-2xs);font-weight:var(--fw-medium)}.audio-card__voice-picker{display:grid;gap:var(--space-3);padding:var(--space-3) 0 var(--space-1)}.audio-card__voice-group{display:grid;gap:var(--space-1)}.audio-card__voice-group-label{color:var(--text-muted);font-size:var(--text-2xs);letter-spacing:var(--tracking-widest)}.audio-card__voice-options{display:flex;flex-wrap:wrap;gap:var(--space-1)}.audio-card__voice-option{display:inline-flex;align-items:stretch;flex:0 0 auto;max-width:100%;border:1px solid color-mix(in srgb,var(--text-primary) 12%,transparent);border-radius:var(--control-radius-pill);overflow:hidden;background:transparent;transition:background var(--motion-control) var(--easing-control),border-color var(--motion-control) var(--easing-control)}.audio-card__voice-option:hover{background:color-mix(in srgb,var(--text-primary) 6%,transparent);border-color:color-mix(in srgb,var(--text-primary) 24%,transparent)}.audio-card__voice-option.is-active{background:color-mix(in srgb,var(--text-primary) 10%,transparent);border-color:color-mix(in srgb,var(--text-primary) 36%,transparent)}.audio-card__voice-chip{display:inline-flex;align-items:center;height:26px;padding-inline:var(--space-2);border:0;border-radius:0;background:transparent;color:var(--text-secondary);font-size:var(--text-xs);cursor:pointer;transition:color var(--motion-control) var(--easing-control)}.audio-card__voice-chip.is-active,.audio-card__voice-option:hover .audio-card__voice-chip{color:var(--text-primary)}.audio-card__voice-chip.is-active{font-weight:var(--fw-medium)}.audio-card__voice-preview{flex:0 0 24px;width:24px;border:0;border-left:1px solid color-mix(in srgb,var(--text-primary) 12%,transparent);background:color-mix(in srgb,var(--text-primary) 4%,transparent);color:color-mix(in srgb,var(--text-primary) 58%,transparent);font-size:var(--text-2xs);line-height:1;cursor:pointer}.audio-card__voice-preview:hover:not(:disabled){background:color-mix(in srgb,var(--v2-accent-orange) 14%,transparent);color:var(--text-primary)}.audio-card__voice-preview[data-loading],.audio-card__voice-preview[data-playing]{color:var(--text-accent)}.audio-card__voice-preview:disabled{cursor:wait;opacity:.72}.audio-card__voice-preview-hint{margin:0;color:color-mix(in srgb,var(--text-primary) 42%,transparent);font-size:var(--text-xs);line-height:1.4}.audio-card__prompt{margin:var(--space-2) 0 0;padding:var(--space-3);border-radius:var(--radius-md);background:color-mix(in srgb,var(--bg-panel) 80%,transparent);color:var(--text-secondary);font-size:var(--text-xs);line-height:1.6;white-space:pre-wrap;word-break:break-word;max-height:160px;overflow-y:auto}.video-production-card{background:linear-gradient(180deg,color-mix(in srgb,var(--text-primary) 4%,transparent),transparent 34%),var(--bg-soft)}.video-production-card.status-ready{border-color:color-mix(in srgb,var(--v2-status-success) 54%,var(--border-subtle));background:radial-gradient(circle at 16% 0,color-mix(in srgb,var(--v2-status-success) 22%,transparent),transparent 34%),linear-gradient(180deg,color-mix(in srgb,var(--v2-status-success) 18%,var(--bg-soft)),var(--bg-soft) 62%);box-shadow:0 0 0 1px color-mix(in srgb,var(--v2-status-success) 16%,transparent),var(--shadow-panel)}.video-production-card.status-generating{background:radial-gradient(circle at 16% 0,color-mix(in srgb,var(--v2-status-info) 18%,transparent),transparent 34%),linear-gradient(180deg,color-mix(in srgb,var(--v2-status-info) 12%,var(--bg-soft)),var(--bg-soft) 62%)}.video-production-card.status-failed{border-color:color-mix(in srgb,var(--v2-status-error) 58%,var(--border-subtle));background:radial-gradient(circle at 16% 0,color-mix(in srgb,var(--v2-status-error) 22%,transparent),transparent 34%),linear-gradient(180deg,color-mix(in srgb,var(--v2-status-error) 14%,var(--bg-soft)),var(--bg-soft) 62%);box-shadow:0 0 0 1px color-mix(in srgb,var(--v2-status-error) 20%,transparent),var(--shadow-panel)}.video-production-card .character-reference-actions{align-self:auto}.video-production-preview{overflow:hidden;height:100%;min-height:140px;aspect-ratio:16/9;border:1px solid color-mix(in srgb,var(--text-primary) 10%,transparent);border-radius:var(--radius-md);background:radial-gradient(circle at 50% 24%,color-mix(in srgb,var(--v2-accent-orange) 12%,transparent),transparent 34%),color-mix(in srgb,var(--bg-panel) 78%,transparent)}.video-production-preview video{width:100%;height:100%;object-fit:contain}.video-production-preview video,.video-production-preview.has-source img{background:var(--color-black);animation:workflow-media-reveal var(--workflow-motion-card-duration) var(--ease-cinematic) backwards}.video-production-source-overlay{position:absolute;right:var(--space-2);bottom:var(--space-2);left:var(--space-2);z-index:var(--z-raised);display:grid;gap:var(--space-hairline);padding:var(--space-2);border:1px solid color-mix(in srgb,var(--text-primary) 12%,transparent);border-radius:var(--radius-md);background:color-mix(in srgb,var(--color-black) 68%,transparent);color:var(--text-primary);backdrop-filter:blur(12px)}.video-production-source-overlay span{font-size:var(--text-sm);font-weight:var(--fw-medium)}.video-production-source-overlay p{margin:0;color:var(--text-muted);font-size:var(--text-xs);line-height:var(--leading-normal)}.video-source-card{display:grid;gap:var(--space-2);border:1px solid color-mix(in srgb,var(--text-primary) 10%,transparent);border-radius:var(--radius-md);padding:var(--space-3);background:color-mix(in srgb,var(--bg-panel) 68%,transparent)}.video-source-card>div{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-2);min-width:0}.video-source-card>div>span{flex:0 0 auto;color:var(--text-muted);font-size:var(--text-2xs);letter-spacing:var(--tracking-widest)}.video-source-card strong{min-width:0;overflow:hidden;color:var(--text-primary);font-size:var(--text-sm);font-weight:var(--fw-medium);text-overflow:ellipsis;white-space:nowrap}.video-source-title{gap:var(--space-2)}.video-source-tag,.video-source-title{display:inline-flex;align-items:center}.video-source-tag{flex:0 0 auto;padding:1px 6px;border-radius:var(--radius-xs);background:color-mix(in srgb,var(--text-primary) 12%,transparent);color:var(--text-muted);font-size:var(--text-2xs);font-weight:var(--fw-medium);letter-spacing:var(--tracking-wide);line-height:1.4}.video-source-tag.is-privacy{background:color-mix(in srgb,var(--v2-status-info) 22%,transparent);color:var(--v2-status-info-text)}.video-source-card p{display:-webkit-box;margin:0;overflow:hidden;color:var(--text-muted);font-size:var(--text-xs);line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}.shot-image-production-card{background:linear-gradient(180deg,color-mix(in srgb,var(--text-primary) 4%,transparent),transparent 34%),var(--bg-soft)}.shot-image-production-card.status-ready{border-color:color-mix(in srgb,var(--v2-status-success) 52%,var(--border-subtle));background:radial-gradient(circle at 16% 0,color-mix(in srgb,var(--v2-status-success) 22%,transparent),transparent 34%),linear-gradient(180deg,color-mix(in srgb,var(--v2-status-success) 18%,var(--bg-soft)),var(--bg-soft) 62%);box-shadow:0 0 0 1px color-mix(in srgb,var(--v2-status-success) 16%,transparent),var(--shadow-panel)}.shot-image-production-card.status-generating{background:radial-gradient(circle at 16% 0,color-mix(in srgb,var(--v2-status-info) 18%,transparent),transparent 34%),linear-gradient(180deg,color-mix(in srgb,var(--v2-status-info) 12%,var(--bg-soft)),var(--bg-soft) 62%)}.shot-image-production-card.status-failed{border-color:color-mix(in srgb,var(--v2-status-error) 58%,var(--border-subtle));background:radial-gradient(circle at 16% 0,color-mix(in srgb,var(--v2-status-error) 22%,transparent),transparent 34%),linear-gradient(180deg,color-mix(in srgb,var(--v2-status-error) 14%,var(--bg-soft)),var(--bg-soft) 62%);box-shadow:0 0 0 1px color-mix(in srgb,var(--v2-status-error) 20%,transparent),var(--shadow-panel)}.shot-image-production-card .character-reference-card__thumbnail{align-self:start}.shot-image-production-card .character-reference-card__thumbnail:has(.is-empty){max-height:180px}.shot-image-production-card .character-reference-card__body{align-content:start;gap:var(--space-3)}.shot-reference-head{align-items:center;gap:var(--space-3)}.shot-reference-head>div{display:flex;align-items:baseline;gap:var(--space-2);flex:1 1 0;min-width:0}.shot-reference-head strong{display:block;max-width:100%;margin-left:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shot-reference-head .shot-image-status-pill{margin-left:auto}.shot-reference-head small{margin-left:0;max-width:none;text-align:center;flex-shrink:0}.style-anchor-frame-card .shot-reference-head{display:flex;align-items:baseline;gap:var(--space-3);flex-wrap:wrap}.style-anchor-frame-card .style-anchor-frame-subtitle{display:block;flex:1 1 auto;max-width:100%;min-width:0;margin-left:0;overflow:hidden;border:0;border-radius:0;padding:0;color:var(--text-muted);font-family:var(--font-sans);font-size:var(--text-2xs);letter-spacing:var(--tracking-tight);line-height:1.35;text-align:left;text-overflow:ellipsis;white-space:nowrap}.style-anchor-frame-card .style-anchor-frame-status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:22px;max-width:none;margin-left:0;padding:2px 9px;border-color:color-mix(in srgb,var(--v2-status-success) 30%,transparent);background:color-mix(in srgb,var(--v2-status-success) 10%,transparent);color:var(--v2-status-success-text);font-family:var(--font-sans);font-weight:var(--fw-semibold);letter-spacing:var(--tracking-tight);line-height:1;text-align:center;white-space:nowrap}.style-anchor-frame-card.status-ready .style-anchor-frame-status-pill{border-color:color-mix(in srgb,var(--v2-status-success) 34%,transparent);background:color-mix(in srgb,var(--v2-status-success) 12%,transparent);color:var(--v2-status-success-text)}.style-anchor-frame-card.status-failed .style-anchor-frame-status-pill{border-color:color-mix(in srgb,var(--v2-status-error) 38%,transparent);background:color-mix(in srgb,var(--v2-status-error) 12%,transparent);color:var(--v2-status-error-text)}.style-anchor-frame-card.has-privacy-preview{border-color:color-mix(in srgb,var(--v2-status-success) 58%,var(--border-subtle));background:radial-gradient(circle at 14% 0,color-mix(in srgb,var(--v2-status-success) 22%,transparent),transparent 36%),linear-gradient(180deg,color-mix(in srgb,var(--v2-status-success) 12%,transparent),transparent 44%),var(--bg-soft);box-shadow:0 0 0 1px color-mix(in srgb,var(--v2-status-success) 18%,transparent),var(--shadow-panel)}.style-anchor-frame-card.has-privacy-preview .shot-first-frame-status,.style-anchor-frame-card.has-privacy-preview .style-anchor-frame-status-pill{border-color:color-mix(in srgb,var(--v2-status-success) 36%,transparent);background:color-mix(in srgb,var(--v2-status-success) 10%,transparent)}.style-anchor-privacy-badge{position:absolute;top:var(--space-2);left:calc(var(--space-2) + 34px);z-index:var(--z-elevated);display:inline-flex;align-items:center;max-width:calc(100% - 108px);min-height:24px;padding:3px 9px;overflow:hidden;border:1px solid color-mix(in srgb,var(--v2-status-success) 42%,transparent);border-radius:var(--radius-pill);background:color-mix(in srgb,var(--color-black) 64%,var(--v2-status-success) 18%);color:var(--v2-status-success-text);font-size:var(--text-2xs);font-weight:var(--fw-medium);letter-spacing:var(--tracking-tight);line-height:1;text-overflow:ellipsis;white-space:nowrap;backdrop-filter:blur(10px)}.shot-image-production-card .character-reference-actions{align-self:auto;display:flex;flex-wrap:wrap;gap:var(--space-2)}.shot-image-production-card .character-reference-actions .workflow-asset-generate-button{width:100%}.shot-image-status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:22px;max-width:none;margin-left:0;padding:2px 9px;border:1px solid color-mix(in srgb,var(--v2-status-success) 30%,transparent);border-radius:var(--radius-pill);background:color-mix(in srgb,var(--v2-status-success) 10%,transparent);color:var(--v2-status-success-text);font-family:var(--font-sans);font-size:var(--text-2xs);font-weight:var(--fw-medium);letter-spacing:var(--tracking-tight);line-height:1;white-space:nowrap}.shot-image-production-card.status-ready .shot-image-status-pill{border-color:color-mix(in srgb,var(--v2-status-success) 34%,transparent);background:color-mix(in srgb,var(--v2-status-success) 12%,transparent);color:var(--v2-status-success-text)}.shot-image-production-card.status-failed .shot-image-status-pill{border-color:color-mix(in srgb,var(--v2-status-error) 38%,transparent);background:color-mix(in srgb,var(--v2-status-error) 12%,transparent);color:var(--v2-status-error-text)}.shot-image-grid-badge{display:inline-flex;align-items:center;padding:2px 7px;border:1px solid color-mix(in srgb,var(--text-primary) 12%,transparent);border-radius:var(--radius-pill);background:color-mix(in srgb,var(--text-primary) 5%,transparent);color:var(--text-muted);font-size:var(--text-2xs);font-weight:var(--fw-medium);line-height:1;white-space:nowrap}.shot-first-frame-status{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--space-hairline) var(--space-3);align-items:center;min-height:40px;border:1px solid color-mix(in srgb,var(--v2-status-success) 16%,transparent);border-radius:var(--radius-sm);padding:8px var(--space-3);background:color-mix(in srgb,var(--v2-status-success) 6%,transparent)}.shot-first-frame-status span{color:var(--text-muted);font-size:var(--text-2xs);letter-spacing:var(--tracking-widest)}.shot-first-frame-status strong{color:var(--text-primary);font-size:var(--text-sm);font-weight:var(--fw-medium)}.shot-first-frame-status small{grid-column:1/-1;overflow:hidden;color:var(--text-muted);font-size:var(--text-xs);text-overflow:ellipsis;white-space:nowrap}.shot-first-frame-status.status-missing{border-color:color-mix(in srgb,var(--text-primary) 10%,transparent);background:color-mix(in srgb,var(--color-black) 10%,transparent)}.shot-production-meta{display:grid;gap:var(--space-1);padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);background:color-mix(in srgb,var(--text-primary) 3%,transparent);min-width:0}.shot-production-meta>span{color:var(--text-muted);font-size:var(--text-2xs);font-weight:var(--fw-medium);letter-spacing:var(--tracking-tight)}.shot-production-meta>p{margin:0;color:color-mix(in srgb,var(--text-muted) 80%,var(--text-primary));font-size:var(--text-xs);line-height:1.5}.shot-image-production-card.status-ready .shot-production-meta>span{display:none}.shot-image-production-card.status-ready .shot-production-meta>p{color:color-mix(in srgb,var(--text-muted) 60%,transparent)}.shot-derived-preview-row{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-2) var(--space-3);border-radius:var(--radius-card);background:color-mix(in srgb,var(--bg-panel) 60%,transparent);border:1px solid color-mix(in srgb,var(--text-primary) 8%,transparent);transition:border-color var(--motion-control) var(--easing-control)}.shot-derived-preview-row:hover{border-color:color-mix(in srgb,var(--text-primary) 18%,transparent)}.shot-derived-preview-row.is-generating{border-color:color-mix(in srgb,var(--v2-status-info) 32%,transparent)}.shot-derived-preview-thumbnail{flex:0 0 64px;width:64px;height:40px;border-radius:6px;overflow:hidden;background:color-mix(in srgb,var(--bg-panel) 90%,transparent)}.shot-derived-preview-thumbnail img{width:100%;height:100%;object-fit:cover;display:block}.shot-derived-preview-empty{display:grid;place-items:center;width:100%;height:100%;font-size:var(--text-2xs);color:var(--text-muted)}.shot-derived-preview-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:var(--space-hairline)}.shot-derived-preview-info strong{font-size:var(--text-xs);font-weight:var(--fw-medium);color:var(--text-primary)}.shot-derived-preview-info small{font-size:var(--text-2xs);color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shot-derived-preview-eye{flex:0 0 28px;display:inline-grid;place-items:center;width:28px;height:28px;border:1px solid color-mix(in srgb,var(--text-primary) 16%,transparent);border-radius:var(--radius-pill);background:transparent;color:var(--text-muted);cursor:pointer;transition:background var(--motion-control) var(--easing-control),border-color var(--motion-control) var(--easing-control),color var(--motion-control) var(--easing-control)}.shot-derived-preview-eye:hover{background:color-mix(in srgb,var(--text-primary) 10%,transparent);border-color:color-mix(in srgb,var(--text-primary) 28%,transparent);color:var(--text-primary)}.shot-derived-preview-eye svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}.shot-prompt-editor span{color:var(--text-muted);font-size:var(--text-2xs);letter-spacing:var(--tracking-widest)}.shot-production-meta span{flex-shrink:0;white-space:nowrap}.shot-production-meta p{margin:0;overflow:hidden;color:var(--text-muted);font-size:var(--text-2xs);line-height:1.5;white-space:nowrap;text-overflow:ellipsis;min-width:0;flex:1 1 0%}.shot-tech-tags{display:flex;flex-wrap:wrap;gap:var(--space-1);min-width:0}.shot-tech-tags small{display:inline-flex;align-items:center;max-width:100%;min-height:20px;overflow:hidden;border:1px solid color-mix(in srgb,var(--text-primary) 9%,transparent);border-radius:var(--radius-pill);padding:2px 8px;background:color-mix(in srgb,var(--text-primary) 5%,transparent);color:var(--text-muted);font-size:var(--text-xs);line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.shot-grid-mode-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--space-hairline) var(--space-3);align-items:center;border:1px solid color-mix(in srgb,var(--v2-accent-orange) 16%,transparent);border-radius:var(--radius-md);padding:var(--space-3);background:color-mix(in srgb,var(--v2-accent-orange) 6%,transparent)}.shot-config-details{border:1px solid color-mix(in srgb,var(--text-primary) 10%,transparent);border-radius:var(--radius-md);background:color-mix(in srgb,var(--bg-panel) 56%,transparent)}.shot-config-details>summary{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;gap:var(--space-2);align-items:center;min-height:var(--control-height-large);padding-block:0;padding-inline:var(--control-padding-x-compact);color:var(--text-primary);cursor:pointer;list-style:none}.shot-config-details>summary::-webkit-details-marker{display:none}.shot-config-details>summary:before{content:"";flex-shrink:0;display:inline-block;width:0;height:0;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:6px solid var(--text-muted);transition:transform var(--motion-control,.16s) var(--easing-control,ease)}.shot-config-details[open]>summary:before{transform:rotate(90deg)}.shot-config-title{min-width:0;font-size:var(--text-sm);font-weight:var(--fw-medium);line-height:1.2;white-space:nowrap}.shot-config-layout{overflow:hidden;color:var(--text-muted);font-size:var(--text-xs);line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.shot-config-meta{display:flex;justify-self:end;flex-wrap:nowrap;gap:var(--space-1);min-width:0}.shot-config-summary-actions{display:inline-flex;align-items:center;gap:var(--space-2)}.shot-config-meta small{display:inline-flex;align-items:center;max-width:100%;min-height:18px;overflow:hidden;color:var(--text-muted);font-size:var(--text-2xs);text-overflow:ellipsis;white-space:nowrap;border:1px solid color-mix(in srgb,var(--text-primary) 10%,transparent);border-radius:var(--radius-pill);padding:2px 6px;background:color-mix(in srgb,var(--text-primary) 5%,transparent)}.shot-config-details-body{display:grid;gap:var(--space-2);border-top:1px solid color-mix(in srgb,var(--text-primary) 10%,transparent);padding:var(--space-3)}.shot-generation-duration{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--space-3);min-height:var(--control-height-large);border:1px solid color-mix(in srgb,var(--text-primary) 10%,transparent);border-radius:var(--radius-sm);padding:8px var(--space-3);background:color-mix(in srgb,var(--color-black) 12%,transparent)}.shot-generation-duration span{color:var(--text-muted);font-size:var(--text-2xs);letter-spacing:var(--tracking-widest)}.shot-generation-duration strong{color:var(--text-primary);font-family:var(--font-mono);font-size:var(--text-sm)}.shot-config-error{margin:0;border:1px solid color-mix(in srgb,var(--v2-status-error) 30%,transparent);border-radius:var(--radius-sm);padding:var(--space-2);background:color-mix(in srgb,var(--v2-status-error) 9%,transparent);color:var(--text-primary);font-size:var(--text-xs);line-height:1.5}.shot-grid-mode-card span{color:var(--text-muted);font-size:var(--text-2xs);letter-spacing:var(--tracking-widest)}.shot-grid-mode-card strong{justify-self:end;color:var(--text-primary);font-size:var(--text-sm)}.shot-grid-mode-card small{grid-column:1/-1;color:var(--text-muted);font-size:var(--text-xs);line-height:1.45}.shot-prompt-editor{display:grid;gap:var(--space-2);border:1px solid color-mix(in srgb,var(--text-primary) 10%,transparent);border-radius:var(--radius-md);padding:var(--space-3);background:color-mix(in srgb,var(--bg-panel) 68%,transparent)}.shot-prompt-editor textarea{box-sizing:border-box;width:100%;min-height:118px;max-height:260px;overflow-x:hidden;overflow-y:auto;resize:vertical;border:1px solid color-mix(in srgb,var(--text-primary) 10%,transparent);border-radius:var(--radius-sm);padding:var(--space-2);background:color-mix(in srgb,var(--color-black) 16%,transparent);color:var(--text-primary);font-family:var(--font-sans);font-size:var(--text-sm);line-height:1.55;overflow-wrap:anywhere;white-space:pre-wrap}.shot-prompt-editor textarea:focus{border-color:color-mix(in srgb,var(--text-primary) 32%,transparent);outline:0}.shot-prompt-editor textarea:disabled{cursor:not-allowed;opacity:.65}.editable-asset-prompt-details .character-reference-secondary{min-height:var(--control-height-compact)}.editable-asset-prompt-actions,.editable-asset-save-row{display:flex;gap:var(--space-2);align-items:center}.editable-asset-save-row{justify-content:flex-end}.video-prompt-reference-strip{display:grid;gap:var(--space-2);padding:var(--space-2) var(--space-3);border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--bg-soft)}.video-prompt-reference-strip--empty{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:var(--space-2);padding:var(--space-3);border:1px dashed var(--border-strong);border-radius:var(--radius-md);background:transparent;color:var(--text-muted);font-size:var(--text-2xs)}.video-prompt-reference-strip--empty>span:first-child{font-size:var(--text-md);text-align:center}.video-prompt-reference-strip__empty-icon{justify-self:center}.video-prompt-reference-strip--empty small{display:block;margin-top:2px;color:var(--text-muted);font-size:var(--text-2xs);opacity:.78}.video-prompt-reference-strip__head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-2);color:var(--text-secondary);font-size:var(--text-2xs)}.video-prompt-reference-strip__head span{color:var(--text-primary);font-weight:var(--fw-semibold)}.video-prompt-reference-strip__head small{color:var(--text-muted)}.video-prompt-reference-strip__list{display:flex;gap:var(--space-2);overflow-x:auto;padding-bottom:2px}.video-prompt-reference-thumb{--ref-accent:var(--text-muted);position:relative;display:grid;grid-template-columns:3px 48px minmax(92px,1fr);align-items:center;gap:var(--space-2);min-width:178px;max-width:240px;padding:var(--space-1) var(--space-2) var(--space-1) 0;border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--bg-panel);color:var(--text-primary);text-align:left;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.video-prompt-reference-thumb[data-role=character],.video-prompt-reference-thumb[data-role=keyframe],.video-prompt-reference-thumb[data-role=palette],.video-prompt-reference-thumb[data-role=prop],.video-prompt-reference-thumb[data-role=scene],.video-prompt-reference-thumb[data-role=shot],.video-prompt-reference-thumb[data-role=style]{--ref-accent:var(--v2-accent-orange)}.video-prompt-reference-thumb__bar{width:3px;height:100%;min-height:48px;border-radius:var(--radius-pill);background:var(--ref-accent)}.video-prompt-reference-thumb:focus-visible,.video-prompt-reference-thumb:hover{border-color:color-mix(in srgb,var(--ref-accent) 52%,transparent);outline:none;transform:translateY(-1px);box-shadow:0 6px 18px color-mix(in srgb,var(--ref-accent) 22%,transparent)}.video-prompt-reference-thumb.is-missing{border-style:dashed;background:color-mix(in srgb,var(--text-muted) 6%,var(--bg-panel))}.video-prompt-reference-thumb.is-missing .video-prompt-reference-thumb__bar{opacity:.42}.video-prompt-reference-thumb__image{position:relative;display:grid;place-items:center;width:48px;height:48px;overflow:hidden;border-radius:var(--radius-sm);border:1px solid color-mix(in srgb,var(--ref-accent) 32%,transparent);background:color-mix(in srgb,var(--ref-accent) 10%,var(--bg-soft));color:var(--text-muted);font-size:var(--text-2xs);font-weight:var(--fw-medium)}.video-prompt-reference-thumb__image img{width:100%;height:100%;object-fit:cover;transition:transform .22s ease}.video-prompt-reference-thumb:focus-visible .video-prompt-reference-thumb__image img,.video-prompt-reference-thumb:hover .video-prompt-reference-thumb__image img{transform:scale(1.06)}.video-prompt-reference-thumb__chip{position:absolute;left:2px;bottom:2px;max-width:calc(100% - 4px);padding:1px 5px;border-radius:var(--radius-pill);background:color-mix(in srgb,var(--ref-accent) 82%,var(--color-black));color:var(--color-white);font-size:var(--text-2xs);line-height:1.5;font-weight:var(--fw-medium);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.video-prompt-reference-thumb__meta{display:grid;min-width:0;gap:1px}.video-prompt-reference-thumb__slot,.video-prompt-reference-thumb__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.video-prompt-reference-thumb__slot{color:var(--ref-accent);font-family:var(--font-mono);font-size:var(--text-2xs);font-weight:var(--fw-medium)}.video-prompt-reference-thumb__title{color:var(--text-secondary);font-size:var(--text-2xs)}.video-prompt-reference-preview-panel header strong{font-weight:var(--fw-semibold)}.video-prompt-reference-preview-stage{position:relative;display:grid;place-items:center;min-height:220px}.video-prompt-reference-preview-stage img{border:1px solid color-mix(in srgb,var(--ref-accent,var(--text-muted)) 28%,transparent);border-radius:var(--radius-md)}.video-prompt-reference-preview-stage[data-role=character],.video-prompt-reference-preview-stage[data-role=keyframe],.video-prompt-reference-preview-stage[data-role=palette],.video-prompt-reference-preview-stage[data-role=prop],.video-prompt-reference-preview-stage[data-role=scene],.video-prompt-reference-preview-stage[data-role=shot],.video-prompt-reference-preview-stage[data-role=style]{--ref-accent:var(--v2-accent-orange)}.video-prompt-reference-preview-placeholder{display:grid;place-items:center;gap:var(--space-1);width:min(560px,80vw);aspect-ratio:16/9;border:1px dashed var(--border-strong);border-radius:var(--radius-md);background:var(--bg-soft);color:var(--text-muted);font-family:var(--font-mono);font-size:var(--text-md)}.video-prompt-reference-preview-placeholder small{font-family:var(--font-sans);font-size:var(--text-2xs)}.video-prompt-reference-preview-nav{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid var(--border-subtle);border-radius:var(--radius-pill);background:color-mix(in srgb,var(--bg-panel) 82%,transparent);color:var(--text-primary);font-size:var(--text-lg);cursor:pointer;transition:background .16s ease,transform .16s ease}.video-prompt-reference-preview-nav.is-prev{left:var(--space-2)}.video-prompt-reference-preview-nav.is-next{right:var(--space-2)}.video-prompt-reference-preview-nav:hover:not(:disabled){background:var(--bg-panel);transform:translateY(-50%) scale(1.06)}.video-prompt-reference-preview-nav:disabled{opacity:.4;cursor:default}.video-prompt-reference-preview-badge{position:absolute;top:var(--space-2);left:var(--space-2);padding:3px 8px;border-radius:var(--radius-pill);background:color-mix(in srgb,var(--ref-accent) 82%,var(--color-black));color:var(--color-white);font-size:var(--text-2xs);font-weight:var(--fw-medium)}.video-prompt-reference-preview-counter{margin:0;text-align:center;color:var(--text-muted);font-family:var(--font-mono);font-size:var(--text-2xs)}.editable-asset-save-error,.editable-asset-save-hint{margin-right:auto;font-size:var(--text-2xs)}.editable-asset-save-hint{color:var(--text-muted)}.editable-asset-save-error{color:var(--v2-status-error-text)}.prompt-save-button{min-height:var(--control-height-compact);padding:0 var(--space-3);border-radius:var(--radius-sm);border:1px solid var(--v2-accent-orange);background:var(--v2-accent-orange);color:var(--text-on-accent);font-size:var(--text-2xs);font-weight:var(--fw-medium);cursor:pointer}.prompt-save-button:disabled{opacity:.5;cursor:not-allowed}.editable-asset-prompt-details .shot-config-details-body>.character-generation-settings{margin-top:var(--space-2);padding-top:var(--space-3);border-top:1px solid color-mix(in srgb,var(--text-primary) 8%,transparent)}.prompt-polish-button{min-height:var(--control-height-compact);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);padding:var(--space-1) var(--space-3);background:var(--bg-soft);color:var(--text-primary);font-size:var(--text-xs);font-weight:var(--fw-medium);cursor:pointer;transition:background var(--motion-normal) ease,border-color var(--motion-normal) ease,transform var(--motion-fast) ease}.prompt-polish-button:hover:not(:disabled){background:color-mix(in srgb,var(--v2-accent-orange) 10%,transparent);border-color:color-mix(in srgb,var(--v2-accent-orange) 42%,transparent)}.prompt-polish-button:active:not(:disabled){transform:scale(.97)}.prompt-polish-button:disabled{cursor:not-allowed;opacity:.55}.shot-atmosphere-input{width:100%;min-height:var(--control-height-regular);border:1px solid color-mix(in srgb,var(--v2-accent-orange) 22%,transparent);border-radius:var(--radius-sm);padding:var(--space-1) var(--space-2);background:color-mix(in srgb,var(--v2-accent-orange) 4%,transparent);color:var(--text-primary);font-family:var(--font-sans);font-size:var(--text-sm);line-height:1.55;transition:border-color var(--motion-normal) ease,background var(--motion-normal) ease}.shot-atmosphere-input::placeholder{color:color-mix(in srgb,var(--text-muted) 64%,transparent);font-size:var(--text-xs)}.shot-atmosphere-input:focus{border-color:color-mix(in srgb,var(--v2-accent-orange) 48%,transparent);background:color-mix(in srgb,var(--v2-accent-orange) 6%,transparent);outline:0}.shot-atmosphere-input:disabled{cursor:not-allowed;opacity:.65}.shot-atmosphere-editor{border-color:color-mix(in srgb,var(--v2-accent-orange) 16%,transparent)}.shot-reference-toggle{border-color:color-mix(in srgb,var(--v2-accent-orange) 18%,transparent)}@media (max-width:768px){.asset-library-grid,.character-reference-card,.character-reference-grid{grid-template-columns:1fr}.character-reference-card__thumbnail{max-height:200px}.character-reference-preview{min-height:120px;max-height:200px}}.extract-preview-item-meta{margin:0;font-size:var(--text-xs);color:var(--text-muted)}.extract-preview-palette{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-1)}.extract-preview-palette-chip{width:14px;height:14px;border-radius:var(--radius-xs);border:1px solid color-mix(in srgb,var(--text-primary) 14%,transparent)}.extract-preview-palette-text{font-family:var(--font-mono);font-size:var(--text-2xs);color:var(--text-muted)}.extract-preview-keywords{display:flex;flex-wrap:wrap;gap:var(--space-1)}.extract-preview-keyword{font-size:var(--text-2xs);padding:2px 6px;border-radius:var(--radius-pill);background:color-mix(in srgb,var(--text-primary) 8%,transparent);color:var(--text-muted)}.workflow-asset-thumb{display:grid;place-items:center;min-height:168px;border-radius:var(--radius-md);background:linear-gradient(135deg,color-mix(in srgb,var(--text-primary) 12%,transparent),transparent),var(--bg-panel);color:var(--text-muted);font-family:var(--font-mono);font-size:var(--text-xs);text-transform:uppercase;overflow:hidden}.workflow-asset-preview-button{position:relative;display:grid;width:100%;height:100%;min-height:168px;place-items:center;border:0;padding:0;background:transparent;color:var(--text-primary)}.workflow-asset-thumb img{width:100%;height:100%;max-height:190px;object-fit:contain;padding:var(--space-2)}.workflow-asset-preview-button span{position:absolute;right:var(--space-3);bottom:var(--space-3);border:1px solid color-mix(in srgb,var(--text-primary) 16%,transparent);border-radius:var(--radius-pill);padding:4px 8px;background:color-mix(in srgb,var(--bg-panel) 76%,transparent);color:var(--text-primary);font-family:var(--font-sans);font-size:var(--text-2xs);font-weight:var(--fw-medium);opacity:0;transform:translateY(4px);transition:opacity var(--motion-medium) ease,transform var(--motion-medium) ease;backdrop-filter:blur(10px)}.workflow-asset-preview-button:focus-visible span,.workflow-asset-preview-button:hover span{opacity:1;transform:translateY(0)}.workflow-asset-thumb a{color:var(--text-primary);text-decoration:none}.workflow-asset-card code,.workflow-asset-card em{display:block;margin-top:var(--space-2);color:var(--text-muted);font-family:var(--font-mono);font-size:var(--text-xs);font-style:normal;overflow-wrap:anywhere}.workflow-asset-provider-task{margin:0;color:var(--text-muted);font-family:var(--font-mono);font-size:var(--text-2xs);overflow-wrap:anywhere}.workflow-asset-preview-modal{position:fixed;inset:0;z-index:var(--z-overlay);display:grid;place-items:center;padding:var(--page-padding);background:color-mix(in srgb,var(--color-black) 76%,transparent);backdrop-filter:blur(18px)}.workflow-asset-preview-panel{display:grid;width:min(940px,94vw);max-height:90vh;gap:var(--space-5);border:1px solid var(--border-strong);border-radius:var(--radius-card);padding:var(--space-5);background:var(--bg-panel);box-shadow:var(--shadow-popover)}.workflow-asset-preview-panel header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-5)}.workflow-asset-preview-panel header div{min-width:0}.workflow-asset-preview-panel header small,.workflow-asset-preview-panel header strong{display:block}.workflow-asset-preview-panel header small{overflow:hidden;color:var(--text-muted);font-family:var(--font-mono);font-size:var(--text-2xs);text-overflow:ellipsis;white-space:nowrap}.workflow-asset-preview-panel button{border:1px solid var(--border-subtle);border-radius:var(--radius-pill);padding:6px 10px;background:var(--bg-soft);color:var(--text-primary);font-size:var(--text-sm)}.workflow-asset-preview-panel img{width:100%;max-height:calc(90vh - 96px);border-radius:var(--radius-card);object-fit:contain;background:var(--bg-soft)}.workflow-asset-card.status-ready{border-color:color-mix(in srgb,var(--v2-status-success) 42%,var(--border-subtle))}.workflow-asset-card.status-generating:after{position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 0,color-mix(in srgb,var(--v2-status-info) 14%,transparent) 42%,transparent 72%);background-size:220% 100%;content:"";opacity:.72;animation:workflow-card-shimmer 1.8s linear infinite}.workflow-asset-card.status-failed{border-color:color-mix(in srgb,var(--v2-status-error) 42%,var(--border-subtle))}.workflow-asset-card.status-needs-review{border-color:color-mix(in srgb,var(--v2-status-warning) 42%,var(--border-subtle))}.workflow-export-panel{align-content:center;justify-content:center;border:1px solid var(--border-subtle);border-radius:var(--radius-card);padding:var(--space-10);background:var(--bg-soft)}.workflow-export-stats>div{display:grid;min-width:120px;text-align:center}.workflow-export-stats span{color:var(--text-muted);font-size:var(--text-sm)}.workflow-export-stats{display:flex;gap:var(--space-6);justify-content:center;margin-bottom:var(--space-6)}.workflow-export-stats>div{display:flex;flex-direction:column;align-items:center;gap:var(--space-1);min-width:96px}.workflow-export-stats>div>strong{font-size:var(--text-2xl);font-weight:var(--fw-bold);line-height:1;color:var(--text-primary);font-variant-numeric:tabular-nums}.workflow-export-stats>div>span{font-size:var(--text-xs);letter-spacing:var(--tracking-wide);color:var(--text-muted)}.workflow-export-actions{display:flex;gap:var(--space-4);justify-content:center;flex-wrap:wrap;margin-bottom:var(--space-3)}.workflow-export-hint{text-align:center;color:var(--text-muted);font-size:var(--text-xs);margin:0 auto var(--space-6);max-width:560px;line-height:1.6}.workflow-secondary-action{background:transparent;border-color:var(--border-strong);box-shadow:none}.workflow-secondary-action:hover:not(:disabled){background:var(--bg-soft-hover);border-color:var(--text-primary)}.workflow-secondary-action:disabled{cursor:not-allowed;opacity:.5}.workflow-batch-run-action .workflow-secondary-action{min-height:var(--control-height-large);padding-inline:var(--control-padding-x-large);font-size:var(--text-md)}.workflow-export-history{border-top:1px solid var(--border-subtle);padding-top:var(--space-5);margin-top:var(--space-3)}.workflow-export-history-title{font-size:var(--text-sm);color:var(--text-secondary);margin:0 0 var(--space-3);text-align:left}.workflow-export-history-list{list-style:none;padding:0;margin:0;display:grid;gap:var(--space-2)}.workflow-export-history-item{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:var(--space-3) var(--space-4);border:1px solid var(--border-subtle);border-radius:var(--radius-card);background:var(--surface-page);text-align:left}.workflow-export-history-meta{display:flex;flex-direction:column;gap:var(--space-hairline);min-width:0}.workflow-export-history-meta strong{font-size:var(--text-sm);color:var(--text-primary)}.workflow-export-history-meta span{font-size:var(--text-xs);color:var(--text-muted)}.workflow-export-history-warning{color:var(--text-warning)!important}.workflow-export-history-download{display:inline-flex;align-items:center;height:var(--control-height-regular);padding:0 var(--space-4);border-radius:var(--radius-pill);border:1px solid var(--border-strong);background:var(--text-primary);color:var(--surface-page);font-size:var(--text-xs);text-decoration:none;white-space:nowrap;transition:opacity var(--transition-fast)}.workflow-export-history-download:hover{opacity:.85}.workflow-footer{padding-top:var(--space-6);border-top:1px solid var(--border-subtle)}.workflow-footer-button:disabled{cursor:not-allowed;opacity:.4}.workflow-dots{display:flex;align-items:center;justify-content:center;gap:var(--space-2)}.workflow-dots span{width:6px;height:6px;border-radius:50%;background:var(--border-strong);transition:width var(--workflow-motion-stage-duration) var(--ease-cinematic),background-color var(--motion-control) var(--easing-control),box-shadow var(--motion-control) var(--easing-control)}.workflow-dots span.ready{background:var(--v2-status-success)}.workflow-dots span.active{width:18px;border-radius:var(--radius-pill);background:var(--text-primary);animation:workflow-dot-active var(--workflow-motion-feedback-duration) ease-in-out infinite}.character-privacy-action-button.is-manual,.character-reference-secondary.is-manual{flex:0 0 auto;border-color:color-mix(in srgb,var(--v2-accent-orange) 35%,var(--border-subtle));color:var(--text-accent)}.character-privacy-action-button.is-manual:hover:not(:disabled),.character-reference-secondary.is-manual:hover:not(:disabled){background:color-mix(in srgb,var(--v2-accent-orange) 10%,var(--bg-soft));border-color:color-mix(in srgb,var(--v2-accent-orange) 58%,var(--border-subtle))}.character-generation-error-text{margin:0;color:var(--v2-status-error-text);font-size:var(--text-xs)}.mosaic-editor-overlay{position:fixed;inset:0;z-index:var(--z-modal,9000);display:flex;align-items:center;justify-content:center;padding:var(--space-6);background:color-mix(in srgb,var(--color-black) 78%,transparent);backdrop-filter:blur(6px)}.mosaic-editor-panel{width:min(1120px,96vw);max-height:92vh;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;gap:var(--space-4);padding:var(--space-5);border:1px solid color-mix(in srgb,var(--v2-accent-orange) 24%,var(--border-subtle));border-radius:var(--radius-card);background:var(--bg-panel);box-shadow:var(--shadow-panel)}.mosaic-editor-footer,.mosaic-editor-header,.mosaic-editor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}.mosaic-editor-header div{display:grid;gap:var(--space-hairline)}.mosaic-editor-footer span,.mosaic-editor-header span{color:var(--text-muted);font-size:var(--text-xs)}.mosaic-editor-header strong{color:var(--text-primary);font-size:var(--text-lg)}.mosaic-editor-close,.mosaic-editor-primary,.mosaic-editor-secondary{min-height:var(--control-height-regular);padding:0 var(--control-padding-x-regular);border-radius:var(--control-radius-button);font-size:var(--text-sm);cursor:pointer}.mosaic-editor-close,.mosaic-editor-secondary{border:1px solid var(--border-subtle);background:var(--bg-soft);color:var(--text-secondary)}.mosaic-editor-close svg{width:var(--icon-size-sm);height:var(--icon-size-sm)}.mosaic-editor-primary{border:1px solid color-mix(in srgb,var(--v2-accent-orange) 58%,transparent);background:color-mix(in srgb,var(--v2-accent-orange) 84%,var(--bg-soft));color:var(--color-black);font-weight:var(--fw-bold)}.mosaic-editor-primary:disabled,.mosaic-editor-secondary:disabled{cursor:not-allowed;opacity:.55}.mosaic-editor-canvas-shell{min-height:0;overflow:auto;border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:color-mix(in srgb,var(--color-black) 42%,var(--surface-page));padding:var(--space-4)}.mosaic-editor-canvas-stack{position:relative;display:inline-block;max-width:100%}.mosaic-editor-base,.mosaic-editor-mask{display:block;max-width:min(100%,1040px);height:auto}.mosaic-editor-base{position:absolute;inset:0;pointer-events:none}.mosaic-editor-mask{position:relative;cursor:crosshair;touch-action:none}.mosaic-brush-slider{display:grid;grid-template-columns:auto minmax(160px,280px) auto;align-items:center;gap:var(--space-3);min-width:min(420px,100%)}.mosaic-brush-slider span,.mosaic-brush-slider strong{color:var(--text-secondary);font-size:var(--text-xs)}.mosaic-brush-slider-track{position:relative;height:18px;border-radius:var(--radius-pill);background:color-mix(in srgb,var(--v2-accent-orange) 14%,var(--bg-soft));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--v2-accent-orange) 24%,transparent);cursor:pointer}.mosaic-brush-slider-fill{position:absolute;inset-block:4px;inset-inline-start:4px;border-radius:var(--radius-pill);background:color-mix(in srgb,var(--v2-accent-orange) 78%,var(--bg-soft))}.mosaic-brush-slider-thumb{position:absolute;top:50%;width:22px;height:22px;border:2px solid color-mix(in srgb,var(--v2-accent-orange) 34%,var(--text-primary));border-radius:50%;background:var(--v2-accent-orange);box-shadow:0 0 0 4px color-mix(in srgb,var(--v2-accent-orange) 18%,transparent);transform:translate(-50%,-50%)}.mosaic-editor-error{margin:0;color:var(--v2-status-error-text);font-size:var(--text-xs)}@media (max-width:760px){.mosaic-editor-footer,.mosaic-editor-toolbar{align-items:stretch;flex-direction:column}.mosaic-brush-slider{grid-template-columns:auto minmax(0,1fr) auto;min-width:0;width:100%}}.visual-design-keyframe-panel{grid-column:1/-1;border:1px solid color-mix(in srgb,var(--text-primary) 10%,transparent);border-radius:var(--radius-md);background:color-mix(in srgb,var(--bg-panel) 56%,transparent)}.visual-design-keyframe-summary{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:var(--space-2);align-items:center;min-height:var(--control-height-large);padding-block:0;padding-inline:var(--control-padding-x-compact);color:var(--text-primary);cursor:pointer;list-style:none;user-select:none;font-size:var(--text-sm);font-weight:var(--fw-medium)}.visual-design-keyframe-summary::-webkit-details-marker{display:none}.visual-design-keyframe-summary:before{content:"";flex-shrink:0;display:inline-block;width:0;height:0;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:6px solid var(--text-muted);transition:transform var(--motion-control,.16s) var(--easing-control,ease)}.visual-design-keyframe-panel[open]>.visual-design-keyframe-summary:before{transform:rotate(90deg)}.visual-design-keyframe-body{display:grid;gap:var(--space-3);border-top:1px solid color-mix(in srgb,var(--text-primary) 10%,transparent);padding:var(--space-3)}.visual-design-keyframe-mode-selector{display:flex;gap:var(--space-2);flex-wrap:wrap}.visual-design-mode-chip{display:inline-flex;align-items:center;gap:4px;padding:var(--space-1) var(--space-3);border-radius:var(--radius-sm);font-size:var(--text-xs);cursor:pointer;background:color-mix(in srgb,var(--text-primary) 5%,transparent);border:1px solid color-mix(in srgb,var(--text-primary) 12%,transparent);color:var(--text-muted);transition:background-color var(--motion-normal) var(--easing-control),border-color var(--motion-normal) var(--easing-control),color var(--motion-normal) var(--easing-control),box-shadow var(--motion-normal) var(--easing-control),transform var(--motion-normal) var(--easing-control)}.visual-design-mode-chip input[type=radio]{display:none}.visual-design-mode-chip.is-active{background:color-mix(in srgb,var(--v2-accent-orange) 14%,transparent);border-color:color-mix(in srgb,var(--v2-accent-orange) 40%,transparent);color:var(--text-accent);font-weight:var(--fw-medium)}.visual-design-keyframe-hint{margin:0;font-size:var(--text-xs);color:var(--text-muted);line-height:1.5}.visual-design-keyframe-actions{display:flex;align-items:center;gap:var(--space-3)}.visual-design-keyframe-note{font-size:var(--text-xs);color:var(--text-muted);opacity:.7}.visual-design-keyframe-prompt-group{display:flex;flex-direction:column;gap:var(--space-1)}.visual-design-keyframe-prompt-label{display:flex;align-items:center;gap:var(--space-2);font-size:var(--text-xs);font-weight:var(--fw-medium);color:var(--text-secondary)}.visual-design-keyframe-prompt-label .prompt-polish-button{margin-left:auto;min-height:26px;padding:var(--space-1) var(--space-3);font-size:var(--text-xs)}.visual-design-keyframe-textarea{width:100%;min-height:60px;padding:var(--space-2);border:1px solid color-mix(in srgb,var(--text-primary) 12%,transparent);border-radius:var(--radius-sm);background:color-mix(in srgb,var(--color-black) 20%,transparent);color:var(--text-primary);font-size:var(--text-sm);font-family:inherit;line-height:1.5;resize:vertical;transition:border-color .15s ease}.visual-design-keyframe-textarea:focus{outline:none;border-color:color-mix(in srgb,var(--v2-accent-orange) 50%,transparent)}.visual-design-keyframe-textarea::placeholder{color:var(--text-muted);opacity:.6}.visual-design-add-row{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap;margin-top:var(--space-3)}.visual-design-add-row--inline{margin-top:0;padding:var(--space-3) 0}.visual-design-add-row .custom-select{flex:1;min-width:160px;max-width:320px}.visual-design-add-row .custom-select-label{display:none}.visual-design-add-row .custom-select-trigger{width:100%}.visual-design-add-row .workflow-asset-generate-button{width:auto;flex-shrink:0}.visual-design-add-keyframe-btn{border-color:color-mix(in srgb,var(--v2-accent-orange) 30%,transparent)!important;background:color-mix(in srgb,var(--v2-accent-orange) 8%,transparent)!important}.keyframe-control-card{border-left:3px solid color-mix(in srgb,var(--v2-accent-orange) 50%,transparent)}.video-prompt-inserted-hint{font-size:var(--text-xs);color:var(--v2-status-success-text);padding:var(--space-1) 0;margin:0;animation:fadeIn .15s ease-out}.page-frame-project-video .workflow-sidebar{--workflow-sidebar-ready:var(--v2-status-success);--workflow-sidebar-muted:color-mix(in srgb,var(--text-primary) 42%,transparent);--workflow-sidebar-text:color-mix(in srgb,var(--text-primary) 74%,transparent);--workflow-sidebar-text-strong:color-mix(in srgb,var(--text-primary) 90%,transparent);--workflow-sidebar-surface:color-mix(in srgb,var(--asset-canvas-control-surface) 78%,transparent);--workflow-sidebar-surface-hover:color-mix(in srgb,var(--text-primary) 7%,transparent);--workflow-sidebar-border:color-mix(in srgb,var(--text-primary) 8%,transparent);gap:var(--space-4);border:0;background:var(--v2-bg-canvas);box-shadow:none}.page-frame-project-video .workflow-sidebar-head{align-items:end;padding-inline:2px}.page-frame-project-video .workflow-sidebar-head .eyebrow{color:var(--workflow-sidebar-muted);font-family:var(--font-sans);font-size:var(--text-sm);font-weight:var(--fw-medium);letter-spacing:-.02em;line-height:1.1;text-transform:none}.page-frame-project-video .workflow-sidebar-head strong{color:var(--workflow-sidebar-text-strong);font-family:var(--font-mono);font-size:var(--text-sm);font-weight:var(--fw-medium);letter-spacing:-.02em;line-height:1}.page-frame-project-video .workflow-progress{gap:var(--space-2);padding:var(--space-3) var(--space-4);border:0;border-radius:10px;background:var(--workflow-sidebar-surface);color:var(--workflow-sidebar-muted);font-size:var(--text-xs);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 4%,transparent)}.page-frame-project-video .workflow-progress-label{color:var(--workflow-sidebar-muted);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.01em}.page-frame-project-video .workflow-progress strong{color:var(--workflow-sidebar-text-strong);font-family:var(--font-mono);font-size:var(--text-sm);font-weight:var(--fw-medium);letter-spacing:-.02em}.page-frame-project-video .workflow-progress-bar{height:3px;background:color-mix(in srgb,var(--text-primary) 8%,transparent)}.page-frame-project-video .workflow-progress-bar span{background:linear-gradient(90deg,var(--v2-accent-orange-strong),var(--v2-accent-orange))}.page-frame-project-video .workflow-sidebar-scroll{gap:var(--space-5);padding-right:2px}.page-frame-project-video .workflow-group{gap:var(--space-2)}.page-frame-project-video .workflow-group-label{padding-inline:2px;color:color-mix(in srgb,var(--text-primary) 48%,transparent);font-family:var(--font-sans);font-size:var(--text-sm);font-weight:var(--fw-medium);letter-spacing:-.02em;line-height:1.15}.page-frame-project-video .workflow-optional-toggle,.page-frame-project-video .workflow-step{min-height:32px;border:0;border-radius:9px;background:transparent;color:var(--workflow-sidebar-text);box-shadow:none;font-size:var(--text-sm);font-weight:var(--fw-medium);letter-spacing:-.02em}.page-frame-project-video .workflow-step{grid-template-columns:9px minmax(0,1fr) auto;column-gap:var(--space-3);padding-inline:var(--space-3)}.page-frame-project-video .workflow-step>span{font-size:var(--text-sm);font-weight:var(--fw-medium);line-height:1.1}.page-frame-project-video .workflow-optional-toggle-count,.page-frame-project-video .workflow-step small{color:var(--workflow-sidebar-muted);font-family:var(--font-mono);font-size:var(--text-2xs);font-weight:var(--fw-medium);line-height:1}.page-frame-project-video .workflow-optional-toggle:hover,.page-frame-project-video .workflow-step:hover{border-color:transparent;background:var(--workflow-sidebar-surface-hover);box-shadow:none;color:var(--workflow-sidebar-text-strong);transform:none}.page-frame-project-video .workflow-step[aria-current=step]{border-inline-start-width:0;border-inline-start-color:transparent;padding-inline-start:var(--space-3);background:color-mix(in srgb,var(--text-primary) 9%,transparent);color:var(--workflow-sidebar-text-strong);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 4%,transparent)}.page-frame-project-video .workflow-step-dot{width:6px;height:6px;background:color-mix(in srgb,var(--text-primary) 18%,transparent);box-shadow:none}.page-frame-project-video .workflow-step-library.status-ready .workflow-step-dot,.page-frame-project-video .workflow-step.status-ready .workflow-step-dot{background:var(--workflow-sidebar-ready);box-shadow:0 0 0 2px color-mix(in srgb,var(--workflow-sidebar-ready) 16%,transparent)}.page-frame-project-video .workflow-step.status-generating .workflow-step-dot,.page-frame-project-video .workflow-step.status-needs-review .workflow-step-dot{background:var(--workflow-sidebar-running);box-shadow:0 0 0 2px color-mix(in srgb,var(--workflow-sidebar-running) 18%,transparent)}.page-frame-project-video .workflow-step.status-generating .workflow-step-dot{animation:workflow-generating-pulse var(--workflow-motion-feedback-duration) ease-in-out infinite}.page-frame-project-video .workflow-step.status-failed .workflow-step-dot{background:var(--v2-status-error);box-shadow:0 0 0 2px color-mix(in srgb,var(--v2-status-error) 20%,transparent)}.page-frame-project-video .workflow-optional-toggle{grid-template-columns:9px minmax(0,1fr) auto auto;column-gap:var(--space-3);padding-inline:var(--space-3)}.page-frame-project-video .workflow-optional-toggle-dot{width:6px;height:6px;background:color-mix(in srgb,var(--v2-accent-orange) 72%,transparent);box-shadow:0 0 0 2px color-mix(in srgb,var(--v2-accent-orange) 14%,transparent)}.page-frame-project-video .workflow-optional-toggle-label{color:var(--workflow-sidebar-text);font-size:var(--text-sm);font-weight:var(--fw-medium);letter-spacing:-.02em}.page-frame-project-video .workflow-optional-toggle-count{min-height:18px;border:0;border-radius:999px;padding-inline:var(--space-2);background:color-mix(in srgb,var(--text-primary) 7%,transparent)}.page-frame-project-video .workflow-optional-toggle-icon{color:var(--workflow-sidebar-muted);font-size:var(--text-sm);font-weight:var(--fw-medium)}.page-frame-project-video .workflow-optional-steps{margin-inline-start:var(--space-1);padding-inline-start:var(--space-3);border-inline-start:1px solid color-mix(in srgb,var(--text-primary) 7%,transparent)}.page-frame-project-video .workflow-main>.workflow-toolbar{--workflow-toolbar-ready:var(--v2-status-success);--workflow-toolbar-muted:color-mix(in srgb,var(--text-primary) 42%,transparent);--workflow-toolbar-text:color-mix(in srgb,var(--text-primary) 74%,transparent);--workflow-toolbar-text-strong:color-mix(in srgb,var(--text-primary) 88%,transparent);--workflow-toolbar-surface:color-mix(in srgb,var(--asset-canvas-control-surface) 78%,transparent);--workflow-toolbar-surface-hover:color-mix(in srgb,var(--text-primary) 7%,transparent);min-height:39px;padding-block:0 var(--space-5);border-bottom:0;color:var(--workflow-toolbar-text)}.page-frame-project-video .workflow-toolbar-right{gap:var(--space-3);justify-content:flex-end}.page-frame-project-video .workflow-actions,.page-frame-project-video .workflow-queue-strip{gap:var(--space-2)}.page-frame-project-video .workflow-queue-strip>span,.page-frame-project-video .workflow-toolbar .workflow-pill{min-height:var(--control-height-compact);border-radius:9px;padding-inline:var(--space-3);background:var(--workflow-toolbar-surface);color:var(--workflow-toolbar-text);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 4%,transparent);font-family:var(--font-sans);line-height:1}.page-frame-project-video .workflow-queue-strip>span:hover,.page-frame-project-video .workflow-toolbar .workflow-pill:hover{background:var(--workflow-toolbar-surface-hover)}.page-frame-project-video .workflow-queue-strip .status-dot{width:6px;height:6px;box-shadow:none}.page-frame-project-video .workflow-queue-strip .status-ready .status-dot{background:var(--workflow-toolbar-ready);box-shadow:0 0 0 2px color-mix(in srgb,var(--workflow-toolbar-ready) 16%,transparent)}.page-frame-project-video .workflow-queue-strip .status-generating .status-dot,.page-frame-project-video .workflow-queue-strip .status-needs-review .status-dot{background:var(--workflow-toolbar-running);box-shadow:0 0 0 2px color-mix(in srgb,var(--workflow-toolbar-running) 18%,transparent)}.page-frame-project-video .workflow-queue-strip .status-missing .status-dot{background:color-mix(in srgb,var(--text-primary) 30%,transparent);box-shadow:0 0 0 2px color-mix(in srgb,var(--text-primary) 8%,transparent)}.page-frame-project-video .workflow-pill--select{min-width:96px;padding-inline-end:calc(var(--space-3) + 14px);background-color:var(--workflow-toolbar-surface);background-position:right var(--space-3) center;color:var(--workflow-toolbar-text-strong);font-weight:var(--fw-medium)}.page-frame-project-video .workflow-pill--select:focus{outline:1px solid color-mix(in srgb,var(--workflow-toolbar-ready) 48%,transparent);outline-offset:2px}.page-frame-project-video .workflow-toolbar .workflow-pill.status-generating{background:color-mix(in srgb,var(--workflow-toolbar-running) 12%,var(--asset-canvas-control-surface));color:color-mix(in srgb,var(--workflow-toolbar-running) 82%,var(--text-primary))}.page-frame-project-video .workflow-main>.workflow-toolbar{min-height:32px;padding-block:0 var(--space-4)}.page-frame-project-video .workflow-actions,.page-frame-project-video .workflow-queue-strip{align-items:center;gap:var(--space-4)}.page-frame-project-video .workflow-queue-strip>span,.page-frame-project-video .workflow-toolbar .workflow-pill{min-height:auto;border:0;border-radius:0;padding:0;background:transparent;box-shadow:none;color:var(--workflow-toolbar-muted);font-size:var(--text-sm);font-weight:var(--fw-medium);letter-spacing:-.02em;line-height:1.1}.page-frame-project-video .workflow-queue-strip>span:hover,.page-frame-project-video .workflow-toolbar .workflow-pill:hover{background:transparent;color:var(--workflow-toolbar-text-strong)}.page-frame-project-video .workflow-queue-strip .status-dot{margin-right:var(--space-2)}.page-frame-project-video .workflow-pill--select{min-width:auto;padding-inline-end:var(--space-6);background-color:transparent;background-position:right 0 center}.page-frame-project-video .workflow-toolbar .workflow-pill.status-generating{background:transparent}.page-frame-project-video .workflow-main>.workflow-toolbar{justify-content:flex-start;padding-inline:0}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-toolbar-right{width:100%;justify-content:flex-start;gap:var(--space-5)}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-actions,.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-queue-strip{justify-content:flex-start;flex:0 0 auto;gap:var(--space-4)}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-pill,.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-pill--select,.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-queue-strip>span{color:var(--workflow-toolbar-muted);font-family:var(--font-sans);font-size:var(--text-sm);font-weight:var(--fw-medium);letter-spacing:-.02em;line-height:1.1;text-align:left}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-pill--select{width:auto;max-width:none}.workflow-sidebar-floating-tip{position:fixed;z-index:calc(var(--z-popover) + 20);max-width:min(320px,62vw);border:1px solid var(--tooltip-border);border-radius:var(--tooltip-radius);padding:var(--tooltip-padding-y) var(--tooltip-padding-x);background:var(--tooltip-bg);color:var(--tooltip-fg);box-shadow:var(--tooltip-shadow);font-family:var(--font-sans);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:var(--tooltip-letter-spacing);line-height:var(--tooltip-line-height);pointer-events:none;text-align:left;white-space:normal;transform:translateY(-50%);overflow-wrap:anywhere;backdrop-filter:blur(16px)}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-toolbar-right{justify-content:space-between;gap:var(--space-6)}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-actions{margin-left:auto;justify-content:flex-end;gap:var(--space-3)}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-pill--select{min-width:112px;min-height:var(--control-height-compact);border:0;border-radius:9px;padding-inline:var(--space-3) calc(var(--space-3) + 14px);background-color:color-mix(in srgb,var(--asset-canvas-control-surface) 82%,transparent);background-position:right var(--space-3) center;box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 4%,transparent);color:var(--workflow-toolbar-text-strong);cursor:pointer;font-size:var(--text-sm);font-weight:var(--fw-medium);letter-spacing:-.02em;line-height:1}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-pill--select:hover{background-color:color-mix(in srgb,var(--text-primary) 7%,var(--asset-canvas-control-surface))}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-pill--select:focus-visible{outline:1px solid color-mix(in srgb,var(--v2-accent-orange) 52%,transparent);outline-offset:2px}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-actions>.workflow-pill:not(.workflow-pill--select){color:var(--workflow-toolbar-muted);font-size:var(--text-sm);font-weight:var(--fw-medium)}.page-frame-project-video .workflow-main-head{grid-template-columns:minmax(0,1fr);gap:var(--space-2);min-height:var(--control-height-compact)}.page-frame-project-video .workflow-main-head .workflow-step-title{min-height:var(--control-height-compact);color:var(--workflow-toolbar-text,color-mix(in srgb,var(--text-primary) 74%,transparent))}.page-frame-project-video .workflow-main-head .workflow-step-title>div{gap:var(--space-3)}.page-frame-project-video .workflow-step-identity>span{color:var(--workflow-toolbar-muted,color-mix(in srgb,var(--text-primary) 42%,transparent));font-family:var(--font-mono);font-size:var(--text-sm);font-weight:var(--fw-medium);letter-spacing:-.02em;line-height:1.1}.page-frame-project-video .workflow-main-head .workflow-step-title h2{color:var(--workflow-toolbar-text-strong,color-mix(in srgb,var(--text-primary) 90%,transparent));font-size:var(--text-md);font-weight:var(--fw-semibold);letter-spacing:-.02em;line-height:1.1}.page-frame-project-video .workflow-main-head .workflow-status{min-height:20px;border:0;border-radius:7px;padding-inline:var(--space-2);background:color-mix(in srgb,var(--text-primary) 7%,transparent);color:var(--workflow-toolbar-muted,color-mix(in srgb,var(--text-primary) 42%,transparent));font-family:var(--font-sans);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.02em;line-height:1}.page-frame-project-video .workflow-main-head .workflow-status.status-ready{background:color-mix(in srgb,var(--v2-status-success) 10%,transparent);color:var(--v2-status-success-text)}.page-frame-project-video .workflow-main-head .workflow-status.status-generating{background:color-mix(in srgb,var(--v2-status-info) 12%,transparent);color:var(--v2-status-info-text)}.page-frame-project-video .workflow-main-head .workflow-status.status-needs-review{background:color-mix(in srgb,var(--v2-status-warning) 10%,transparent);color:var(--v2-status-warning-text)}.page-frame-project-video .workflow-main-head .workflow-status.status-failed{background:color-mix(in srgb,var(--v2-status-error) 12%,transparent);color:var(--v2-status-error-text)}.page-frame-project-video .workflow-head-actions .workflow-primary-action,.page-frame-project-video .workflow-head-actions .workflow-secondary-action,.page-frame-project-video .workflow-main-head .workflow-footer-button,.page-frame-project-video .workflow-main-head .workflow-primary-action,.page-frame-project-video .workflow-main-head .workflow-secondary-action{min-height:var(--control-height-compact);border:0;border-radius:9px;padding-inline:var(--space-3);background:color-mix(in srgb,var(--asset-canvas-control-surface) 82%,transparent);color:var(--workflow-toolbar-text-strong,color-mix(in srgb,var(--text-primary) 88%,transparent));box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 4%,transparent);font-size:var(--text-sm);font-weight:var(--fw-medium);letter-spacing:-.02em;line-height:1;transform:none}.page-frame-project-video .workflow-head-actions .workflow-primary-action:hover:not(:disabled),.page-frame-project-video .workflow-head-actions .workflow-secondary-action:hover:not(:disabled),.page-frame-project-video .workflow-main-head .workflow-primary-action:hover:not(:disabled),.page-frame-project-video .workflow-main-head .workflow-secondary-action:hover:not(:disabled){border-color:transparent;background:color-mix(in srgb,var(--text-primary) 7%,var(--asset-canvas-control-surface));box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 5%,transparent);transform:none}.page-frame-project-video .workflow-head-actions .workflow-primary-action:disabled,.page-frame-project-video .workflow-main-head .workflow-primary-action:disabled{cursor:not-allowed;opacity:.58}.page-frame-project-video .workflow-main-head .generation-timer{min-height:20px;background:color-mix(in srgb,var(--v2-status-info) 12%,transparent);color:var(--v2-status-info-text);font-size:var(--text-xs);font-weight:var(--fw-medium)}.page-frame-project-video .workflow-sidebar{grid-template-rows:auto minmax(0,1fr)}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-model-select{position:relative;width:148px;flex:0 0 148px}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-model-select .custom-select-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-model-select .custom-select-trigger{min-height:34px;border:1px solid color-mix(in srgb,var(--v2-accent-orange) 64%,transparent);border-radius:13px;padding:0 36px 0 var(--space-4);background:color-mix(in srgb,var(--asset-canvas-control-surface) 94%,transparent);color:var(--workflow-toolbar-text-strong,color-mix(in srgb,var(--text-primary) 88%,transparent));box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 5%,transparent),0 0 0 1px color-mix(in srgb,var(--v2-accent-orange-strong) 14%,transparent);font-family:var(--font-sans);font-size:var(--text-sm);font-weight:var(--fw-medium);letter-spacing:-.02em;line-height:1}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-model-select .custom-select-trigger:after{right:15px;width:7px;height:7px;border-right:2px solid color-mix(in srgb,var(--text-primary) 56%,transparent);border-bottom:2px solid color-mix(in srgb,var(--text-primary) 56%,transparent);opacity:1;transform:translateY(-60%) rotate(45deg)}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-model-select .custom-select-trigger:hover,.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-model-select .custom-select-trigger[aria-expanded=true]{border-color:color-mix(in srgb,var(--text-primary) 28%,transparent);background:color-mix(in srgb,var(--asset-canvas-control-surface) 96%,transparent);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 6%,transparent),0 0 0 1px color-mix(in srgb,var(--text-primary) 8%,transparent)}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-model-select .custom-select-trigger[aria-expanded=true]:after{transform:translateY(-24%) rotate(225deg)}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-model-select .custom-select-trigger:focus-visible{outline:0;border-color:color-mix(in srgb,var(--text-primary) 34%,transparent);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 6%,transparent),0 0 0 2px color-mix(in srgb,var(--text-primary) 12%,transparent)}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-model-select .custom-select-menu{right:0;left:auto;width:180px;border:1px solid color-mix(in srgb,var(--text-primary) 12%,transparent);border-radius:11px;padding:var(--space-2);background:color-mix(in srgb,var(--asset-canvas-popover-surface) 98%,var(--color-black) 2%);box-shadow:0 18px 44px color-mix(in srgb,var(--color-black) 52%,transparent),inset 0 1px 0 color-mix(in srgb,var(--text-primary) 5%,transparent)}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-model-select .custom-select-option{min-height:30px;border-radius:7px;padding:0 var(--space-3);color:color-mix(in srgb,var(--text-primary) 66%,transparent);font-size:var(--text-sm);font-weight:var(--fw-medium);letter-spacing:-.02em}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-model-select .custom-select-option:focus-visible,.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-model-select .custom-select-option:hover{background:color-mix(in srgb,var(--text-primary) 7%,transparent);color:var(--text-primary)}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-model-select .custom-select-option.is-selected{background:color-mix(in srgb,var(--v2-accent-orange) 12%,transparent);color:var(--text-accent)}.page-frame-project-video .workflow-main-head .workflow-primary-action.ui-tip{min-height:30px;border:1px solid color-mix(in srgb,var(--v2-accent-orange) 72%,transparent);border-radius:11px;padding-inline:var(--space-4);background:linear-gradient(180deg,color-mix(in srgb,var(--v2-accent-orange-soft) 24%,transparent),transparent 62%),color-mix(in srgb,var(--v2-accent-orange) 88%,var(--color-black) 12%);color:var(--text-on-accent);box-shadow:0 8px 22px color-mix(in srgb,var(--v2-accent-orange) 18%,transparent),inset 0 1px 0 color-mix(in srgb,var(--text-primary) 18%,transparent);font-size:var(--text-sm);font-weight:var(--fw-medium);letter-spacing:-.02em}.page-frame-project-video .workflow-main-head .workflow-primary-action.ui-tip:hover:not(:disabled){border-color:color-mix(in srgb,var(--v2-accent-orange-soft) 86%,transparent);background:linear-gradient(180deg,color-mix(in srgb,var(--text-primary) 18%,transparent),transparent 64%),var(--v2-accent-orange-soft);color:var(--text-on-accent);box-shadow:0 10px 26px color-mix(in srgb,var(--v2-accent-orange) 24%,transparent),inset 0 1px 0 color-mix(in srgb,var(--text-primary) 24%,transparent);transform:translateY(-1px)}.page-frame-project-video .workflow-main-head .workflow-primary-action.ui-tip:active:not(:disabled){transform:translateY(0);box-shadow:0 5px 16px color-mix(in srgb,var(--v2-accent-orange) 18%,transparent),inset 0 1px 2px color-mix(in srgb,var(--color-black) 22%,transparent)}.page-frame-project-video .workflow-main-head .workflow-primary-action.ui-tip:focus-visible{outline:0;box-shadow:0 0 0 2px color-mix(in srgb,var(--v2-accent-orange) 30%,transparent),0 8px 22px color-mix(in srgb,var(--v2-accent-orange) 18%,transparent),inset 0 1px 0 color-mix(in srgb,var(--text-primary) 18%,transparent)}.page-frame-project-video .workflow-main-head .workflow-primary-action.ui-tip:disabled{border-color:color-mix(in srgb,var(--text-primary) 10%,transparent);background:color-mix(in srgb,var(--asset-canvas-control-surface) 82%,transparent);color:color-mix(in srgb,var(--text-primary) 42%,transparent);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 4%,transparent)}.page-frame-project-video .workflow-main>.workflow-toolbar,.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-actions,.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-queue-strip,.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-toolbar-right{align-items:flex-start}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-queue-strip>span{line-height:34px}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-model-select{align-self:flex-start}.page-frame-project-video .workflow-sidebar{grid-template-rows:minmax(0,1fr);padding-top:var(--space-5)}.page-frame-project-video .workflow-sidebar-scroll{gap:var(--space-7)}.page-frame-project-video .workflow-group{gap:var(--space-3)}.page-frame-project-video .workflow-optional-steps{margin-top:var(--space-2)}.page-frame-project-video .workflow-main>.workflow-toolbar{margin-top:calc(var(--space-1) * -1)}.page-frame-project-video .workflow-main{gap:var(--space-3)}.page-frame-project-video .workflow-main>.workflow-toolbar{padding-bottom:var(--space-2)}.page-frame-project-video{--project-video-control-radius:10px;--project-video-control-menu-radius:11px;--project-video-control-option-radius:7px}.page-frame-project-video .workflow-main-head .workflow-primary-action.ui-tip,.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-model-select .custom-select-trigger{border-radius:var(--project-video-control-radius)}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-model-select .custom-select-menu{border-radius:var(--project-video-control-menu-radius)}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-model-select .custom-select-option{border-radius:var(--project-video-control-option-radius)}.page-frame-project-video .workflow-editor{border:0;border-radius:0;padding:0;background:transparent}.page-frame-project-video .workflow-stage-scroll{padding-top:var(--space-2)}.page-frame-project-video .workflow-editor{gap:var(--workflow-rhythm-xl)}.page-frame-project-video .workflow-editor>*+*{margin-top:0}.page-frame-project-video .workflow-generating-state{min-height:280px;border:0;border-radius:0;padding:var(--space-8) 0;background:transparent;overflow:visible}.page-frame-project-video .workflow-generating-content{gap:var(--space-5)}.page-frame-project-video .workflow-generating-content h3{color:color-mix(in srgb,var(--text-primary) 92%,transparent);font-size:var(--text-display-sm);font-weight:var(--fw-bold);letter-spacing:-.045em;animation:none}.page-frame-project-video .workflow-generating-content p{max-width:520px;color:color-mix(in srgb,var(--text-primary) 46%,transparent);font-size:var(--text-sm);font-weight:var(--fw-medium);letter-spacing:-.01em;line-height:1.65}.page-frame-project-video .workflow-unified-loader{position:relative;display:flex;align-items:center;justify-content:center;width:94px;height:94px;cursor:wait}.page-frame-project-video .workflow-unified-loader__spinner{position:relative;width:0;height:0;font-size:var(--text-3xs)}.page-frame-project-video .workflow-unified-loader__spinner:after,.page-frame-project-video .workflow-unified-loader__spinner:before{box-sizing:border-box;content:"";display:block;position:absolute;margin-top:-5em;margin-left:-5em;width:10em;height:10em;transform-style:preserve-3d;transform-origin:50%;perspective-origin:50% 50%;perspective:340px;filter:invert(1);background-size:10em 10em;background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjI2NnB4IiBoZWlnaHQ9IjI5N3B4IiB2aWV3Qm94PSIwIDAgMjY2IDI5NyIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWxuczpza2V0Y2g9Imh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaC9ucyI+CiAgICA8dGl0bGU+c3Bpbm5lcjwvdGl0bGU+CiAgICA8ZGVzY3JpcHRpb24+Q3JlYXRlZCB3aXRoIFNrZXRjaCAoaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoKTwvZGVzY3JpcHRpb24+CiAgICA8ZGVmcz48L2RlZnM+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8cGF0aCBkPSJNMTcxLjUwNzgxMywzLjI1MDAwMDM4IEMyMjYuMjA4MTgzLDEyLjg1NzcxMTEgMjk3LjExMjcyMiw3MS40OTEyODIzIDI1MC44OTU1OTksMTA4LjQxMDE1NSBDMjE2LjU4MjAyNCwxMzUuODIwMzEgMTg2LjUyODQwNSw5Ny4wNjI0OTY0IDE1Ni44MDA3NzQsODUuNzczNDM0NiBDMTI3LjA3MzE0Myw3NC40ODQzNzIxIDc2Ljg4ODQ2MzIsODQuMjE2MTQ2MiA2MC4xMjg5MDY1LDEwOC40MTAxNTMgQy0xNS45ODA0Njg1LDIxOC4yODEyNDcgMTQ1LjI3NzM0NCwyOTYuNjY3OTY4IDE0NS4yNzczNDQsMjk2LjY2Nzk2OCBDMTQ1LjI3NzM0NCwyOTYuNjY3OTY4IC0yNS40NDkyMTg3LDI1Ny4yNDIxOTggMy4zOTg0Mzc1LDEwOC40MTAxNTUgQzE2LjMwNzA2NjEsNDEuODExNDE3NCA4NC43Mjc1ODI5LC0xMS45OTIyOTg1IDE3MS41MDc4MTMsMy4yNTAwMDAzOCBaIiBpZD0iUGF0aC0xIiBmaWxsPSIjMDAwMDAwIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICA8L2c+Cjwvc3ZnPg==")}.page-frame-project-video .workflow-unified-loader__spinner:before{transform:rotateX(60deg) rotateY(45deg) rotate(45deg);animation:workflow-loader-rotate-before .75s linear infinite reverse}.page-frame-project-video .workflow-unified-loader__spinner:after{transform:rotateX(240deg) rotateY(45deg) rotate(45deg);animation:workflow-loader-rotate-after .75s linear infinite}@keyframes workflow-loader-rotate-before{0%{transform:rotateX(60deg) rotateY(45deg) rotate(0deg)}to{transform:rotateX(60deg) rotateY(45deg) rotate(-1turn)}}@keyframes workflow-loader-rotate-after{0%{transform:rotateX(240deg) rotateY(45deg) rotate(0deg)}to{transform:rotateX(240deg) rotateY(45deg) rotate(1turn)}}@media (prefers-reduced-motion:reduce){.page-frame-project-video .workflow-unified-loader__spinner:after,.page-frame-project-video .workflow-unified-loader__spinner:before{animation-play-state:paused}}.page-frame-project-video .workflow-bottom-action-bar{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--space-4);min-width:0;padding-top:var(--space-2)}.page-frame-project-video .workflow-bottom-actions{display:inline-flex;align-items:center;justify-content:flex-end;min-width:0;margin-left:auto}.page-frame-project-video .workflow-bottom-actions .workflow-batch-run-action{justify-content:flex-end}.page-frame-project-video .workflow-bottom-model-select{position:relative;width:158px;flex:0 0 158px}.page-frame-project-video .workflow-bottom-model-select .custom-select-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.page-frame-project-video .workflow-bottom-model-select .custom-select-trigger{min-height:34px;border:1px solid color-mix(in srgb,var(--text-primary) 18%,transparent);border-radius:var(--project-video-control-radius);padding:0 36px 0 var(--space-4);background:color-mix(in srgb,var(--asset-canvas-control-surface) 94%,transparent);color:color-mix(in srgb,var(--text-primary) 88%,transparent);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 5%,transparent),0 0 0 1px color-mix(in srgb,var(--text-primary) 5%,transparent);font-family:var(--font-sans);font-size:var(--text-sm);font-weight:var(--fw-medium);letter-spacing:-.02em;line-height:1}.page-frame-project-video .workflow-bottom-model-select .custom-select-trigger:after{right:15px;width:7px;height:7px;border-right:2px solid color-mix(in srgb,var(--text-primary) 56%,transparent);border-bottom:2px solid color-mix(in srgb,var(--text-primary) 56%,transparent);opacity:1;transform:translateY(-24%) rotate(225deg)}.page-frame-project-video .workflow-bottom-model-select .custom-select-trigger:hover,.page-frame-project-video .workflow-bottom-model-select .custom-select-trigger[aria-expanded=true]{border-color:color-mix(in srgb,var(--text-primary) 28%,transparent);background:color-mix(in srgb,var(--asset-canvas-control-surface) 96%,transparent);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 6%,transparent),0 0 0 1px color-mix(in srgb,var(--text-primary) 8%,transparent)}.page-frame-project-video .workflow-bottom-model-select .custom-select-trigger[aria-expanded=true]:after{transform:translateY(-24%) rotate(225deg)}.page-frame-project-video .workflow-bottom-model-select .custom-select-trigger:focus-visible{outline:0;border-color:color-mix(in srgb,var(--text-primary) 34%,transparent);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 6%,transparent),0 0 0 2px color-mix(in srgb,var(--text-primary) 12%,transparent)}.page-frame-project-video .workflow-bottom-model-select .custom-select-menu{right:0;left:auto;width:100%;border-radius:var(--project-video-control-menu-radius)}.page-frame-project-video .workflow-bottom-model-select .custom-select-menu.is-up{top:auto;bottom:calc(100% + 8px);transform-origin:bottom right}.page-frame-project-video .workflow-bottom-model-select .custom-select-option{justify-content:flex-start;min-height:32px;border-radius:var(--project-video-control-option-radius);padding-inline:var(--space-3);color:color-mix(in srgb,var(--text-primary) 66%,transparent);font-size:var(--text-sm);font-weight:var(--fw-medium);letter-spacing:-.02em}.page-frame-project-video .workflow-bottom-model-select .custom-select-option:focus-visible,.page-frame-project-video .workflow-bottom-model-select .custom-select-option:hover{background:color-mix(in srgb,var(--text-primary) 7%,transparent);color:var(--text-primary)}.page-frame-project-video .workflow-bottom-model-select .custom-select-option.is-selected{background:color-mix(in srgb,var(--v2-accent-orange) 12%,transparent);color:var(--text-accent)}.page-frame-project-video .workflow-bottom-action-bar .workflow-batch-run-action .workflow-primary-action,.page-frame-project-video .workflow-bottom-action-bar .workflow-primary-action.ui-tip{min-height:34px;border:1px solid color-mix(in srgb,var(--v2-accent-orange) 72%,transparent);border-radius:var(--project-video-control-radius);padding-inline:var(--space-4);background:linear-gradient(180deg,color-mix(in srgb,var(--v2-accent-orange-soft) 24%,transparent),transparent 62%),color-mix(in srgb,var(--v2-accent-orange) 88%,var(--color-black) 12%);color:var(--text-on-accent);box-shadow:0 8px 22px color-mix(in srgb,var(--v2-accent-orange) 18%,transparent),inset 0 1px 0 color-mix(in srgb,var(--text-primary) 18%,transparent);font-size:var(--text-sm);font-weight:var(--fw-medium);letter-spacing:-.02em}.page-frame-project-video .workflow-bottom-action-bar .workflow-batch-run-action .workflow-primary-action:hover:not(:disabled),.page-frame-project-video .workflow-bottom-action-bar .workflow-primary-action.ui-tip:hover:not(:disabled){border-color:color-mix(in srgb,var(--v2-accent-orange-soft) 86%,transparent);background:linear-gradient(180deg,color-mix(in srgb,var(--text-primary) 18%,transparent),transparent 64%),var(--v2-accent-orange-soft);color:var(--text-on-accent);box-shadow:0 10px 26px color-mix(in srgb,var(--v2-accent-orange) 24%,transparent),inset 0 1px 0 color-mix(in srgb,var(--text-primary) 24%,transparent);transform:translateY(-1px)}.page-frame-project-video .workflow-bottom-action-bar .workflow-batch-run-action .workflow-primary-action:active:not(:disabled),.page-frame-project-video .workflow-bottom-action-bar .workflow-primary-action.ui-tip:active:not(:disabled){transform:translateY(0);box-shadow:0 5px 16px color-mix(in srgb,var(--v2-accent-orange) 18%,transparent),inset 0 1px 2px color-mix(in srgb,var(--color-black) 22%,transparent)}.page-frame-project-video .workflow-bottom-action-bar .workflow-batch-run-action .workflow-primary-action:focus-visible,.page-frame-project-video .workflow-bottom-action-bar .workflow-primary-action.ui-tip:focus-visible{outline:0;box-shadow:0 0 0 2px color-mix(in srgb,var(--v2-accent-orange) 30%,transparent),0 8px 22px color-mix(in srgb,var(--v2-accent-orange) 18%,transparent),inset 0 1px 0 color-mix(in srgb,var(--text-primary) 18%,transparent)}.page-frame-project-video .workflow-bottom-action-bar .workflow-batch-run-action .workflow-primary-action:disabled,.page-frame-project-video .workflow-bottom-action-bar .workflow-primary-action.ui-tip:disabled{border-color:color-mix(in srgb,var(--text-primary) 10%,transparent);background:color-mix(in srgb,var(--asset-canvas-control-surface) 82%,transparent);color:color-mix(in srgb,var(--text-primary) 42%,transparent);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 4%,transparent)}.page-frame-project-video .workflow-bottom-action-bar .workflow-batch-run-action .workflow-secondary-action{min-height:34px;border-radius:var(--project-video-control-radius);padding-inline:var(--space-4);font-size:var(--text-sm)}.page-frame-project-video .workflow-stage-scroll:has(>.workflow-generating-state){display:grid;align-items:stretch;padding-right:0;padding-bottom:0;overflow:hidden}.page-frame-project-video .workflow-stage-scroll>.workflow-generating-state{min-height:100%;height:100%;display:grid;place-items:center;padding:0}.page-frame-project-video .workflow-stage-scroll>.workflow-generating-state .workflow-generating-content{transform:translateY(-2%)}.page-frame-project-video{--project-asset-editor-bg:var(--asset-canvas-control-surface);--project-asset-editor-bg-hover:var(--asset-canvas-floating-surface);--project-asset-editor-border:var(--asset-canvas-control-border);--project-asset-editor-border-focus:color-mix(in srgb,var(--v2-accent-orange) 54%,transparent);--project-asset-editor-ring:0 0 0 2px color-mix(in srgb,var(--v2-accent-orange) 13%,transparent);--project-asset-editor-radius:10px;--project-asset-editor-text:var(--asset-canvas-control-text-strong);--project-asset-editor-button-width:68px;--project-asset-editor-button-height:32px;--project-asset-editor-button-radius:9px;--project-asset-editor-button-padding-x:var(--space-4);--project-asset-editor-button-secondary-bg:var(--asset-canvas-control-surface);--project-asset-editor-button-secondary-bg-hover:var(--asset-canvas-floating-surface);--project-asset-editor-button-secondary-text:var(--asset-canvas-control-text);--project-asset-editor-button-secondary-text-hover:var(--asset-canvas-control-text-strong);--project-primary-action-background:linear-gradient(90deg,var(--vag-sem-action-primary-gradient-start) 0.01%,var(--vag-sem-action-primary-gradient-end) 100%);--project-asset-editor-button-primary-bg:var(--project-primary-action-background);--project-asset-editor-button-primary-bg-hover:var(--project-primary-action-background);--project-asset-editor-button-primary-text:var(--text-on-accent)}.page-frame-project-video .shot-prompt-editor{--project-asset-editor-border:var(--asset-canvas-control-border);--project-asset-editor-border-focus:color-mix(in srgb,var(--v2-accent-orange) 54%,transparent);--project-asset-editor-bg:var(--asset-canvas-control-surface);--project-asset-editor-bg-hover:var(--asset-canvas-floating-surface);border-color:transparent;background:transparent;box-shadow:none}.page-frame-project-video .shot-prompt-editor textarea{min-height:118px;border-color:var(--project-asset-editor-border);border-radius:var(--project-asset-editor-radius);padding:var(--space-4);background:var(--project-asset-editor-bg);color:var(--project-asset-editor-text);font-size:var(--text-sm);font-weight:var(--fw-light);letter-spacing:0;line-height:1.68;box-shadow:none}.page-frame-project-video .shot-prompt-editor textarea:hover{background:var(--project-asset-editor-bg-hover)}.page-frame-project-video .shot-prompt-editor textarea:focus{border-color:var(--project-asset-editor-border-focus);background:var(--project-asset-editor-bg-hover);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 5%,transparent),var(--project-asset-editor-ring)}.page-frame-project-video .editable-asset-save-row .character-reference-secondary,.page-frame-project-video .editable-asset-save-row .prompt-save-button{min-width:var(--project-asset-editor-button-width);min-height:var(--project-asset-editor-button-height);border-radius:var(--project-asset-editor-button-radius);padding:0 var(--project-asset-editor-button-padding-x);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.02em}.page-frame-project-video .editable-asset-save-row .character-reference-secondary{border-color:transparent;background:var(--project-asset-editor-button-secondary-bg);color:var(--project-asset-editor-button-secondary-text)}.page-frame-project-video .editable-asset-save-row .character-reference-secondary:hover:not(:disabled){border-color:transparent;background:var(--project-asset-editor-button-secondary-bg-hover);color:var(--project-asset-editor-button-secondary-text-hover)}.page-frame-project-video .editable-asset-save-row .prompt-save-button{border-color:transparent;background:var(--project-asset-editor-button-primary-bg);color:var(--project-asset-editor-button-primary-text);box-shadow:none}.page-frame-project-video .editable-asset-save-row .prompt-save-button:hover:not(:disabled){border-color:var(--project-asset-editor-button-primary-bg-hover);background:var(--project-asset-editor-button-primary-bg-hover);transform:translateY(-1px)}.page-frame-project-video .character-reference-grid{gap:var(--space-4)}.page-frame-project-video .character-reference-card{grid-template-columns:minmax(280px,.92fr) minmax(0,1fr);gap:var(--space-5);border:1px solid color-mix(in srgb,var(--text-primary) 6%,transparent);border-left:0;border-radius:var(--radius-md);padding:var(--space-5);background:color-mix(in srgb,var(--text-primary) 3%,transparent);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 3%,transparent)}.page-frame-project-video .character-reference-card:hover{border-color:color-mix(in srgb,var(--text-primary) 9%,transparent);background:color-mix(in srgb,var(--text-primary) 3.6%,transparent);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 3%,transparent);transform:none}.page-frame-project-video .character-reference-card.is-uploaded,.page-frame-project-video .character-reference-card.status-failed,.page-frame-project-video .character-reference-card.status-generating,.page-frame-project-video .character-reference-card.status-ready{border-left-color:transparent}.page-frame-project-video .character-reference-preview{min-height:166px;border-color:var(--asset-canvas-control-border);border-radius:11px;background:var(--asset-canvas-control-surface);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 4%,transparent)}.page-frame-project-video .character-reference-preview img{border-radius:11px}.page-frame-project-video .character-reference-card__body{gap:var(--space-3)}.page-frame-project-video .character-reference-head,.page-frame-project-video .character-reference-head>div:first-child{align-items:center;gap:var(--space-3)}.page-frame-project-video .character-reference-head span{color:color-mix(in srgb,var(--text-primary) 42%,transparent);font-family:var(--font-sans);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.01em;text-transform:none}.page-frame-project-video .character-reference-head strong{color:color-mix(in srgb,var(--text-primary) 90%,transparent);font-size:var(--text-md);font-weight:var(--fw-semibold);letter-spacing:-.03em;line-height:1.15}.page-frame-project-video .character-reference-head-meta{gap:var(--space-2);row-gap:var(--space-1)}.page-frame-project-video .bible-entry-badge,.page-frame-project-video .character-reference-head-meta small,.page-frame-project-video .reference-source-badge{display:inline-flex;align-items:center;min-height:20px;border:0;border-radius:7px;padding:0 var(--space-3);background:color-mix(in srgb,var(--v2-accent-orange) 12%,transparent);color:var(--text-accent);font-family:var(--font-sans);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.02em;line-height:1;text-transform:none}.page-frame-project-video .character-generation-settings{gap:var(--space-2);border:0;border-radius:10px;padding:var(--space-3);background:color-mix(in srgb,var(--text-primary) 4.5%,transparent);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 3%,transparent)}.page-frame-project-video .character-generation-settings .video-generation-settings{gap:0;border-radius:0;padding:0;background:transparent;box-shadow:none}.page-frame-project-video .character-generation-setting-grid span,.page-frame-project-video .character-generation-settings-head small,.page-frame-project-video .character-generation-settings-head span{color:color-mix(in srgb,var(--text-primary) 42%,transparent);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.01em;text-transform:none}.page-frame-project-video .character-generation-setting-grid{gap:var(--space-2)}.page-frame-project-video .character-generation-setting-grid>.custom-select,.page-frame-project-video .character-generation-setting-grid>label{min-height:28px;border:0;border-radius:8px;padding:0 var(--space-3);background:color-mix(in srgb,var(--text-primary) 4%,transparent)}.page-frame-project-video .character-generation-setting-grid .custom-select-label{color:color-mix(in srgb,var(--text-primary) 42%,transparent);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.01em}.page-frame-project-video .character-generation-setting-grid .custom-select-trigger{min-height:28px;padding:0 14px 0 var(--space-2);color:color-mix(in srgb,var(--text-primary) 62%,transparent);font-size:var(--text-xs);font-weight:var(--fw-medium)}.page-frame-project-video .character-reference-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.page-frame-project-video .character-privacy-action-button,.page-frame-project-video .character-reference-actions .character-reference-secondary,.page-frame-project-video .character-reference-actions .reference-upload-trigger,.page-frame-project-video .character-reference-actions .workflow-asset-generate-button{min-height:32px;height:32px;border-radius:9px;padding:0 var(--space-3);font-size:var(--text-sm);font-weight:var(--fw-medium);letter-spacing:-.02em;box-shadow:none}.page-frame-project-video .character-privacy-action-button,.page-frame-project-video .character-reference-actions .character-reference-secondary,.page-frame-project-video .character-reference-actions .reference-upload-trigger{border-color:transparent;background:color-mix(in srgb,var(--text-primary) 6%,transparent);color:color-mix(in srgb,var(--text-primary) 58%,transparent)}.page-frame-project-video .character-privacy-action-button:hover:not(:disabled),.page-frame-project-video .character-reference-actions .character-reference-secondary:hover:not(:disabled),.page-frame-project-video .character-reference-actions .reference-upload-trigger:hover:not(:disabled){border-color:transparent;background:var(--project-asset-editor-button-secondary-bg-hover);background-color:var(--project-asset-editor-button-secondary-bg-hover);color:color-mix(in srgb,var(--text-primary) 82%,transparent);box-shadow:none}.page-frame-project-video .character-privacy-action{gap:var(--space-2)}.page-frame-project-video .character-reference-card__body>.editable-asset-prompt-details,.page-frame-project-video .character-reference-card__body>.shot-config-details{margin-top:var(--space-1);border-top-color:color-mix(in srgb,var(--text-primary) 6%,transparent);padding-top:var(--space-3)}.page-frame-project-video .character-generation-setting-grid .custom-select-trigger{padding-right:24px}.page-frame-project-video .character-generation-setting-grid .custom-select-trigger:after{right:8px}.page-frame-project-video .prop-reference-usage{gap:var(--space-1)}.page-frame-project-video .prop-reference-usage-row{gap:var(--space-2)}.page-frame-project-video .prop-reference-usage-toggle{min-height:26px;border:0;border-radius:8px;padding:0 var(--space-3) 0 var(--space-2);background:color-mix(in srgb,var(--text-primary) 6%,transparent);color:color-mix(in srgb,var(--text-primary) 62%,transparent);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.02em}.page-frame-project-video .prop-reference-usage-toggle.is-on{border-color:transparent;background:color-mix(in srgb,var(--v2-accent-orange) 12%,transparent);color:var(--text-accent)}.page-frame-project-video .prop-reference-usage-toggle.is-off{border-color:transparent;background:color-mix(in srgb,var(--text-primary) 5%,transparent);color:color-mix(in srgb,var(--text-primary) 44%,transparent)}.page-frame-project-video .prop-reference-usage-toggle:hover:not(:disabled){border-color:transparent;background:color-mix(in srgb,var(--text-primary) 8%,transparent)}.page-frame-project-video .prop-reference-usage-track{width:24px;height:14px;background:color-mix(in srgb,var(--text-primary) 14%,transparent)}.page-frame-project-video .prop-reference-usage-toggle.is-on .prop-reference-usage-track{background:var(--v2-accent-orange)}.page-frame-project-video .prop-reference-usage-thumb{top:2px;left:2px;width:10px;height:10px;background:var(--v2-bg-canvas)}.page-frame-project-video .prop-reference-usage-toggle.is-on .prop-reference-usage-thumb{transform:translateX(10px)}.page-frame-project-video .prop-reference-usage-hint{color:color-mix(in srgb,var(--text-primary) 38%,transparent);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.01em}.page-frame-project-video .prop-reference-usage-expand{min-height:26px;border-radius:8px;padding:0 var(--space-3);background:color-mix(in srgb,var(--text-primary) 4%,transparent);color:color-mix(in srgb,var(--text-primary) 50%,transparent);font-size:var(--text-xs);font-weight:var(--fw-medium)}.page-frame-project-video .prop-reference-usage-expand small{color:color-mix(in srgb,var(--text-primary) 34%,transparent);font-size:var(--text-2xs)}.page-frame-project-video .prop-reference-usage-node-title{color:color-mix(in srgb,var(--text-primary) 68%,transparent);font-size:var(--text-xs);font-weight:var(--fw-medium)}.page-frame-project-video .prop-reference-usage-node-tag{color:var(--text-accent);font-size:var(--text-2xs)}.page-frame-project-video .custom-entry-add-card.is-collapsed{min-height:88px;border:1px dashed color-mix(in srgb,var(--text-primary) 10%,transparent);border-radius:var(--radius-md);padding:var(--space-5);background:color-mix(in srgb,var(--text-primary) 2.6%,transparent);color:color-mix(in srgb,var(--text-primary) 62%,transparent)}.page-frame-project-video .custom-entry-add-card--block.is-collapsed,.page-frame-project-video .custom-entry-add-card.is-collapsed:not(.custom-entry-add-card--grid-cell):not(.custom-entry-add-card--block){min-height:88px}.page-frame-project-video .custom-entry-add-card.is-collapsed:hover:not(:disabled){border-color:color-mix(in srgb,var(--v2-accent-orange) 34%,transparent);background:color-mix(in srgb,var(--text-primary) 3.4%,transparent);transform:none}.page-frame-project-video .custom-entry-add-card__plus{color:var(--text-accent);font-size:var(--text-display-sm);font-weight:var(--fw-semibold);line-height:1}.page-frame-project-video .custom-entry-add-card__label{color:color-mix(in srgb,var(--text-primary) 74%,transparent);font-size:var(--text-sm);font-weight:var(--fw-medium);letter-spacing:-.02em}.page-frame-project-video .custom-entry-add-card__hint{color:color-mix(in srgb,var(--text-primary) 38%,transparent);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.01em}.page-frame-project-video .custom-entry-add-card.is-expanded{border-color:color-mix(in srgb,var(--text-primary) 8%,transparent);border-radius:var(--radius-md);padding:var(--space-5);background:color-mix(in srgb,var(--text-primary) 3%,transparent)}.page-frame-project-video .custom-entry-add-card__head{flex-direction:row;align-items:flex-start;justify-content:space-between;gap:var(--space-3)}.page-frame-project-video .custom-entry-add-card__title{display:grid;min-width:0;gap:var(--space-1)}.page-frame-project-video .custom-entry-add-card__eyebrow{color:var(--text-accent);font-size:var(--text-2xs);font-weight:var(--fw-medium);letter-spacing:.08em;text-transform:uppercase}.page-frame-project-video .custom-entry-add-card__image-input{display:none}.page-frame-project-video .custom-entry-add-card__image-action{display:inline-flex;align-items:center;justify-content:center;flex:0 0 var(--control-height-regular);width:var(--control-height-regular);height:var(--control-height-regular);border:1px solid color-mix(in srgb,var(--text-primary) 10%,transparent);border-radius:var(--control-radius-button);background:color-mix(in srgb,var(--text-primary) 4%,transparent);color:color-mix(in srgb,var(--text-primary) 66%,transparent);cursor:pointer;transition:border-color var(--motion-control) var(--easing-control),background var(--motion-control) var(--easing-control),color var(--motion-control) var(--easing-control)}.page-frame-project-video .custom-entry-add-card__image-action:hover:not(:disabled){border-color:color-mix(in srgb,var(--v2-accent-orange) 38%,var(--border-strong));background:color-mix(in srgb,var(--v2-accent-orange) 12%,var(--surface-panel));color:var(--text-accent)}.page-frame-project-video .custom-entry-add-card__image-action:disabled{opacity:.5;cursor:not-allowed}.page-frame-project-video .custom-entry-add-card__input-shell{display:grid;gap:var(--space-2)}.page-frame-project-video .custom-entry-add-card__textarea{min-height:112px;border-color:color-mix(in srgb,var(--text-primary) 10%,transparent);border-radius:var(--radius-sm);background:color-mix(in srgb,var(--text-primary) 3%,transparent)}.page-frame-project-video .custom-entry-add-card__textarea::placeholder{color:color-mix(in srgb,var(--text-primary) 32%,transparent)}.page-frame-project-video .custom-entry-add-card__textarea:focus-visible{border-color:color-mix(in srgb,var(--v2-accent-orange) 48%,transparent);box-shadow:0 0 0 1px color-mix(in srgb,var(--v2-accent-orange) 18%,transparent)}.page-frame-project-video .custom-entry-add-card__examples,.page-frame-project-video .custom-entry-add-card__meta-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}.page-frame-project-video .custom-entry-add-card__examples>span,.page-frame-project-video .custom-entry-add-card__support{min-width:0;overflow:hidden;color:color-mix(in srgb,var(--text-primary) 38%,transparent);font-size:var(--text-xs);text-overflow:ellipsis;white-space:nowrap}.page-frame-project-video .custom-entry-add-card__count[data-state=ready]{color:var(--v2-status-success-text)}.page-frame-project-video .custom-entry-add-card__count[data-state=overflow],.page-frame-project-video .custom-entry-add-card__count[data-state=short]{color:var(--v2-status-warning-text)}.page-frame-project-video .custom-entry-add-card__count{flex:0 0 auto}.page-frame-project-video .custom-entry-add-card__example-list{display:flex;min-width:0;gap:var(--space-2);overflow-x:auto}.page-frame-project-video .custom-entry-add-card__example{max-width:260px;overflow:hidden;border:1px solid color-mix(in srgb,var(--text-primary) 8%,transparent);border-radius:var(--radius-pill);padding:5px 9px;background:color-mix(in srgb,var(--text-primary) 3%,transparent);color:color-mix(in srgb,var(--text-primary) 58%,transparent);font-size:var(--text-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.page-frame-project-video .custom-entry-add-card__example:hover:not(:disabled){border-color:color-mix(in srgb,var(--v2-accent-orange) 30%,transparent);color:color-mix(in srgb,var(--text-primary) 76%,transparent)}.page-frame-project-video .custom-entry-add-card__submit{border-color:color-mix(in srgb,var(--v2-accent-orange) 42%,var(--border-strong));background:color-mix(in srgb,var(--v2-accent-orange) 18%,var(--surface-panel));color:color-mix(in srgb,var(--text-primary) 92%,transparent)}.page-frame-project-video .custom-entry-add-card__submit:hover:not(:disabled){border-color:color-mix(in srgb,var(--v2-accent-orange) 64%,var(--border-strong));background:color-mix(in srgb,var(--v2-accent-orange) 24%,var(--surface-panel))}.page-frame-project-video .custom-entry-add-card__submit:focus-visible{outline-color:color-mix(in srgb,var(--v2-accent-orange) 72%,transparent)}.page-frame-project-video .custom-entry-add-card__submit:disabled{border-color:color-mix(in srgb,var(--text-primary) 8%,transparent);background:color-mix(in srgb,var(--text-primary) 4%,transparent);color:color-mix(in srgb,var(--text-primary) 34%,transparent)}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card){gap:var(--space-3);border:1px solid color-mix(in srgb,var(--text-primary) 6%,transparent);border-left:0;border-radius:var(--radius-md);padding:var(--space-5);background:color-mix(in srgb,var(--text-primary) 3%,transparent);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 3%,transparent)}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card):hover{border-color:color-mix(in srgb,var(--text-primary) 9%,transparent);background:color-mix(in srgb,var(--text-primary) 3.6%,transparent);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 3%,transparent);transform:none}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card).status-failed,.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card).status-generating,.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card).status-ready{border-left-color:transparent}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__head{align-items:center}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__identity{gap:var(--space-3)}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__role-badge,.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__status,.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__voice-current{display:inline-flex;align-items:center;min-height:20px;border:0;border-radius:7px;padding:0 var(--space-3);background:color-mix(in srgb,var(--text-primary) 6%,transparent);color:color-mix(in srgb,var(--text-primary) 48%,transparent);font-family:var(--font-sans);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.02em;line-height:1}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__status{background:color-mix(in srgb,var(--v2-accent-orange) 12%,transparent);color:var(--text-accent);font-weight:var(--fw-semibold)}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__name{color:color-mix(in srgb,var(--text-primary) 90%,transparent);font-size:var(--text-md);font-weight:var(--fw-semibold);letter-spacing:-.03em;line-height:1.15}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__voice-rule{gap:var(--space-2);border:0;border-radius:10px;padding:var(--space-3);background:color-mix(in srgb,var(--text-primary) 4.5%,transparent);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 3%,transparent)}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__voice-rule p{color:color-mix(in srgb,var(--text-primary) 70%,transparent);font-size:var(--text-sm);font-weight:var(--fw-light);letter-spacing:-.005em;line-height:1.62}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__label{color:color-mix(in srgb,var(--text-primary) 42%,transparent);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.01em}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__details{border-top-color:color-mix(in srgb,var(--text-primary) 6%,transparent);padding-top:var(--space-2)}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__details summary{min-height:28px;padding:0;color:color-mix(in srgb,var(--text-primary) 48%,transparent);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.01em}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__voice-picker{gap:var(--space-2);padding:var(--space-2) 0 0}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__voice-group-label{color:color-mix(in srgb,var(--text-primary) 38%,transparent);font-size:var(--text-2xs);font-weight:var(--fw-medium);letter-spacing:-.01em}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__voice-option{border:0;border-radius:7px;background:color-mix(in srgb,var(--text-primary) 5%,transparent)}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__voice-option.is-active,.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__voice-option:hover{background:color-mix(in srgb,var(--v2-accent-orange) 12%,transparent)}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__voice-chip{min-height:24px;height:24px;border:0;border-radius:0;padding:0 var(--space-3);background:transparent;color:color-mix(in srgb,var(--text-primary) 52%,transparent);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.02em}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__voice-chip.is-active,.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__voice-option:hover .audio-card__voice-chip{border-color:transparent;background:transparent;color:var(--text-accent)}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__voice-preview{border-left-color:color-mix(in srgb,var(--text-primary) 8%,transparent);background:color-mix(in srgb,var(--text-primary) 3%,transparent)}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__voice-preview-hint{color:color-mix(in srgb,var(--text-primary) 38%,transparent);font-size:var(--text-2xs)}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__textarea{min-height:82px;border-color:var(--project-asset-editor-border);border-radius:var(--project-asset-editor-radius);padding:var(--space-4);background:var(--project-asset-editor-bg);color:var(--project-asset-editor-text);font-size:var(--text-sm);font-weight:var(--fw-light);letter-spacing:0;line-height:1.68;box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 4%,transparent)}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__textarea:focus{border-color:var(--project-asset-editor-border-focus);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 5%,transparent),var(--project-asset-editor-ring)}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__actions{gap:var(--space-2)}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__generate-btn,.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__play-btn{width:auto;min-width:var(--project-asset-editor-button-width)}.page-frame-project-video .project-asset-editor-action-bar{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2)}.page-frame-project-video .project-asset-editor-button{min-width:var(--project-asset-editor-button-width);min-height:var(--project-asset-editor-button-height);height:var(--project-asset-editor-button-height);border-radius:var(--project-asset-editor-button-radius);padding:0 var(--project-asset-editor-button-padding-x);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.02em;box-shadow:none}.page-frame-project-video .project-asset-editor-button.character-reference-secondary{border-color:transparent;background:var(--project-asset-editor-button-secondary-bg);color:var(--project-asset-editor-button-secondary-text)}.page-frame-project-video .project-asset-editor-button.character-reference-secondary:hover:not(:disabled){border-color:transparent;background:var(--project-asset-editor-button-secondary-bg-hover);color:var(--project-asset-editor-button-secondary-text-hover);box-shadow:none;transform:translateY(-1px)}.page-frame-project-video .project-asset-editor-button.prompt-save-button{border-color:transparent;background:var(--project-asset-editor-button-primary-bg);color:var(--project-asset-editor-button-primary-text)}.page-frame-project-video .project-asset-editor-button.prompt-save-button:hover:not(:disabled){border-color:transparent;background:var(--project-asset-editor-button-primary-bg-hover);box-shadow:none;transform:translateY(-1px)}.page-frame-project-video .project-asset-editor-button.prompt-polish-button{border-color:color-mix(in srgb,var(--v2-accent-orange) 24%,transparent);background:color-mix(in srgb,var(--v2-accent-orange) 10%,transparent);color:var(--text-accent)}.page-frame-project-video .project-asset-editor-button.prompt-polish-button:hover:not(:disabled){border-color:color-mix(in srgb,var(--v2-accent-orange) 34%,transparent);background:color-mix(in srgb,var(--v2-accent-orange) 15%,transparent);color:var(--text-accent);transform:translateY(-1px)}.page-frame-project-video .project-asset-editor-button.character-reference-secondary.is-danger{border-color:color-mix(in srgb,var(--v2-status-error) 24%,transparent);background:color-mix(in srgb,var(--v2-status-error) 8%,transparent);color:var(--v2-status-error-text)}.page-frame-project-video .project-asset-editor-button.character-reference-secondary.is-danger:hover:not(:disabled){border-color:color-mix(in srgb,var(--v2-status-error) 36%,transparent);background:color-mix(in srgb,var(--v2-status-error) 12%,transparent);color:var(--v2-status-error-text)}.page-frame-project-video .music-card:not(.production-asset-card){min-height:0;gap:var(--space-3);border:1px solid color-mix(in srgb,var(--text-primary) 6%,transparent);border-left:0;border-radius:var(--radius-md);padding:var(--space-5);background:color-mix(in srgb,var(--text-primary) 3%,transparent);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 3%,transparent)}.page-frame-project-video .music-card:not(.production-asset-card):hover{border-color:color-mix(in srgb,var(--text-primary) 9%,transparent);background:color-mix(in srgb,var(--text-primary) 3.6%,transparent);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 3%,transparent);transform:none}.page-frame-project-video .music-card:not(.production-asset-card).status-failed,.page-frame-project-video .music-card:not(.production-asset-card).status-generating,.page-frame-project-video .music-card:not(.production-asset-card).status-ready{border-left-color:transparent}.page-frame-project-video .music-card .audio-card__head{align-items:center}.page-frame-project-video .music-card .audio-card__identity{gap:var(--space-3)}.page-frame-project-video .music-card .audio-card__role-badge,.page-frame-project-video .music-card .audio-card__status{display:inline-flex;align-items:center;min-height:20px;border:0;border-radius:7px;padding:0 var(--space-3);background:color-mix(in srgb,var(--text-primary) 6%,transparent);color:color-mix(in srgb,var(--text-primary) 48%,transparent);font-family:var(--font-sans);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.02em;line-height:1}.page-frame-project-video .music-card .audio-card__status{background:color-mix(in srgb,var(--v2-accent-orange) 12%,transparent);color:var(--text-accent);font-weight:var(--fw-semibold)}.page-frame-project-video .music-card .audio-card__name{color:color-mix(in srgb,var(--text-primary) 90%,transparent);font-size:var(--text-md);font-weight:var(--fw-semibold);letter-spacing:-.03em;line-height:1.15}.page-frame-project-video .music-card .audio-card__tts-input{gap:var(--space-2)}.page-frame-project-video .music-card .audio-card__label{color:color-mix(in srgb,var(--text-primary) 42%,transparent);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.01em}.page-frame-project-video .music-card .audio-card__textarea{min-height:126px;max-height:260px;border-color:var(--project-asset-editor-border);border-radius:var(--project-asset-editor-radius);padding:var(--space-4);background:var(--project-asset-editor-bg);color:var(--project-asset-editor-text);font-size:var(--text-sm);font-weight:var(--fw-light);letter-spacing:0;line-height:1.68;box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 4%,transparent)}.page-frame-project-video .music-card .audio-card__textarea:hover{background:var(--project-asset-editor-bg-hover)}.page-frame-project-video .music-card .audio-card__textarea:focus{border-color:var(--project-asset-editor-border-focus);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 5%,transparent),var(--project-asset-editor-ring)}.page-frame-project-video .music-card .project-asset-editor-commit-row{margin-top:-2px}.page-frame-project-video .music-card__generate-button{min-width:82px}.page-frame-project-video .music-card__player{display:flex;align-items:center;gap:var(--space-3);border-radius:var(--project-asset-editor-radius);padding:var(--space-2) var(--space-3);background:color-mix(in srgb,var(--text-primary) 4%,transparent);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 3%,transparent)}.page-frame-project-video .music-card__play-button{min-width:58px}.page-frame-project-video .music-card__timeline{flex:1;margin-left:0}.page-frame-project-video .music-card__track{height:3px;border-radius:999px;background:color-mix(in srgb,var(--text-primary) 10%,transparent)}.page-frame-project-video .music-card__progress{border-radius:inherit;background:var(--v2-accent-orange)}.page-frame-project-video .music-card__thumb{width:9px;height:9px;border:2px solid var(--asset-canvas-popover-surface);background:var(--v2-accent-orange-soft);box-shadow:0 0 0 3px color-mix(in srgb,var(--v2-accent-orange) 18%,transparent)}.page-frame-project-video .music-card__time{color:color-mix(in srgb,var(--text-primary) 44%,transparent);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.02em}.page-frame-project-video .music-card__management{justify-content:flex-start;gap:var(--space-2);border-top:1px solid color-mix(in srgb,var(--text-primary) 6%,transparent);padding-top:var(--space-3)}.page-frame-project-video .music-card .audio-card__confirm-delete{flex-wrap:wrap}.page-frame-project-video .music-card .audio-card__confirm-label{color:var(--v2-status-error-text);font-size:var(--text-xs);font-weight:var(--fw-medium)}.page-frame-project-video button.music-card__timeline{appearance:none;border:0;padding:0;background:transparent;color:inherit;font:inherit}.page-frame-project-video .character-reference-card .character-reference-actions .workflow-asset-generate-button{order:9}.page-frame-project-video .video-production-card>.editable-asset-prompt-details{box-sizing:border-box;width:100%;border-color:color-mix(in srgb,var(--text-primary) 10%,transparent);border-radius:var(--radius-md);background:color-mix(in srgb,var(--bg-panel) 56%,transparent)}.page-frame-project-video .video-production-card>.editable-asset-prompt-details>summary{min-height:var(--control-height-large);color:var(--text-primary)}.page-frame-project-video .video-production-card .video-prompt-override-badge{border:0;background:color-mix(in srgb,var(--v2-accent-orange) 11%,transparent);color:var(--text-accent);font-weight:var(--fw-medium);line-height:1}.page-frame-project-video .video-production-card .video-prompt-override-badge,.page-frame-project-video .video-production-card .video-prompt-source-badge{justify-self:end;width:max-content;min-height:20px;border-radius:7px;padding:0 var(--space-3);font-size:var(--text-xs);letter-spacing:-.02em}.page-frame-project-video .video-production-card .shot-config-details-body{gap:var(--space-3);border-top-color:color-mix(in srgb,var(--text-primary) 6%,transparent);padding:var(--space-3)}.page-frame-project-video .video-production-card .video-prompt-reference-strip{box-sizing:border-box;width:100%;justify-self:stretch;gap:var(--space-3);border:1px solid color-mix(in srgb,var(--text-primary) 6%,transparent);border-radius:var(--project-asset-editor-radius);padding:var(--space-3);background:color-mix(in srgb,var(--text-primary) 3.8%,transparent);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 3%,transparent)}.page-frame-project-video .video-production-card .video-prompt-reference-strip__head{align-items:center;color:color-mix(in srgb,var(--text-primary) 38%,transparent);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.01em}.page-frame-project-video .video-production-card .video-prompt-reference-strip__head span{color:color-mix(in srgb,var(--text-primary) 72%,transparent);font-size:var(--text-sm);font-weight:var(--fw-medium);letter-spacing:-.02em}.page-frame-project-video .video-production-card .video-prompt-reference-strip__head small{color:color-mix(in srgb,var(--text-primary) 38%,transparent);font-size:var(--text-xs);font-weight:var(--fw-medium)}.page-frame-project-video .video-production-card .video-prompt-reference-strip__list{gap:var(--space-2);padding-bottom:0}.page-frame-project-video .video-production-card .video-prompt-reference-thumb{--ref-accent:var(--v2-accent-orange);grid-template-columns:42px minmax(92px,1fr);min-width:176px;max-width:230px;border:0;border-radius:9px;padding:var(--space-2);background:color-mix(in srgb,var(--text-primary) 4.6%,transparent);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 3%,transparent)}.page-frame-project-video .video-production-card .video-prompt-reference-thumb__bar{display:none}.page-frame-project-video .video-production-card .video-prompt-reference-thumb:focus-visible,.page-frame-project-video .video-production-card .video-prompt-reference-thumb:hover{border-color:transparent;background:color-mix(in srgb,var(--v2-accent-orange) 8%,color-mix(in srgb,var(--text-primary) 5%,transparent));box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 4%,transparent);transform:none}.page-frame-project-video .video-production-card .video-prompt-reference-thumb__image{width:42px;height:42px;border:1px solid color-mix(in srgb,var(--v2-accent-orange) 18%,transparent);border-radius:8px;background:var(--asset-canvas-control-surface)}.page-frame-project-video .video-production-card .video-prompt-reference-thumb__chip{border-radius:6px;background:color-mix(in srgb,var(--v2-accent-orange) 76%,var(--color-black));color:var(--text-on-accent);font-size:var(--text-2xs);font-weight:var(--fw-medium)}.page-frame-project-video .video-production-card .video-prompt-reference-thumb__slot{color:var(--text-accent);font-family:var(--font-sans);font-size:var(--text-2xs);font-weight:var(--fw-medium);letter-spacing:-.01em}.page-frame-project-video .video-production-card .video-prompt-reference-thumb__title{color:color-mix(in srgb,var(--text-primary) 62%,transparent);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.01em}.page-frame-project-video .music-card__prompt-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}.page-frame-project-video .music-card__prompt-preview{box-sizing:border-box;width:100%;min-height:96px;border:1px solid color-mix(in srgb,var(--text-primary) 6%,transparent);border-radius:var(--project-asset-editor-radius);padding:var(--space-4);background:color-mix(in srgb,var(--text-primary) 3.8%,transparent);color:color-mix(in srgb,var(--text-primary) 68%,transparent);font:inherit;font-size:var(--text-sm);font-weight:var(--fw-light);letter-spacing:0;line-height:1.68;text-align:left;white-space:pre-wrap;cursor:text;box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 3%,transparent)}.page-frame-project-video .music-card__prompt-preview:focus-visible,.page-frame-project-video .music-card__prompt-preview:hover:not(:disabled){border-color:color-mix(in srgb,var(--v2-accent-orange) 26%,transparent);background:color-mix(in srgb,var(--text-primary) 4.8%,transparent);outline:none}.page-frame-project-video .music-card__prompt-preview:disabled{cursor:not-allowed;opacity:.62}.page-frame-project-video .music-card__footer-actions{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);border-top:1px solid color-mix(in srgb,var(--text-primary) 6%,transparent);padding-top:var(--space-3)}.page-frame-project-video .music-card__footer-actions .project-asset-editor-action-bar{justify-content:flex-end;margin-left:auto}.page-frame-project-video .music-card__footer-actions .music-card__management{flex:0 0 auto;border-top:0;padding-top:0}@media (max-width:960px){.page-frame-project-video .music-card__footer-actions{flex-wrap:wrap-reverse}.page-frame-project-video .music-card__footer-actions .project-asset-editor-action-bar{width:100%}}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__actions{width:100%;justify-content:flex-end}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__actions .audio-card__play-btn{order:1}.page-frame-project-video .audio-card:not(.music-card):not(.production-asset-card) .audio-card__actions .audio-card__generate-btn{order:9}.page-frame-project-video .character-reference-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;width:100%;gap:var(--space-2)}.page-frame-project-video .character-reference-actions .character-reference-secondary,.page-frame-project-video .character-reference-actions .reference-upload,.page-frame-project-video .character-reference-actions .reference-upload-trigger,.page-frame-project-video .character-reference-actions .workflow-asset-generate-button,.page-frame-project-video .character-reference-actions>*{width:auto}.page-frame-project-video .character-reference-actions .character-reference-secondary,.page-frame-project-video .character-reference-actions .reference-upload,.page-frame-project-video .character-reference-actions .workflow-asset-generate-button.is-danger{order:1}.page-frame-project-video .character-reference-actions .workflow-asset-generate-button:not(.is-danger){order:9;min-width:148px}.page-frame-project-video .character-reference-actions .reference-upload-trigger{min-width:148px}.page-frame-project-video .style-anchor-frame-status-pill{display:inline-flex;align-items:center;justify-content:center;min-width:52px;min-height:20px;border:0;border-radius:7px;padding:0 var(--space-3);background:color-mix(in srgb,var(--v2-accent-orange) 12%,transparent);color:var(--text-accent);font-family:var(--font-sans);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.02em;line-height:1;white-space:nowrap}.page-frame-project-video .keyframe-control-card.status-failed .style-anchor-frame-status-pill,.page-frame-project-video .style-anchor-frame-card.status-failed .style-anchor-frame-status-pill{background:color-mix(in srgb,var(--v2-status-error) 10%,transparent);color:var(--v2-status-error-text)}.page-frame-project-video .shot-card-delete-button{width:28px;height:28px;border:0;border-radius:9px;background:color-mix(in srgb,var(--text-primary) 5.5%,transparent);color:color-mix(in srgb,var(--text-primary) 42%,transparent);box-shadow:none}.page-frame-project-video .shot-card-delete-button:focus-visible,.page-frame-project-video .shot-card-delete-button:hover:not(:disabled){background:color-mix(in srgb,var(--v2-status-error) 10%,transparent);color:var(--v2-status-error-text);outline:none;transform:none}.page-frame-project-video .shot-card-delete-button:focus-visible{box-shadow:0 0 0 2px color-mix(in srgb,var(--v2-status-error) 18%,transparent)}.page-frame-project-video .shot-card-delete-button svg{width:13px;height:13px}.page-frame-project-video .visual-design-keyframe-mode-selector{gap:var(--space-2)}.page-frame-project-video .visual-design-mode-chip{min-height:26px;border:0;border-radius:8px;padding:0 var(--space-3);background:color-mix(in srgb,var(--text-primary) 5%,transparent);color:color-mix(in srgb,var(--text-primary) 50%,transparent);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.01em;box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 2.6%,transparent)}.page-frame-project-video .visual-design-mode-chip:hover{background:color-mix(in srgb,var(--text-primary) 7%,transparent);color:color-mix(in srgb,var(--text-primary) 70%,transparent)}.page-frame-project-video .visual-design-mode-chip.is-active{border-color:transparent;background:color-mix(in srgb,var(--v2-accent-orange) 13%,transparent);color:var(--text-accent);font-weight:var(--fw-semibold)}.visual-design-add-controls{display:grid;width:100%;min-width:0;gap:var(--space-2)}.visual-design-add-controls .custom-select{width:100%;min-width:0}.visual-design-add-controls .visual-design-keyframe-mode-selector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-2)}.visual-design-add-controls .visual-design-mode-chip{width:100%;min-width:0;justify-content:center;border-radius:var(--radius-pill)}.page-frame-project-video .shot-image-production-card .character-reference-card__body{display:flex;flex-direction:column}.page-frame-project-video .shot-image-production-card__footer{display:grid;gap:var(--space-2);margin-top:auto;padding-top:var(--space-2)}.page-frame-project-video .shot-image-production-card__footer .character-reference-actions{justify-content:flex-end}.page-frame-project-video .shot-image-production-card .shot-generation-duration{justify-self:end;width:auto;min-width:0;min-height:22px;grid-template-columns:auto auto;gap:var(--space-1);border:0;border-radius:7px;padding:0 var(--space-3);background:color-mix(in srgb,var(--text-primary) 4.5%,transparent);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 2.6%,transparent)}.page-frame-project-video .shot-image-production-card .shot-generation-duration span,.page-frame-project-video .shot-image-production-card .shot-generation-duration strong{color:color-mix(in srgb,var(--text-primary) 42%,transparent);font-family:var(--font-sans);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.01em;line-height:1}.page-frame-project-video .shot-image-production-card .shot-generation-duration strong{color:color-mix(in srgb,var(--text-primary) 58%,transparent);font-weight:var(--fw-semibold)}.page-frame-project-video .shot-reference-head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-4);min-width:0}.page-frame-project-video .shot-reference-head>.shot-reference-title-block{display:grid;flex:1 1 auto;min-width:0;gap:var(--space-1)}.page-frame-project-video .shot-reference-kicker{color:color-mix(in srgb,var(--text-primary) 38%,transparent);font-family:var(--font-sans);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.01em;line-height:1}.page-frame-project-video .shot-reference-head .shot-reference-title-block strong{display:block;overflow:hidden;color:color-mix(in srgb,var(--text-primary) 88%,transparent);font-size:var(--text-md);font-weight:var(--fw-semibold);letter-spacing:-.03em;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.page-frame-project-video .shot-reference-meta-row{display:flex;flex-wrap:wrap;gap:var(--space-2);align-items:center;min-width:0;padding-top:2px}.page-frame-project-video .shot-image-grid-badge,.page-frame-project-video .shot-reference-index-pill{display:inline-flex;align-items:center;min-height:20px;border:0;border-radius:7px;padding:0 var(--space-3);background:color-mix(in srgb,var(--text-primary) 5%,transparent);color:color-mix(in srgb,var(--text-primary) 46%,transparent);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.02em;line-height:1;white-space:nowrap}.page-frame-project-video .shot-reference-head-actions{display:inline-flex;align-items:center;justify-content:flex-end;flex:0 0 auto;gap:var(--space-2);margin-left:auto}.page-frame-project-video .shot-reference-head .shot-image-status-pill,.page-frame-project-video .shot-reference-head .style-anchor-frame-status-pill{margin-left:0;min-width:52px;min-height:20px;border:0;border-radius:7px;padding:0 var(--space-3);background:color-mix(in srgb,var(--v2-accent-orange) 12%,transparent);color:var(--text-accent);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.02em}.page-frame-project-video .status-failed .shot-reference-head .shot-image-status-pill,.page-frame-project-video .status-failed .shot-reference-head .style-anchor-frame-status-pill{background:color-mix(in srgb,var(--v2-status-error) 10%,transparent);color:var(--v2-status-error-text)}.page-frame-project-video .shot-card-video-source-button{width:28px;height:28px;border:0;border-radius:9px;background:color-mix(in srgb,var(--text-primary) 5.5%,transparent);color:color-mix(in srgb,var(--text-primary) 42%,transparent);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.02em;box-shadow:none;transform:none}.page-frame-project-video .shot-card-video-source-button:focus-visible,.page-frame-project-video .shot-card-video-source-button:hover:not(:disabled){border-color:transparent;background:color-mix(in srgb,var(--v2-accent-orange) 10%,transparent);color:var(--text-accent);outline:none;transform:none}.page-frame-project-video .shot-card-video-source-button.is-selected{border-color:transparent;background:color-mix(in srgb,var(--v2-accent-orange) 14%,transparent);color:var(--text-accent);box-shadow:none;transform:none}.page-frame-project-video .shot-card-video-source-button.is-selected:focus-visible,.page-frame-project-video .shot-card-video-source-button.is-selected:hover:not(:disabled){border-color:transparent;background:color-mix(in srgb,var(--v2-accent-orange) 18%,transparent)}.page-frame-project-video .video-production-card .character-reference-card__body{display:flex;flex-direction:column;min-height:100%}.page-frame-project-video .video-production-card__footer{display:grid;margin-top:auto;padding-top:var(--space-2)}.page-frame-project-video .video-production-card .shot-generation-duration{justify-self:stretch;width:100%;min-height:34px;grid-template-columns:auto minmax(0,1fr) auto;border:0;border-top:1px solid color-mix(in srgb,var(--text-primary) 6%,transparent);border-radius:0;padding:var(--space-2) 0 0;background:transparent;box-shadow:none}.page-frame-project-video .video-production-card .shot-generation-duration span,.page-frame-project-video .video-production-card .shot-generation-duration strong{color:color-mix(in srgb,var(--text-primary) 42%,transparent);font-family:var(--font-sans);font-size:var(--text-sm);font-weight:var(--fw-medium);letter-spacing:-.01em;line-height:1}.page-frame-project-video .video-production-card .shot-generation-duration strong{justify-self:end;color:color-mix(in srgb,var(--text-primary) 78%,transparent);font-weight:var(--fw-semibold)}.page-frame-project-video .video-production-card__footer{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);border-top:1px solid color-mix(in srgb,var(--text-primary) 6%,transparent);padding-top:var(--space-3)}.page-frame-project-video .video-production-card__footer .shot-generation-duration{flex:0 0 auto;justify-self:auto;width:auto;min-height:32px;grid-template-columns:auto auto;gap:var(--space-2);border:0;padding:0}.page-frame-project-video .video-production-card__footer .character-reference-actions{flex:1 1 auto;justify-content:flex-end}.page-frame-project-video .style-anchor-frame-card .character-reference-card__body{display:flex;flex-direction:column;min-height:100%}.page-frame-project-video .style-anchor-frame-card__footer{align-items:center;gap:var(--space-3)}.page-frame-project-video .style-anchor-frame-card__footer .shot-generation-duration{justify-self:auto;width:auto;min-height:32px;grid-template-columns:auto auto;gap:var(--space-2);border:0;padding:0;background:transparent;box-shadow:none}.page-frame-project-video .style-anchor-frame-card__footer .shot-generation-duration span,.page-frame-project-video .style-anchor-frame-card__footer .shot-generation-duration strong{color:color-mix(in srgb,var(--text-primary) 42%,transparent);font-family:var(--font-sans);font-size:var(--text-sm);font-weight:var(--fw-medium);letter-spacing:-.01em;line-height:1}.page-frame-project-video .style-anchor-frame-card__footer .shot-generation-duration strong{color:color-mix(in srgb,var(--text-primary) 78%,transparent);font-weight:var(--fw-semibold)}.page-frame-project-video .character-reference-card:has(.prop-reference-card__footer) .character-reference-card__body,.page-frame-project-video .prop-reference-card .character-reference-card__body{display:flex;flex-direction:column;min-height:100%}.page-frame-project-video .prop-reference-card__footer{display:flex;justify-content:flex-end;align-items:center;margin-top:auto;border-top:1px solid color-mix(in srgb,var(--text-primary) 6%,transparent);padding-top:var(--space-3)}.page-frame-project-video .prop-reference-card__footer .character-reference-actions{justify-content:flex-end;width:100%}.page-frame-project-video .video-production-card .video-production-card__footer>.shot-generation-duration{flex:0 0 auto}.page-frame-project-video .style-anchor-frame-card__footer .character-reference-actions{display:grid;grid-template-columns:repeat(2,minmax(96px,auto)) repeat(2,minmax(72px,auto)) minmax(168px,auto);justify-content:end}.page-frame-project-video .style-anchor-frame-card__footer .character-reference-actions .character-reference-secondary,.page-frame-project-video .style-anchor-frame-card__footer .character-reference-actions .workflow-asset-generate-button{width:100%;min-width:0}.page-frame-project-video .style-anchor-frame-card__footer .character-reference-actions .workflow-asset-generate-button:not(.is-danger){min-width:168px}.page-frame-project-video .style-anchor-frame-card__footer .character-reference-actions .character-reference-secondary:first-of-type{min-width:108px}@media (max-width:1180px){.page-frame-project-video .style-anchor-frame-card__footer{align-items:stretch;flex-direction:column-reverse}.page-frame-project-video .style-anchor-frame-card__footer .character-reference-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.page-frame-project-video .style-anchor-frame-card__footer .character-reference-actions .workflow-asset-generate-button:not(.is-danger){grid-column:2;min-width:0}}.page-frame-project-video .style-anchor-frame-card__footer{flex-direction:row;justify-content:space-between;gap:var(--space-4);border-top:1px solid color-mix(in srgb,var(--text-primary) 6%,transparent);padding-top:var(--space-3)}.page-frame-project-video .style-anchor-frame-card__footer .shot-generation-duration{flex:0 0 auto;width:max-content!important;min-width:0!important;align-self:flex-end}.page-frame-project-video .style-anchor-frame-card__footer .character-reference-actions{display:flex;flex:1 1 auto;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--space-2);width:auto;margin-left:auto}.page-frame-project-video .style-anchor-frame-card__footer .character-reference-actions .character-reference-secondary,.page-frame-project-video .style-anchor-frame-card__footer .character-reference-actions .workflow-asset-generate-button,.page-frame-project-video .style-anchor-frame-card__footer .character-reference-actions>*{width:auto!important;min-width:0;flex:0 0 auto}.page-frame-project-video .style-anchor-frame-card__footer .character-reference-actions .character-reference-secondary{min-width:72px}.page-frame-project-video .style-anchor-frame-card__footer .character-reference-actions .character-reference-secondary:first-of-type{min-width:118px}.page-frame-project-video .style-anchor-frame-card__footer .character-reference-actions .workflow-asset-generate-button:not(.is-danger){order:9;width:auto!important;min-width:176px;flex:0 0 auto}@media (max-width:1180px){.page-frame-project-video .style-anchor-frame-card__footer{flex-direction:row;align-items:flex-end}.page-frame-project-video .style-anchor-frame-card__footer .character-reference-actions{display:flex;width:auto}.page-frame-project-video .style-anchor-frame-card__footer .character-reference-actions .workflow-asset-generate-button:not(.is-danger){grid-column:auto;width:auto!important;min-width:176px}}.page-frame-project-video .style-anchor-frame-card__footer .style-anchor-frame-actions{flex:1 1 auto;align-items:flex-end;gap:var(--space-3);margin-left:auto}.page-frame-project-video .style-anchor-frame-secondary-actions{display:grid;grid-template-columns:repeat(2,minmax(108px,128px))}.page-frame-project-video .style-anchor-frame-secondary-actions .character-reference-secondary{width:100%!important;min-width:0}.page-frame-project-video .style-anchor-frame-actions>.workflow-asset-generate-button:not(.is-danger){order:0;width:auto!important;flex:0 0 auto}@media (max-width:1180px){.page-frame-project-video .style-anchor-frame-card__footer .style-anchor-frame-actions{align-items:flex-end}.page-frame-project-video .style-anchor-frame-secondary-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}.page-frame-project-video .style-anchor-frame-secondary-actions{grid-template-columns:repeat(2,minmax(0,1fr));align-self:flex-start;width:262px}.page-frame-project-video .style-anchor-frame-secondary-actions .character-reference-secondary{justify-self:stretch}.page-frame-project-video .style-anchor-frame-card__footer .style-anchor-frame-actions{align-items:flex-start}.page-frame-project-video .style-anchor-privacy-badge{top:var(--space-3);left:var(--space-3);max-width:calc(100% - var(--space-6));min-height:20px;border:0;border-radius:7px;padding:0 var(--space-3);background:color-mix(in srgb,var(--color-black) 58%,transparent);color:color-mix(in srgb,var(--text-primary) 72%,transparent);font-family:var(--font-sans);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.02em;line-height:1;box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 10%,transparent);backdrop-filter:blur(10px)}.page-frame-project-video .style-anchor-frame-card__footer{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;gap:var(--space-2);margin-top:auto;border-top:0;padding-top:var(--space-2)}.page-frame-project-video .style-anchor-frame-card__footer>.shot-generation-duration{display:inline-grid;align-self:flex-end;width:max-content!important;min-width:0!important;min-height:28px;grid-template-columns:auto auto;gap:var(--space-2);border:0;border-radius:9px;padding:0 var(--space-3);background:color-mix(in srgb,var(--text-primary) 6%,transparent);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 3%,transparent)}.page-frame-project-video .style-anchor-frame-card__footer .style-anchor-frame-actions{display:flex;align-items:center;justify-content:flex-end;gap:var(--space-2);width:auto;margin-left:0}.page-frame-project-video .style-anchor-frame-secondary-actions{display:flex;align-items:center;gap:var(--space-2);width:auto;height:auto}.page-frame-project-video .style-anchor-frame-secondary-actions .character-reference-secondary{width:128px!important;min-width:128px}.page-frame-project-video .style-anchor-frame-actions>.workflow-asset-generate-button:not(.is-danger){width:176px!important;min-width:176px}.page-frame-project-video .shot-image-production-card.status-needs-review{align-items:stretch}.page-frame-project-video .shot-image-production-card .character-reference-card__thumbnail:has(.is-empty),.page-frame-project-video .shot-image-production-card.status-needs-review .character-reference-card__thumbnail,.page-frame-project-video .shot-image-production-card.status-needs-review .shot-reference-preview-shell{height:auto;min-height:0;max-height:none;overflow:visible}.page-frame-project-video .shot-image-production-card.status-needs-review .character-reference-preview.is-empty{aspect-ratio:16/9;height:auto;min-height:210px;max-height:none;padding:var(--space-5)}.page-frame-project-video .shot-image-production-card.status-needs-review .character-reference-card__body{min-height:210px}.page-frame-project-video .shot-image-production-card.status-needs-review .shot-image-production-card__footer{display:flex;justify-content:flex-end;align-items:flex-end;min-height:32px;padding-top:0}.page-frame-project-video .shot-image-production-card.status-needs-review .shot-image-production-card__footer .character-reference-actions{width:auto;margin-left:auto}.page-frame-project-video .video-production-card .video-production-card__footer{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;gap:var(--space-3);margin-top:auto;border-top:0;padding-top:0}.page-frame-project-video .video-production-card .video-production-card__footer>.shot-generation-duration{display:inline-grid;align-self:flex-end;width:max-content!important;min-width:0!important;max-width:max-content;min-height:0;grid-template-columns:auto auto;gap:4px;border:0;border-radius:0;padding:0;background:transparent;box-shadow:none}.page-frame-project-video .video-production-card .video-production-card__footer>.shot-generation-duration span,.page-frame-project-video .video-production-card .video-production-card__footer>.shot-generation-duration strong{color:color-mix(in srgb,var(--text-primary) 44%,transparent);font-family:var(--font-sans);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.02em;line-height:1}.page-frame-project-video .video-production-card .video-production-card__footer>.shot-generation-duration strong{color:color-mix(in srgb,var(--text-primary) 62%,transparent)}.page-frame-project-video .video-production-card .video-production-card__footer>.character-reference-actions{display:flex;flex:0 0 auto;flex-wrap:nowrap;align-self:flex-end;justify-content:flex-end;width:auto;margin-left:auto;gap:var(--space-2)}.page-frame-project-video .video-production-card .video-production-card__footer>.character-reference-actions .character-reference-secondary{min-width:96px}.page-frame-project-video .video-production-card .video-production-card__footer>.character-reference-actions .workflow-asset-generate-button:not(.is-danger){order:9;min-width:220px}.page-frame-project-video .scene-reference-card .character-reference-card__body{display:flex;flex-direction:column;min-height:100%}.page-frame-project-video .scene-reference-card .character-reference-actions{align-self:stretch;justify-content:flex-end;margin-top:auto;padding-top:var(--space-3)}.page-frame-project-video .character-main-reference-card .character-reference-card__body{display:flex;flex-direction:column;min-height:100%}.page-frame-project-video .character-main-reference-card .character-reference-actions{align-self:stretch;justify-content:flex-end;margin-top:auto;padding-top:var(--space-3)}.page-frame-project-video .keyframe-control-card .character-reference-card__body{display:flex;flex-direction:column;min-height:100%}.page-frame-project-video .keyframe-control-card .character-reference-actions{align-self:stretch;justify-content:flex-end;margin-top:auto;padding-top:var(--space-3)}.page-frame-project-video .keyframe-control-card .character-reference-actions .workflow-asset-generate-button:not(.is-danger){min-width:220px}.page-frame-project-video .shot-card-delete-button svg{width:16px;height:16px;stroke-width:1.7}.page-frame-project-video{--project-video-scrollbar-thumb:var(--scrollbar-thumb);--project-video-scrollbar-thumb-hover:var(--scrollbar-thumb-hover)}.page-frame-project-video .custom-select-menu,.page-frame-project-video .video-prompt-reference-strip__list,.page-frame-project-video .workflow-sidebar-scroll,.page-frame-project-video .workflow-stage-scroll,.page-frame-project-video textarea{scrollbar-color:var(--scrollbar-firefox-thumb) var(--scrollbar-track);scrollbar-width:thin}.page-frame-project-video .custom-select-menu::-webkit-scrollbar,.page-frame-project-video .video-prompt-reference-strip__list::-webkit-scrollbar,.page-frame-project-video .workflow-sidebar-scroll::-webkit-scrollbar,.page-frame-project-video .workflow-stage-scroll::-webkit-scrollbar,.page-frame-project-video textarea::-webkit-scrollbar{width:var(--scrollbar-size);height:var(--scrollbar-size)}.page-frame-project-video .custom-select-menu::-webkit-scrollbar-track,.page-frame-project-video .video-prompt-reference-strip__list::-webkit-scrollbar-track,.page-frame-project-video .workflow-sidebar-scroll::-webkit-scrollbar-track,.page-frame-project-video .workflow-stage-scroll::-webkit-scrollbar-track,.page-frame-project-video textarea::-webkit-scrollbar-track{background:var(--scrollbar-track)}.page-frame-project-video .custom-select-menu::-webkit-scrollbar-thumb,.page-frame-project-video .video-prompt-reference-strip__list::-webkit-scrollbar-thumb,.page-frame-project-video .workflow-sidebar-scroll::-webkit-scrollbar-thumb,.page-frame-project-video .workflow-stage-scroll::-webkit-scrollbar-thumb,.page-frame-project-video textarea::-webkit-scrollbar-thumb{border:var(--scrollbar-thumb-inset) solid transparent;border-radius:var(--radius-pill);background:var(--scrollbar-thumb);background-clip:content-box}.page-frame-project-video .custom-select-menu::-webkit-scrollbar-thumb:hover,.page-frame-project-video .video-prompt-reference-strip__list::-webkit-scrollbar-thumb:hover,.page-frame-project-video .workflow-sidebar-scroll::-webkit-scrollbar-thumb:hover,.page-frame-project-video .workflow-stage-scroll::-webkit-scrollbar-thumb:hover,.page-frame-project-video textarea::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover);background-clip:content-box}.page-frame-project-video .workflow-queue-strip .status-needs-review .status-dot,.page-frame-project-video .workflow-step-library.status-needs-review .workflow-step-dot,.page-frame-project-video .workflow-step.status-needs-review .workflow-step-dot{background:var(--v2-status-warning);box-shadow:0 0 0 3px color-mix(in srgb,var(--v2-status-warning) 12%,transparent);animation:none}.page-frame-project-video .workflow-asset-status-pill.status-needs-review,.page-frame-project-video .workflow-main-head .workflow-status.status-needs-review,.page-frame-project-video .workflow-status.status-needs-review{border-color:transparent;background:color-mix(in srgb,var(--v2-status-warning) 10%,transparent);color:var(--v2-status-warning-text);animation:none}.page-frame-project-video .workflow-asset-card.status-needs-review{border-color:color-mix(in srgb,var(--v2-status-warning) 22%,var(--border-subtle))}.page-frame-project-video .workflow-step[aria-current=step].status-needs-review{border-inline-start-color:color-mix(in srgb,var(--v2-status-warning) 48%,transparent)}.page-frame-project-video .keyframe-control-card.status-needs-review .style-anchor-frame-status-pill,.page-frame-project-video .shot-image-production-card.status-needs-review .shot-image-status-pill,.page-frame-project-video .status-needs-review .shot-reference-head .shot-image-status-pill,.page-frame-project-video .status-needs-review .shot-reference-head .style-anchor-frame-status-pill,.page-frame-project-video .style-anchor-frame-card.status-needs-review .style-anchor-frame-status-pill,.page-frame-project-video .video-production-card.status-needs-review .shot-image-status-pill{border-color:transparent;background:color-mix(in srgb,var(--v2-status-warning) 10%,transparent);color:var(--v2-status-warning-text);animation:none}.page-frame-project-video{--workflow-sidebar-running:var(--v2-status-info);--workflow-toolbar-running:var(--v2-status-info)}.page-frame-project-video .audio-card.status-generating .audio-card__status,.page-frame-project-video .keyframe-control-card.status-generating .style-anchor-frame-status-pill,.page-frame-project-video .shot-image-production-card.status-generating .shot-image-status-pill,.page-frame-project-video .status-generating .shot-reference-head .shot-image-status-pill,.page-frame-project-video .status-generating .shot-reference-head .style-anchor-frame-status-pill,.page-frame-project-video .style-anchor-frame-card.status-generating .style-anchor-frame-status-pill,.page-frame-project-video .video-production-card.status-generating .shot-image-status-pill,.page-frame-project-video .workflow-asset-status-pill.status-generating,.page-frame-project-video .workflow-main-head .workflow-status.status-generating,.page-frame-project-video .workflow-pill.status-generating,.page-frame-project-video .workflow-status.status-generating,.page-frame-project-video .workflow-toolbar .workflow-pill.status-generating{border-color:transparent;background:color-mix(in srgb,var(--v2-status-info) 10%,transparent);color:var(--v2-status-info-text)}.page-frame-project-video .workflow-queue-strip .status-generating .status-dot,.page-frame-project-video .workflow-step-library.status-generating .workflow-step-dot,.page-frame-project-video .workflow-step.status-generating .workflow-step-dot{background:var(--v2-status-info);box-shadow:0 0 0 3px color-mix(in srgb,var(--v2-status-info) 12%,transparent)}.page-frame-project-video .workflow-step[aria-current=step].status-generating{border-color:color-mix(in srgb,var(--v2-status-info) 22%,var(--border-subtle));border-inline-start-color:color-mix(in srgb,var(--v2-status-info) 48%,transparent)}.page-frame-project-video .workflow-sidebar{--workflow-sidebar-running:var(--v2-status-info)}.page-frame-project-video .workflow-main>.workflow-toolbar{--workflow-toolbar-running:var(--v2-status-info)}.page-frame-project-video .workflow-asset-generate-button{width:auto;min-height:32px;height:32px;border-radius:9px;padding:0 var(--space-3);font-size:var(--text-sm);font-weight:var(--fw-medium);letter-spacing:-.02em;white-space:nowrap;box-shadow:none}.page-frame-project-video .workflow-asset-generate-button:not(.is-danger){flex:0 0 112px;width:112px;min-width:112px;max-width:112px;border-color:color-mix(in srgb,var(--vag-sem-action-primary-gradient-start) 62%,transparent);background:var(--project-primary-action-background);background-color:var(--vag-sem-action-primary-gradient-start);color:var(--text-on-accent)}.page-frame-project-video .workflow-asset-generate-button:not(.is-danger):hover:not(:disabled){border-color:var(--vag-sem-action-primary-gradient-start);background:var(--project-primary-action-background);background-color:var(--vag-sem-action-primary-gradient-start);box-shadow:none}.page-frame-project-video .workflow-asset-generate-button.is-danger{flex:0 0 96px;width:96px;min-width:96px;max-width:96px}.page-frame-project-video .character-reference-actions .workflow-asset-generate-button:not(.is-danger),.page-frame-project-video .keyframe-control-card .character-reference-actions .workflow-asset-generate-button:not(.is-danger),.page-frame-project-video .video-production-card .video-production-card__footer>.character-reference-actions .workflow-asset-generate-button:not(.is-danger),.page-frame-project-video .visual-design-add-row .workflow-asset-generate-button:not(.is-danger){flex-basis:112px;width:112px;min-width:112px;max-width:112px}.page-frame-project-video .workflow-main-head .workflow-step-title{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:var(--space-4);width:100%;min-width:0;overflow:visible}.page-frame-project-video .workflow-main-head .workflow-step-title>div{display:flex;align-items:center;min-width:0;flex-wrap:nowrap;white-space:nowrap}.page-frame-project-video .workflow-main-head .workflow-step-identity,.page-frame-project-video .workflow-main-head .workflow-step-title>div:first-child{overflow:hidden}.page-frame-project-video .workflow-main-head .workflow-step-identity{flex:0 1 auto}.page-frame-project-video .workflow-step-identity h2,.page-frame-project-video .workflow-step-identity small,.page-frame-project-video .workflow-step-identity>span{flex:0 0 auto;margin:0;white-space:nowrap}.page-frame-project-video .workflow-main-head .workflow-head-actions{flex:0 0 auto;margin-left:auto}.page-frame-project-video .workflow-main-head .workflow-batch-run-action .workflow-primary-action,.page-frame-project-video .workflow-main-head .workflow-head-primary-action.ui-tip{min-height:26px;border-radius:var(--space-2);padding-inline:var(--space-3);box-shadow:0 5px 14px color-mix(in srgb,var(--v2-accent-orange) 14%,transparent),inset 0 1px 0 color-mix(in srgb,var(--text-primary) 14%,transparent);font-size:var(--text-xs);line-height:1;white-space:nowrap}.page-frame-project-video .custom-select-menu,.page-frame-project-video .workflow-bottom-model-select .custom-select-menu,.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-model-select .custom-select-menu{box-shadow:none}.page-frame-project-video .workflow-empty-state{border:0;border-radius:0;padding:var(--space-10) var(--space-6);background:transparent;box-shadow:none}.page-frame-project-video .workflow-empty-state h3,.page-frame-project-video .workflow-empty-state h4{margin:0;color:color-mix(in srgb,var(--text-primary) 72%,transparent);font-size:var(--text-display-sm);font-weight:var(--fw-semibold);letter-spacing:-.03em}.page-frame-project-video .workflow-empty-state p{max-width:560px;color:color-mix(in srgb,var(--text-primary) 46%,transparent);font-size:var(--text-sm);line-height:1.65}.page-frame-project-video .workflow-empty-state .audio-card__generate-btn,.page-frame-project-video .workflow-empty-state .workflow-primary-action{border-color:transparent;background:transparent;box-shadow:none}.page-frame-project-video .workflow-empty-state .workflow-primary-action,.page-frame-project-video .workflow-empty-state .workflow-primary-action:hover:not(:disabled){color:var(--text-accent)}.page-frame-project-video .workflow-stage-scroll:has(>.workflow-empty-state),.page-frame-project-video .workflow-stage-scroll:has(>:has(>.workflow-empty-state)){display:grid;align-items:stretch;justify-items:stretch;min-height:0;padding-right:0;padding-bottom:0;overflow:hidden}.page-frame-project-video .workflow-stage-scroll>.workflow-empty-state,.page-frame-project-video .workflow-stage-scroll>:has(>.workflow-empty-state){width:100%;height:100%;min-height:100%;display:grid;place-items:center;align-content:center}.page-frame-project-video .workflow-stage-scroll>:has(>.workflow-empty-state)>.workflow-empty-state{width:100%;height:100%;min-height:100%;display:grid;place-items:center;align-content:center}.page-frame-project-video .workflow-main-head .workflow-step-title .workflow-status{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;margin:0;vertical-align:middle}.page-frame-project-video .workflow-main>.workflow-toolbar,.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-actions,.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-queue-strip,.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-toolbar-right{align-items:center}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-toolbar-right{min-height:34px;gap:var(--space-4)}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-queue-strip{display:flex;gap:var(--space-3)}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-queue-strip>span{display:inline-flex;align-items:center;gap:6px;min-height:24px;padding-top:0;line-height:1}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-queue-strip .status-dot{flex:0 0 auto;margin:0;transform:none}.page-frame-project-video{padding-block:var(--space-3) var(--space-4)}.page-frame-project-video .workflow-main{gap:var(--space-2)}.page-frame-project-video .workflow-main.surface-card{grid-template-rows:auto minmax(0,1fr);padding-top:var(--space-1)}.page-frame-project-video .workflow-main>.workflow-toolbar{min-height:24px;height:24px;margin-top:0;padding-block:0}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-pill,.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-queue-strip>span{min-height:20px}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-toolbar-right{min-height:24px}.page-frame-project-video .workflow-main-head{min-height:22px;margin-top:calc(var(--space-1) * -1)}.page-frame-project-video .workflow-main-head .workflow-step-title{min-height:22px}.page-frame-project-video .workflow-main-head .workflow-step-title .workflow-status{height:18px;min-height:18px;line-height:1}.page-frame-project-video .workflow-stage-scroll{padding-top:0}.workflow-stage-scroll{min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto;overflow-anchor:none;padding-right:var(--space-2);padding-bottom:calc(var(--space-10) + var(--workflow-control-height));scrollbar-color:var(--scrollbar-firefox-thumb) var(--scrollbar-track);scrollbar-width:thin;animation:workflow-stage-enter var(--workflow-motion-stage-duration) var(--ease-cinematic) .12s backwards}.workflow-stage-scroll::-webkit-scrollbar{width:var(--scrollbar-size)}.workflow-stage-scroll::-webkit-scrollbar-track{background:var(--scrollbar-track)}.workflow-stage-scroll::-webkit-scrollbar-thumb{border:var(--scrollbar-thumb-inset) solid transparent;border-radius:var(--radius-pill);background:var(--scrollbar-thumb);background-clip:content-box}.workflow-stage-scroll::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover);background-clip:content-box}.page-frame-project-video .character-reference-card:has(.editable-asset-prompt-details[open]),.page-frame-project-video .character-reference-card:has(.shot-config-details[open]),.page-frame-project-video .character-reference-card:has(.workflow-asset-details[open]),.page-frame-project-video .character-reference-card:has(>details[open]){overflow:visible;z-index:calc(var(--z-base) + 2)}.page-frame-project-video .workflow-asset-preview-modal{z-index:var(--z-modal,9000)}.page-frame-project-video .workflow-main{grid-template-rows:auto minmax(0,1fr)}@keyframes project-video-list-card-enter{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.page-frame-project-video .workflow-stage-scroll{--project-video-scroll-fade-size:22px;-webkit-mask-image:linear-gradient(to bottom,var(--color-black) 0,var(--color-black) calc(100% - var(--project-video-scroll-fade-size)),transparent 100%);mask-image:linear-gradient(to bottom,var(--color-black) 0,var(--color-black) calc(100% - var(--project-video-scroll-fade-size)),transparent 100%);-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.page-frame-project-video .workflow-stage-scroll .asset-library-grid>.asset-library-card,.page-frame-project-video .workflow-stage-scroll .character-reference-grid>.character-reference-card,.page-frame-project-video .workflow-stage-scroll .extract-preview-item,.page-frame-project-video .workflow-stage-scroll>.workflow-asset-grid>.workflow-asset-card{animation-name:project-video-list-card-enter;animation-duration:.18s;animation-timing-function:var(--ease-cinematic);animation-fill-mode:both;will-change:auto}.page-frame-project-video .workflow-stage-scroll .asset-library-grid>.asset-library-card:hover,.page-frame-project-video .workflow-stage-scroll .character-reference-grid>.character-reference-card:hover,.page-frame-project-video .workflow-stage-scroll .extract-preview-item:hover,.page-frame-project-video .workflow-stage-scroll>.workflow-asset-grid>.workflow-asset-card:hover{border-color:color-mix(in srgb,var(--text-primary) 14%,transparent);background-color:color-mix(in srgb,var(--text-primary) 4%,transparent);transform:translateY(-1px)}@media (prefers-reduced-motion:reduce){.page-frame-project-video .workflow-stage-scroll,.page-frame-project-video .workflow-stage-scroll .asset-library-grid>.asset-library-card,.page-frame-project-video .workflow-stage-scroll .character-reference-grid>.character-reference-card,.page-frame-project-video .workflow-stage-scroll .extract-preview-item,.page-frame-project-video .workflow-stage-scroll>.workflow-asset-grid>.workflow-asset-card{animation:none;transform:none}}.page-frame-project-video{--workflow-sidebar-width:204px;--workflow-card-padding:var(--workflow-rhythm-lg);--workflow-control-height:32px;--project-video-control-height:32px;box-sizing:border-box;padding:var(--workflow-rhythm-md) var(--workflow-rhythm-lg) var(--workflow-rhythm-lg)}.page-frame-project-video .video-workflow{gap:var(--workflow-rhythm-lg)}.page-frame-project-video .workflow-sidebar{gap:var(--workflow-rhythm-md);padding:var(--workflow-rhythm-md)}.page-frame-project-video .workflow-sidebar-scroll{gap:var(--workflow-rhythm-lg);padding-right:var(--workflow-rhythm-xs)}.page-frame-project-video .workflow-group{gap:var(--workflow-rhythm-sm)}.page-frame-project-video .workflow-group-label,.page-frame-project-video .workflow-sidebar-head .eyebrow{font-size:var(--text-sm);line-height:1.2}.page-frame-project-video .workflow-optional-toggle,.page-frame-project-video .workflow-step{min-height:36px;border-radius:10px;padding-inline:var(--space-4)}.page-frame-project-video .workflow-optional-toggle-label,.page-frame-project-video .workflow-step>span{font-size:var(--text-sm);line-height:1.2}.page-frame-project-video .workflow-optional-toggle-count,.page-frame-project-video .workflow-step small,.page-frame-project-video .workflow-step-library small{font-size:var(--text-xs);line-height:1}.page-frame-project-video .workflow-main{gap:var(--workflow-rhythm-sm)}.page-frame-project-video .workflow-main.surface-card{padding:var(--workflow-rhythm-sm) var(--workflow-rhythm-lg) var(--workflow-rhythm-lg)}.page-frame-project-video .workflow-main>.workflow-toolbar{height:auto;min-height:var(--project-video-control-height);padding-block:0 var(--workflow-rhythm-sm)}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-toolbar-right{min-height:var(--project-video-control-height);gap:var(--workflow-rhythm-sm)}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-actions,.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-queue-strip{gap:var(--workflow-rhythm-sm)}.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-pill,.page-frame-project-video .workflow-main>.workflow-toolbar .workflow-queue-strip>span{min-height:28px;border-radius:9px;padding-inline:var(--workflow-rhythm-sm);font-size:var(--text-sm);line-height:1}.page-frame-project-video .workflow-main-head{gap:var(--workflow-rhythm-sm);min-height:var(--project-video-control-height);margin-top:0}.page-frame-project-video .workflow-main-head .workflow-action-message{min-width:0;overflow:hidden;color:var(--workflow-toolbar-muted,color-mix(in srgb,var(--text-primary) 42%,transparent));font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:-.02em;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.page-frame-project-video .workflow-main-head .workflow-step-title{min-height:var(--project-video-control-height);gap:var(--workflow-rhythm-sm)}.page-frame-project-video .workflow-main-head .workflow-step-title>div{gap:var(--workflow-rhythm-sm)}.page-frame-project-video .workflow-main-head .workflow-step-title h2{font-size:var(--text-lg);line-height:1.16}.page-frame-project-video .workflow-main-head .workflow-step-title span{font-size:var(--text-sm);line-height:1.15}.page-frame-project-video .workflow-main-head .workflow-step-title .workflow-status{height:20px;min-height:20px;padding-inline:var(--workflow-rhythm-sm);font-size:var(--text-xs)}.page-frame-project-video .workflow-head-actions .workflow-primary-action,.page-frame-project-video .workflow-head-actions .workflow-secondary-action,.page-frame-project-video .workflow-main-head .workflow-batch-run-action .workflow-primary-action,.page-frame-project-video .workflow-main-head .workflow-head-primary-action.ui-tip,.page-frame-project-video .workflow-main-head .workflow-primary-action{min-height:32px;border-radius:9px;padding-inline:var(--workflow-rhythm-md);font-size:var(--text-sm)}:root[data-theme=light] .workflow-prompt-engineering-action{border:1px solid var(--border-subtle);background:var(--surface-panel);color:var(--text-primary);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--color-white) 76%,transparent)}:root[data-theme=light] .workflow-prompt-engineering-action:hover:not(:disabled){border-color:var(--border-strong);background:color-mix(in srgb,var(--surface-panel) 88%,var(--text-primary) 12%);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--color-white) 82%,transparent)}.page-frame-project-video .workflow-stage-scroll{padding-top:var(--workflow-rhythm-sm);padding-right:var(--workflow-rhythm-sm)}.page-frame-project-video .asset-library-grid,.page-frame-project-video .character-reference-grid,.page-frame-project-video .workflow-asset-grid{gap:var(--workflow-rhythm-lg)}.page-frame-project-video .workflow-stage-scroll .asset-library-grid>.asset-library-card,.page-frame-project-video .workflow-stage-scroll .character-reference-grid>.character-reference-card,.page-frame-project-video .workflow-stage-scroll .extract-preview-item,.page-frame-project-video .workflow-stage-scroll>.workflow-asset-grid>.workflow-asset-card{padding:var(--workflow-rhythm-lg)}.page-frame-project-video .asset-library-card,.page-frame-project-video .character-reference-card,.page-frame-project-video .extract-preview-item,.page-frame-project-video .workflow-asset-card{gap:var(--workflow-rhythm-sm)}.page-frame-project-video .workflow-asset-card-head{gap:var(--space-3)}.page-frame-project-video .asset-library-card-head strong,.page-frame-project-video .character-reference-card strong,.page-frame-project-video .extract-preview-item strong,.page-frame-project-video .workflow-asset-card-head strong{font-size:var(--text-md);line-height:1.35}.page-frame-project-video .asset-library-card p,.page-frame-project-video .character-reference-card p,.page-frame-project-video .extract-preview-item p,.page-frame-project-video .workflow-asset-card p{font-size:var(--text-sm);line-height:1.58}.page-frame-project-video .asset-library-card-head small,.page-frame-project-video .character-reference-card small,.page-frame-project-video .extract-preview-item small,.page-frame-project-video .workflow-asset-card small,.page-frame-project-video .workflow-asset-card-head small{font-size:var(--text-xs);line-height:1.35}.page-frame-project-video .character-main-reference-card{grid-template-columns:minmax(360px,.82fr) minmax(0,1fr);gap:var(--space-6);border-radius:var(--radius-md);padding:var(--space-6);overflow:visible;transition:border-color var(--motion-control) var(--easing-control),background var(--motion-control) var(--easing-control),box-shadow var(--motion-control) var(--easing-control),transform var(--motion-control) var(--easing-control)}.page-frame-project-video .character-main-reference-card:focus-visible{outline:var(--focus-ring-width) solid var(--focus-border);outline-offset:var(--focus-ring-offset)}.page-frame-project-video .character-main-reference-card:focus-within,.page-frame-project-video .character-main-reference-card:hover{border-color:color-mix(in srgb,var(--v2-accent-orange) 22%,transparent);background:color-mix(in srgb,var(--text-primary) 4%,transparent);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 4%,transparent),var(--shadow-panel)}.page-frame-project-video .character-main-reference-card .character-reference-preview{width:100%;min-height:var(--project-video-reference-preview-min-height);aspect-ratio:var(--character-card-aspect-ratio)}.page-frame-project-video .character-main-reference-card .character-reference-card__body{position:relative;gap:var(--space-2)}.page-frame-project-video .character-main-reference-card .character-reference-head{gap:var(--space-4);align-items:center}.page-frame-project-video .character-main-reference-card .character-reference-head>div:first-child{gap:var(--space-3)}.page-frame-project-video .character-main-reference-card .character-reference-head span{color:color-mix(in srgb,var(--text-primary) 48%,transparent);font-family:var(--font-sans);font-size:var(--text-sm);font-weight:var(--fw-medium);letter-spacing:-.01em;line-height:1.15;text-transform:none}.page-frame-project-video .character-main-reference-card .character-reference-head strong{font-size:var(--text-lg);font-weight:var(--fw-semibold);letter-spacing:-.03em;line-height:1.16}.page-frame-project-video .character-main-reference-card .bible-entry-badge,.page-frame-project-video .character-main-reference-card .character-reference-head small,.page-frame-project-video .character-main-reference-card .reference-source-badge{min-height:22px;border-radius:var(--radius-pill);padding:0 var(--space-3);font-size:var(--text-xs);font-weight:var(--fw-medium);line-height:1}.page-frame-project-video .character-main-reference-card .character-generation-settings{border-radius:11px;padding:var(--space-3)}.page-frame-project-video .character-main-reference-card .character-generation-settings.is-compact{position:relative;z-index:2;border:1px solid color-mix(in srgb,var(--text-primary) 7%,transparent);padding:0;background:color-mix(in srgb,var(--text-primary) 3.8%,transparent);overflow:visible}.page-frame-project-video .character-main-reference-card .character-generation-settings-trigger{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--space-2);width:100%;min-height:30px;border:0;border-radius:10px;padding:0 var(--space-2);background:transparent;color:inherit;cursor:pointer}.page-frame-project-video .character-main-reference-card .character-generation-settings-trigger:hover:not(:disabled),.page-frame-project-video .character-main-reference-card .character-generation-settings[data-open=true] .character-generation-settings-trigger{background:color-mix(in srgb,var(--text-primary) 5%,transparent)}.page-frame-project-video .character-main-reference-card .character-generation-settings-trigger:focus-visible{outline:2px solid color-mix(in srgb,var(--v2-accent-orange) 58%,transparent);outline-offset:2px}.page-frame-project-video .character-main-reference-card .character-generation-settings-trigger:disabled{cursor:not-allowed;opacity:.58}.page-frame-project-video .character-main-reference-card .character-generation-settings-head small,.page-frame-project-video .character-main-reference-card .character-generation-settings-head span,.page-frame-project-video .character-main-reference-card .character-generation-settings-trigger small,.page-frame-project-video .character-main-reference-card .character-generation-settings-trigger span,.page-frame-project-video .character-main-reference-card .character-generation-settings-trigger strong{font-size:var(--text-2xs);line-height:1.2}.page-frame-project-video .character-main-reference-card .character-generation-settings-trigger span{color:color-mix(in srgb,var(--text-primary) 44%,transparent);font-weight:var(--fw-medium)}.page-frame-project-video .character-main-reference-card .character-generation-settings-trigger small{overflow:hidden;color:color-mix(in srgb,var(--text-primary) 58%,transparent);font-weight:var(--fw-medium);text-overflow:ellipsis;white-space:nowrap}.page-frame-project-video .character-main-reference-card .character-generation-settings-trigger strong{color:var(--text-accent);font-weight:var(--fw-medium)}.page-frame-project-video .character-main-reference-card .character-generation-settings-menu{position:absolute;top:calc(100% + var(--space-2));left:50%;z-index:20;display:grid;width:min(420px,calc(100vw - var(--space-8)));gap:var(--space-4);border:1px solid color-mix(in srgb,var(--text-primary) 10%,transparent);border-radius:var(--radius-md);padding:var(--space-4);background:color-mix(in srgb,var(--surface-panel) 96%,var(--surface-page));box-shadow:var(--shadow-popover);transform:translateX(-50%)}.page-frame-project-video .character-main-reference-card .character-generation-settings-menu-head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-4)}.page-frame-project-video .character-main-reference-card .character-generation-settings-menu-head>div{display:grid;gap:var(--space-1);min-width:0}.page-frame-project-video .character-main-reference-card .character-generation-settings-menu-head strong,.page-frame-project-video .character-main-reference-card .character-generation-settings-menu-section h5{margin:0;color:color-mix(in srgb,var(--text-primary) 86%,transparent);font-size:var(--text-sm);font-weight:var(--fw-medium);line-height:1.2}.page-frame-project-video .character-main-reference-card .character-generation-settings-menu-head small,.page-frame-project-video .character-main-reference-card .character-generation-settings-menu-head span{color:color-mix(in srgb,var(--text-primary) 48%,transparent);font-size:var(--text-xs);font-weight:var(--fw-medium);line-height:1.2}.page-frame-project-video .character-main-reference-card .character-generation-settings-menu-head small{flex:0 0 auto;max-width:46%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-frame-project-video .character-main-reference-card .character-generation-choice-stack,.page-frame-project-video .character-main-reference-card .character-generation-settings-menu-section{display:grid;gap:var(--space-3)}.page-frame-project-video .character-main-reference-card .character-generation-choice-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--space-3)}.page-frame-project-video .character-main-reference-card .character-generation-choice-group{display:grid;gap:var(--space-2)}.page-frame-project-video .character-main-reference-card .character-generation-choice-label{color:color-mix(in srgb,var(--text-primary) 48%,transparent);font-size:var(--text-xs);font-weight:var(--fw-medium);line-height:1}.page-frame-project-video .character-main-reference-card .character-generation-choice-row{display:flex;gap:var(--space-2);min-width:0}.page-frame-project-video .character-main-reference-card .character-generation-choice-row.is-wrapped{flex-wrap:wrap}.page-frame-project-video .character-main-reference-card .character-generation-choice-row button{flex:1 1 0;min-width:0;min-height:30px;border:1px solid color-mix(in srgb,var(--text-primary) 8%,transparent);border-radius:9px;padding:0 var(--space-3);background:color-mix(in srgb,var(--text-primary) 4%,transparent);color:color-mix(in srgb,var(--text-primary) 58%,transparent);font-size:var(--text-xs);font-weight:var(--fw-medium);line-height:1;cursor:pointer;transition:background var(--motion-control) var(--easing-control),border-color var(--motion-control) var(--easing-control),color var(--motion-control) var(--easing-control)}.page-frame-project-video .character-main-reference-card .character-generation-choice-row.is-wrapped button{flex:0 1 auto;min-width:calc(var(--control-height-regular) * 2)}.page-frame-project-video .character-main-reference-card .character-generation-choice-row button:hover:not(:disabled){border-color:color-mix(in srgb,var(--text-primary) 14%,transparent);background:color-mix(in srgb,var(--text-primary) 7%,transparent);color:color-mix(in srgb,var(--text-primary) 82%,transparent)}.page-frame-project-video .character-main-reference-card .character-generation-choice-row button:focus-visible{outline:2px solid color-mix(in srgb,var(--v2-accent-orange) 58%,transparent);outline-offset:2px}.page-frame-project-video .character-main-reference-card .character-generation-choice-row button[data-active=true]{border-color:color-mix(in srgb,var(--v2-accent-orange) 44%,transparent);background:color-mix(in srgb,var(--v2-accent-orange) 16%,transparent);color:var(--text-accent)}.page-frame-project-video .character-main-reference-card .character-generation-choice-row button:disabled{cursor:not-allowed;opacity:.55}.page-frame-project-video .character-main-reference-card .character-generation-setting-grid{gap:var(--space-3)}.page-frame-project-video .character-main-reference-card .character-generation-setting-grid>.custom-select{min-height:34px;border-radius:9px;padding:0 var(--space-4)}.page-frame-project-video .character-main-reference-card .character-generation-setting-grid .custom-select-label{font-size:var(--text-xs);line-height:1}.page-frame-project-video .character-main-reference-card .character-generation-setting-grid .custom-select-trigger{min-height:32px;padding:0 18px 0 var(--space-2);font-size:var(--text-sm);line-height:1.1}.page-frame-project-video .character-main-reference-card .character-privacy-action{gap:var(--space-3)}.page-frame-project-video .character-main-reference-card .character-privacy-action-button,.page-frame-project-video .character-main-reference-card .character-reference-actions .character-reference-secondary,.page-frame-project-video .character-main-reference-card .character-reference-actions .reference-upload-trigger,.page-frame-project-video .character-main-reference-card .character-reference-actions .workflow-asset-generate-button{min-height:30px;height:30px;border-radius:9px;padding-inline:var(--space-2);font-size:var(--text-2xs);line-height:1}.page-frame-project-video .character-main-reference-card .character-reference-actions{gap:var(--space-1);padding-top:0}.page-frame-project-video .character-main-reference-card .character-reference-actions--compact{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:var(--space-3)}.page-frame-project-video .character-main-reference-card .character-reference-actions--compact .character-reference-secondary,.page-frame-project-video .character-main-reference-card .character-reference-actions--compact .reference-upload,.page-frame-project-video .character-main-reference-card .character-reference-actions--compact .reference-upload-trigger,.page-frame-project-video .character-main-reference-card .character-reference-actions--compact .workflow-asset-generate-button,.page-frame-project-video .character-main-reference-card .character-reference-actions--compact>*{width:100%;min-width:0}.page-frame-project-video .character-main-reference-card .character-reference-more{position:static;min-width:0}.page-frame-project-video .character-main-reference-card .character-reference-more-trigger{border-color:color-mix(in srgb,var(--text-primary) 8%,transparent)}.page-frame-project-video .character-main-reference-card .character-reference-more-trigger[aria-expanded=true]{background:color-mix(in srgb,var(--text-primary) 10%,transparent);color:color-mix(in srgb,var(--text-primary) 86%,transparent)}.page-frame-project-video .character-main-reference-card .character-reference-more-menu{position:absolute;top:calc(100% + var(--space-2));left:50%;z-index:26;display:grid;width:min(680px,calc(100vw - var(--space-8)));max-height:min(560px,calc(100vh - 180px));gap:var(--space-3);overflow:auto;border:1px solid color-mix(in srgb,var(--text-primary) 10%,transparent);border-radius:var(--radius-md);padding:var(--space-4);background:color-mix(in srgb,var(--surface-panel) 96%,var(--surface-page));box-shadow:var(--shadow-popover);transform:translateX(-50%)}.page-frame-project-video .character-main-reference-card .character-reference-more-menu-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2)}.page-frame-project-video .character-main-reference-card .character-reference-more-menu-head strong{min-width:0;color:color-mix(in srgb,var(--text-primary) 86%,transparent);font-size:var(--text-sm);font-weight:var(--fw-medium);line-height:1.2}.page-frame-project-video .character-main-reference-card .character-reference-more-menu-close{display:inline-flex;align-items:center;justify-content:center;width:var(--control-height-regular);height:var(--control-height-regular);border:1px solid color-mix(in srgb,var(--text-primary) 8%,transparent);border-radius:9px;padding:0;background:var(--project-asset-editor-button-secondary-bg);color:var(--project-asset-editor-button-secondary-text);cursor:pointer}.page-frame-project-video .character-main-reference-card .character-reference-more-menu-close:focus-visible,.page-frame-project-video .character-main-reference-card .character-reference-more-menu-close:hover{border-color:transparent;background:var(--project-asset-editor-button-secondary-bg-hover);color:var(--project-asset-editor-button-secondary-text-hover)}.page-frame-project-video .character-main-reference-card .character-reference-more-menu .character-privacy-action-button,.page-frame-project-video .character-main-reference-card .character-reference-more-menu .character-reference-secondary,.page-frame-project-video .character-main-reference-card .character-reference-more-menu .reference-upload,.page-frame-project-video .character-main-reference-card .character-reference-more-menu .reference-upload-trigger,.page-frame-project-video .character-main-reference-card .character-reference-more-menu .workflow-asset-generate-button{width:100%}.page-frame-project-video .character-main-reference-card .character-reference-more-menu .editable-asset-prompt-details{margin-top:0;border-top:0;padding-top:0}.page-frame-project-video .character-main-reference-card .character-reference-more-menu .shot-config-details-body{max-height:min(440px,calc(100vh - 300px));overflow:auto}.page-frame-project-video .character-main-reference-card .character-reference-more-icon-row{display:flex;align-items:center;justify-content:flex-end;gap:var(--space-2);min-width:0}.page-frame-project-video .character-main-reference-card .editable-asset-prompt-details .character-reference-more-icon-row,.page-frame-project-video .character-main-reference-card .shot-config-summary-actions{width:auto;flex:0 0 auto}.page-frame-project-video .character-main-reference-card .shot-config-meta{align-items:center;gap:var(--space-2)}.page-frame-project-video .character-main-reference-card .character-reference-more-menu .character-reference-more-icon-row .reference-upload{flex:0 0 var(--control-height-regular);width:var(--control-height-regular);min-width:var(--control-height-regular)}.page-frame-project-video .character-main-reference-card .character-reference-more-icon-button,.page-frame-project-video .character-main-reference-card .character-reference-more-icon-row .reference-upload-trigger.is-icon-only{display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;min-width:34px;height:34px;border:1px solid color-mix(in srgb,var(--text-primary) 8%,transparent);border-radius:9px;padding:0;background:var(--project-asset-editor-button-secondary-bg);color:var(--project-asset-editor-button-secondary-text);cursor:pointer;transition:background var(--motion-control) var(--easing-control),border-color var(--motion-control) var(--easing-control),color var(--motion-control) var(--easing-control)}.page-frame-project-video .character-main-reference-card .character-reference-more-icon-button:hover:not(:disabled),.page-frame-project-video .character-main-reference-card .character-reference-more-icon-row .reference-upload-trigger.is-icon-only:hover:not(:disabled){border-color:transparent;background:var(--project-asset-editor-button-secondary-bg-hover);color:var(--project-asset-editor-button-secondary-text-hover)}.page-frame-project-video .character-main-reference-card .character-reference-more-icon-button:focus-visible,.page-frame-project-video .character-main-reference-card .character-reference-more-icon-row .reference-upload-trigger.is-icon-only:focus-visible{outline:2px solid color-mix(in srgb,var(--v2-accent-orange) 58%,transparent);outline-offset:2px}.page-frame-project-video .character-main-reference-card .character-reference-more-icon-button:disabled,.page-frame-project-video .character-main-reference-card .character-reference-more-icon-row .reference-upload-trigger.is-icon-only:disabled{cursor:not-allowed;opacity:.55}.page-frame-project-video .character-main-reference-card .character-reference-more-menu .editable-asset-prompt-details[open]{display:grid;gap:var(--space-3)}.page-frame-project-video .character-main-reference-card .character-reference-more-menu .shot-prompt-editor .mention-textarea,.page-frame-project-video .character-main-reference-card .character-reference-more-menu .shot-prompt-editor textarea{min-height:200px}.page-frame-project-video .character-main-reference-card .character-reference-more-menu .project-asset-editor-action-bar.is-icon-action-bar{flex-wrap:nowrap;justify-content:flex-end;gap:var(--space-2)}.page-frame-project-video .character-main-reference-card .character-reference-more-menu .project-asset-editor-action-bar.is-icon-action-bar .editable-asset-save-error{flex:1 1 auto;min-width:0}.page-frame-project-video .character-main-reference-card .character-reference-more-menu .project-asset-editor-button.is-icon-only{display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;min-width:34px;height:34px;padding:0}.page-frame-project-video .character-main-reference-card .character-reference-more-menu .project-asset-editor-button.is-reset-action{order:1}.page-frame-project-video .character-main-reference-card .character-reference-more-menu .project-asset-editor-button.is-polish-action{order:2}.page-frame-project-video .character-main-reference-card .character-reference-more-menu .project-asset-editor-button.is-cancel-action{order:8;margin-left:auto}.page-frame-project-video .character-main-reference-card .character-reference-more-menu .project-asset-editor-button.is-save-action{order:9;margin-left:0}.page-frame-project-video .character-main-reference-card .character-reference-more-menu .project-asset-editor-button.is-icon-only.prompt-save-button{background-color:var(--vag-sem-action-primary-gradient-start)}.page-frame-project-video .character-main-reference-management{display:grid;gap:var(--space-3);max-height:0;opacity:0;overflow:hidden;pointer-events:none;transform:translateY(calc(-1 * var(--space-2)));transition:max-height var(--motion-deliberate) var(--easing-control),opacity var(--motion-control) var(--easing-control),transform var(--motion-control) var(--easing-control),visibility var(--motion-control) var(--easing-control);visibility:hidden}.page-frame-project-video .character-main-reference-card:focus-within .character-main-reference-management,.page-frame-project-video .character-main-reference-card:has(.editable-asset-prompt-details[open]) .character-main-reference-management,.page-frame-project-video .character-main-reference-card:hover .character-main-reference-management{max-height:calc(var(--project-video-reference-preview-min-height) * 3);opacity:1;pointer-events:auto;transform:translateY(0);visibility:visible}.page-frame-project-video .character-main-reference-card:has(.character-generation-settings[data-open=true]){z-index:25}.page-frame-project-video .character-main-reference-card:has(.character-reference-more-trigger[aria-expanded=true]){z-index:25}.page-frame-project-video .character-main-reference-card:has(.character-generation-settings[data-open=true]) .character-main-reference-management{max-height:0;opacity:0;pointer-events:none;transform:translateY(calc(-1 * var(--space-2)));visibility:hidden}.page-frame-project-video .character-main-reference-card .character-main-reference-management .editable-asset-prompt-details{margin-top:0;border-top:0;padding-top:0}.page-frame-project-video .character-main-reference-card .character-main-reference-management .shot-config-details-body{max-height:var(--project-video-reference-preview-min-height);overflow:auto}.page-frame-project-video .character-main-reference-card .editable-asset-prompt-details>summary,.page-frame-project-video .character-main-reference-card .shot-config-details>summary{min-height:34px;padding-inline:var(--space-4)}.page-frame-project-video .character-main-reference-card .editable-asset-prompt-details>summary,.page-frame-project-video .character-main-reference-card .shot-config-title{font-size:var(--text-sm);line-height:1.2}@media (prefers-reduced-motion:reduce){.page-frame-project-video .character-main-reference-card,.page-frame-project-video .character-main-reference-card .character-generation-settings.is-compact .character-generation-setting-grid,.page-frame-project-video .character-main-reference-management{transition:none}}.page-frame-project-video .video-production-card .character-reference-card__body{justify-content:flex-start;gap:var(--space-4)}.page-frame-project-video .video-production-card .shot-production-meta{gap:var(--space-2);border:1px solid color-mix(in srgb,var(--text-primary) 6%,transparent);border-radius:11px;padding:var(--space-4);background:color-mix(in srgb,var(--text-primary) 3.2%,transparent)}.page-frame-project-video .video-production-card .shot-production-meta>span{color:color-mix(in srgb,var(--text-primary) 52%,transparent);font-size:var(--text-xs);letter-spacing:-.01em}.page-frame-project-video .video-production-card .shot-production-meta>p{display:block;overflow:visible;color:color-mix(in srgb,var(--text-primary) 64%,transparent);font-size:var(--text-sm);line-height:1.55;white-space:normal}.page-frame-project-video .video-production-card .video-production-card__footer{width:100%}.page-frame-project-video .character-main-reference-card,.page-frame-project-video .scene-reference-card,.page-frame-project-video .shot-image-production-card,.page-frame-project-video .video-production-card{--project-video-reference-preview-min-height:286px;grid-template-columns:minmax(360px,.92fr) minmax(0,1fr);gap:var(--space-6);padding:var(--space-6)}@media (min-width:1280px){.page-frame-project-video .character-main-reference-card,.page-frame-project-video .scene-reference-card,.page-frame-project-video .shot-image-production-card,.page-frame-project-video .video-production-card{--project-video-reference-preview-min-height:316px}}.page-frame-project-video .character-main-reference-card .character-reference-card__thumbnail,.page-frame-project-video .scene-reference-card .character-reference-card__thumbnail,.page-frame-project-video .shot-image-production-card .character-reference-card__thumbnail,.page-frame-project-video .video-production-card .character-reference-card__thumbnail{align-self:stretch}.page-frame-project-video .shot-image-production-card .shot-reference-preview-shell{width:100%;min-height:var(--project-video-reference-preview-min-height)}.page-frame-project-video .character-main-reference-card .character-reference-card__body,.page-frame-project-video .character-main-reference-card .character-reference-preview,.page-frame-project-video .scene-reference-card .character-reference-card__body,.page-frame-project-video .scene-reference-card .character-reference-preview,.page-frame-project-video .shot-image-production-card .character-reference-card__body,.page-frame-project-video .shot-image-production-card .character-reference-preview,.page-frame-project-video .video-production-card .character-reference-card__body,.page-frame-project-video .video-production-card .video-production-preview{min-height:var(--project-video-reference-preview-min-height)}@media (max-width:768px){.page-frame-project-video .character-main-reference-card,.page-frame-project-video .scene-reference-card,.page-frame-project-video .shot-image-production-card,.page-frame-project-video .video-production-card{--project-video-reference-preview-min-height:180px;grid-template-columns:1fr}}.page-frame-project-video .character-image-reference-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,156px),1fr));gap:var(--space-3);align-items:stretch}.page-frame-project-video .prop-image-reference-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,208px),1fr));gap:var(--space-3);align-items:stretch}.page-frame-project-video .character-image-reference-grid>.character-main-reference-card,.page-frame-project-video .prop-image-reference-grid>.prop-reference-card{--character-card-aspect-ratio:9/16;--project-video-reference-preview-min-height:0px;grid-template-columns:1fr;gap:var(--space-2);min-width:0;padding:var(--space-2)}.page-frame-project-video .character-main-reference-card .character-reference-card__thumbnail{width:100%;min-width:0}.page-frame-project-video .character-image-reference-grid>.custom-entry-add-card--grid-cell.is-collapsed,.page-frame-project-video .prop-image-reference-grid>.custom-entry-add-card--grid-cell.is-collapsed{min-height:100%;height:100%;border:1px dashed color-mix(in srgb,var(--v2-accent-orange) 28%,transparent);border-radius:var(--radius-md);padding:var(--space-2);background:linear-gradient(180deg,color-mix(in srgb,var(--v2-accent-orange) 7%,transparent),transparent 46%),color-mix(in srgb,var(--text-primary) 3%,transparent)}.character-image-reference-grid>.custom-entry-add-card--grid-cell.is-collapsed .custom-entry-add-card__plus,.prop-image-reference-grid>.custom-entry-add-card--grid-cell.is-collapsed .custom-entry-add-card__plus{font-size:var(--text-display-sm)}@media (min-width:1280px){.page-frame-project-video .character-image-reference-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.page-frame-project-video .character-main-reference-card[data-popover-align=start] .character-generation-settings-menu,.page-frame-project-video .character-main-reference-card[data-popover-align=start] .character-reference-more-menu{right:auto;left:0;transform:none}.page-frame-project-video .character-main-reference-card[data-popover-align=end] .character-generation-settings-menu,.page-frame-project-video .character-main-reference-card[data-popover-align=end] .character-reference-more-menu{right:0;left:auto;transform:none}}@media (min-width:861px) and (max-width:1279px){.page-frame-project-video .character-image-reference-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:561px) and (max-width:860px){.page-frame-project-video .character-image-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:560px){.page-frame-project-video .character-image-reference-grid{grid-template-columns:1fr}}.page-frame-project-video .prop-reference-card .character-reference-head-meta{min-height:var(--control-height-mini)}.page-frame-project-video .prop-reference-card .prop-reference-usage{width:100%}.page-frame-project-video .scene-image-reference-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,156px),1fr));gap:var(--space-3);align-items:stretch}.page-frame-project-video .scene-image-reference-grid>.scene-reference-card{--character-card-aspect-ratio:9/16;--project-video-reference-preview-min-height:0px;grid-template-columns:1fr;gap:var(--space-2);min-width:0;padding:var(--space-2)}.page-frame-project-video .scene-image-reference-grid>.custom-entry-add-card--grid-cell.is-collapsed{min-height:100%;height:100%;border:1px dashed color-mix(in srgb,var(--v2-accent-orange) 28%,transparent);border-radius:var(--radius-md);padding:var(--space-2);background:linear-gradient(180deg,color-mix(in srgb,var(--v2-accent-orange) 7%,transparent),transparent 46%),color-mix(in srgb,var(--text-primary) 3%,transparent)}.scene-image-reference-grid>.custom-entry-add-card--grid-cell.is-collapsed .custom-entry-add-card__plus{font-size:var(--text-display-sm)}@media (min-width:1280px){.page-frame-project-video .scene-image-reference-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (min-width:861px) and (max-width:1279px){.page-frame-project-video .scene-image-reference-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:561px) and (max-width:860px){.page-frame-project-video .scene-image-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:560px){.page-frame-project-video .scene-image-reference-grid{grid-template-columns:1fr}}.page-frame-project-video .shot-image-reference-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,156px),1fr));gap:var(--space-3);align-items:stretch}.page-frame-project-video .shot-image-reference-grid>.shot-image-production-card{--character-card-aspect-ratio:9/16;--project-video-reference-preview-min-height:0px;grid-template-columns:1fr;gap:var(--space-2);min-width:0;padding:var(--space-2);background:var(--surface-panel);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-primary) 3%,transparent)}.page-frame-project-video .shot-image-reference-grid>.shot-image-production-card.status-needs-review,.page-frame-project-video .shot-image-reference-grid>.shot-image-production-card.status-ready{border-color:var(--border-subtle)}.page-frame-project-video .shot-image-reference-grid>.shot-image-production-card .character-reference-card__thumbnail,.page-frame-project-video .shot-image-reference-grid>.shot-image-production-card .shot-reference-preview-shell{width:100%;min-width:0;min-height:0;max-height:none;align-self:stretch;overflow:hidden}.page-frame-project-video .shot-image-reference-grid>.shot-image-production-card .character-reference-preview,.page-frame-project-video .shot-image-reference-grid>.shot-image-production-card.status-needs-review .character-reference-preview.is-empty{width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:var(--character-card-aspect-ratio);padding:var(--space-3)}.page-frame-project-video .shot-image-reference-grid>.shot-image-production-card .character-reference-preview.has-chrome{padding:0}.page-frame-project-video .shot-image-reference-grid>.shot-image-production-card .character-reference-preview__name{max-width:calc(100% - var(--space-4));padding-inline:var(--space-1);font-size:var(--text-3xs);line-height:var(--control-height-mini)}.page-frame-project-video .shot-image-reference-grid>.shot-image-production-card .character-reference-card__body{min-height:0;gap:var(--space-2)}.shot-storyboard-grid-options{flex-wrap:nowrap}.shot-storyboard-grid-options button{min-width:0;border-radius:var(--radius-pill);padding-inline:var(--space-2);white-space:nowrap}@media (min-width:1280px){.page-frame-project-video .shot-image-reference-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (min-width:861px) and (max-width:1279px){.page-frame-project-video .shot-image-reference-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:561px) and (max-width:860px){.page-frame-project-video .shot-image-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:560px){.page-frame-project-video .shot-image-reference-grid{grid-template-columns:1fr}}.page-frame-project-video,.page-frame-project-video *{scrollbar-color:var(--scrollbar-firefox-thumb) var(--scrollbar-track);scrollbar-width:thin}.page-frame-project-video ::-webkit-scrollbar,.page-frame-project-video::-webkit-scrollbar{width:var(--scrollbar-size);height:var(--scrollbar-size);background:var(--scrollbar-track)}.page-frame-project-video ::-webkit-scrollbar-corner,.page-frame-project-video ::-webkit-scrollbar-track,.page-frame-project-video ::-webkit-scrollbar-track-piece,.page-frame-project-video::-webkit-scrollbar-corner,.page-frame-project-video::-webkit-scrollbar-track,.page-frame-project-video::-webkit-scrollbar-track-piece{background:var(--scrollbar-track)}.page-frame-project-video ::-webkit-scrollbar-thumb,.page-frame-project-video::-webkit-scrollbar-thumb{min-height:var(--scrollbar-thumb-min);border:var(--scrollbar-thumb-inset) solid transparent;border-radius:var(--radius-pill);background:var(--scrollbar-thumb);background-clip:content-box}.page-frame-project-video ::-webkit-scrollbar-thumb:hover,.page-frame-project-video::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover);background-clip:content-box}.page-frame-project-video ::-webkit-scrollbar-thumb:active,.page-frame-project-video::-webkit-scrollbar-thumb:active{background:var(--scrollbar-thumb-active);background-clip:content-box}.page-frame-project-video ::-webkit-scrollbar-button,.page-frame-project-video::-webkit-scrollbar-button{display:none;width:0;height:0;background:var(--scrollbar-track)}.page-frame-project-video .workflow-main-head .workflow-batch-run-action{flex:0 1 auto;min-width:0;justify-content:flex-end}.page-frame-project-video .workflow-main-head .workflow-batch-run-limit{height:32px;min-height:32px;border-radius:9px}.page-frame-project-video .workflow-main-head .workflow-batch-run-limit input{min-height:24px}.project-asset-inspector-buttons{display:inline-flex;align-items:center;justify-content:flex-end;gap:var(--space-1);min-width:0}.project-asset-inspector-button{display:inline-grid;place-items:center;width:24px;height:24px;padding:0;border:1px solid color-mix(in srgb,var(--border-subtle) 82%,transparent);border-radius:var(--radius-xs);background:color-mix(in srgb,var(--bg-panel) 82%,var(--bg-soft) 18%);color:var(--text-muted);cursor:pointer}.project-asset-inspector-button.is-active,.project-asset-inspector-button:hover{border-color:color-mix(in srgb,var(--v2-accent-orange) 42%,var(--border-subtle));background:color-mix(in srgb,var(--v2-accent-orange) 10%,var(--bg-panel));color:var(--text-primary)}.project-asset-inspector-button--error{color:var(--v2-status-error-text);font-size:var(--text-xs);font-weight:var(--fw-medium)}.project-asset-inspector-button svg{display:block;width:14px;height:14px}.page-frame-project-video .project-asset-inspector__panel{width:100%;max-width:none;max-height:360px;background:var(--bg-panel)}.project-asset-inspector__panel.is-expanded{position:fixed;inset:72px max(24px,calc((100vw - 1120px) / 2)) 24px;z-index:120;width:auto;max-width:1120px;max-height:none;margin-inline:auto;padding:var(--space-7);border-color:var(--border-strong);background:var(--surface-popover)}.project-asset-inspector__header-actions{display:inline-flex;flex:0 0 auto;align-items:center;gap:var(--space-2)}.project-asset-inspector__header-action{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:28px;border:1px solid var(--border-subtle);border-radius:var(--radius-sm);padding-inline:var(--space-3);background:var(--bg-soft);color:var(--text-muted);font:inherit;font-size:var(--text-xs);cursor:pointer}.project-asset-inspector__header-action:hover{border-color:var(--border-strong);color:var(--text-primary)}.project-asset-inspector__header-action svg{width:14px;height:14px}.project-asset-inspector__panel.is-expanded .asset-canvas-task-inspector__block{max-height:min(320px,36vh)}@media (max-width:720px){.project-asset-inspector__panel.is-expanded{inset:60px var(--space-3) var(--space-3);padding:var(--space-5)}.project-asset-inspector__header-action span{display:none}}.project-asset-inspector__reference-index{display:inline-grid;place-items:center;width:52px;height:52px;border:1px solid var(--border-subtle);border-radius:var(--radius-sm);background:var(--bg-soft);color:var(--text-muted);font-family:var(--font-mono);font-size:var(--text-xs)}.page-frame-project-video .asset-library-card-head{align-items:flex-start}.page-frame-project-video .asset-library-card-head>.project-asset-inspector-buttons{flex:0 0 auto}.page-frame-project-video .asset-library-card .project-asset-inspector__panel{max-height:320px}.workflow-downstream-impact-banner{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);margin-bottom:var(--space-3);border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:var(--space-3) var(--space-4);background:var(--asset-canvas-control-surface);color:var(--text-secondary);font-size:var(--text-xs)}.page-frame-project-video .workflow-main-head .workflow-head-harness{display:flex;min-width:0;align-items:center;gap:var(--space-2)}.page-frame-project-video .workflow-main-head .workflow-head-chip{display:inline-flex;flex:0 0 auto;align-items:center;gap:var(--space-1);min-width:0;min-height:var(--control-height-compact);border:1px solid var(--border-subtle);border-radius:var(--radius-pill);padding-inline:var(--space-3);background:var(--bg-soft);color:var(--text-primary);cursor:pointer;font-family:var(--font-sans);font-size:var(--text-xs);font-weight:var(--fw-medium);letter-spacing:var(--tracking-normal);line-height:1;white-space:nowrap;transition:background-color var(--motion-control) var(--easing-control),border-color var(--motion-control) var(--easing-control),color var(--motion-control) var(--easing-control)}.page-frame-project-video .workflow-main-head .workflow-head-chip:hover:not(:disabled){border-color:var(--border-strong);background:var(--control-bg-hover)}.page-frame-project-video .workflow-main-head .workflow-head-chip:focus-visible{outline:var(--focus-ring-width) solid var(--focus-border);outline-offset:var(--focus-ring-offset)}.page-frame-project-video .workflow-main-head .workflow-head-chip:disabled{cursor:not-allowed;opacity:.58}.page-frame-project-video .workflow-main-head .workflow-head-chip.is-warning{border-color:var(--v2-status-warning-border);background:var(--v2-status-warning-soft);color:var(--v2-status-warning-text)}.page-frame-project-video .workflow-main-head .workflow-head-chip.is-warning:hover:not(:disabled){border-color:var(--v2-status-warning)}.page-frame-project-video .workflow-main-head .workflow-head-chip.is-danger{border-color:var(--v2-status-error-border);background:var(--v2-status-error-soft);color:var(--v2-status-error-text)}.page-frame-project-video .workflow-main-head .workflow-head-chip.is-danger:hover:not(:disabled){border-color:var(--v2-status-error)}.workflow-downstream-impact-banner button{border:0;border-radius:var(--radius-pill);padding:var(--space-2) var(--space-3);background:var(--control-bg);color:var(--text-primary);cursor:pointer;font:inherit;font-size:var(--text-xs);white-space:nowrap}.workflow-asset-stale-pill{border-radius:var(--radius-pill);padding:var(--space-1) var(--space-2);background:color-mix(in srgb,var(--v2-accent-orange) 14%,transparent);color:var(--text-accent);font-size:var(--text-2xs);white-space:nowrap}.page-frame-project-video .asset-library-panel[data-density-columns="5"] .asset-library-card,.page-frame-project-video .asset-library-panel[data-density-columns="6"] .asset-library-card{gap:var(--space-2);padding:var(--space-3)}@media (max-width:1280px){.asset-library-grid[data-density-columns="6"]{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (max-width:1080px){.asset-library-grid[data-density-columns="5"],.asset-library-grid[data-density-columns="6"]{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:900px){.asset-library-toolbar{align-items:flex-start;flex-direction:column}.asset-library-grid[data-density-columns]{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:768px){.asset-library-density{width:100%}.asset-library-density-input{flex:1 1 auto;width:auto}.asset-library-grid[data-density-columns]{grid-template-columns:1fr}}.page-frame-project-video .prop-candidate-list.prop-image-reference-grid{display:grid;margin:0;padding:0}.page-frame-project-video .prop-candidate-card .prop-candidate-preview{color:var(--asset-canvas-weak-foreground)}.page-frame-project-video .prop-candidate-card .prop-candidate-preview>[data-icon-name=image]{opacity:.72}.page-frame-project-video .prop-candidate-card .prop-candidate-row-variants{min-width:0;margin:0;color:var(--text-muted);font-size:var(--text-2xs);line-height:var(--leading-normal)}.page-frame-project-video .prop-candidate-detail{display:grid;gap:var(--space-1)}.page-frame-project-video .prop-candidate-detail>span{color:var(--text-muted);font-size:var(--text-2xs);font-weight:var(--fw-medium)}.page-frame-project-video .prop-candidate-detail>p{margin:0;color:var(--text-secondary);font-size:var(--text-2xs);line-height:var(--leading-normal)}.page-frame-project-video .custom-entry-add-card--grid-cell.is-expanded{align-self:stretch;box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:0;aspect-ratio:9/16;gap:var(--space-3);padding:var(--space-3);overflow:hidden}.page-frame-project-video .custom-entry-add-card--grid-cell.is-expanded .custom-entry-add-card__head{position:relative;min-width:0;padding-right:calc(var(--control-height-regular) + var(--space-2))}.page-frame-project-video .custom-entry-add-card__title-line{display:flex;align-items:center;min-width:0;gap:var(--space-2)}.page-frame-project-video .custom-entry-add-card__title-line h5{min-width:0}.page-frame-project-video .custom-entry-add-card--grid-cell.is-expanded .custom-entry-add-card__eyebrow{flex:0 0 auto;border:1px solid color-mix(in srgb,var(--v2-accent-orange) 26%,transparent);border-radius:var(--radius-pill);padding:var(--space-hairline) var(--space-2);background:color-mix(in srgb,var(--v2-accent-orange) 8%,transparent);letter-spacing:normal;text-transform:none}.page-frame-project-video .custom-entry-add-card__head small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-frame-project-video .custom-entry-add-card--grid-cell.is-expanded .custom-entry-add-card__image-action{position:absolute;top:0;right:0}.page-frame-project-video .custom-entry-add-card--grid-cell.is-expanded .custom-entry-add-card__input-shell{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;min-height:0}.page-frame-project-video .custom-entry-add-card--grid-cell.is-expanded .custom-entry-add-card__textarea{flex:1 1 auto;min-width:0;min-height:0;resize:none}.page-frame-project-video .custom-entry-add-card--grid-cell.is-expanded .custom-entry-add-card__meta-row{min-width:0;gap:var(--space-2)}.page-frame-project-video .custom-entry-add-card--grid-cell.is-expanded .custom-entry-add-card__support{font-size:var(--text-2xs)}.page-frame-project-video .custom-entry-add-card--grid-cell.is-expanded .custom-entry-add-card__actions{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);width:100%;gap:var(--space-2);margin-top:auto}.page-frame-project-video .custom-entry-add-card--grid-cell.is-expanded .custom-entry-add-card__cancel,.page-frame-project-video .custom-entry-add-card--grid-cell.is-expanded .custom-entry-add-card__submit{width:100%;min-width:0;max-width:none;padding-inline:var(--space-2)}.page-frame-project-video .prop-image-reference-grid>.workflow-focus-card{min-width:0;max-width:100%}.page-frame-project-video .prop-image-reference-grid>.workflow-focus-card>.prop-reference-card{width:100%;min-width:0}.page-frame-project-video .shot-image-production-card .shot-storyboard-grid-options>span{display:inline-flex;min-height:30px;align-items:center;justify-content:center;padding:0 var(--space-3);border:1px solid color-mix(in srgb,var(--v2-accent-orange) 44%,transparent);border-radius:var(--radius-sm);background:color-mix(in srgb,var(--v2-accent-orange) 16%,transparent);color:var(--text-accent);font-size:var(--text-2xs);font-weight:var(--fw-medium);line-height:var(--leading-tight)}.page-frame-project-video .workflow-export-panel{align-items:stretch;justify-content:flex-start;flex-direction:column}.page-frame-project-video .release-cover-section{display:grid;gap:var(--space-4)}.page-frame-project-video .release-cover-section__head{display:flex;align-items:end;justify-content:space-between;gap:var(--space-4)}.page-frame-project-video .release-cover-section__head h3,.page-frame-project-video .release-cover-section__head p{margin:0}.page-frame-project-video .release-cover-section__head h3{color:var(--text-primary);font-size:var(--text-lg);font-weight:var(--fw-semibold);line-height:var(--leading-tight)}.page-frame-project-video .release-cover-section__head p{margin-top:var(--space-1);color:var(--text-muted);font-size:var(--text-2xs);font-weight:var(--fw-regular);line-height:var(--leading-normal)}.page-frame-project-video .release-cover-section__head h3{display:flex;align-items:baseline;gap:var(--space-3);white-space:nowrap}.page-frame-project-video .release-cover-section__head h3 span{color:var(--asset-canvas-weak-foreground);font-size:var(--text-2xs);font-weight:var(--fw-regular)}.page-frame-project-video .release-cover-placeholder-actions{margin-top:auto}.page-frame-project-video .workflow-export-footer{display:flex;width:100%;min-width:0;align-items:center;gap:var(--space-4);margin-top:auto;border-top:1px solid var(--border-subtle);padding-top:var(--space-4)}.page-frame-project-video .workflow-export-footer .workflow-export-stats{display:flex;min-width:0;align-items:center;gap:var(--space-4);margin:0}.page-frame-project-video .workflow-export-footer .workflow-export-stats>span{display:inline-flex;align-items:baseline;gap:var(--space-1);color:var(--text-secondary);font-size:var(--text-sm);font-weight:var(--fw-regular);letter-spacing:0;line-height:var(--leading-tight);white-space:nowrap}.page-frame-project-video .workflow-export-footer .workflow-export-stats strong{color:var(--text-primary);font-size:var(--text-md);font-weight:var(--fw-semibold);line-height:var(--leading-tight)}.page-frame-project-video .workflow-export-footer .workflow-export-hint{min-width:0;margin:0 auto 0 0;color:var(--asset-canvas-weak-foreground);font-size:var(--text-2xs);line-height:var(--leading-tight);text-align:left;white-space:nowrap}.page-frame-project-video .workflow-export-footer .workflow-export-actions{display:flex;flex:0 0 auto;align-items:center;flex-wrap:nowrap;gap:var(--space-2);margin:0}.page-frame-project-video .workflow-export-footer .workflow-export-actions button{white-space:nowrap}@media (max-width:900px){.page-frame-project-video .workflow-export-footer{align-items:stretch;flex-direction:column}.page-frame-project-video .workflow-export-footer .workflow-export-hint{margin-right:0}}