@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');
:root{color-scheme:dark;--bg:#101214;--panel:#1a1d20;--border:#34383d;--muted:#919ba5;--text:#edf1f4;--red:#fb594f;--amber:#eec468;--green:#8ccea8;font-family:Inter,Arial,sans-serif;font-size:13px;color:var(--text);background:var(--bg)}
#invite-panel,#control-warning{gap:12px;flex-wrap:wrap;padding:12px;border:1px solid var(--border);margin-bottom:12px}#invite-url{flex:1;min-width:200px}#control-warning{color:var(--amber)}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;border:1px solid #485058;border-radius:4px;background:#282d32;color:var(--text);padding:9px 13px;font-size:11px;font-weight:700;letter-spacing:.04em;cursor:pointer;text-decoration:none}button:hover,.button:hover{background:#394149}button:disabled{opacity:.35;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--amber);outline-offset:3px}a{color:inherit}h1,h2,p{margin:0}h2{font-size:18px;font-weight:600}button.primary{background:var(--red);color:#17191b;border-color:var(--red)}[hidden]{display:none!important}.studio{max-width:1600px;margin:auto;padding:0 32px}.topbar{min-height:94px;display:flex;align-items:center;gap:38px;border-bottom:1px solid var(--border)}.brand{text-decoration:none;display:flex;align-items:baseline;position:relative;font-family:'Barlow Condensed',Arial,sans-serif;font-weight:700;font-size:26px;letter-spacing:-.6px;padding-bottom:12px}.brand>span{font-weight:500;color:#bac1c7}.brand i{position:absolute;bottom:0;left:1px;font:normal 8px Inter,sans-serif;letter-spacing:.48em;color:var(--red)}.studio-title{border-left:1px solid var(--border);padding-left:28px;display:grid;gap:7px}.studio-title strong{font-weight:500;font-size:16px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:.15em;color:var(--muted)}.topbar-right{margin-left:auto;display:flex;align-items:center;gap:24px}.badge{font-size:9px;font-weight:700;letter-spacing:.08em;color:var(--green);border:1px solid #3a5347;background:#192b23;padding:6px 9px;border-radius:3px}time{font-family:monospace;font-size:16px;color:#a6aeb5}.quiet{background:transparent;font-size:10px}.notice{min-height:42px;display:flex;align-items:center;color:var(--muted);font-size:11px;line-height:1.6;padding:10px 0}.switcher{display:grid;grid-template-columns:minmax(0,1fr) 92px minmax(0,1fr);align-items:center}.monitor{border:1px solid var(--border);background:var(--panel);border-radius:5px;overflow:hidden}.monitor-label{padding:13px 15px;display:flex;justify-content:space-between;align-items:center;gap:12px}.monitor-label h1,.monitor-label h2{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:700;letter-spacing:.1em}.monitor-label>span{font-size:10px;color:#a9b1b9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dot{width:6px;height:6px;border-radius:50%;display:inline-block}.amber{background:var(--amber)}.red{background:var(--red)}.screen,.thumb,.local-preview{position:relative;aspect-ratio:16/9;background:#080a0c;overflow:hidden;container-type:size}.camera-frame{position:absolute;inset:0;overflow:hidden}.camera-frame video{position:absolute;left:50%;top:50%;width:100%;height:100%;object-fit:cover;transform:translate(-50%,-50%) rotate(var(--rotation,0deg))}.camera-frame video[data-rotation="90"],.camera-frame video[data-rotation="270"]{width:100cqh;height:100cqw}.empty,.source-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#8e969d;background:radial-gradient(ellipse at center,#171b1e 0,#0d0f11 70%)}.empty-symbol{font-size:30px;font-weight:400;opacity:.45}.empty strong{font-size:13px;font-weight:500}.empty small{font-size:10px;color:#5f6872}.monitor-footer{height:35px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;font-size:9px;color:var(--muted);border-top:2px solid var(--amber)}.program-monitor .monitor-footer{border-color:var(--red)}.program-monitor .monitor-label h2{color:var(--red)}.take-column{text-align:center;display:flex;align-items:center;flex-direction:column;gap:12px}.take-column button{flex-direction:column;background:var(--red);color:#181b1e;border:0;min-height:70px;width:64px;font-size:14px;letter-spacing:.07em}.take-column button span{font-size:22px;line-height:1}.take-column small{color:var(--muted);font-size:9px;line-height:1.5}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.section-heading .eyebrow{display:block;margin-bottom:6px}.section-heading h2 span{font-size:11px;color:#646d75;margin-left:8px}.section-heading p{color:var(--muted);font-size:10px}.sources-section{margin-top:26px}.dock{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:16px}.source-card{border:1px solid var(--border);border-radius:5px;background:var(--panel);overflow:hidden}.source-card.selected{border-color:var(--amber)}.source-card.onair{border-color:var(--red)}.source-select{width:100%;padding:0;display:block;text-align:left;background:transparent;border:0;border-radius:0;letter-spacing:0;font-weight:400}.source-select:hover{background:#22272c}.source-top{display:flex;align-items:center;justify-content:space-between;height:32px;padding:0 10px}.source-number{font-size:12px;font-family:monospace;color:#a4aeb7}.source-tally{font-size:8px;letter-spacing:.1em;color:var(--muted)}.selected .source-tally{color:var(--amber)}.onair .source-tally{color:var(--red)}.source-empty span{font-size:25px;color:#48525b}.source-empty small{font-size:8px;letter-spacing:.15em;color:#737e88}.source-caption{padding:11px 12px;display:flex;flex-direction:column;gap:5px}.source-caption strong{font-size:12px;font-weight:600}.source-status{font-size:9px;color:var(--muted)}.source-controls{display:flex;border-top:1px solid var(--border)}.source-controls button{background:transparent;border:0;min-height:33px;font-size:8px;border-radius:0}.source-invite{flex:1}.source-rotate{border-left:1px solid var(--border)!important;color:var(--muted);min-width:56px}.utilities{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:16px;margin-top:24px}.utility{border:1px solid var(--border);background:var(--panel);border-radius:5px;padding:20px}.utility>.eyebrow{display:block;margin-bottom:7px}.utility h2{font-size:16px;margin-bottom:15px}.utility .section-heading h2{margin-bottom:17px}.utility>p{font-size:11px;color:var(--muted);line-height:1.7;margin-bottom:13px}.utility label{font-size:10px;color:#a9b3ba}.input-row{display:flex;gap:8px;margin-top:7px}.input-row select{min-width:0;flex:1;padding:9px;background:#101416;border:1px solid #3a4249;border-radius:3px;font-size:11px;color:#b9c3cb}.audio-level{display:grid;grid-template-columns:1fr 60px;align-items:center;gap:7px;margin-top:15px}.audio-level label{grid-column:1/-1;display:flex;justify-content:space-between}.audio-level output{font-family:monospace}.audio-level input{width:100%;accent-color:var(--green);margin:0}.audio-level button{min-height:28px;padding:5px;font-size:9px}.audio-level button[aria-pressed=true]{color:var(--red);border-color:var(--red)}.meter{height:4px;background:#0d1013;margin:13px 0}.meter span{display:block;width:0;height:100%;background:var(--green);transition:width .1s}.utility p.helper{font-size:9px;line-height:1.6;color:#7f8b95;margin:12px 0 0}.output-controls{display:flex;gap:8px;margin-top:20px}.text-link{display:inline-block;color:#bac4cc;font-size:10px;text-underline-offset:4px;margin-top:15px}.workflow ol{list-style:none;margin:0;padding:0;display:grid;gap:14px}.workflow li{display:flex;align-items:center;gap:12px;font-size:11px;color:#b0bac2}.workflow b{font:11px monospace;color:#687782}.studio-footer{display:flex;justify-content:space-between;gap:16px;font-size:8px;letter-spacing:.1em;color:#69747e;padding:25px 0}
.camera-operator{min-height:100dvh}.operator-shell{max-width:760px;margin:auto;padding:20px}.operator-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.operator-header .brand{font-size:22px}.operator-title{font-size:12px;color:var(--muted)}.join-form{display:flex;align-items:end;gap:12px;margin:20px 0}.join-form label{display:grid;gap:8px;flex:1;color:var(--muted);font-size:12px}input[type=text]{min-height:42px;padding:10px 12px;background:#1b2024;border:1px solid #485058;border-radius:4px;color:var(--text);width:100%}.local-preview{width:100%;border:1px solid var(--border);border-radius:6px}.local-preview>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.operator-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.operator-actions button{flex:1;min-height:44px}.operator-status{color:var(--muted);font-size:12px;line-height:1.6;margin-top:16px}.tally{font-size:12px;font-weight:700;letter-spacing:.1em;padding:9px 12px;border:1px solid #485058;border-radius:4px;color:#a2adb6}.tally.ready{background:#192b23;border-color:#3a5347;color:var(--green)}.tally.standby{background:var(--amber);border-color:var(--amber);color:#17191b;box-shadow:0 0 0 2px rgba(238,196,104,.16)}.tally.on-air{background:var(--red);border-color:var(--red);color:#111;box-shadow:0 0 0 2px rgba(251,89,79,.16)}.output-page{background:#000;height:100dvh;overflow:hidden}.output-page>video{width:100%;height:100%;object-fit:contain}.output-wait{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:#101214;text-align:center;padding:25px}.output-wait h1{font-weight:500;font-size:26px}.output-wait p{color:var(--muted);font-size:13px}.output-toolbar{position:fixed;bottom:18px;left:18px;display:flex;align-items:center;gap:10px;opacity:0;transition:opacity .2s;background:#101214dd;padding:8px;border-radius:5px}.output-page:hover .output-toolbar,.output-toolbar:focus-within{opacity:1}.output-toolbar span{color:var(--muted);font-size:11px}
@media(max-width:1000px){.studio{padding:0 20px}.topbar{gap:20px}.studio-title{display:none}.topbar-right{gap:12px}.utilities{grid-template-columns:1.2fr 1fr}.workflow{display:none}.switcher{grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr)}.dock{gap:10px}.monitor-label{padding:10px}.monitor-label>span{max-width:50%}.source-controls button{padding:8px}.studio-footer{font-size:7px}}
@media(max-width:650px){.studio{padding:0 12px}.topbar{min-height:76px}.brand{font-size:22px}.topbar-right time,.topbar-right .badge{display:none}.switcher{grid-template-columns:1fr 1fr;gap:12px}.take-column{grid-column:1/-1;grid-row:2;flex-direction:row;justify-content:center}.take-column button{width:120px;min-height:40px;flex-direction:row}.take-column small{display:none}.monitor-label{flex-direction:column;align-items:start;gap:6px}.monitor-label>span{max-width:100%;font-size:9px}.monitor-footer{padding:0 8px;font-size:8px}.monitor-footer .eyebrow{font-size:7px}.empty strong{font-size:10px}.empty small{display:none}.empty-symbol{font-size:20px}.dock{grid-template-columns:1fr 1fr}.section-heading p{display:none}.utilities{grid-template-columns:1fr}.studio-footer>span:nth-child(2){display:none}.output-toolbar{opacity:1}.operator-shell{padding:16px}}
.operator-header{gap:10px;flex-wrap:wrap}.operator-header .tally{margin-left:auto;font-size:10px}.camera-joined .join-form{display:none}
@media(orientation:landscape) and (max-height:600px){.operator-shell{max-width:100%;padding:10px 18px;display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:10px 16px;align-items:start}.operator-header{grid-column:1/-1;margin:0}.local-preview{grid-column:1;grid-row:2/5;width:min(100%,calc(177.778dvh - 160px));height:auto;aspect-ratio:16/9;justify-self:center}.join-form{grid-column:2;margin:0}.operator-actions{grid-column:2;flex-direction:column;margin:0;gap:6px}.operator-actions button{min-height:36px}.operator-status{grid-column:2;margin:0;font-size:10px}}
.camera-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:14px;min-width:0}.camera-controls label{grid-column:1/-1;color:var(--muted);font-size:12px}.camera-controls select{min-width:0;width:100%;min-height:42px;background:#1b2024;color:var(--text);border:1px solid #485058;border-radius:4px;padding:8px}.camera-controls p{grid-column:1/-1;color:var(--muted);font-size:11px;line-height:1.5}@media(orientation:landscape) and (max-height:600px){.camera-controls{grid-column:2;grid-template-columns:minmax(0,1fr);margin:0}.camera-controls p{font-size:10px}.local-preview{grid-row:2/6}}
/* Production desk: the source rail stays separate from the two monitors. */
.producer .studio{max-width:1800px}.production-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px;align-items:start}.production-layout>.switcher{grid-column:2;grid-row:1;position:sticky;top:18px}.production-layout>.sources-section{grid-column:1;grid-row:1;margin:0;max-height:660px;overflow:auto;padding-right:8px;scrollbar-color:#485058 #161b1f}.sources-section .section-heading{margin-bottom:12px}.sources-section .section-heading p{display:none}.sources-section h2{font-size:16px}.production-layout .dock{grid-template-columns:1fr;gap:12px}.production-layout .source-select{width:100%}.source-select>strong{display:block;text-align:left;padding:8px 10px;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-heading{margin:20px 0 12px}.media-heading>input{display:block;width:100%;margin-top:8px;font-size:10px}.media-heading .helper{font-size:10px;line-height:1.5}.media-thumb>img,.media-thumb>video{position:absolute;width:100%;height:100%;inset:0;object-fit:contain}.media-dock .source-tally{display:block;text-align:left;padding:7px 10px}.media-dock article>.quiet{width:100%;border:0}.media-dock .onair .source-tally{color:var(--red)}#media-playback{margin-top:16px;display:grid;gap:10px}#media-playback label{font-size:11px;color:var(--muted)}#media-playback .helper{font-size:10px}.graphics-controls{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:24px}.graphics-controls article{min-width:0}.graphics-controls label{display:block;color:var(--muted);font-size:11px;margin:12px 0 6px}.graphics-controls input[type=file]{width:100%;color:var(--muted);font-size:12px}.bug-options{display:flex;gap:16px}.bug-options label{flex:1}.bug-options select{display:block;margin-top:7px;width:100%;background:#1b2024;border:1px solid #485058;border-radius:4px;color:var(--text);padding:9px}.producer .screen>canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:1}.producer .screen>.camera-frame{visibility:hidden}.graphics-controls button:disabled{opacity:.4}
@media(max-width:1100px){.production-layout{grid-template-columns:190px minmax(0,1fr);gap:14px}.production-layout .switcher{grid-template-columns:1fr 1fr;gap:10px}.production-layout .take-column{grid-column:1/-1;grid-row:2;flex-direction:row}.production-layout .take-column button{width:120px;min-height:40px}.production-layout .take-column small{display:none}.production-layout .monitor-label{flex-direction:column;align-items:start}.production-layout .monitor-label>span{max-width:100%}}
@media(max-width:700px){.production-layout{display:flex;flex-direction:column}.production-layout>.switcher{position:static;width:100%}.production-layout>.sources-section{width:100%;max-height:430px;padding:0;margin-top:14px}.production-layout .dock{grid-template-columns:1fr 1fr}.graphics-controls{grid-template-columns:1fr}.producer .studio{padding:0 12px}.producer .monitor-footer{font-size:8px}.producer .topbar-right time{display:none}}
.production-layout>.sources-section{grid-row:1/3;max-height:800px}.production-layout>.switcher{position:static}.production-layout>.graphics-controls{grid-column:2;grid-row:2;margin-top:0}.media-heading{margin:0 0 16px}.media-heading>label{width:100%}.media-heading>input{font-size:10px}.media-heading .helper{margin-top:8px}.production-layout .graphics-controls{gap:14px}.production-layout .graphics-controls .utility{padding:18px}.production-layout .graphics-controls .output-controls{flex-wrap:wrap}@media(max-width:1100px){.production-layout .graphics-controls{grid-template-columns:1fr}.production-layout>.sources-section{max-height:1050px}}@media(max-width:700px){.production-layout>.sources-section{max-height:430px}.production-layout>.graphics-controls{width:100%;margin-top:10px}.production-layout .media-heading>input{max-width:100%}}
.media-heading>button{width:100%}.production-layout>.sources-section>.section-heading{position:sticky;top:0;background:var(--bg,#101214);z-index:3;padding:8px 0}.production-layout>.sources-section>.media-heading{position:sticky;top:61px;background:var(--bg,#101214);z-index:2;padding:8px 0}
.source-tools{position:sticky;top:0;background:var(--bg,#101214);z-index:3;padding-bottom:12px}.source-tools .section-heading{padding-top:8px}.source-tools .media-heading{margin-bottom:0}.sources-section{scroll-padding-top:170px}
.graphic-options{display:flex;gap:10px;flex-wrap:wrap}.graphic-options>label{flex:1;min-width:100px}.graphic-options select,.ticker-panel select{display:block;width:100%;margin-top:7px;background:#1b2024;color:var(--text);border:1px solid #485058;border-radius:4px;padding:9px}.ticker-panel{grid-column:1/-1}.ticker-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) auto;gap:10px;align-items:end;padding:12px 0;border-bottom:1px solid #343d40}.ticker-row label{margin:0}.ticker-row input{min-width:0}.ticker-row input[type=url]{font:inherit;width:100%;min-height:42px;padding:10px 12px;background:#1b2024;border:1px solid #485058;border-radius:4px;color:var(--text)}.ticker-panel>#ticker-add{margin-top:12px}.ticker-panel>label{max-width:240px}#lower-rehearse{margin-top:12px}.ticker-row .ticker-remove{min-height:42px}.ticker-panel .helper{line-height:1.6}@media(max-width:850px){.ticker-row{grid-template-columns:1fr auto}.ticker-row label{grid-column:1}.ticker-row .ticker-remove{grid-column:2;grid-row:1/3}.graphic-options{gap:8px}}

.production-layout .take-column{min-width:0;flex-wrap:wrap;gap:10px}.take-column label{font-size:10px;color:var(--muted);width:100%;max-width:130px}.take-column select{display:block;width:100%;margin-top:5px;background:#1b2024;color:var(--text);border:1px solid #485058;border-radius:4px;padding:6px;font-size:11px}.production-layout .take-column #fade-black{background:#1b2024;color:var(--text);font-size:9px;min-height:40px;width:100%;max-width:130px;padding:7px}.take-column #transition-status{font-size:9px;color:var(--amber)}@media(max-width:1100px){.production-layout .take-column{justify-content:center}.take-column label{width:100px}.take-column #transition-status{width:100%}.production-layout .take-column small{display:block;width:100%}}

.delivery-details{margin-top:15px;font-size:11px;color:var(--muted)}.delivery-details summary{cursor:pointer}.delivery-details pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:10px;line-height:1.6}

.preview-graphics-toggle{display:flex;align-items:center;gap:8px;padding:10px 12px;font-size:11px;color:var(--muted);line-height:1.4;cursor:pointer}.preview-graphics-toggle input{accent-color:var(--green);width:16px;height:16px;margin:0;flex:none}.preview-graphics-toggle:focus-within{outline:2px solid var(--green);outline-offset:-2px}

/* Preview controls occupy their own row, outside the equal-sized monitors. */
.switcher>.preview-graphics-toggle{grid-column:1;grid-row:2;align-self:start;padding:10px 0}.switcher>.monitor{min-width:0;grid-row:1}.switcher>.preview-monitor{grid-column:1}.switcher>.program-monitor{grid-column:3}.switcher>.take-column{grid-column:2;grid-row:1}@media(max-width:1100px){.production-layout .program-monitor{grid-column:2}.production-layout .take-column{grid-column:1/-1;grid-row:3}}
/* Floating, non-modal controls keep the stage available during live edits. */
.production-layout>.graphics-controls{grid-template-columns:minmax(0,1fr)}
.switcher>.lower-launch{grid-column:3;grid-row:2;justify-self:end;align-self:start;margin-top:4px}
.lower-popup.graphics-controls{position:fixed;z-index:30;display:block;width:560px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;margin:0;background:var(--panel);border:1px solid #65766d;border-radius:6px;box-shadow:0 12px 40px #0009}
.lower-popup-header{display:flex;align-items:center;gap:12px;padding:10px 16px;background:#25312d;cursor:move;touch-action:none;position:sticky;top:0;z-index:1}.lower-popup-header h2{font-size:16px}.lower-popup-header>span{margin-left:auto;font-size:10px;color:var(--muted)}.lower-popup-header button{padding:5px 10px;min-height:30px}.lower-popup .lower-content{border:0;padding:16px}.lower-popup .lower-content>.eyebrow{display:none}.lower-popup .lower-content>label:first-of-type{margin-top:0}.lower-popup input[type=text]{font-size:14px;min-height:42px}.lower-appearance{margin-top:14px}.lower-appearance summary{cursor:pointer;font-size:12px;color:var(--muted)}.lower-popup .output-controls{margin-top:12px}.lower-popup .helper{margin-top:10px}.lower-popup #lower-rehearse{margin-top:12px}
@media(max-width:1100px){.switcher>.lower-launch{grid-column:2}}@media(max-width:600px){.lower-launch{font-size:9px;padding:8px}.lower-popup-header>span{display:none}}
/* One compact graphics control group beneath TAKE; only the active editor is shown. */
.graphics-launchers{display:flex;flex-direction:column;gap:6px;width:100%;margin-top:4px}.production-layout .take-column .graphics-launchers button{width:100%;min-height:32px;padding:7px 4px;flex-direction:row;background:#282d32;color:var(--text);border:1px solid #485058;font-size:9px;letter-spacing:.02em}.production-layout .take-column .graphics-launchers button[aria-expanded=true]{border-color:var(--green);color:var(--green)}.production-layout>.sources-section{grid-row:1}.lower-popup .ticker-row{grid-template-columns:minmax(0,1fr) auto}.lower-popup .ticker-row label{grid-column:1}.lower-popup .ticker-row .ticker-remove{grid-column:2;grid-row:1/3}.lower-popup .ticker-panel>label{max-width:none}
@media(max-width:1100px){.production-layout .take-column{flex-wrap:wrap}.graphics-launchers{flex-basis:100%;flex-direction:row;justify-content:center}.production-layout .take-column .graphics-launchers button{width:auto;min-width:100px}}
/* Layout and conversation controls share the compact floating editors. */
.graphics-launchers{flex-wrap:wrap}#panel-slots select{width:100%}#panel-mics label{display:flex;align-items:center;gap:8px}#panel-mics input{flex:none}.guest-audio{padding:14px;border:1px solid var(--border);border-radius:6px}.guest-audio audio{display:none}#guest-mic-state{font-weight:bold;color:var(--green)}@media(orientation:landscape) and (max-height:600px){.guest-audio{grid-column:2}.guest-audio button{min-height:36px}}
#panel-crop-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px 18px}#panel-crop-controls label{min-width:0}#panel-crop-controls input{display:block;width:100%;accent-color:var(--green);margin-top:7px}#panel-crop-controls output{float:right;color:var(--text)}#panel-crop-camera{width:100%;background:#1b2024;color:var(--text);padding:9px;border:1px solid #485058;border-radius:4px}

/* Local media labels and orientation controls. */
.media-details{border-top:1px solid var(--border);padding:9px 10px;font-size:10px;color:var(--muted)}.media-details summary{cursor:pointer;font-weight:700;letter-spacing:.04em}.media-details label{display:grid;gap:5px;margin:10px 0 8px}.media-details input{min-width:0;width:100%;padding:8px;background:#101416;color:var(--text);border:1px solid #485058;border-radius:4px;font-size:12px}.media-details button{width:100%;margin-bottom:6px;min-height:32px;font-size:10px}.media-details p{font-size:9px;line-height:1.5}.media-thumb>img,.media-thumb>video{inset:auto;left:50%;top:50%;transform:translate(-50%,-50%) rotate(var(--rotation,0deg))}.media-thumb>[data-rotation="90"],.media-thumb>[data-rotation="270"]{width:100cqh;height:100cqw}
.channel-label{font-size:11px;color:var(--green);line-height:1.4;max-width:220px}.topbar .channel-label{order:2}
.topbar{flex-wrap:wrap;row-gap:12px}.topbar-right{min-width:0;flex-wrap:wrap;justify-content:flex-end}.topbar .channel-label{flex-basis:100%;max-width:none;order:3;margin:0 0 12px}
.production-layout>.utilities{grid-column:2;grid-row:2;display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin:0;min-width:0;width:100%}.production-layout>.sources-section{grid-row:1/3}.utilities>.workflow{display:block}.workflow>summary{font-size:14px;font-weight:600;cursor:pointer;padding:3px 0}.workflow[open]>summary{margin-bottom:18px}.programme-levels{margin-top:20px;padding-top:16px;border-top:1px solid var(--border)}.meter-heading,.limiter-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:11px}.meter-heading strong{margin-right:auto;font-weight:500}.programme-levels output{font:12px monospace;font-variant-numeric:tabular-nums}.programme-levels .meter{position:relative;height:14px;margin:12px 0 6px;overflow:hidden;border-radius:3px}.programme-levels .meter span{background:linear-gradient(to right,#8ccea8 0%,#8ccea8 70%,#eec468 85%,#e38888 100%);width:100%;clip-path:inset(0 calc(100% - var(--level,0%)) 0 0)}.programme-levels .meter #audio-meter{clip-path:none;background:var(--green)}#audio-peak-marker{position:absolute;top:0;bottom:0;width:2px;background:#eec468;transform:translateX(-2px)}.meter-scale{display:flex;justify-content:space-between;color:#a9b3ba;font:10px monospace}.limiter-row{margin-top:14px}.limiter-row output{color:#a9b3ba}.limiter-row .badge{box-shadow:0 0 7px #8ccea822}.limiter-row .limiting{color:#f5d687;border-color:#c7a552;box-shadow:0 0 9px #eec46844}.audio-help{margin-top:14px;font-size:11px;color:#b9c3cb}.audio-help summary{cursor:pointer}.audio-help p{margin-top:10px;line-height:1.7;max-width:85ch}.utilities .output-controls{flex-wrap:wrap}

/* V1: keep both monitors centred and equal within their switching area. */
.production-layout>.switcher{width:100%;min-width:0;margin-inline:auto;justify-content:center}
.switcher>.monitor{width:100%;min-width:0;justify-self:center;align-self:start}
.monitor>.screen{width:100%;margin-inline:auto}
.producer .screen>canvas,.camera-frame video,.local-preview>video{object-position:50% 50%}
.producer-camera-choice{display:grid;gap:6px;padding:10px;font-size:11px}
.producer-camera-choice select{width:100%;min-width:0;background:#101416;color:var(--text);padding:8px}

.producer-camera-choice{color:var(--text)}
.source-card:first-child .source-controls{flex-wrap:wrap}.source-card:first-child .source-invite{flex-basis:100%;word-break:normal;overflow-wrap:normal}
