.film-desk,.film-steps,.film-sequence,.film-ab,.film-post,.film-reference-grid,.film-director-identity{margin:1.5rem 0;padding:1.2rem;border:1px solid var(--line,#cfc8bb);border-radius:10px;background:var(--card,#faf7f1)}
.film-director-identity{overflow-wrap:anywhere;min-width:0}.film-director-identity .button{border:0;cursor:pointer}.film-director-identity .button:disabled{opacity:.6;cursor:wait}.film-director-identity select{max-width:100%}
.film-columns{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:1.5rem;align-items:start}
.film-columns article,.film-sequence-strip article{min-width:0}
.film-desk video,.film-ab video,.film-sequence video{display:block;width:100%;max-height:420px;aspect-ratio:16/9;background:#1d2928;border-radius:6px;object-fit:contain}
.film-empty,.film-gap{display:grid;place-content:center;min-height:180px;padding:1rem;background:repeating-linear-gradient(135deg,#eae4d8,#eae4d8 12px,#efeade 12px,#efeade 24px);border:1px dashed #b3a38b;border-radius:6px;color:#534936}
.film-gap{min-height:110px;font-size:.85rem}
.film-desk code,.film-assets code,.film-ab code{overflow-wrap:anywhere;white-space:normal;font-size:.8rem}
.film-assets{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-top:1rem}
.film-asset{padding:.8rem;background:#fffaf0;border:1px solid #d4cec2;border-radius:8px;min-width:0}
.film-asset img,.film-asset-placeholder{width:100%;height:140px;object-fit:contain;background:#eee8dd;margin-bottom:.5rem}
.film-asset-placeholder{display:grid;place-content:center;color:#766548}
.film-sequence-strip{display:flex;gap:1rem;overflow:auto;padding-bottom:.8rem;scroll-snap-type:x proximity}
.film-sequence-strip article{flex:0 0 260px;border-left:3px solid #927857;padding:1rem;scroll-snap-align:start;background:#f1ece1}
.film-scope-note{padding:1rem;border-left:3px solid #927857;background:#f1ece1}
.film-ab select{width:100%;margin-bottom:1rem}
.film-steps ol{display:flex;flex-wrap:wrap;gap:1rem 2rem;padding-left:1.5rem}
@media(max-width:760px){.film-columns{grid-template-columns:minmax(0,1fr)}.film-desk,.film-steps,.film-sequence{padding:.8rem}.film-assets{grid-template-columns:repeat(auto-fit,minmax(135px,1fr))}.film-sequence-strip article{flex-basis:230px}}
.film-post-execution form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:18px 0; }
.film-post-execution label { display:grid; gap:6px; min-width:0; }
.film-post-execution textarea,.film-post-execution select,.film-post-execution input { width:100%; box-sizing:border-box; }
.film-post-execution fieldset { min-width:0; }
.film-post-execution .post-confirm { display:flex; align-items:flex-start; grid-column:1/-1; }
.film-post-execution .post-confirm input { width:auto; }
.post-actions { display:flex; gap:12px; grid-column:1/-1; flex-wrap:wrap; }
.post-output-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.post-output-list video,.post-output-list audio { width:100%; }
.post-output-list .post-color-output { grid-column:1/-1; }
.post-color-output .film-columns { grid-template-columns:repeat(2,minmax(0,1fr)); }
.post-color-output figure { margin:0; min-width:0; }
.post-color-output figcaption { margin-bottom:8px; }
@media(max-width:650px) { .post-color-output .film-columns { grid-template-columns:1fr; } }
@media(max-width:650px) { .film-post-execution form,.post-output-list { grid-template-columns:1fr; } }
