.video-workspace { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(340px,1fr); gap:28px; align-items:start; }
.video-review { min-width:0; position:sticky; top:20px; }
.video-player { aspect-ratio:16/9; display:grid; place-items:center; background:#080b12; border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.video-player > video { width:100%; height:100%; max-height:65vh; object-fit:contain; }
.video-take-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:12px 0; }
.video-take-actions > span { flex-basis:100%; color:var(--muted); font-size:13px; }
.video-takes { display:flex; gap:10px; overflow-x:auto; padding:4px 2px 14px; }
.video-take { flex:0 0 132px; padding:4px; border:1px solid var(--line); border-radius:8px; background:var(--panel); color:var(--text); text-align:left; }
.video-take.selected { border-color:#bdb9fc; outline:1px solid #bdb9fc; }
.video-take video { width:100%; aspect-ratio:16/9; object-fit:contain; pointer-events:none; }
.video-take span { display:block; padding:7px 4px; font-size:12px; }
.video-direction { display:flex; flex-direction:column; gap:20px; min-width:0; }
.video-direction .field { display:flex; flex-direction:column; gap:8px; margin:0; }
.video-direction textarea, .video-direction select { width:100%; box-sizing:border-box; color:var(--text); background:#141821; border:1px solid var(--line); border-radius:8px; padding:10px; font:inherit; }
.video-camera { display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between; font-size:13px; }
.video-object-list { display:flex; flex-direction:column; gap:10px; }
.video-object { display:grid; grid-template-columns:68px minmax(0,1fr) auto; gap:12px; align-items:center; padding:10px 0; border-bottom:1px solid var(--line); }
.video-object > div:first-child { width:68px; min-height:68px; background:#10131d; border-radius:8px; overflow:hidden; }
.video-object img { width:68px; height:80px; object-fit:contain; display:block; }
.video-object strong, .video-object .caption { display:block; margin-bottom:5px; }
.video-object label { font-size:12px; }
.video-image-arrows { display:flex; flex-direction:column; align-items:center; gap:4px; font-size:12px; }
.video-image-arrows .button { min-width:32px; padding:5px 9px; }
.video-sending { padding-top:16px; font-size:13px; }
.video-sending > div { display:flex; flex-wrap:wrap; gap:8px; margin:10px 0; }
.video-reference-chip { position:relative; border:1px solid #bdb9fc; background:#141821; border-radius:8px; padding:3px; }
.video-reference-chip img { width:52px; height:56px; object-fit:contain; display:block; }
.video-reference-chip span { position:absolute; top:0; right:0; background:#111827; color:white; border-radius:50%; padding:0 4px; }
.video-setting-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:14px 0; }
.video-generate-actions { display:flex; gap:10px; }
.video-generate-actions .button { flex:1; min-height:44px; }
.video-scene-script { white-space:pre-wrap; line-height:1.6; }
.video-object-choice { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); }
.video-object-choice small { display:block; color:var(--muted); }
.video-review > details { margin-top:16px; }
@media(max-width:1000px) { .video-workspace { grid-template-columns:1fr; } .video-review { position:static; } }
@media(max-width:480px) { .video-setting-grid { grid-template-columns:1fr; } .video-generate-actions { flex-direction:column; } }

.video-direction-fields { border:0; padding:0; margin:0; min-width:0; display:flex; flex-direction:column; gap:20px; }
.video-studio [hidden] { display:none; }

.video-take.final-take span { color: #bdb9fc; font-weight: 600; }
.video-take.final-take { box-shadow: inset 0 -3px #bdb9fc; }
