/* PV LAB | Video Editorial Deck 2026.10.17
 * Visual-only layer around the production Video controls. Existing ids, handlers,
 * provider capabilities, previews, pricing, privacy and History stay authoritative.
 * No neon competitor colors and no decorative fake previews. */
#app.video-studio-active{
  --pv-video-graphite:#15171b;
  --pv-video-surface:#202228;
  --pv-video-raised:#292c32;
  --pv-video-line:#363940;
  --pv-video-ink:#f0f0ef;
  --pv-video-muted:#a9adb6;
}
/* Each desktop side panel stops at its own edges, including the prompt. */
@media(min-width:821px){
  #app.video-studio-active .workspace.video-layout>.controls,
  #app.video-studio-active .workspace.video-layout .controls-body,
  #app.video-studio-active .controls textarea,
  #app.video-studio-active #video-inspector,
  #app.video-studio-active .video-inspector-body,
  #app.video-studio-active .pv-video-create-inspector{
    overscroll-behavior-y:contain;
  }
}
@media(min-width:1161px){
  #app.video-studio-active>.workspace.video-layout{
    grid-template-columns:clamp(344px,27vw,406px) minmax(0,1fr) 235px;
    gap:11px;
  }
}
@media(min-width:1161px) and (max-width:1279px){
  #app.video-studio-active>.workspace.video-layout{grid-template-columns:337px minmax(0,1fr) 215px}
}
#app.video-studio-active .workspace.video-layout>.controls{
  border:1px solid #34363b;
  border-radius:16px;
  background:linear-gradient(160deg,#181a1e,#131518 55%);
  box-shadow:0 13px 34px #00000014;
}
#app.video-studio-active .workspace.video-layout .controls-body{
  padding:15px 15px 14px;gap:11px;
  scrollbar-width:thin;scrollbar-color:#42454b transparent;
}
#app.video-studio-active .controls-body>.mode{
  font-size:16px;font-weight:650;letter-spacing:-.028em;
  color:var(--pv-video-ink);margin-bottom:0;
}
#app.video-studio-active #video-model-control{
  order:1;position:relative;isolation:isolate;
  min-height:128px;display:flex;flex-direction:column;
  justify-content:flex-end;padding:15px!important;
  border:1px solid #383a40!important;border-radius:13px!important;
  box-shadow:inset 0 0 0 1px #ffffff08,inset 0 -65px 70px #0007;
  overflow:visible;
}
#app.video-studio-active #video-model-control:before{
  content:"MODEL";position:absolute;top:13px;left:15px;
  color:#e8e8e8;font:650 10px/1.2 'DM Sans',Arial,sans-serif;
  letter-spacing:.105em;text-shadow:0 1px 3px #000c;pointer-events:none;
}
#app.video-studio-active #video-model-control .video-model-kicker{
  display:none!important;
}
#app.video-studio-active #video-model-control .pv-video-model-trigger{
  position:relative;display:flex;align-items:center;justify-content:space-between;
  width:100%;min-height:43px;height:auto;
  margin:0;padding:7px 10px 7px 11px;border:1px solid #ffffff66!important;
  background:#0b0d10b0!important;border-radius:9px!important;
  box-shadow:0 5px 17px #0005;
  color:#f9f9fa;font-size:17px;font-weight:620;letter-spacing:-.025em;
  backdrop-filter:blur(9px);transition:border-color .18s,background .18s;
}
#app.video-studio-active #video-model-control .pv-video-model-trigger:hover,
#app.video-studio-active #video-model-control .pv-video-model-trigger[aria-expanded=true]{
  background:#24262cdd!important;border-color:#f0f0f0aa!important;
}
#app.video-studio-active #video-model-control .pv-video-model-trigger-name{
  font-size:17px;font-weight:620;color:#f4f4f5;text-overflow:ellipsis;
  overflow:hidden;white-space:nowrap;
}
#app.video-studio-active #video-task-switch{
  order:2;display:flex;gap:5px;padding:4px;
  background:#1c1e23;border:1px solid #32343a;border-radius:11px;
}
#app.video-studio-active #video-task-switch button{
  flex:1;min-height:39px;font-size:13px;font-weight:650;
  border-radius:8px;border:1px solid transparent;
  background:transparent;color:#abb0b8;
  transition:background .16s,border-color .16s,color .16s;
}
#app.video-studio-active #video-task-switch button[aria-selected=true]{
  background:#30333a;border-color:#494c54;color:#f8f8fa;
  box-shadow:0 1px 5px #0003;
}
#app.video-studio-active #video-modes{
  order:3;display:flex;gap:7px;margin:1px 0 0;padding:0 0 5px;border-bottom:1px solid #34363d;
}
#app.video-studio-active #video-modes .mode-tab{
  min-height:35px;font-size:12.5px;font-weight:600;
  border:1px solid transparent!important;border-radius:8px;color:#aaadb6;
  background:#1e2025;padding:9px 5px;
}
#app.video-studio-active #video-modes .mode-tab[aria-selected=true]{
  background:#34363e;color:#f6f6f7;
  border-color:#5a5d65!important;box-shadow:inset 0 1px #ffffff0d;
}
#app.video-studio-active #start-mode,
#app.video-studio-active #reference-mode{order:4;margin:0}
#app.video-studio-active #start-mode .frame-pair{
  display:grid;grid-template-columns:minmax(0,1fr);gap:10px;
}
#app.video-studio-active #start-mode .upload-block:first-child{
  background:#1c1e23;border:1px solid #3a3d44;border-radius:12px;
  padding:12px;box-shadow:inset 0 1px #ffffff06;
}
#app.video-studio-active #start-mode .upload-heading{
  display:flex;align-items:center;justify-content:space-between;
  margin:0 0 10px;
}
#app.video-studio-active #start-mode .upload-heading .label{
  margin:0;color:#f4f4f5;font-size:13px;font-weight:650;
}
#app.video-studio-active #start-mode .upload-heading .micro{
  color:#9fa4af;font-size:10px;letter-spacing:0;
}
#app.video-studio-active #start-mode .filemeta{display:none}
#app.video-studio-active #drop{
  display:flex;position:relative;align-items:center;justify-content:center;
  flex-direction:column;gap:8px;min-height:145px;height:145px;
  padding:12px;border-radius:11px;
  border:1px dashed #626670;
  background:radial-gradient(ellipse at 50% 30%,#36383f,#22242a 70%);
  cursor:pointer;transition:border-color .18s,filter .18s,background .18s;
}
#app.video-studio-active #drop:hover,#app.video-studio-active #last-drop:hover{
  border-color:#c6c8cf;background-color:#31343b;
}
#app.video-studio-active #drop:before{
  content:"+";display:grid;place-items:center;
  width:38px;height:38px;border-radius:11px;border:1px solid #777a85;
  background:#34373dc9;color:#f6f6f7;font-size:27px;font-weight:300;
  margin:0;line-height:1;
}
#app.video-studio-active #drop .video-frame-label{
  font-size:14px;font-weight:650;color:#f7f7f8;
}
#app.video-studio-active #drop>span:not(.video-frame-label){
  display:block!important;font-size:11px;color:#a5a9b3;
}
#app.video-studio-active #drop>small{display:none}
#app.video-studio-active #drop .video-frame-thumb:not([hidden]){
  display:block;position:absolute;inset:0;padding:0;
  width:100%;height:100%;object-fit:contain;background:#101113;
  border-radius:10px;
}
#app.video-studio-active #drop.has-frame:before,
#app.video-studio-active #drop.has-frame>span:not(.video-frame-label){display:none!important}
#app.video-studio-active #drop.has-frame .video-frame-label{
  display:block;z-index:1;position:absolute;bottom:10px;left:10px;
  padding:6px 9px;background:#101216d9;border-radius:7px;
  font-size:12px;color:#f9f9f9;
}
#app.video-studio-active #last-upload:not([hidden]){
  display:grid;grid-template-columns:minmax(0,1fr) 114px;
  grid-template-rows:1fr;align-items:center;gap:10px;
  min-height:80px;padding:10px 11px;border-radius:11px;
  background:#1c1e22;border:1px solid #3a3d44;
}
#app.video-studio-active #last-upload .upload-heading{
  display:flex;align-items:flex-start;flex-direction:column;
  justify-content:center;gap:2px;margin:0;
}
#app.video-studio-active #last-drop{
  position:relative;display:flex;align-items:center;justify-content:center;gap:3px;
  padding:5px;height:59px;min-height:59px;
  border-radius:9px;border:1px dashed #5a5e68;
  background:#292c32;cursor:pointer;
}
#app.video-studio-active #last-drop:before{
  content:"+";font-size:23px;color:#c9cbd2;line-height:1;margin:0;
}
#app.video-studio-active #last-drop:after{display:none}
#app.video-studio-active #last-drop .video-frame-label{
  display:block;font-size:10px;line-height:1.1;color:#b5b8c1;
}
#app.video-studio-active #last-drop>span:not(.video-frame-label),
#app.video-studio-active #last-drop>small{display:none}
#app.video-studio-active #last-drop .video-frame-thumb:not([hidden]){
  position:absolute;inset:0;width:100%;height:100%;
  display:block;object-fit:contain;padding:0;background:#121317;border-radius:8px;
}
#app.video-studio-active #last-drop.has-frame:before,
#app.video-studio-active #last-drop.has-frame .video-frame-label{display:none}
/* References: two clear entry actions and the real selected thumbnails. */
#app.video-studio-active #reference-mode:not([hidden]){
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:9px;row-gap:9px;padding:11px!important;margin:0;
  border:1px solid #383a42;border-radius:13px;
  background:linear-gradient(180deg,#1b1d21,#191b1f);
}
#app.video-studio-active #reference-mode>.upload-heading{
  grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;
  margin:0 0 2px;
}
#app.video-studio-active #reference-mode>.upload-heading .label{
  font-size:13px;color:#f1f1f2;font-weight:650;
}
#app.video-studio-active #reference-mode>.upload-heading .micro{
  font-size:11px;letter-spacing:0;color:#a4a8b1;
}
#app.video-studio-active #reference-drop{
  grid-column:1;display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  gap:6px;min-height:91px;padding:10px 7px!important;
  border:1px solid #41444d;border-radius:10px;background:#292b32!important;
  text-align:center;cursor:pointer;transition:background .16s,border-color .16s;
}
#app.video-studio-active #reference-drop:hover{
  background:#363941!important;border-color:#8c9099;
}
#app.video-studio-active #reference-drop:before{
  content:"+";display:grid;place-items:center;width:28px;height:28px;
  border:1px solid #62666f;border-radius:8px;
  color:#f6f6f7;font:300 23px/1 'DM Sans',Arial,sans-serif;
}
#app.video-studio-active #reference-drop>span{
  display:block!important;font-size:0!important;line-height:1;
}
#app.video-studio-active #reference-drop>span:after{
  content:"Add images";display:block;font:650 13px/1.25 'DM Sans',Arial,sans-serif;
  color:#f1f1f3;
}
#app.video-studio-active #reference-drop>small{
  display:block;font-size:10px;color:#a9adb5;line-height:1.3;max-height:16px;
  overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%;
}
#app.video-studio-active #reference-mode>.scene-video-access{
  grid-column:2;display:flex;min-width:0;min-height:91px;
  margin:0;padding:0;border:1px solid #41444d;border-radius:10px;
  background:#292b32;overflow:hidden;
  transition:background .16s,border-color .16s;
}
#app.video-studio-active #reference-mode>.scene-video-access:hover{
  background:#363941;border-color:#8c9099;
}
#app.video-studio-active .scene-video-access>span{display:none}
#app.video-studio-active .scene-video-access>button{
  display:flex;align-items:center;justify-content:center;flex-direction:column;
  flex:1;gap:7px;width:100%;height:100%;min-height:90px;min-width:0;
  border:0;background:transparent;padding:9px 7px;border-radius:9px;
  color:#f3f3f4;font-size:13px;font-weight:650;
  white-space:normal;text-align:center;line-height:1.25;
}
#app.video-studio-active .scene-video-access>button:before{
  content:"▦";font-size:25px;font-weight:300;line-height:1.05;color:#dbdde1;
}
#app.video-studio-active #scene-video-selected,
#app.video-studio-active #reference-progress,
#app.video-studio-active #reference-list,
#app.video-studio-active #reference-media,
#app.video-studio-active #video-motion-toggle,
#app.video-studio-active #reference-guidance,
#app.video-studio-active #start-frame-maker,
#app.video-studio-active #reference-mode>.pack-bar,
#app.video-studio-active #reference-mode>.fine{grid-column:1/-1;min-width:0}
#app.video-studio-active #scene-video-selected{padding:0 0 3px;gap:5px}
#app.video-studio-active #scene-video-selected>small{font-size:11px;color:#a9a9b0}
#app.video-studio-active #scene-video-selected .scene-attached-chip{
  font-size:11px;border-radius:7px;background:#31343a;
}
#app.video-studio-active #reference-progress:empty{display:none}
#app.video-studio-active #reference-progress:not(:empty){margin:0;font-size:11px;color:#adb1b9}
#app.video-studio-active #reference-list{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;max-height:300px;overflow-y:auto;overflow-x:hidden;
  margin:0;padding:0;scrollbar-width:thin;
}
#app.video-studio-active #reference-list:empty{display:none}
#app.video-studio-active #reference-list .reference-item{
  display:flex;flex-direction:column;position:relative;
  width:auto;min-width:0;max-width:none;margin:0;padding:5px;
  border:1px solid #393c43;border-radius:10px;
  background:#26282e;gap:4px;overflow:visible;
}
#app.video-studio-active #reference-list .reference-item>img{
  width:100%;height:79px;min-height:79px;object-fit:cover;
  border:0;border-radius:7px;display:block;
}
#app.video-studio-active #reference-list .reference-fields{
  display:block!important;width:100%;min-width:0;margin:0;
}
#app.video-studio-active #reference-list .reference-fields>strong{display:none!important}
#app.video-studio-active #reference-list .reference-fields>select{
  display:block!important;width:100%;min-width:0;margin:0;padding:3px 2px;
  min-height:25px;height:25px;border:0;border-radius:5px;
  background:#303239;color:#e0e0e2;font-size:10px;
  text-overflow:ellipsis;cursor:pointer;
}
#app.video-studio-active #reference-list .reference-fields>input{display:none}
#app.video-studio-active #reference-list .reference-item:focus-within .reference-fields>input{
  display:block;width:100%;margin-top:5px;min-height:30px;
  padding:5px;background:#212329;border-radius:6px;font-size:11px;
}
#app.video-studio-active #reference-list .reference-actions{
  position:absolute;right:9px;top:9px;display:flex;
  gap:4px;width:auto;margin:0;padding:0;
}
#app.video-studio-active #reference-list .reference-actions button{
  display:grid;place-items:center;width:25px;height:25px;min-width:25px;
  padding:0;background:#15171bdc;border:1px solid #ddd5;
  color:transparent;font-size:0;border-radius:7px;
}
#app.video-studio-active #reference-list .reference-actions button:first-child:before{
  content:"↑";font-size:14px;color:#fff;
}
#app.video-studio-active #reference-list .reference-actions button:last-child:before{
  content:"×";font-size:19px;color:#fff;
}
#app.video-studio-active #reference-list .reference-actions button:hover{background:#3b3d46}
#app.video-studio-active.pv-video-deck-ready #video-motion-toggle{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  min-height:42px;width:100%;padding:10px 12px;border:1px solid #393c43;
  background:#24262c;border-radius:9px;color:#dedfe3;
  font-size:12.5px;font-weight:620;text-align:left;
}
#app.video-studio-active #video-motion-toggle:hover{
  border-color:#5d616a;background:#2d3037;
}
#app.video-studio-active #video-motion-toggle .pv-motion-chevron{
  flex:none;width:16px;height:16px;transition:transform .18s;
}
#app.video-studio-active #video-motion-toggle[aria-expanded=true] .pv-motion-chevron{transform:rotate(180deg)}
#app.video-studio-active.pv-video-deck-ready #reference-mode #reference-media:not([hidden]){display:none}
#app.video-studio-active.pv-video-deck-ready #reference-mode[data-pv-motion-open=true] #reference-media:not([hidden]){
  display:block;padding:10px 8px;border:1px solid #34373d;
  border-radius:9px;background:#1d1f24;
}
#app.video-studio-active #reference-mode:has(#reference-media[hidden]) #video-motion-toggle{display:none!important}
#app.video-studio-active #reference-mode #reference-media .upload-heading .label{
  font-size:12px;color:#d2d4d8;
}
#app.video-studio-active #reference-mode #reference-media .drop{
  min-height:58px;border:1px dashed #51555f;border-radius:9px;
  background:#292c33;font-size:12px;
}
#app.video-studio-active #reference-mode #reference-media .drop small{font-size:10px}
#app.video-studio-active #reference-help,
#app.video-studio-active #reference-mode>.pack-bar,
#app.video-studio-active #reference-media>p.fine{display:none!important}
#app.video-studio-active #reference-mode #start-frame-maker{
  padding-top:5px;border:0;background:transparent;
}
#app.video-studio-active #reference-mode #start-frame-maker p.fine{font-size:11px}
#app.video-studio-active #reference-mode #start-frame-maker button{
  min-height:38px;font-size:12px;border-radius:8px;
}
/* Extend: the original single video input is mandatory and must never be collapsed. */
#app.video-studio-active.video-extend-active #reference-mode:not([hidden]){
  display:block;padding:11px!important;
}
#app.video-studio-active.video-extend-active #video-motion-toggle{display:none!important}
#app.video-studio-active.video-extend-active #reference-mode #reference-media:not([hidden]){
  display:block!important;padding:0;border:0;background:transparent;
}
#app.video-studio-active.video-extend-active #reference-mode #video-media-drop{
  min-height:112px!important;border:1px dashed #5f626c;
  border-radius:10px;background:#262830;
}
#app.video-studio-active.video-extend-active #extend-help{
  font-size:12px;line-height:1.5;margin:0 0 8px;color:#afb2bb;
}
/* The prompt and actual backend-controlled options: larger, calmer and grouped. */
#app.video-studio-active #prompt-label{
  order:5;margin:1px 0 -6px;color:#d4d5d9;
  font-size:13px;font-weight:650;letter-spacing:0;
}
#app.video-studio-active .workspace.video-layout .controls textarea#prompt{
  order:6;min-height:140px;height:140px;max-height:400px;
  margin:0;padding:13px 14px;border-radius:11px;
  border:1px solid #3d4048;background:#202228;
  color:#f5f5f6;font-size:14px;line-height:1.6;
}
#app.video-studio-active .workspace.video-layout .controls textarea#prompt::placeholder{color:#a0a4ae}
#app.video-studio-active .workspace.video-layout .controls textarea#prompt:focus{
  outline:none;border-color:#afb3bb;box-shadow:0 0 0 2px #c7cad41a;
}
#pv-video-output-toggle{display:none}
#app.video-studio-active.pv-video-deck-ready #pv-video-output-toggle{
  order:7;display:flex;align-items:center;justify-content:space-between;
  width:100%;min-height:39px;margin:0;padding:9px 11px;
  background:#202229;border:1px solid #383b43;border-radius:10px;
  color:#ededef;font:620 12.5px 'DM Sans',Arial,sans-serif;
}
#app.video-studio-active #pv-video-output-toggle:hover{background:#2a2d33;border-color:#676b74}
#app.video-studio-active #pv-video-output-toggle .pv-output-left{display:flex;align-items:center;gap:9px}
#app.video-studio-active #pv-video-output-toggle svg{height:17px;width:17px;flex:none;stroke:currentColor;fill:none;stroke-width:1.6}
#app.video-studio-active #pv-video-output-toggle .pv-output-right{display:flex;align-items:center;gap:6px}
#app.video-studio-active #pv-video-output-toggle .pv-output-summary{
  font-size:11px;font-weight:450;color:#b5b7be;white-space:nowrap;max-width:190px;
  overflow:hidden;text-overflow:ellipsis;
}
#app.video-studio-active #pv-video-output-toggle[aria-expanded=true] .pv-output-summary{display:none}
#app.video-studio-active #pv-video-output-toggle .pv-output-chevron{transition:transform .18s}
#app.video-studio-active #pv-video-output-toggle[aria-expanded=true] .pv-output-chevron{transform:rotate(180deg)}
#app.video-studio-active .controls-body>.parameter-grid{
  order:8;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;margin:0;
}
#app.video-studio-active .controls-body>.parameter-grid>label:not([hidden]){
  width:100%;min-width:0;margin:0;
  display:flex;flex-direction:column;justify-content:center;
  padding:7px 9px;min-height:57px;border:1px solid #383b43;
  border-radius:9px;background:#202228;
}
#app.video-studio-active .controls-body>.parameter-grid .label{
  color:#abaeb6;margin:0 0 4px;font-size:10.5px;font-weight:500;
}
#app.video-studio-active .controls-body>.parameter-grid select{
  font-size:12.5px!important;font-weight:650;color:#f1f1f2;
  min-height:26px;max-width:100%;border:none;background:transparent;padding:0;
}
#app.video-studio-active #video-utilities{
  order:9;display:flex;align-items:center;flex-wrap:wrap;
  justify-content:space-between;gap:8px;margin:0;padding:2px 0 3px;border:0;
}
#app.video-studio-active #video-utilities .switch-row{
  margin:0;padding:0;background:transparent;min-height:28px;
}
#app.video-studio-active #video-utilities .switch-row strong{font-size:12px;font-weight:600}
#app.video-studio-active #video-utilities .seed-settings{margin:0}
#app.video-studio-active #video-utilities .seed-settings summary{font-size:12px;color:#a9acb5}
#app.video-studio-active .controls-body.pv-video-output-collapsed>.parameter-grid,
#app.video-studio-active .controls-body.pv-video-output-collapsed>#video-utilities{display:none!important}
#app.video-studio-active .workspace.video-layout .generate-zone{
  padding:11px 15px 12px;border-top:1px solid #383a40;
  background:#17191c;
}
#app.video-studio-active .workspace.video-layout #generate{
  min-height:49px;height:49px;border-radius:10px;
  border:1px solid #e8e9e9!important;background:#e8e9e9!important;
  color:#17191b!important;font:700 14px 'DM Sans',Arial,sans-serif!important;
  box-shadow:inset 0 1px #ffffff92,0 2px 12px #0005;
  transition:background .16s,box-shadow .16s,border-color .16s;
}
#app.video-studio-active .workspace.video-layout #generate:not(:disabled):hover{
  border-color:#fff!important;background:#fafafa!important;
  box-shadow:inset 0 1px #ffffff,0 5px 16px #0005;
}
#app.video-studio-active .workspace.video-layout #generate:disabled{
  border-color:#3b3d43!important;background:#303238!important;
  color:#8e929a!important;box-shadow:none;
}
#app.video-studio-active #save{font-size:11px;margin:5px auto 0}
#app.video-studio-active .video-feed-center>.stage,
#app.video-studio-active .workspace.video-layout>.video-inspector{
  border-color:#34363c;border-radius:15px;
}
#app.video-studio-active .video-feed-center .canvas{
  background:#0d0e10;
}
#app.video-studio-active .video-feed-center .canvas #empty{
  background:radial-gradient(ellipse at 50% 47%,#202126 0%,#17191d 55%,transparent 80%);
}
#app.video-studio-active .video-feed-center .empty-title{
  font-size:27px;font-weight:650;letter-spacing:-.035em;
}
#app.video-studio-active .video-feed-center .empty-description{
  font-size:13px;line-height:1.6;color:#a3a6b0;
}
#app.video-studio-active .video-inspector-heading{
  font-size:13px;font-weight:650;
}
#app.video-studio-active .video-detail-prompt{
  color:#c0c2cb;font-size:13px;line-height:1.65;overflow-wrap:anywhere;
}
#app.video-studio-active .video-inspector-body .video-detail-prompt:before{
  content:"PROMPT";display:block;color:#92959f;
  font-size:10px;font-weight:650;letter-spacing:.07em;margin-bottom:8px;
}
#app.video-studio-active .video-inspector-body .video-detail-data:before{
  content:"SETTINGS";display:block;width:100%;color:#92959f;
  font-size:10px;font-weight:650;letter-spacing:.07em;margin:0 0 3px;
}
#app.video-studio-active .video-inspector-actions #video-detail-reuse{
  background:#e7e8e8;border-color:#e7e8e8;color:#1b1d1e;
}
#app.video-studio-active .video-inspector-actions #video-detail-reuse:hover{
  background:#fff;border-color:#fff;
}
#app.video-studio-active .workspace.video-layout button:focus-visible,
#app.video-studio-active .workspace.video-layout label.drop:focus-within{
  outline:2px solid #cfd1d4;outline-offset:2px;
}
@media(max-width:1160px){
 #app.video-studio-active>.workspace.video-layout{grid-template-columns: minmax(300px,360px) minmax(0,1fr)}
}
@media(max-width:820px){
 #app.video-studio-active .workspace.video-layout .controls-body{padding:16px 15px;gap:11px}
 #app.video-studio-active #reference-list .reference-item>img{height:77px;min-height:77px}
 #app.video-studio-active .video-feed-center .canvas{min-height:290px}
}
@media(max-width:440px){
 #app.video-studio-active #video-model-control{min-height:112px}
 #app.video-studio-active .controls-body>.parameter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #app.video-studio-active #reference-list .reference-item>img{height:72px;min-height:72px}
 #app.video-studio-active .scene-video-access>button{font-size:12px}
}
/* Display only the user's actual attached reference thumbnails in the empty stage.
 * This is not an output preview and does not submit a generation. */
