/* PV LAB Video: owner-approved relaxed charcoal finish, 24 October 2026.
 * Presentation only. Native model capabilities, Create/Extend, inputs, quotes,
 * authenticated History and the existing wheel handler remain authoritative.
 */
body:has(#app.video-studio-active.pv-video-compact){background:#0b0c0c!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact{
 --pv-video-stage-height:clamp(340px,calc(100dvh - 156px),820px);
 --pv-relaxed-panel:#0c0d0e;--pv-relaxed-field:#141618;--pv-relaxed-line:#303235;
}
@media(min-width:1161px){
 html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact>.workspace.video-layout{grid-template-columns:clamp(312px,22.5vw,368px) minmax(0,1fr) clamp(240px,18vw,300px)!important;gap:16px!important}
}
@media(min-width:821px) and (max-width:1160px){
 html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact>.workspace.video-layout{grid-template-columns:304px minmax(0,1fr)!important;gap:14px!important}
}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout>.controls,
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout>.video-inspector{
 background:var(--pv-relaxed-panel)!important;border-color:#282a2c!important;border-radius:10px!important;box-shadow:none!important;
}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout .controls-body{padding:14px!important;gap:10px!important;scroll-padding-block:14px}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #video-model-control{height:124px!important;min-height:124px!important;border-color:#383a3d!important;border-radius:9px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #video-model-control:before{font-size:10px!important;letter-spacing:.05em!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #pv-video-model-hero{left:14px!important;bottom:13px!important;right:45px!important;gap:5px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #pv-video-model-hero strong{font-size:19px!important;font-weight:650!important;letter-spacing:-.025em!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #pv-video-model-hero small{max-width:195px!important;font-size:11px!important;line-height:1.45!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #video-model-control .pv-video-model-trigger{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;background:#17191be6!important;border-radius:8px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #video-task-switch:not([hidden]){gap:7px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #video-task-switch button{height:40px!important;min-height:40px!important;padding:8px 12px!important;font-size:13px!important;border-radius:8px!important;background:var(--pv-relaxed-field)!important;border-color:var(--pv-relaxed-line)!important;color:#ececec!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #video-task-switch button[aria-selected=true]{background:#eeeeec!important;color:#111214!important;border-color:#eeeeec!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #video-modes:not([hidden]){gap:7px!important;min-height:38px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #video-modes :is(#mode-text,#mode-start,#mode-reference):not([hidden]){height:38px!important;min-height:38px!important;padding:7px 5px!important;gap:5px!important;font-size:12px!important;border-radius:8px!important;background:var(--pv-relaxed-field)!important;border-color:var(--pv-relaxed-line)!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #video-modes :is(#mode-text,#mode-start,#mode-reference)[aria-selected=true]{background:#252729!important;border-color:#85888a!important;color:#fff!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #video-modes .pv-tab-icon{width:15px!important;height:15px!important;flex-basis:15px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #reference-mode:not([hidden]){column-gap:8px!important;row-gap:10px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #reference-drop,
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #reference-mode>.scene-video-access{height:60px!important;min-height:60px!important;background:var(--pv-relaxed-field)!important;border-color:var(--pv-relaxed-line)!important;border-radius:8px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #reference-drop,
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #reference-mode #scene-video-open{grid-template-columns:24px minmax(0,1fr)!important;grid-template-rows:20px 16px!important;gap:2px 7px!important;padding:10px 8px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #reference-mode #scene-video-open{height:58px!important;min-height:58px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #reference-drop>span:after,
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #reference-mode #scene-video-open>span{font-size:12px!important;font-weight:550!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #reference-drop>small:after,
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #reference-mode #scene-video-open>small{font-size:10px!important;color:#a6a8ab!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #reference-mode .pv-reference-card-icon,
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #reference-mode #scene-video-open .pv-scene-card-icon{width:24px!important;height:24px!important;padding:3px!important;background:transparent!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #reference-mode #video-motion-toggle{min-height:38px!important;padding:9px 11px!important;font-size:12px!important;background:var(--pv-relaxed-field)!important;border-color:var(--pv-relaxed-line)!important;border-radius:8px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #start-mode .frame-pair{gap:8px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #start-mode .upload-block:first-child,
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #last-upload:not([hidden]){min-height:128px!important;padding:9px!important;gap:8px!important;background:var(--pv-relaxed-field)!important;border-color:var(--pv-relaxed-line)!important;border-radius:8px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #start-mode .upload-heading .label{font-size:12px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #start-mode .upload-heading .micro{font-size:10px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact :is(#drop,#last-drop){height:80px!important;min-height:80px!important;background:#181a1c!important;border-color:#383a3d!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact :is(#drop,#last-drop) .video-frame-label{font-size:12px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #pv-video-prompt-head{margin:4px 0 -2px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #pv-video-prompt-head #prompt-label{font-size:13px!important;font-weight:550!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #pv-video-prompt-count{font-size:11px!important;color:#93969a!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout .controls textarea#prompt{height:104px;min-height:104px!important;padding:12px!important;font-size:14px!important;line-height:1.55!important;background:var(--pv-relaxed-field)!important;border-color:var(--pv-relaxed-line)!important;border-radius:9px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact.pv-video-mode-text .workspace.video-layout .controls textarea#prompt{height:194px;min-height:194px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #pv-video-output-toggle{height:36px!important;min-height:36px!important;padding:8px 10px!important;font-size:12px!important;background:var(--pv-relaxed-field)!important;border-color:var(--pv-relaxed-line)!important;border-radius:8px!important}
/* The original model selector above remains the single visible entry point. */
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .controls-body>.parameter-grid>#pv-video-model-pill{display:none!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .controls-body>.parameter-grid,
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .controls-body>.parameter-grid:not(:has(#ratio-control[hidden])):not(:has(#pv-video-audio-pill[hidden])){grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #duration-control{grid-column:1!important;grid-row:1!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #ratio-control{grid-column:2!important;grid-row:1!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #resolution-control{grid-column:3!important;grid-row:1!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .controls-body>.parameter-grid>label:not([hidden]),
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .controls-body>.parameter-grid:not(:has(#ratio-control[hidden])):not(:has(#pv-video-audio-pill[hidden]))>label:not([hidden]){height:38px!important;min-height:38px!important;padding:6px 8px!important;background:var(--pv-relaxed-field)!important;border-color:var(--pv-relaxed-line)!important;border-radius:8px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .controls-body>.parameter-grid select{height:24px!important;min-height:24px!important;font-size:13px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .controls-body>.parameter-grid>#pv-video-audio-pill:not([hidden]){grid-column:1/-1!important;height:34px!important;min-height:34px!important;padding:6px 10px!important;background:var(--pv-relaxed-field)!important;border-color:var(--pv-relaxed-line)!important;border-radius:8px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .controls-body>.parameter-grid .pv-output-pill span:last-child{font-size:12px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #pv-video-audio-pill[aria-pressed=true]:after{background:radial-gradient(circle at 17px 7px,#fff 0 5px,transparent 6px),#888b8e!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .controls-body>.parameter-grid:has(#ratio-control[hidden]){grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .controls-body>.parameter-grid:has(#ratio-control[hidden])>#resolution-control{grid-column:2!important}
/* Do not expose capability-hidden controls or change disclosure behavior. */
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .controls-body.pv-video-output-collapsed>.parameter-grid,
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .controls-body.pv-video-output-collapsed>.parameter-grid:not(:has(#ratio-control[hidden])):not(:has(#pv-video-audio-pill[hidden])){display:none!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout>.controls>.generate-zone{height:64px!important;min-height:64px!important;flex:0 0 64px!important;box-sizing:border-box;padding:0 14px 12px!important;background:var(--pv-relaxed-panel)!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout #generate{height:52px!important;min-height:52px!important;font-size:14px!important;border-radius:9px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .video-feed-center>.stage{background:var(--pv-relaxed-panel)!important;border-color:#303235!important;border-radius:10px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact:not(.pv-video-has-input) .video-feed-center .canvas:has(>#empty:not([hidden])):before{background:linear-gradient(180deg,#0000 36%,#0008 78%,#000a),url('./visuals/video-subway-relaxed-approved.png') center/cover no-repeat!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .video-feed-center .canvas #empty{padding:24px 22px 48px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .video-feed-center .empty-title{font-size:30px!important;font-weight:500!important;letter-spacing:-.035em!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .video-feed-center .empty-description{font-size:14px!important;color:#d6d6d4!important;max-width:400px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .video-feed-center .canvas-import,
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .video-feed-center .canvas-secondary{min-height:44px!important;padding:11px 20px!important;border-radius:24px!important;font-size:13px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .pv-video-add-frame{background:#11121480!important;border-color:#a4a4a0!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .video-inspector-heading{min-height:52px!important;padding:18px 18px 12px!important;font-size:16px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .pv-video-create-inspector{padding:14px 18px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .pv-video-sidebar-kicker{font-size:10px!important;color:#a8aaad!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .pv-video-scene-model{background:#131517!important;border-color:#303235!important;gap:10px;min-height:74px}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .pv-video-current-model{font-size:13px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .pv-video-scene-model-copy small{font-size:11px!important;color:#a9abae!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .pv-video-sidebar-section{margin-top:24px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .pv-video-sidebar-section h3{font-size:13px!important;margin-bottom:10px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .pv-video-sidebar-section p,
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .pv-video-current-settings>div{font-size:13px!important;line-height:1.6!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .pv-video-current-settings{gap:11px!important}
/* Fit the two image-input modes without shrinking their controls or prompt.
   Native overflow stays available for short windows and attached references. */
@media(min-width:821px){
 html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact:is(.pv-video-mode-start,.pv-video-mode-reference) .workspace.video-layout .controls-body{padding-bottom:10px!important;gap:5px!important}
 html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .video-feed-center>.archive{padding-top:12px!important}
 html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .video-feed-center>.archive>.archivehead{padding-bottom:8px!important}
}
@media(max-width:820px){
 html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout .controls-body{padding:14px!important;gap:12px!important}
 html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #video-model-control .pv-video-model-trigger{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important}
 html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #video-task-switch button,
 html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #video-modes :is(#mode-text,#mode-start,#mode-reference):not([hidden]){height:44px!important;min-height:44px!important}
 html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout .controls textarea#prompt{font-size:16px!important}
}
@media(max-width:360px){
 html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout .controls-body{padding:10px!important}
 html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #video-modes :is(#mode-text,#mode-start,#mode-reference):not([hidden]){font-size:11px!important;gap:4px!important}
 html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #reference-drop>span:after,
 html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #reference-mode #scene-video-open>span{font-size:11px!important}
}

/* Label-width balance: retain all native mode buttons and visibility rules. */
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #video-modes #mode-text{flex:.65 1 0!important;min-width:52px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #video-modes #mode-start{flex:1 1 0!important;min-width:85px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #video-modes #mode-reference{flex:1.25 1 0!important;min-width:103px!important}

/* Keep the approved plus as a real keyboard and drop affordance. */
html body #app.video-studio-active.pv-video-compact .pv-video-add-frame{padding:0!important;cursor:pointer;appearance:none;font-family:Arial,sans-serif!important;letter-spacing:inherit!important;text-shadow:inherit!important}
html body #app.video-studio-active.pv-video-compact .pv-video-add-frame:focus-visible{outline:2px solid #fff;outline-offset:4px}
html body #app.video-studio-active.pv-video-compact .canvas.pv-video-file-drag{outline:2px dashed #a4a4a0;outline-offset:-5px}

/* Approved Reference invitation: three airy tiers, with no repeated paragraph. */
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact.pv-video-mode-reference .video-feed-center .pv-video-start-visual:not([hidden]){margin-bottom:24px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact.pv-video-mode-reference .video-feed-center .empty-title{margin-top:0!important;opacity:.9}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact.pv-video-mode-reference .video-feed-center .empty-description{display:none!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact.pv-video-mode-reference .video-feed-center .empty-actions{margin-top:24px!important;gap:16px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact.pv-video-mode-reference .video-feed-center .empty-actions>button{height:48px!important;min-height:48px!important;padding:12px 24px!important}


/* Video-only: Seed opens horizontally inside its existing row. The numeric
   field is out of flow, so it cannot lengthen the controls or shift Generate. */
html body #app.video-studio-active #video-utilities > details.seed-settings{
 position:relative;
 flex:1 1 auto;
 width:100%;
 min-width:0;
 height:26px;
 min-height:26px;
 margin:0!important;
}
html body #app.video-studio-active #video-utilities > details.seed-settings > summary{
 display:list-item;
 width:max-content;
 max-width:58px;
 min-height:26px;
 line-height:26px;
 padding:0;
 font-size:11px!important;
 letter-spacing:0!important;
 text-transform:none!important;
 color:#acb0ba!important;
}
html body #app.video-studio-active #video-utilities > details.seed-settings[open] > label{
 position:absolute;
 inset:0 0 0 58px;
 display:flex;
 flex-direction:row;
 align-items:center;
 gap:8px;
 margin:0!important;
 padding:0;
 min-width:0;
 width:auto;
 height:26px;
}
html body #app.video-studio-active #video-utilities > details.seed-settings[open] > label > .label{
 display:block;
 flex:none;
 width:auto;
 margin:0!important;
 color:#9da1aa!important;
 font:400 10px/1.1 'DM Sans',Arial,sans-serif!important;
 letter-spacing:0!important;
 text-transform:none!important;
 white-space:nowrap;
}
html body #app.video-studio-active #video-utilities > details.seed-settings[open] #seed{
 display:block;
 flex:1 1 auto;
 min-width:0;
 width:100%;
 max-width:none;
 height:26px!important;
 min-height:26px!important;
 box-sizing:border-box;
 margin:0!important;
 padding:3px 8px!important;
 border:1px solid #353942;
 border-radius:7px;
 background:#1c1e22;
 color:#f2f2f2;
 font:400 12px/1.2 'DM Sans',Arial,sans-serif!important;
}
html body #app.video-studio-active #video-utilities > details.seed-settings[open] #seed:focus-visible{
 outline:2px solid #d2d6de;
 outline-offset:2px;
}

/* Native textarea resizing must win over the starting height. */
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout .controls textarea#prompt{
 resize:vertical;flex-shrink:0;overflow-y:auto;max-height:60vh;
}
/* Audio and Seed share a compact utility row. Native capability gates remain. */
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #video-utilities{justify-content:flex-start;gap:12px}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #video-utilities>#pv-video-audio-pill:not([hidden]){
 display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;flex:0 0 auto;
 width:auto!important;min-width:0!important;height:28px!important;min-height:28px!important;
 margin:0;padding:0!important;border:0!important;background:transparent!important;
}
html body #app.video-studio-active #video-utilities>#pv-video-audio-pill .pv-pill-icon{display:inline-flex}
html body #app.video-studio-active #video-utilities>details.seed-settings{flex:1 1 0;width:auto}
html body #app.video-studio-active #video-utilities>details.seed-settings[open] > label{gap:4px}
html body #app.video-studio-active #video-utilities>details.seed-settings[open] > label > .label{display:none}

#pv-video-characters{display:none}
html body #app.video-studio-active #pv-video-characters{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:5px;margin-left:auto;border:1px solid #353942;border-radius:7px;background:transparent;color:#d7d9dd;cursor:pointer}
html body #app.video-studio-active #pv-video-characters svg{width:18px;height:18px}
html body #app.video-studio-active #pv-video-prompt-head{gap:8px}

/* A single prompt toolbar in every creation mode. */
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #video-utilities{order:7!important;gap:8px;justify-content:flex-start}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #pv-video-output-toggle{order:8!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .controls-body>.parameter-grid{order:9!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #video-utilities>#pv-video-audio-pill:not([hidden]){order:1;gap:5px;padding:4px 7px!important;background:#232527!important;border-radius:6px;min-height:28px!important}
html body #app.video-studio-active #video-utilities>#pv-video-audio-pill:after{content:none!important}
html body #app.video-studio-active #video-utilities>#pv-video-characters{order:0;margin:0;background:#232527;border:0}
html body #app.video-studio-active #video-utilities>details.seed-settings{order:2;margin-left:auto!important}
html body #app.video-studio-active #video-utilities>.switch-row[for=video-camera-lock]{order:3}
/* Frame inputs are single upload wells, with no nested framed boxes. */
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #start-mode .frame-pair{gap:8px!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #start-mode .frame-pair>.upload-block{
 position:relative;min-height:128px!important;padding:0!important;border:0!important;background:transparent!important;gap:0!important;
}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #start-mode :is(#drop,#last-drop){
 height:128px!important;min-height:128px!important;border:1px dashed #3b3e41!important;border-radius:10px!important;background:#1c1e20!important;padding:20px 8px 36px!important;gap:0!important;
}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #start-mode .upload-heading{
 position:absolute;left:0;right:0;bottom:9px;z-index:2;justify-content:center!important;flex-direction:column!important;gap:3px!important;
}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #start-mode .upload-heading .label{font-size:12px!important;font-weight:550!important;margin:0!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #start-mode .upload-heading .micro{border:0!important;background:transparent!important;padding:0!important;font-size:9px!important;color:#8e9296!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #start-mode :is(#drop,#last-drop) .video-frame-label{display:none!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #start-mode :is(#drop,#last-drop) .pv-frame-upload-icon{width:36px!important;height:36px!important;padding:8px;border:1px solid #484c50;border-radius:50%;background:#303336;color:#d7dadd}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #start-mode :is(#drop,#last-drop):hover{border-color:#797e83!important;background:#232629!important}
html body #app.video-studio-active #start-mode .upload-block:has(.video-frame-thumb:not([hidden])) .upload-heading{display:none!important}

/* Video prompt is one writing surface, including its compact footer controls. */
html body #app.video-studio-active #pv-video-prompt-box{
 order:6;display:flex;flex-direction:column;flex-shrink:0;min-width:0;
 border:1px solid var(--pv-relaxed-line);border-radius:9px;background:var(--pv-relaxed-field);
}
html body #app.video-studio-active #pv-video-prompt-box:focus-within{border-color:#7c8084}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout .controls #pv-video-prompt-box textarea#prompt{
 order:0!important;margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important;border-radius:9px 9px 0 0!important;
}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #pv-video-prompt-box #video-utilities{
 order:1!important;margin:0!important;padding:0 10px 8px!important;min-width:0;
}

