.presentation-c8{position:relative;background:#07131e;border-radius:var(--aula-radius,24px);overflow:hidden;min-height:60vh}.presentation-c8 #studioPanel{padding:0;border:0;background:transparent;margin:0}.presentation-c8 #studioPanel>h2,.presentation-c8 #studioPanel>p{display:none}.presentation-c8 #studioCanvas{display:block;width:100%;max-width:none;max-height:85vh;object-fit:contain;margin:0;border-radius:var(--aula-radius,24px)}.presentation-c8 #videos{margin:0}.presentation-c8.host-c8 #videos{position:absolute;top:50px;right:12px;width:160px;opacity:.85}.presentation-c8.host-c8 #videos .tile:first-child{display:none}.dock-c8{position:absolute;z-index:12;left:0;right:0;bottom:0;max-height:55vh;overflow:auto;padding:12px;background:rgba(7,19,30,.97);color:#fff;transform:translateY(110%);visibility:hidden;transition:transform .2s}.dock-c8 select{color:#142739}.controls-visible-c8 .dock-c8,.controls-pinned-c8 .dock-c8{transform:none;visibility:visible}.reveal-c8{position:absolute;z-index:13;right:12px;top:12px;font-size:12px;opacity:.7}.presentation-c8:fullscreen{height:100vh;width:100vw;border-radius:0;display:flex;flex-direction:column;justify-content:center}.presentation-c8:fullscreen #studioCanvas{height:100vh;max-height:100vh;width:100vw;object-fit:contain}.presentation-c8 .bar{position:absolute;z-index:4;top:0;left:12px;background:rgba(7,19,30,.6);font-size:12px}.camera-guard-c8{padding:12px;border:1px solid #a7b6c5;border-radius:20px;background:#eef3f8;color:#102f4b}.camera-guard-c8 button{margin:5px}.camera-guard-c8 input{display:block;margin:12px;width:90%}@media(prefers-reduced-motion:reduce){.dock-c8{transition:none}}
.dock-c8 #weekCabina,.dock-c8 .cabina-controls-c6{position:static;top:auto;z-index:auto}.dock-c8 #profileLive{background:#f2f5f9;color:#173049;border-radius:20px;padding:14px;margin:12px 0}.dock-c8 .cabina-buttons-c6{gap:8px}.presentation-c8.host-c8 #videos .tile{min-width:0}.presentation-c8.host-c8 #videos{display:flex;flex-direction:column}.presentation-c8.host-c8 #videos video{max-height:100px}

.presentation-c8:fullscreen>.hint,.presentation-c8:fullscreen>#recordState{display:none}.presentation-c8 #studioPanel{width:100%}.presentation-c8:fullscreen .dock-c8{max-height:60vh}

.dock-c8 .cabina-controls-c6{color:#173049}.presentation-c8 .bar{color:white}.camera-guard-c8:modal{max-width:560px;width:calc(100vw - 40px)}
/* C9: la ampliación del portal persiste al cambiar de pestaña. */
.cabina-open-c9{overflow:hidden}.presentation-c8.expanded-c9{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;margin:0!important;z-index:1000;border-radius:0!important;display:flex;align-items:center;justify-content:center}.presentation-c8.expanded-c9 #studioCanvas{width:100%;height:100%;object-fit:contain}.projection-c9{position:absolute;top:12px;left:12px;z-index:8;padding:7px 12px;background:#163b68ed;color:white;border-radius:12px;font:600 12px system-ui;pointer-events:none}.projection-c9[data-mode=live]{background:#b31b32ed}.presentation-c8.projecting-c9{outline:4px solid #c7263e;outline-offset:-4px}.presentation-c8.capture-stopped-c9{outline:4px dashed #edb937;outline-offset:-4px}

/* C11: borde local de captura, además del aviso nativo del navegador. */
.presentation-c8.capture-active-c11::after{content:"";position:absolute;inset:0;z-index:9;border:6px solid #e51b42;pointer-events:none;border-radius:inherit}.presentation-c8.capture-active-c11 .projection-c9{background:#b31333}.presentation-c8.capture-active-c11 .projection-c9::before{content:"● ";font-size:15px}
/* C26: cabecera de fuentes fuera de la imagen; panel general emerge por encima. */
.presentation-c8.sources-fixed-c26,.presentation-c8.sources-fixed-c26.expanded-c9,.presentation-c8.sources-fixed-c26:fullscreen{display:grid;grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);align-items:stretch;justify-content:stretch}.sources-fixed-c26 #studioPanel{grid-area:1/1;min-height:0;display:flex;align-items:center;justify-content:center}.sources-fixed-c26 #studioCanvas{width:100%;height:100%;max-height:calc(85vh - var(--source-height-c26,72px));object-fit:contain}.sources-fixed-c26.expanded-c9 #studioCanvas,.sources-fixed-c26:fullscreen #studioCanvas{max-height:calc(100dvh - var(--source-height-c26,72px))}.source-bar-c26{grid-area:2/1;background:#102b44;color:#fff;padding:8px 12px;z-index:14;border-top:1px solid #ffffff20;display:flex;align-items:center;gap:8px;min-width:0}.source-bar-c26 .cabina-controls-c6{display:flex;align-items:center;gap:8px;flex:1;flex-wrap:wrap;min-width:0;padding:0;background:transparent;color:white}.source-bar-c26 label{margin:0;font-size:12px;display:flex;gap:6px;align-items:center}.source-bar-c26 nav,.source-bar-c26 .row{display:flex;gap:5px;flex-wrap:wrap;margin:0}.source-bar-c26 button{font-size:12px;min-height:34px;padding:6px 10px;margin:0;white-space:nowrap;border-radius:14px}.source-bar-c26 select{max-width:170px;font-size:12px;padding:6px;border-radius:12px}.source-bar-c26 p{display:none}.sources-fixed-c26 .dock-c8{bottom:var(--source-height-c26,72px);max-height:45vh}.sources-fixed-c26>.hint,.sources-fixed-c26>#recordState{display:none}.sources-fixed-c26 .projection-c9{top:8px;padding:4px 8px;font-size:10px}.sources-fixed-c26 .source-handle-c26{background:#e8eff5;color:#102b44}.sources-fixed-c26 .cabina-page-c26{font-size:12px;align-self:center;white-space:nowrap}.sources-fixed-c26 .cabina-controls-c6 [hidden]{display:none!important}

.question-alert-c26{position:absolute;z-index:16;bottom:calc(var(--source-height-c26,72px) + 12px);left:12px;right:12px;padding:16px;border-radius:18px;background:#fff3e2;color:#442708;box-shadow:0 3px 14px #0004}.question-alert-c26[hidden]{display:none}.question-alert-c26 button{margin:6px}
.source-bar-c26 .cabina-controls-c6{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 10px;flex:1}.source-bar-c26 .cabina-buttons-c6{flex-wrap:nowrap;overflow-x:auto;min-width:0;max-width:100%;padding-bottom:2px}.source-bar-c26 .cabina-controls-c6>.row{grid-column:1/-1;flex-wrap:nowrap;overflow-x:auto}.source-bar-c26 nav button{flex-shrink:0}.source-bar-c26 .cabina-controls-c6 label{white-space:nowrap}@media(max-width:650px){.source-bar-c26{padding:6px;gap:4px}.source-bar-c26 .cabina-controls-c6{grid-template-columns:minmax(0,1fr)}.source-bar-c26 .cabina-controls-c6>.row{grid-column:1}.source-bar-c26 .source-handle-c26{max-width:76px;white-space:normal;font-size:10px}.source-bar-c26 select{max-width:140px}}

.source-bar-c26 .cabina-controls-c6>button{grid-column:1/-1;justify-self:start}.source-bar-c26 .cabina-controls-c6>button[hidden]{display:none!important}

.source-bar-c26{flex-wrap:wrap}.record-strip-c27{display:flex;align-items:center;flex-wrap:wrap;gap:6px;flex-basis:100%;border-top:1px solid #ffffff25;padding-top:5px}.record-strip-c27 #recordState{color:#fff;font-size:11px;max-width:500px;margin:0;white-space:normal}.record-strip-c27 #leave{margin-left:auto}.source-bar-c26 .source-handle-c26{order:-1}.source-bar-c26 .cabina-controls-c6{border:0;border-radius:0}.sources-fixed-c26 .bar{display:none}

.program-dialog-c27{width:94vw;max-width:1200px;height:90vh;border:0;border-radius:20px;padding:14px}.program-dialog-c27 iframe{display:block;width:100%;height:calc(100% - 54px);border:0}.tour-controls-c27{grid-column:1/-1;min-width:0}.tour-controls-c27 nav{overflow-x:auto;flex-wrap:nowrap}.tour-controls-c27 select{max-width:240px}

#mic.mic-on-c28{background:#087f46;color:#fff;box-shadow:0 0 0 2px #76e5aa inset}#mic.mic-off-c28{background:#a30f31;color:#fff;box-shadow:0 0 0 2px #f6adb8 inset}.record-strip-c27{flex-wrap:wrap}

/* C149: the scrollable panel ends above the measured fixed source bar. */
.sources-fixed-c26>.dock-c8{bottom:var(--source-height-c26,140px);max-height:calc(100% - var(--source-height-c26,140px) - 64px);box-sizing:border-box;overscroll-behavior:contain;scroll-padding-bottom:24px;padding-bottom:24px}
.sources-fixed-c26.expanded-c9>.dock-c8,.sources-fixed-c26:fullscreen>.dock-c8{max-height:calc(100dvh - var(--source-height-c26,140px) - 64px)}

.recording-ready-c149{background:#087f46!important;color:#fff!important;padding:16px;border-radius:16px;font-weight:700}