#pv-video-reference-preview[hidden]{display:none!important}
#app.video-studio-active .pv-video-reference-preview{
  display:block;position:relative;flex:0 0 auto;
  width:min(320px,90%);height:148px;margin:0 auto 22px;
  pointer-events:none;
}
#app.video-studio-active .video-feed-center .canvas .pv-video-reference-preview .pv-reference-preview-image{
  position:absolute;top:7px;left:50%;
  width:113px;height:130px;max-width:none;max-height:none;
  display:block;object-fit:cover;object-position:center;
  border-radius:11px;border:1px solid #767b8599;
  box-shadow:0 16px 35px #0008,0 0 0 1px #ffffff13;
  background:#22252a;filter:saturate(.75);
  transform:translateX(-50%);
}
#app.video-studio-active .pv-reference-preview-image.pv-reference-preview-0{
  z-index:2;transform:translateX(-50%) rotate(-1deg);
}
#app.video-studio-active .pv-reference-preview-image.pv-reference-preview-1{
  z-index:1;transform:translateX(-144%) rotate(-8deg) scale(.88);
  opacity:.87;
}
#app.video-studio-active .pv-reference-preview-image.pv-reference-preview-2{
  z-index:1;transform:translateX(44%) rotate(7deg) scale(.88);
  opacity:.87;
}
#app.video-studio-active .pv-video-reference-preview[data-count="2"] .pv-reference-preview-0{
  transform:translateX(-90%) rotate(-6deg);z-index:2;
}
#app.video-studio-active .pv-video-reference-preview[data-count="2"] .pv-reference-preview-1{
  transform:translateX(-10%) rotate(6deg);z-index:1;opacity:1;
}
#app.video-studio-active .pv-video-reference-preview[data-count="1"] .pv-reference-preview-0{
  transform:translateX(-50%) rotate(0deg);
}
@media(max-width:820px){
  #app.video-studio-active .pv-video-reference-preview{height:113px;margin-bottom:13px}
  #app.video-studio-active .video-feed-center .canvas .pv-video-reference-preview .pv-reference-preview-image{height:100px;width:90px}
}
@media(prefers-reduced-motion:reduce){
  #app.video-studio-active .pv-video-model-trigger,
  #app.video-studio-active .scene-video-access>button,
  #app.video-studio-active .pv-motion-chevron,
  #app.video-studio-active .pv-output-chevron{transition:none!important}
}
