.c18-panel,.c18-follow{background:#fff;color:#142a44;border:1px solid #dae2ec;border-radius:18px;padding:20px;margin:16px 0}.c18-summary{display:flex;flex-wrap:wrap;gap:15px}.c18-summary b{background:#eef4fb;padding:12px;border-radius:10px}.c18-scroll{overflow:auto;max-height:500px}.c18-panel table,.c18-dialog table{border-collapse:collapse;width:100%;text-align:left;font-size:14px}.c18-panel th,.c18-panel td,.c18-dialog th,.c18-dialog td{padding:10px;border-bottom:1px solid #dde4ee;vertical-align:top}.c18-state-connected{color:#087c45;font-weight:bold}.c18-state-reconnecting,.c18-state-connecting{color:#a15d00}.c18-state-left,.c18-state-notEntered{color:#68758a}.c18-panel small,.c18-dialog small{display:block}.c18-panel details,.c18-dialog details{margin:14px 0}.c18-panel summary,.c18-dialog summary{cursor:pointer;font-weight:bold}.c18-panel svg{width:100%;max-height:220px}.c18-panel button,.c18-dialog button,.c18-student button{background:#cb1740;color:#fff;border:0;border-radius:20px;padding:10px 15px;cursor:pointer;margin:5px}.c18-panel button:disabled,.c18-dialog button:disabled{opacity:.5;cursor:default}.c18-panel label,.c18-dialog label{display:block;margin:12px 0}.c18-panel select,.c18-panel input,.c18-panel textarea,.c18-dialog select,.c18-dialog input,.c18-dialog textarea{box-sizing:border-box;width:100%;padding:9px;border:1px solid #c7d1df;border-radius:8px}.c18-dialog{max-width:1100px;width:92vw;max-height:85vh;border:0;border-radius:20px;padding:20px;overflow:auto;color:#142a44;background:#fff}.c18-dialog::backdrop{background:#031b39aa}.c18-dialog header{display:flex;justify-content:space-between;align-items:center}.c18-live-warning{position:absolute;right:12px;top:90px;max-width:350px;background:#fff7df;color:#642b04;z-index:25;padding:12px;border-radius:12px;box-shadow:0 4px 12px #0004}.c18-student{padding:12px;border-radius:14px;background:#edf3fa;color:#142a44}.c18-portrait{object-fit:cover;width:60px;height:60px;border-radius:50%}.tile .c18-portrait{position:absolute;top:12px;left:12px}body:has(#statusC18){font-family:system-ui;background:#f2f5f9;color:#142a44;margin:0}body:has(#statusC18)>header{display:flex;justify-content:space-between;padding:20px;background:#073b6d;color:#fff}body:has(#statusC18)>header a{color:#fff}body:has(#statusC18) main{max-width:1250px;margin:auto;padding:24px}button,input,textarea,select{font:inherit}@media(prefers-reduced-motion:reduce){.hand-bar-c13{animation:none!important}}

.c19-roster{position:absolute;right:0;top:60px;bottom:55px;width:min(370px,88vw);background:#fff;color:#142a44;z-index:35;border-radius:16px 0 0 16px;padding:14px;box-sizing:border-box;overflow:auto;transform:translateX(105%);visibility:hidden;transition:transform .18s}.c19-roster.open{transform:none;visibility:visible}.c19-roster header{display:flex;justify-content:space-between;align-items:center}.c19-roster button,.c19-roster-trigger{background:#cb1740;color:white;border:0;border-radius:16px;padding:9px;cursor:pointer}.c19-roster-trigger{position:absolute;right:8px;top:48px;z-index:34;font-size:12px}.c19-roster article{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid #dce4ee}.c19-roster small{display:block}.c19-legend{font-size:12px}.c19-dot{flex:none;width:12px;height:12px;border:1px solid #8391a2;border-radius:50%;margin-top:4px;background:white}.c19-dot.connected{background:#099452}.c19-dot.connecting,.c19-dot.reconnecting{background:#e7ac16}.c19-dot.left{background:#de2940}.c19-roster.open~.c19-roster-trigger{visibility:hidden}@media(prefers-reduced-motion:reduce){.c19-roster{transition:none}}
/* Los videos siguen recibiendo audio; la lista privada sustituye el mosaico permanente. */
.presentation-c8.host-c8:has(.c19-roster) #videos{display:none}

/* C20: encabezados fijos dentro del contenedor de desplazamiento. */
.c18-scroll table{border-collapse:separate;border-spacing:0}.c18-scroll thead th{position:sticky;top:0;z-index:2;background:#eef4fb;color:#142a44;box-shadow:0 2px 0 #d9e2ed}.c20-contact{padding:12px;border:1px solid #cdd7e4;border-radius:14px;margin:10px 0}.c20-contact.sent{border-left:6px solid #11934e;background:#effaf3}.c20-contact.prepared{border-left:6px solid #d7a21e}.c20-contact input[type=checkbox]{width:auto;margin-right:8px}#whatsappRootC20 textarea{width:100%;box-sizing:border-box;padding:12px;border-radius:12px}#whatsappRootC20 [data-compose]{position:relative;border-top:1px solid #d9e2ed;padding-top:12px}

.reaction-c25{position:fixed;z-index:120;bottom:100px;right:28px;background:#fff;color:#173047;border-radius:24px;padding:14px 20px;font-size:22px;box-shadow:0 3px 20px #0003;pointer-events:none;animation:reaction-rise-c25 4s ease-out forwards}@keyframes reaction-rise-c25{0%{transform:translateY(25px);opacity:0}15%{opacity:1}85%{opacity:1}100%{transform:translateY(-90px);opacity:0}}@media(prefers-reduced-motion:reduce){.reaction-c25{animation:none}}
.presentation-c8.host-c8:has(.c19-roster) #videos.camera-previews85{display:grid!important;position:absolute;top:52px;right:14px;width:190px;max-height:50vh;overflow:auto;z-index:16;background:#10283f;padding:8px;border-radius:14px;gap:8px;opacity:1;grid-template-columns:1fr}.host-c8 #videos.camera-previews85:before{content:'Cámaras · vista privada docente';font-size:11px;color:white}.host-c8 #videos.camera-previews85 .tile video{height:110px;max-width:100%}.host-c8 #videos.camera-previews85 .tile span{padding:5px;font-size:12px}

/* Tema del recuadro privado de participantes. */
#rosterC19 {
  --roster-bg:#0c1e37;
  --roster-text:#f5f8fc;
  --roster-border:#627b98;
  --roster-active:#b60b32;
  background:var(--roster-bg);
  color:var(--roster-text);
  border:1px solid var(--roster-border);
  border-radius:16px;
}
#rosterC19 header { gap:8px; }
#rosterC19 header strong { flex:1; }
#rosterC19 .roster-tabs { display:flex; gap:6px; margin:12px 0; }
#rosterC19 .roster-tabs button { flex:1; }
#rosterC19 .roster-tabs button:not([aria-pressed="true"]),
#rosterC19 [data-pin]:not([aria-pressed="true"]) {
  background:transparent;
  color:inherit;
  border:1px solid var(--roster-border);
}
#rosterC19 button { background:var(--roster-button,var(--roster-active)); color:var(--roster-text); }
#rosterC19 .roster-tabs button[aria-pressed="true"] { background:var(--roster-active); }
#rosterC19 input,
#rosterC19 .academic-roster86 summary {
  background:color-mix(in srgb,var(--roster-bg),white 8%);
  color:inherit;
  border-color:var(--roster-border);
}
#rosterC19 input::placeholder { color:#c4d1df; }
#rosterC19 article { border-color:var(--roster-border); }
#rosterC19 .person-role86,
#rosterC19 .person-signals86,
#rosterC19 small { color:inherit; }
#rosterC19 .person-status86[data-online86="true"] { color:#83e2aa; }
#rosterC19 .person-status86[data-online86="false"] { color:#ffd37b; }
#rosterC19 [data-turns] article { align-items:center; justify-content:space-between; }
#rosterC19 [data-chat] article { display:block; overflow-wrap:anywhere; }
#rosterC19 [data-chat] p { margin:4px 0; white-space:pre-wrap; }
#rosterC19 .person-status86[data-quality="poor"],
#rosterC19 .person-status86[data-quality="lost"] { color:#ffd37b; }
#rosterC19 [data-waiting-turns] { max-height: min(32rem,50vh); overflow:auto; }