/* Approved refined mockup: one type scale and a prompt that uses spare height. */
html body #app.video-studio-active.pv-video-compact{
 --pv-video-muted:#a3a5a7;--pv-video-ink:#ededee;
 font-family:'DM Sans',Arial,sans-serif;
}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout .controls :is(button,select,input,textarea){font-family:'DM Sans',Arial,sans-serif!important;letter-spacing:0!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact :is(#video-task-switch button,#video-modes .mode-tab,#video-motion-toggle,#pv-video-output-toggle,.controls-body>.parameter-grid select){font-size:13px!important;font-weight:500!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact :is(#pv-video-prompt-head #prompt-label,.reference-fields>strong){font-size:13px!important;font-weight:500!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact :is(#pv-video-model-hero small,#reference-drop>small:after,#reference-mode #scene-video-open>small,#pv-video-prompt-count,.reference-fields>small,.video-inspector-body p,.video-inspector-body dt){color:#a3a5a7!important;font-weight:400!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact :is(.video-inspector-body h3,.video-inspector-body strong){color:#ededee!important;font-weight:500!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout .controls #pv-video-prompt-box textarea#prompt{font-size:14px!important;font-weight:400!important;line-height:1.5!important;color:#ededee!important}
html body #app.video-studio-active #prompt::placeholder{color:#9d9fa1!important;opacity:1}
@media(min-width:821px){
 html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout .controls-body{flex:1 1 0!important;min-height:0!important;overflow-y:auto!important;padding-bottom:8px!important}
 html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact #pv-video-prompt-box{flex:1 0 auto!important}
 html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout .controls #pv-video-prompt-box textarea#prompt{flex:1 0 auto!important;max-height:none!important}
}
@media(max-width:820px){
 html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout .controls #pv-video-prompt-box textarea#prompt{font-size:16px!important}
}

html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact :is(#reference-drop>span:after,#reference-mode #scene-video-open>span){font-size:clamp(11px,.75vw,13px)!important;font-weight:500!important}

/* One calm, rounded action with the server-quoted cost in the same line. */
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout #generate{
 display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;
 padding:0 20px!important;border-radius:16px!important;border:0!important;
 background:#fff!important;color:#181b20!important;box-shadow:none!important;
 font:600 14px/1 'DM Sans',Arial,sans-serif!important;letter-spacing:0!important;
 transition:background .16s ease,transform .16s ease!important;
}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout #generate:disabled{color:#8b8d91!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout #generate:hover:not(:disabled){background:#e7e8e9!important;box-shadow:none!important}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout #generate:active:not(:disabled){transform:translateY(1px)}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout #generate::before{
 content:'';display:block;width:15px;height:15px;flex:0 0 15px;background:currentColor;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 21 12 12 21 3 12Z' fill='none' stroke='black' stroke-width='1.6'/%3E%3Cpath d='m12 7 5 5-5 5-5-5Z' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
 order:1;
}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout #generate::after{
 content:attr(data-credits)!important;position:static!important;width:auto!important;height:auto!important;
 transform:none!important;mask:none!important;background:none!important;order:2;
 font-size:13px!important;font-weight:500!important;
}

