/* ============================================================
   REDES 2026 · Mentorías — sistema visual
   Concepto: una red de contactos. Nodos, hilos y rutas.
   Paleta tomada del logo (teal → azul) sobre tinta y papel cálido.
   ============================================================ */

@font-face { font-family: 'Bricolage'; src: url(../fonts/bricolage.woff2) format('woff2'); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url(../fonts/plexmono-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url(../fonts/plexmono-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url(../fonts/plexmono-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --ink: #0A1433; --ink2: #101C43; --ink3: #1B2A5C; --ink-l: #A9B6D9;
  --paper: #F4F1EA; --paper2: #EAE5D8; --card: #FFFDF8; --line: #D9D2C3; --line2: #E7E1D4;
  --tx: #0A1433; --muted: #626879;
  --teal: #2FA089; --blue: #2C8CFF; --mint: #13E0A5;
  --grad: linear-gradient(90deg, var(--teal), var(--blue));
  --gradv: linear-gradient(180deg, var(--teal), var(--blue));
  --ok: #1B8A63; --ok-bg: #DCEFE4; --bad: #C0433A; --bad-bg: #F6E0DB; --warn: #9A6400; --warn-bg: #F4E8CC;
  --sans: 'Bricolage', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Plex Mono', ui-monospace, Consolas, monospace;
  --r: 6px;
  --blob: 62% 38% 46% 54% / 48% 34% 66% 52%;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--sans); background: var(--paper); color: var(--tx); line-height: 1.45; -webkit-font-smoothing: antialiased; font-optical-sizing: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
code { font-family: var(--mono); background: var(--paper2); padding: 1px 6px; border-radius: 3px; font-size: .86em; }
h1, h2, h3, h4 { margin: 0 0 .35em; line-height: 1.05; font-weight: 700; }
h2 { font-size: 1.5rem; letter-spacing: -.01em; } h3 { font-size: 1.12rem; } h4 { font-size: .95rem; margin-top: 1.1em; }
.mono { font-family: var(--mono); }
.loading { padding: 80px 16px; text-align: center; color: var(--muted); font-family: var(--mono); font-size: .85rem; }
.wrap { max-width: 780px; margin: 0 auto; padding: 0 20px; }
.wrap.wide { max-width: 1340px; }
.row { display: flex; align-items: center; }
.between { justify-content: space-between; }
.gap { gap: 10px; }
.wrapf { flex-wrap: wrap; gap: 10px; }
.end { align-items: flex-end; }
.mb { margin-bottom: 16px; } .mt { margin-top: 8px; }
.muted { color: var(--muted); } .small { font-size: .84rem; } .center { text-align: center; } .nowrap { white-space: nowrap; }
.eyebrow, .kicker { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.kicker { display: flex; align-items: center; gap: 10px; color: var(--muted); margin: 0 0 14px; }
.kicker span { background: var(--ink); color: #fff; padding: 2px 7px; letter-spacing: .05em; }
.red-bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; display: block; }

/* ---------- Controles ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 4px; padding: 11px 18px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .15s, transform .05s; }
.btn:hover { background: var(--ink3); } .btn:active { transform: translateY(1px); }
.btn i { font-style: normal; transition: transform .2s; } .btn:hover i { transform: translateX(3px); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn.sec { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.sec:hover { background: var(--paper2); }
.btn.ghost { background: rgba(255, 255, 255, .08); color: #fff; }
.btn.danger { background: transparent; color: var(--bad); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.danger:hover { background: var(--bad-bg); }
.btn.sm { padding: 7px 12px; font-size: .84rem; }
.btn.full { width: 100%; }
.txt-btn { white-space: nowrap; background: none; border: 0; padding: 4px 0; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--muted); border-bottom: 1px solid currentColor; }
.txt-btn:hover { color: var(--ink); }
.txt-btn.claro { color: var(--ink-l); } .txt-btn.claro:hover { color: #fff; }
.in { width: 100%; border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; background: var(--card); outline: none; transition: border-color .15s, box-shadow .15s; }
.in:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(44, 140, 255, .16); }
textarea.in { resize: vertical; }
.w70 { width: 80px; }
label { display: block; font-size: .8rem; font-weight: 500; color: var(--muted); margin-bottom: 12px; }
label .in { margin-top: 5px; color: var(--tx); font-weight: 400; font-size: .95rem; }
.card { background: var(--card); border: 1px solid var(--line2); border-radius: var(--r); padding: 22px; margin-bottom: 16px; }
.card.flush { padding: 0; overflow: hidden; }
.card.vacio { text-align: center; color: var(--muted); padding: 44px 20px; }
.chip, .tag { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; background: var(--paper2); color: var(--ink); }
.tag.ahora, .chip.ahora { background: var(--mint); }
.tag.est-asistio, .chip.est-asistio { background: var(--ok-bg); color: var(--ok); }
.tag.est-no_asistio, .chip.est-no_asistio { background: var(--bad-bg); color: var(--bad); }
.msg { min-height: 1.2em; margin: 12px 0 0; font-size: .92rem; color: var(--muted); }
.msg.err { color: var(--bad); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; padding: 12px 18px 12px 16px; border-radius: 4px; z-index: 99; transition: .25s; max-width: calc(100% - 32px); font-size: .9rem; border-left: 4px solid var(--ink-l); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.ok { border-left-color: var(--mint); } .toast.bad { border-left-color: #FF7A6B; }

/* Mancha (forma del sello "2026") para números de mesa */
.blob { --s: 74px; width: var(--s); height: var(--s); flex: none; display: grid; place-content: center; text-align: center; color: #fff; background: var(--grad); border-radius: var(--blob); line-height: 1; }
.blob small { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.blob b { font-size: calc(var(--s) * .44); font-weight: 800; font-stretch: 85%; letter-spacing: -.02em; margin-top: 2px; }
.blob.grande { --s: 116px; }

/* Firma RC */
.firma-rc { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; transition: opacity .15s; }
.firma-rc:hover { opacity: .75; }
.firma-rc span { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); max-width: 160px; line-height: 1.4; }
.firma-rc img { height: 44px; width: auto; display: block; }
.firma-rc.osc span { color: var(--ink-l); }

/* ============================================================
   Vista pública (participante)
   ============================================================ */
.p-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; padding: 22px 0 34px; }
.p-hero-in { position: relative; z-index: 1; }
.p-top { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-l); }
.p-link { text-decoration: none; color: #fff; white-space: nowrap; }
.p-link i { font-style: normal; color: var(--mint); }
.p-logo { margin: 64px 0 48px; }
.p-logo img { width: min(560px, 94%); height: auto; display: block; }
.p-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px 22px; margin: 0; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 14px; }
.p-meta dt { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #6FD3BE; margin-bottom: 3px; }
.p-meta dd { margin: 0; font-size: 13px; color: #E5EBFA; line-height: 1.45; }

.p-buscar { padding: 60px 0 10px; }
.p-buscar h2 { font-size: clamp(34px, 7.4vw, 56px); font-stretch: 82%; font-weight: 750; letter-spacing: -.02em; line-height: .98; margin-bottom: 14px; max-width: 14em; }
.p-bajada { margin: 0 0 30px; color: var(--muted); font-size: 1.05rem; }
.p-buscar h2 em, .ruta-h h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.linea-in { display: flex; flex-wrap: wrap; align-items: stretch; border-bottom: 2px solid var(--ink); gap: 0 10px; }
.linea-lbl { flex-basis: 100%; margin: 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.linea-in:focus-within { border-bottom-color: var(--blue); }
.linea-in input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: clamp(18px, 4.5vw, 24px); padding: 12px 0; }
.linea-in input::placeholder { color: #A39E92; }
.nodo-btn { border: 0; background: var(--ink); color: #fff; display: flex; align-items: center; gap: 10px; padding: 0 18px; margin-bottom: 8px; border-radius: 4px; font-weight: 600; }
.nodo-btn i { font-style: normal; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); transition: transform .2s; }
.nodo-btn:hover i { transform: translateX(3px); }
@media (max-width: 480px) { .nodo-btn span { display: none; } .nodo-btn { padding: 0 10px; } }

.elegir { margin: 34px 0; }
.elegir button { width: 100%; display: grid; grid-template-columns: 1fr auto; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); padding: 16px 2px; }
.elegir button:last-child { border-bottom: 1px solid var(--line); }
.elegir button b { font-size: 1.1rem; } .elegir button span { grid-column: 1; color: var(--muted); font-size: .9rem; }
.elegir button i { grid-row: 1 / 3; grid-column: 2; align-self: center; font-style: normal; font-size: 1.3rem; }
.elegir button:hover { background: var(--paper2); }

.ruta { margin: 44px 0 30px; }
.ruta-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.ruta-h h2 { font-size: clamp(28px, 6vw, 40px); font-stretch: 85%; margin: 0; }
.ruta-h .kicker { margin-bottom: 8px; }
.ruta-emp { margin: 4px 0 0; color: var(--muted); }
.vacio-ruta { padding: 24px 0; color: var(--muted); }

.estaciones { list-style: none; margin: 0; padding: 0; position: relative; }
.estaciones::before { content: ''; position: absolute; left: 81px; top: 30px; bottom: 30px; width: 2px; background: var(--gradv); }
.est { display: grid; grid-template-columns: 58px 22px 1fr auto; gap: 0 14px; align-items: start; padding: 22px 0; border-bottom: 1px dashed var(--line); position: relative; animation: subir .5s both; animation-delay: calc(var(--i) * 80ms); }
@keyframes subir { from { opacity: 0; transform: translateY(8px); } }
.est-hora { text-align: right; padding-top: 3px; }
.est-hora b { display: block; font-size: 1.15rem; font-weight: 600; }
.est-hora span { font-size: .78rem; color: var(--muted); }
.est-nodo { width: 16px; height: 16px; border-radius: 50%; background: var(--card); border: 3px solid var(--teal); margin: 6px auto 0; position: relative; z-index: 1; }
.est-body h3 { font-size: 1.4rem; font-stretch: 88%; margin: 4px 0 2px; }
.est-dia { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0; }
.est-estado { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 2px 8px; margin: 8px 0 2px; }
.est-area { margin: 0; font-weight: 500; }
.est-cargo { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }
.est .blob { margin-top: 2px; }
.est.proxima .est-nodo { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 5px rgba(44, 140, 255, .18); }
.est.ahora .est-nodo { background: var(--mint); border-color: var(--ink); }
.est.ahora .est-nodo::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--mint); animation: onda 1.6s infinite; }
.est.ahora .est-estado { background: var(--mint); color: var(--ink); }
.est.pasada { opacity: .5; }
.est.pasada .est-nodo { border-color: var(--line); background: var(--paper); }
.est.pasada .blob { background: #A8AFC0; }
@keyframes onda { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@media (max-width: 520px) {
  .estaciones::before { left: 55px; }
  .est { grid-template-columns: 38px 18px 1fr auto; gap: 0 10px; }
  .est-hora b { font-size: .95rem; }
  .est-body h3 { font-size: 1.15rem; }
  .est .blob { --s: 58px; }
}

#info { padding: 30px 0 40px; }
.cadena { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cadena li { position: relative; padding-top: 32px; }
.cadena li::before { content: ''; position: absolute; left: 0; right: -20px; top: 8px; height: 2px; background: var(--line); }
.cadena li:last-child::before { right: 0; background: linear-gradient(90deg, var(--line), transparent); }
.cadena .n { position: absolute; top: 1px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); z-index: 1; }
.cadena li:nth-child(2) .n { border-color: var(--teal); } .cadena li:nth-child(3) .n { border-color: var(--blue); background: var(--blue); }
.cadena b { display: block; font-size: 1.12rem; margin-bottom: 4px; }
.cadena span { color: var(--muted); font-size: .92rem; }
.nota-info { margin: 26px 0 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 620px) {
  .cadena { grid-template-columns: 1fr; gap: 0; }
  .cadena li { padding: 0 0 22px 32px; }
  .cadena li::before { left: 7px; right: auto; top: 16px; bottom: 0; width: 2px; height: auto; }
  .cadena li:last-child::before { display: none; }
}
.p-foot { border-top: 1px solid var(--line); padding: 26px 0 40px; margin-top: 20px; }

/* ============================================================
   Accesos (mentor / admin)
   ============================================================ */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 30px 16px; background: var(--ink); position: relative; overflow: hidden; }
.login-in { position: relative; z-index: 1; width: min(400px, 100%); display: flex; flex-direction: column; align-items: center; gap: 26px; }
.login-logo { width: 240px; height: auto; }
.login, .card.login { width: 100%; background: var(--paper); border-radius: var(--r); padding: 28px 26px 22px; border: 0; }
.login h2 { font-size: 1.8rem; font-stretch: 85%; margin-bottom: 18px; }
.login .kicker { margin-bottom: 8px; }
.login .btn.full { margin: 6px 0 4px; padding: 13px; }
.login .txt-btn { display: inline-block; margin-top: 8px; }
.login-wrap > .card.login { max-width: 420px; position: relative; z-index: 1; }

/* ============================================================
   Barra superior compartida (mentor / admin)
   ============================================================ */
.topbar { background: var(--ink); color: #fff; padding: 12px 0; position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.tb-marca { display: flex; align-items: center; gap: 14px; }
.tb-logo { height: 24px; width: auto; }
.tb-marca span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-l); padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .18); }
@media (max-width: 480px) { .tb-marca span { display: none; } }
.tabs { display: flex; gap: 22px; overflow-x: auto; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.tab { border: 0; background: none; padding: 12px 0 10px; font-weight: 500; white-space: nowrap; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; text-align: left; }
.tab span { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2px; }
.tab:hover { color: var(--ink); }
.tab.on { color: var(--ink); border-bottom-color: var(--ink); font-weight: 650; }
.tabs.sub { margin: 0; border: 0; gap: 18px; }
.tabs.sub .tab { font-size: .9rem; }

/* ============================================================
   Panel de mentor
   ============================================================ */
.m-head { background: var(--ink); color: #fff; padding: 30px 0 34px; }
.m-head-in { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.m-head .kicker { color: #6FD3BE; margin-bottom: 8px; }
.m-head h2 { font-size: clamp(30px, 7vw, 46px); font-stretch: 82%; margin: 0 0 14px; }
.mini-stats { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; color: var(--ink-l); letter-spacing: .04em; }
.mini-stats b { color: #fff; font-size: 15px; margin-right: 3px; }
.m-main { padding-top: 12px; padding-bottom: 20px; }
.pwbox { margin-top: 12px; }
.bloque-t { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 26px 0 4px 94px; font-weight: 500; }
.slot { display: grid; grid-template-columns: 58px 22px 1fr; gap: 0 14px; padding: 12px 0; position: relative; }
.slot::before { content: ''; position: absolute; left: 81px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.slot.con::before { background: var(--gradv); }
.slot-hora { text-align: right; padding-top: 14px; }
.slot-hora b { display: block; font-size: 1.05rem; font-weight: 600; }
.slot-hora span { font-size: .76rem; color: var(--muted); }
.slot .est-nodo { margin-top: 18px; }
.slot.libre .est-nodo { border-color: var(--line); background: var(--paper); width: 12px; height: 12px; border-width: 2px; }
.slot.ahora .est-nodo { background: var(--mint); border-color: var(--ink); }
.slot.ahora .est-nodo::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--mint); animation: onda 1.6s infinite; }
.slot.pasada { opacity: .6; }
.slot-body { min-width: 0; }
.slot.con .slot-body { background: var(--card); border: 1px solid var(--line2); border-radius: var(--r); padding: 14px 16px; }
.slot.con.ahora .slot-body { border-color: var(--ink); box-shadow: 4px 4px 0 var(--mint); }
.slot-h { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.slot.libre .slot-h { padding-top: 14px; }
.slot-libre { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.part { margin-top: 8px; }
.part h3 { margin: 0; font-size: 1.3rem; font-stretch: 88%; }
.part .emp { margin: 2px 0 12px; }
.desafio { border-left: 3px solid var(--teal); background: var(--paper); padding: 10px 14px; margin-bottom: 12px; }
.desafio small { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.desafio p { margin: 4px 0 0; white-space: pre-line; }
.extra { display: grid; grid-template-columns: max-content 1fr; gap: 5px 14px; font-size: .88rem; margin: 0 0 12px; }
.extra dt { color: var(--muted); } .extra dd { margin: 0; word-break: break-word; }
.estado-btns { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.estado-btns button { border: 1px solid var(--line); background: var(--card); border-radius: 4px; padding: 6px 12px; font-size: .85rem; font-weight: 500; }
.estado-btns button:hover { border-color: var(--ink); }
.estado-btns button.on.ok { background: var(--ok-bg); border-color: var(--ok); color: var(--ok); }
.estado-btns button.on.bad { background: var(--bad-bg); border-color: var(--bad); color: var(--bad); }
.nota { font-size: .9rem; background: var(--paper); }
@media (max-width: 520px) {
  .slot { grid-template-columns: 40px 18px 1fr; gap: 0 10px; }
  .slot::before { left: 57px; }
  .bloque-t { margin-left: 68px; }
  .blob.grande { --s: 90px; }
}

/* ============================================================
   Administración
   ============================================================ */
.adm { padding-top: 8px; padding-bottom: 70px; }
.aviso { background: var(--warn-bg); color: #6E4900; border-left: 3px solid var(--warn); padding: 12px 14px; margin-bottom: 16px; font-size: .9rem; }
.progreso { background: var(--ink); color: #fff; padding: 10px 14px; margin-bottom: 16px; font-size: .88rem; font-family: var(--mono); border-left: 4px solid var(--mint); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); margin-bottom: 22px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.stat { padding: 12px 16px 12px 0; }
.stat + .stat { padding-left: 16px; border-left: 1px solid var(--line); }
.stat b { display: block; font-size: 2.1rem; font-weight: 750; font-stretch: 80%; line-height: 1.1; }
.stat span { color: var(--muted); font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.stat.ok b { color: var(--ok); } .stat.bad b { color: var(--bad); } .stat.warn b { color: var(--warn); }
.card .stats { border-top-width: 1px; }
.scroll { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th, .tbl td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line2); vertical-align: top; }
.tbl th { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 500; background: var(--paper); }
.tbl tbody tr:hover td { background: #FBF8F1; }
.tbl.compact td, .tbl.compact th { padding: 5px 6px; border: 0; background: none; }
.tbl .acciones { white-space: nowrap; text-align: right; }
.tbl .acciones .btn { margin-left: 4px; }
.tbl tr.editando td, .tbl tr.acc-row td { background: #EEF6F2; }
.mesa-n { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: var(--blob); background: var(--grad); color: #fff; font-weight: 750; font-size: .95rem; flex: none; }
.grid { border-collapse: separate; border-spacing: 0; font-size: .82rem; min-width: 100%; }
.grid th, .grid td { padding: 9px 10px; border-bottom: 1px solid var(--line2); border-right: 1px solid var(--line2); min-width: 132px; vertical-align: top; }
.grid thead th { background: var(--paper); text-align: left; font-weight: 600; font-family: var(--mono); position: sticky; top: 0; }
.grid thead th small { display: block; font-weight: 400; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.grid th.stick { position: sticky; left: 0; background: var(--card); z-index: 2; min-width: 230px; text-align: left; font-weight: 400; font-family: var(--sans); box-shadow: 1px 0 0 var(--line); }
.grid thead th.stick { background: var(--paper); z-index: 3; font-family: var(--mono); }
.mcell { display: flex; gap: 10px; align-items: center; }
.grid th.stick small { display: block; color: var(--muted); }
.grid td b { display: block; font-weight: 600; }
.grid td small { color: var(--muted); }
.grid td.libre { color: var(--line); text-align: center; }
.grid .now { box-shadow: inset 0 3px 0 var(--mint); }
td.est-pendiente { background: var(--card); }
td.est-asistio { background: var(--ok-bg); }
td.est-no_asistio { background: var(--bad-bg); }
.leyenda { margin-top: 10px; }
.lg { display: inline-block; width: 12px; height: 12px; vertical-align: -1px; margin: 0 5px 0 12px; border: 1px solid var(--line); }
.lg.est-pendiente { background: var(--card); } .lg.est-asistio { background: var(--ok-bg); } .lg.est-no_asistio { background: var(--bad-bg); }
.mini-cita { font-size: .8rem; padding: 3px 8px; margin-bottom: 3px; background: var(--paper); border-left: 2px solid var(--line); }
.mini-cita.est-asistio { background: var(--ok-bg); border-color: var(--ok); } .mini-cita.est-no_asistio { background: var(--bad-bg); border-color: var(--bad); }
.buscador { max-width: 380px; }
.cols2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.cols2 .card { margin-bottom: 0; }
.cols2 + .card, .cols2 + .card + .card { margin-top: 16px; }
.file { display: inline-block; margin: 0; }
.file input { display: none; }
.file span { display: inline-block; background: var(--ink); color: #fff; font-weight: 600; padding: 11px 18px; border-radius: 4px; cursor: pointer; }
.lista-err, .lista-warn { padding: 12px 14px; margin-bottom: 12px; font-size: .88rem; }
.lista-err { background: var(--bad-bg); color: #82261E; border-left: 3px solid var(--bad); }
.lista-warn { background: var(--warn-bg); color: #6E4900; border-left: 3px solid var(--warn); }
.lista-err ul, .lista-warn ul { margin: 6px 0 0; padding-left: 18px; max-height: 260px; overflow: auto; }
.nuevos { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--mint); }
.cfg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cfg-grid .span2 { grid-column: 1 / -1; }
.cfg-grid .card { margin-bottom: 0; }
.cfg-grid .row.gap > label { flex: 1; }
.cfg-sesiones { display: grid; grid-template-columns: 1fr 1.6fr; gap: 26px; }
@media (max-width: 900px) { .cfg-grid, .cfg-sesiones { grid-template-columns: 1fr; } }
.barra-guardar { position: sticky; bottom: 0; background: var(--paper); border-top: 1px solid var(--line); margin-top: 16px; padding: 12px 0; display: flex; gap: 8px; z-index: 5; }
#preview { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 8px 26px; }
#preview > p { grid-column: 1 / -1; }
.prev-dia { margin-bottom: 14px; }
.prev-bloque { margin: 6px 0 0 8px; font-size: .88rem; }
.prev-turnos { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.prev-turnos span { background: var(--paper); border: 1px solid var(--line2); padding: 2px 8px; font-size: .76rem; font-family: var(--mono); }

/* Seguimiento y panel de detalle */
.grid td.clic { cursor: pointer; position: relative; }
.grid td.clic:hover { outline: 2px solid var(--ink); outline-offset: -2px; }
.ico-nota { position: absolute; top: 6px; right: 7px; font-style: normal; font-size: .8rem; color: var(--teal); }
.filtros { display: grid; grid-template-columns: 120px minmax(200px, 1.4fr) 190px minmax(200px, 1.4fr) auto; gap: 12px; align-items: end; margin-bottom: 12px; }
.filtros label { margin: 0; }
.filtros .check { display: flex; gap: 8px; align-items: center; padding-bottom: 10px; white-space: nowrap; color: var(--tx); }
@media (max-width: 900px) { .filtros { grid-template-columns: 1fr 1fr; } }
.tbl.seg td { vertical-align: middle; }
.tbl tr.vencida td { background: #FBF1E4; }
.estado-btns.mini { margin: 0 0 3px; flex-wrap: nowrap; }
.estado-btns.mini button { padding: 3px 9px; font-size: .8rem; }
.marca { display: block; font-size: .72rem; }
.nota-cel { max-width: 380px; font-size: .86rem; white-space: pre-line; }
.nota-org { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--line); color: var(--muted); font-size: .8rem; }
.panel-fondo { position: fixed; inset: 0; background: rgba(10, 20, 51, .35); z-index: 40; animation: aparece .2s; }
.panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--paper); z-index: 41; overflow-y: auto; border-left: 2px solid var(--ink); animation: entra .25s ease-out; }
@keyframes aparece { from { opacity: 0; } } @keyframes entra { from { transform: translateX(30px); opacity: 0; } }
.panel-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px 22px 14px; background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 1; }
.panel-h .kicker { color: #6FD3BE; margin-bottom: 6px; }
.panel-h h3 { font-family: var(--mono); font-weight: 500; font-size: 1.5rem; margin: 0; }
.panel-h .txt-btn { color: var(--ink-l); }
.panel-sec { padding: 16px 22px; border-bottom: 1px solid var(--line); }
.panel-sec .kicker { margin-bottom: 8px; }
.panel-sec h3 { font-size: 1.3rem; font-stretch: 88%; margin: 0; }
.panel-sec .emp { margin: 2px 0 12px; }
.nota-mentor { margin: 0; padding: 12px 14px; background: var(--card); border-left: 3px solid var(--blue); white-space: pre-line; }

/* ============================================================
   Pantalla pública (TV)
   ============================================================ */
body.ruta-pantalla { background: var(--ink); overflow: hidden; }
.tv { --cols: 4; height: 100vh; display: flex; flex-direction: column; color: #fff; padding: 3vh 2.6vw 0; gap: 2.2vh; position: relative; overflow: hidden; background: radial-gradient(ellipse at 85% 0%, #14285E 0%, transparent 55%), var(--ink); }
.tv > *:not(.red-bg) { position: relative; z-index: 1; }
.tv-top { display: flex; justify-content: space-between; align-items: center; }
.tv-marca { display: flex; align-items: center; gap: 2vw; }
.tv-logo { height: 7.5vh; width: auto; }
.tv-marca > div { border-left: 1px solid rgba(255, 255, 255, .2); padding-left: 2vw; }
.tv-marca p { margin: 0; }
.tv-marca .mono { font-size: 1.3vh; letter-spacing: .16em; text-transform: uppercase; color: #6FD3BE; }
.tv-sub { font-size: 2.3vh; font-weight: 600; margin-top: .4vh !important; }
.tv-reloj { text-align: right; }
.tv-reloj b { display: block; font-size: 6.5vh; font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.tv-reloj span { color: var(--ink-l); font-size: 1.7vh; font-family: var(--sans); }
.tv-estado:empty { display: none; }
.tv-card { background: rgba(16, 28, 67, .82); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r); padding: 2.4vh 2.2vw; display: flex; justify-content: space-between; align-items: center; gap: 2vw; }
.tv-card-a { flex: 1; min-width: 0; }
.tv-card.en-curso { border-color: rgba(19, 224, 165, .55); }
.tv-card.pronto { border-color: rgba(44, 140, 255, .6); }
.tv-etq { display: flex; align-items: center; gap: .8vw; font-size: 1.5vh; letter-spacing: .16em; text-transform: uppercase; color: #6FD3BE; margin: 0; }
.pulso { width: 1.2vh; height: 1.2vh; border-radius: 50%; background: var(--mint); position: relative; }
.pulso::after { content: ''; position: absolute; inset: -.6vh; border-radius: 50%; border: 2px solid var(--mint); animation: onda 1.6s infinite; }
.tv-card.pronto .tv-etq { color: #8FC2FF; } .tv-card.pronto .pulso, .tv-card.pronto .pulso::after { background: var(--blue); border-color: var(--blue); }
.tv-card h2 { font-size: 6.4vh; font-stretch: 80%; font-weight: 750; margin: 1vh 0 .6vh; letter-spacing: -.01em; display: flex; align-items: baseline; gap: 1.2vw; }
.tv-card h2 .mono { font-size: 2.2vh; font-weight: 500; background: rgba(255, 255, 255, .1); padding: .5vh .8vw; letter-spacing: .06em; align-self: center; font-stretch: normal; }
.tv-card h2 em { font-style: normal; color: var(--teal); font-weight: 400; }
.tv-det { margin: 0; color: var(--ink-l); font-size: 2.1vh; }
.tv-det b { color: #fff; }
.hilo { height: .7vh; background: rgba(255, 255, 255, .1); margin-top: 1.8vh; position: relative; }
.hilo i { display: block; height: 100%; background: var(--grad); position: relative; transition: width 1s linear; }
.hilo i::after { content: ''; position: absolute; right: -.9vh; top: 50%; width: 1.8vh; height: 1.8vh; border-radius: 50%; background: var(--mint); transform: translateY(-50%); box-shadow: 0 0 0 .6vh rgba(19, 224, 165, .25); }
.tv-sig { text-align: right; padding-left: 2vw; border-left: 1px solid rgba(255, 255, 255, .14); }
.tv-sig small { display: block; color: var(--ink-l); font-size: 1.4vh; text-transform: uppercase; letter-spacing: .16em; }
.tv-sig b { display: block; font-size: 5vh; font-weight: 500; color: #fff; line-height: 1.1; }
.tv-sig span { font-size: 1.7vh; color: var(--ink-l); }
.tv-mesas { flex: 1; display: grid; grid-template-columns: repeat(var(--cols), 1fr); grid-auto-rows: minmax(0, 1fr); gap: 1.4vh 1.1vw; min-height: 0; align-content: start; }
.tv-mesa { background: rgba(16, 28, 67, .72); border: 1px solid rgba(255, 255, 255, .07); border-radius: var(--r); display: flex; gap: 1.1vw; align-items: center; padding: 1.3vh 1vw; min-height: 0; overflow: hidden; }
.tv-mesa .blob { --s: 8vh; }
.tv-mesa .blob small { font-size: 1vh; }
.tv-mesa.oc { border-color: rgba(47, 160, 137, .45); }
.tv-mesa.lib .blob { background: #26366A; }
.tv-mesa.lib .tv-mesa-b b { color: #C9D2EA; }
.tv-mesa.vivo .blob { animation: latido 3.2s ease-in-out infinite; animation-delay: var(--d); }
@keyframes latido { 0%, 100% { border-radius: var(--blob); } 50% { border-radius: 42% 58% 60% 40% / 56% 44% 56% 44%; } }
.tv-mesa-b { min-width: 0; }
.tv-mesa-b b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 2.15vh; line-height: 1.15; overflow: hidden; }
.tv-mesa-b span { display: block; font-size: 1.6vh; color: var(--ink-l); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-mesa-b em { display: flex; align-items: center; gap: .6vw; font-style: normal; font-size: 1.35vh; letter-spacing: .1em; text-transform: uppercase; color: #6FD3BE; margin-top: .5vh; }
.tv-mesa.lib em { color: #7F8BB0; }
.enlace { position: relative; width: 2.8vh; height: 1vh; flex: none; }
.enlace::before, .enlace::after { content: ''; position: absolute; top: 50%; width: .8vh; height: .8vh; border-radius: 50%; background: currentColor; transform: translateY(-50%); }
.enlace::before { left: 0; } .enlace::after { right: 0; }
.tv-mesa.oc .enlace { background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat; }
.tv-mesa.vivo .enlace { background: repeating-linear-gradient(90deg, currentColor 0 3px, transparent 3px 6px) center / 100% 1.5px no-repeat; animation: fluye .6s linear infinite; }
@keyframes fluye { to { background-position: 6px 50%; } }
.tv-mesa.lib .enlace::after { opacity: .3; }
.tv-foot { display: flex; align-items: center; gap: 2.4vw; background: rgba(8, 15, 40, .9); margin: 0 -2.6vw; padding: 1.4vh 2.6vw; font-size: 1.8vh; border-top: 1px solid rgba(255, 255, 255, .08); }
.tv-foot .firma-rc img { height: 4.2vh; }
.tv-foot .firma-rc span { font-size: 1.1vh; max-width: 9vw; }
.tv-foot .firma-rc { cursor: default; }
.tv-foot .firma-rc:hover { opacity: 1; }
.marquee { flex: 1; overflow: hidden; white-space: nowrap; color: #E5EBFA; }
.marquee span { display: inline-block; padding-left: 100%; animation: marquee 30s linear infinite; }
.marquee.vacio span { animation: none; }
@keyframes marquee { to { transform: translateX(-100%); } }
.tv-foot-r { display: flex; gap: 1.6vw; align-items: center; color: var(--ink-l); white-space: nowrap; font-size: 1.5vh; }
.tv-foot-r b { color: #fff; font-weight: 500; }
:fullscreen #fs { display: none; }
@media (max-width: 900px) {
  body.ruta-pantalla { overflow: auto; }
  .tv { height: auto; min-height: 100vh; }
  .tv-mesas { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Organización (plan de mesas)
   ============================================================ */
.org-intro { background: var(--card); border-left: 3px solid var(--teal); padding: 12px 16px; margin-bottom: 18px; font-size: .92rem; }
.org-intro p { margin: 0; }
.stat b small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.stat b.pub { font-size: 1rem; padding: 8px 0 4px; }
.tablero { border-collapse: separate; border-spacing: 0; min-width: 100%; }
.tablero th, .tablero td { border-bottom: 1px solid var(--line2); border-right: 1px solid var(--line2); padding: 6px; vertical-align: middle; }
.tablero thead th { background: var(--paper); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; text-align: center; padding: 9px 6px; }
.tablero th.stick { position: sticky; left: 0; z-index: 2; background: var(--card); min-width: 170px; text-align: left; font-weight: 400; box-shadow: 1px 0 0 var(--line); }
.tablero thead th.stick { background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 650; text-transform: none; letter-spacing: 0; font-size: .9rem; }
.tablero th.stick small { display: block; color: var(--muted); font-size: .74rem; margin-top: 2px; }
.celda { width: 128px; min-height: 56px; border: 1px solid var(--line); background: var(--card); border-radius: 4px; padding: 7px 8px 7px 11px; text-align: left; position: relative; display: block; cursor: pointer; transition: border-color .12s, box-shadow .12s; }
.celda::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 4px 0 0 4px; background: var(--ac, var(--line)); }
.celda b { display: block; font-size: .82rem; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.celda small { display: block; font-size: .7rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.celda i { position: absolute; top: 4px; right: 6px; font-style: normal; color: var(--bad); font-size: .8rem; }
.celda:hover { border-color: var(--ink); }
.celda.vacia { color: var(--line); font-size: 1.4rem; text-align: center; padding: 0; background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(10, 20, 51, .03) 6px 12px); border-style: dashed; }
.celda.vacia::before { display: none; }
.celda.vacia:hover { color: var(--ink); }
.celda.conflicto { border-color: var(--bad); background: var(--bad-bg); }
.celda.sobre { box-shadow: 0 0 0 3px var(--blue); }
.celda[draggable="true"] { cursor: grab; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ac); margin-right: 7px; vertical-align: 0; flex: none; }
.cobertura td, .cobertura th { text-align: center; white-space: nowrap; }
.cobertura td:first-child, .cobertura th:first-child { text-align: left; }
.cobertura th { font-size: 10px; }
.cobertura td small { color: var(--muted); font-size: .72rem; }
.cobertura .c-ok { background: var(--ok-bg); font-weight: 650; }
.cobertura .c-warn { background: var(--warn-bg); }
.cobertura .c-nada { color: var(--line); }
.lg.c-ok { background: var(--ok-bg); } .lg.c-warn { background: var(--warn-bg); } .lg.c-nada { background: var(--card); }
.tbl.equipo th.c, .tbl.equipo td.c { text-align: center; padding-left: 4px; padding-right: 4px; }
.tbl.equipo th.c { font-size: 9.5px; letter-spacing: .04em; }
.tbl.equipo tr.tenue td { opacity: .55; }
.disp { width: 30px; height: 26px; border: 1px solid var(--line); background: var(--card); border-radius: 4px; font-size: .8rem; color: var(--ok); padding: 0; }
.disp.on { background: var(--ok-bg); border-color: #9fd3bb; }
.disp.plan { background: var(--ok); color: #fff; border-color: var(--ok); }
.disp.conflicto { background: var(--bad); border-color: var(--bad); }
.disp:hover { border-color: var(--ink); }
.mini-sel { padding: 5px 8px; font-size: .82rem; width: auto; }
.est-m-confirmado { border-color: var(--ok); color: var(--ok); }
.est-m-rechazado, .est-m-desistio { color: var(--bad); }
.cands { display: grid; gap: 6px; margin-top: 6px; }
.cand { display: flex; align-items: center; gap: 8px; text-align: left; border: 1px solid var(--line); background: var(--card); border-radius: 4px; padding: 9px 10px; }
.cand:hover { border-color: var(--ink); }
.cand span { flex: 1; min-width: 0; }
.cand b { display: block; font-size: .9rem; }
.cand small { color: var(--muted); font-size: .76rem; }
.cand em { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.cand em.nueva { color: var(--ok); }
.disp-ed { display: grid; gap: 4px; margin-bottom: 12px; }
.check { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--tx); font-size: .9rem; }
.check input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--ink); }
.w90 { width: 110px; display: inline-block; }
.check .w70, .check .w90 { margin: 0; }
.in.auto { width: auto; }
.file .btn { pointer-events: none; }
details summary { cursor: pointer; font-weight: 500; }

/* Agenda por mesa */
.grid .m-cel { display: block; font-family: var(--mono); font-size: .68rem; color: var(--teal); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.grid td.libre .muted { display: block; font-size: .78rem; }
.grid td.sin-m { background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(10, 20, 51, .035) 6px 12px); }

/* ============================================================
   Correos
   ============================================================ */
.conexion { border-left: 4px solid var(--line); }
.conexion.ok { border-left-color: var(--ok); } .conexion.warn { border-left-color: var(--warn); } .conexion.bad { border-left-color: var(--bad); }
.conexion h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; }
.conexion details { margin-top: 12px; border-top: 1px solid var(--line2); padding-top: 10px; }
.punto { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: inline-block; }
.punto.ok { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); } .punto.warn { background: var(--warn); } .punto.bad { background: var(--bad); }
.interruptor { display: flex; align-items: center; gap: 10px; }
.pasos-inst { padding-left: 20px; margin: 10px 0; font-size: .9rem; }
.pasos-inst li { margin-bottom: 8px; }
.pasos-inst .btn { margin-left: 6px; vertical-align: middle; }
.err-txt { color: var(--bad); }
.envios { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px 30px; }
.envios p { margin: 0 0 10px; }
.previa { width: 100%; height: 620px; border: 1px solid var(--line); border-radius: 4px; background: #F4F1EA; }
.tag.cola-pendiente { background: var(--warn-bg); color: var(--warn); }
.tag.cola-enviado { background: var(--ok-bg); color: var(--ok); }
.tag.cola-error { background: var(--bad-bg); color: var(--bad); }
.tag.cola-vencido { background: var(--paper2); color: var(--muted); }

/* ============================================================
   Mapa del recinto
   ============================================================ */
.p-mapa { padding: 34px 0 6px; }
.mapa-grid { display: grid; gap: 18px; }
.mapa-grid .mapa-pasos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
@media (max-width: 620px) { .mapa-grid .mapa-pasos { grid-template-columns: 1fr; } }
.mapa-pie { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.mapa-pie .nota-info { margin: 0; }
.mapa-caja { background: var(--card); border: 1px solid var(--line2); border-radius: var(--r); padding: 10px; }
.mapa { width: 100%; height: auto; display: block; font-family: var(--mono); }
.mapa-pasos { list-style: none; counter-reset: paso; margin: 0 0 16px; padding: 0; }
.mapa-pasos li { counter-increment: paso; position: relative; padding: 0 0 12px 34px; font-size: .95rem; }
.mapa-pasos li::before { content: counter(paso); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--mono); font-size: .72rem; display: grid; place-items: center; }
.mapa-pasos li:last-child::before { background: var(--grad); }

.mz-salon { fill: #E9E5DB; stroke: #B9B2A3; stroke-width: 1.5; }
.mz-patio { fill: #EFEBE2; stroke: #C9A97A; stroke-width: 2; }
.mz-foyer { fill: #F3F0E8; stroke: #C9A97A; stroke-width: 1.5; stroke-dasharray: 4 3; }
.mz-stand rect { fill: #D3CDBF; }
.mz-hito { fill: #C7C0B0; }
.mz-sillas circle, .mz-ruedas circle { fill: #C2BBAC; }
.mz-etq { font-size: 11px; letter-spacing: .12em; fill: #6E6A60; text-anchor: middle; font-weight: 600; }
.mz-etq.v { font-size: 10px; }
.mz-mini { font-size: 9px; letter-spacing: .1em; fill: #7D786D; text-anchor: middle; }
.mz-mini.azul { fill: var(--blue); text-anchor: start; font-weight: 600; }
.mz-zona { fill: rgba(47, 160, 137, .12); stroke: url(#mz-g); stroke-width: 2.5; }
.mz-mesa rect { fill: var(--ink); }
.mz-mesa text { fill: #fff; font-size: 8.5px; text-anchor: middle; font-weight: 600; font-family: var(--sans); }
.mz-mesa.tuya rect { fill: var(--mint); }
.mz-mesa.tuya text { fill: var(--ink); }
.mz-onda { fill: none; stroke: var(--mint); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: onda 1.6s infinite; }
.mz-guia { fill: none; stroke: var(--teal); stroke-width: 1; }
.mz-zona-t { font-size: 14px; letter-spacing: .12em; fill: var(--teal); font-weight: 600; }
.mz-tuya { font-size: 14px; fill: var(--ink); font-weight: 600; font-family: var(--sans); }
.mz-puerta { stroke: var(--blue); stroke-width: 6; stroke-linecap: round; }
.mz-acceso { stroke: #F3F0E8; stroke-width: 4; }
.mz-ruta { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-dasharray: 6 5; stroke-linecap: round; stroke-linejoin: round; animation: ruta 1.2s linear infinite; }
@keyframes ruta { to { stroke-dashoffset: -11; } }
.mz-inicio circle { fill: var(--card); stroke: var(--blue); stroke-width: 2.5; }
.mz-inicio .c { fill: var(--blue); stroke: none; }

/* Mentor: mesas del día */
.m-mesa { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.m-mesa p { margin: 0; color: var(--ink-l); text-align: center; line-height: 1.5; }
.bloque-t b { color: var(--ink); }
.tv-mesa.vacia { opacity: .45; }
.tv-mesa.vacia .blob { background: #26366A; }

/* Edición de participantes */
.panel.ancho { width: min(580px, 100%); }
.campos2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 520px) { .campos2 { grid-template-columns: 1fr; } }
.extra-fila { margin-bottom: 6px; }
.extra-fila .in { margin: 0; }
.pe-citas { display: grid; gap: 6px; }
.pe-cita { display: grid; grid-template-columns: 92px auto 1fr auto auto; gap: 10px; align-items: center; background: var(--card); border: 1px solid var(--line2); border-radius: 4px; padding: 8px 10px; font-size: .88rem; }
.pe-cita.nueva { border-color: var(--ok); background: #F3FBF6; }
.pe-cita .mono { font-size: .78rem; }
.pe-m b { display: block; font-size: .88rem; } .pe-m small { color: var(--muted); font-size: .75rem; }

.panel.quieto, .panel-fondo.quieto { animation: none; }
.fechas-rec { display: grid; gap: 4px; margin: 0 0 10px 24px; }
.fechas-rec label { margin: 0; font-size: .8rem; display: grid; grid-template-columns: minmax(150px, 1fr) 220px; gap: 2px 10px; align-items: center; }
.fechas-rec label small { grid-column: 1 / -1; }
.fechas-rec .in { margin: 0; }
.filtros-cola { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 0 20px 12px; }
.filtros-cola .in { margin: 0; }
.filtros-cola input.in { flex: 1; min-width: 200px; }
.tag.cola-cancelado { background: var(--paper2); color: var(--muted); text-decoration: line-through; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
