.studio-layout{max-width:1520px;margin:auto;padding:clamp(14px,3vw,34px);display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.studio-heading h1{margin:.22rem 0 .6rem;letter-spacing:-.045em}
.studio-heading p{color:var(--muted);margin:.4rem 0}
#studio-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:15px}
.studio-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,340px);gap:15px;align-items:start}
.studio-monitor{min-width:0}
.monitor-header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;font-size:.88rem;color:var(--muted)}
.monitor-header strong{color:var(--ink)}
.monitor-stage{width:100%;height:min(60vh,570px);min-height:260px;background:var(--bg);border-radius:12px;display:flex;justify-content:center;align-items:center;overflow:hidden}
#studio-canvas{object-fit:contain;max-width:100%;max-height:100%;width:auto;height:100%;background:var(--bg)}
#studio-canvas:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}
.studio-actions{display:flex;flex-wrap:wrap;align-items:end;gap:8px;margin:.65rem 0}
.studio-actions label,.studio-control>label{font-size:.84rem}
.studio-actions label,.studio-control label{display:grid;gap:3px}
.studio-layout select{font:inherit;min-height:44px;color:var(--ink);background:var(--bg);border:1px solid var(--surface-interactive);border-radius:12px;padding:.6rem}
.studio-control>label select{width:100%}
.studio-control .studio-coordinates{display:grid;gap:8px}
.studio-coordinates fieldset{min-width:0;border:1px solid var(--border);border-radius:8px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px}
.studio-coordinates input{width:100%}
.studio-control label,.studio-coordinates legend{font-size:.82rem}
.studio-layout .insights th,.studio-layout .insights td{white-space:normal;min-width:96px;overflow-wrap:anywhere}
.studio-layout .insights td{vertical-align:top}
.studio-layout .insights table{width:max-content;min-width:100%}
.studio-layout .insights td.record-text{max-width:400px;min-width:210px}
#studio-credential{white-space:pre-wrap;overflow-wrap:anywhere}
.operator-row{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:.5rem 0}
.studio-control>label,.studio-control details{margin-top:12px}
.studio-layout [type=checkbox]{width:1.1rem;min-height:0;height:1.1rem;accent-color:var(--gold)}
.studio-layout textarea{width:100%;min-height:6rem;resize:vertical;color:var(--ink);background:var(--bg);border:1px solid var(--surface-interactive);border-radius:12px;padding:.65rem;font:inherit}
.studio-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr));gap:14px;margin:.6rem 0}
.studio-options,.studio-options>label{display:grid;gap:.4rem;min-width:0}
.studio-options>label.studio-check,.studio-list .studio-check{display:flex;align-items:center;gap:.48rem}
.studio-list{margin:.5rem 0;padding:0;list-style:none}
.studio-list li{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center;padding:.55rem 0;border-bottom:1px solid var(--border)}
.studio-list li>span,.studio-list li>label{flex:1;min-width:8rem;overflow-wrap:anywhere}
.studio-list button{min-height:36px;padding:.42rem .65rem}
.monitor-cue{color:var(--muted);min-height:1.2em;font-size:.85rem}
.studio-shot-settings .status{margin:.1rem 0}
#shot-duration{max-width:9rem}
#studio-canvas{touch-action:none}
#route-controls,#focus-controls{margin-top:12px}
#focus-controls>label{margin-top:8px}
.sequence-name{min-width:10rem}
.sequence-duration{width:6.5rem}
.studio-list select{min-height:36px;font-size:.85rem}
#direct-download,#batch-direct{margin-left:.4rem}
@media(max-width:750px){.studio-grid{grid-template-columns:minmax(0,1fr)}.monitor-stage{height:47svh}}