html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout #generate.is-input-action::before{
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Video Generate: no decorative mark, quiet secondary credit price. */
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout #generate::before,
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout #generate.is-input-action::before{
  content:none!important;display:none!important;mask:none!important;
}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout #generate{
  gap:8px!important;
}
html body #app.video-studio-active.pv-video-approved-ready.pv-video-state-ready.pv-video-compact .workspace.video-layout #generate::after{
  font-size:12px!important;font-weight:350!important;opacity:.68!important;letter-spacing:.01em!important;
}
/* Progress counts actual finished private reference uploads, never the costed video job. */
#app.video-studio-active #reference-upload-meter{
  grid-column:1/-1;width:100%;height:3px;margin:0;border:0;
  border-radius:4px;background:#303137;accent-color:#c6c6ca;
}
#app.video-studio-active #reference-upload-meter[hidden]{display:none!important}
#app.video-studio-active #reference-upload-meter::-webkit-progress-bar{background:#303137}
#app.video-studio-active #reference-upload-meter::-webkit-progress-value{background:#d5d5d7}
#app.video-studio-active #reference-upload-meter::-moz-progress-bar{background:#d5d5d7}
#app.video-studio-active #reference-progress[data-upload-state="error"]{color:#e4aca6}
#app.video-studio-active #reference-list .pv-ref-upload-state{
  font:400 10px/1.3 'DM Sans',Arial,sans-serif;color:#a8aab0;
}
#app.video-studio-active #reference-list .pv-ref-upload-state.is-ready{color:#b7bdba}
#app.video-studio-active #reference-list .pv-ref-upload-state.is-error{color:#e4aca6}
#app.video-studio-active #reference-list .pv-ref-upload-retry{
  border:1px solid #7a6767;border-radius:6px;background:transparent;
  color:#f3cbc6;font:500 10px/1.2 'DM Sans',Arial,sans-serif;
  padding:5px 7px;cursor:pointer;
}
#app.video-studio-active #reference-list .pv-ref-upload-retry:hover{border-color:#e4aca6}
#app.video-studio-active #reference-list .pv-ref-upload-retry:focus-visible{outline:2px solid #fff;outline-offset:2px}
