/* ================= CRM PDL — Estilos =================
   Renovación visual (2/oct/2026): paleta más sobria, menú oscuro con íconos de línea, superficies blancas con
   borde fino, tablas ligeras, controles de la misma altura y textos con mejor contraste. Mismos nombres de
   clases que antes: ninguna pantalla cambia de estructura, solo de aspecto. */
:root {
  --azul: #0057C7;          /* azul de acción RLC Nitur (botones y enlaces) */
  --azul-osc: #101B2F;
  --azul-claro: #EAF2FF;
  --azul-medio: #C7DCFF;
  --menu: #101B2F;          /* barra lateral */
  --menu-2: #16233B;
  --verde: #1f8a5b;
  --rojo: #c8414f;
  --ambar: #d9921e;
  --gris-1: #f3f5f8;        /* fondo de la página */
  --gris-2: #e3e8ee;        /* bordes */
  --gris-3: #6b7a8b;        /* texto secundario (antes muy claro: poco contraste) */
  --linea: #edf1f5;         /* divisiones dentro de tablas y listas */
  --texto: #1c2733;
  --sombra: 0 1px 2px rgba(16, 32, 48, .05), 0 1px 3px rgba(16, 32, 48, .06);
  --sombra-2: 0 4px 14px rgba(16, 32, 48, .08), 0 2px 4px rgba(16, 32, 48, .05);
  --radio: 12px;
  --alto-control: 36px;
  --fuente: "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--fuente);
  color: var(--texto);
  background: var(--gris-1);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font-family: inherit; color: inherit; }
:focus-visible { outline: 2px solid #7FB2FF; outline-offset: 2px; }
::selection { background: var(--azul-medio); }

#app { display: flex; min-height: 100vh; }

/* ---------- Barra lateral ---------- */
.sidebar {
  width: 236px;
  background: linear-gradient(180deg, var(--menu-2) 0%, var(--menu) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  z-index: 5;
  border-right: 1px solid rgba(0, 0, 0, .15);
}
.brand { display: flex; align-items: center; gap: 11px; padding: 18px 18px 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.brand-logo { font-size: 28px; }
.brand-logo img { width: 38px; height: 38px; border-radius: 50%; display: block; background: #fff; object-fit: cover; box-shadow: 0 0 0 2px rgba(255, 255, 255, .15); }
.brand-name { font-weight: 700; font-size: 15.5px; letter-spacing: .2px; }
.brand-sub { font-size: 11.5px; color: #9fb4c7; }
/* El menú se desplaza solo si no cabe; el pie (sesión, informes, respaldo y disco) queda
   siempre a la vista. Antes, con 16 entradas, el pie se salía de la pantalla y el
   administrador no veía ni el botón de respaldo ni el uso del disco (29/sep/2026). */
.sidebar nav { display: flex; flex-direction: column; gap: 1px; padding: 10px 10px; flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.nav-item {
  display: flex; align-items: center; gap: 11px; position: relative;
  background: transparent; border: 0; color: #b8c8d7;
  padding: 8px 12px; border-radius: 8px; cursor: pointer;
  font-size: 13.5px; font-weight: 500; text-align: left; transition: background .15s, color .15s; flex-shrink: 0;
}
.nav-item > span:first-child { width: 20px; display: inline-flex; justify-content: center; font-size: 16px; opacity: .9; }
.nav-item svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-item:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.nav-item.active { background: rgba(255, 255, 255, .12); color: #fff; font-weight: 600; }
.nav-item.active::before { content: ''; position: absolute; left: -10px; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: #22E5EF; }
/* Menú por grupos (10/oct/2026): tres entradas en la barra lateral; las pantallas del grupo van en la cinta superior */
.nav-grupo { padding: 12px 12px; font-size: 14.5px; }
.cinta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.cinta-tab { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--gris-2); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 13px; cursor: pointer; color: #3f5468; font-family: inherit; font-weight: 600; box-shadow: var(--sombra); transition: background .15s, color .15s; white-space: nowrap; }
.cinta-tab svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.cinta-tab:hover { background: var(--azul-claro); color: var(--azul); }
.cinta-tab.activo { background: var(--azul); color: #fff; border-color: var(--azul); }
.cinta-tab .nav-badge { margin-left: 2px; }
.sidebar-footer { padding: 12px 12px 14px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; background: rgba(0, 0, 0, .08); }
.btn-ghost {
  width: 100%; background: transparent; color: #d5e1eb; border: 1px solid rgba(255, 255, 255, .14);
  padding: 7px 10px; border-radius: 8px; cursor: pointer; font-size: 12.5px; font-weight: 500;
  display: flex; align-items: center; justify-content: center; gap: 7px; transition: background .15s;
}
.btn-ghost svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* ---------- Contenido ---------- */
.content { flex: 1; min-width: 0; margin-left: 236px; padding: 22px 32px 60px; } /* min-width 0: una tabla ancha se desliza dentro de su recuadro y no ensancha la página en el celular */

/* Banner de reunión activa */
.banner-reunion {
  background: linear-gradient(90deg, var(--azul-osc), var(--azul)); color: #fff; border-radius: var(--radio);
  padding: 12px 18px; margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  box-shadow: var(--sombra-2);
}
.banner-reunion b { color: #ffd98a; }
.banner-reunion .spacer { flex: 1; }
/* Trabajar sin señal: aviso cuando lo que se ve sale de la copia del teléfono, y renglón de la copia en la barra lateral */
.aviso-copia {
  background: #fff4e0; color: #7a4b00; border: 1px solid #f2c27a; border-radius: var(--radio);
  padding: 10px 14px; margin-bottom: 14px; display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px;
}
.aviso-copia b { color: #5c3800; }
.copia-info { display: block; margin-top: 12px; font-size: 11.5px; line-height: 1.4; opacity: .9; }
.copia-info:empty { display: none; }
.copia-info a { cursor: pointer; text-decoration: underline; }
/* Parte 2: lo capturado sin señal (cola.js) — etiqueta «📵 por subir», aviso en la ficha y panel «📤 Pendientes de subir» */
.chip-por-subir { display: inline-block; background: #fff4e0; color: #7a4b00; border: 1px solid #f2c27a; border-radius: 999px; padding: 1px 8px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.por-subir-banner { background: #fff4e0; color: #7a4b00; border: 1px solid #f2c27a; border-radius: var(--radio); padding: 10px 14px; margin-bottom: 12px; font-size: 13.5px; }
.foto-por-subir img { opacity: .85; }
.foto-por-subir .chip-por-subir { margin-top: 4px; align-self: flex-start; }
#cola-estado a { cursor: pointer; text-decoration: underline; }
.cola-alerta { color: var(--rojo, #b42318); }
.cola-item { border: 1px solid var(--gris-2, #e3e8ef); border-radius: var(--radio); padding: 10px 12px; margin-bottom: 10px; }
.cola-item-mal { border-color: #f2c27a; background: #fffaf2; }
.cola-acciones { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.cola-choque { margin-top: 8px; font-size: 13.5px; }
.cola-choque-fila { background: #fff; border: 1px solid #f2c27a; border-radius: 8px; padding: 8px 10px; margin-top: 6px; line-height: 1.5; }

.view-header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.view-header h2 { font-size: 22px; font-weight: 700; letter-spacing: -.2px; color: var(--texto); }
.view-header .spacer { flex: 1; }
.view-header > .muted { font-size: 13px; }

/* ---------- Botones ---------- */
.btn {
  background: var(--azul); color: #fff; border: 1px solid var(--azul); border-radius: 8px;
  min-height: var(--alto-control); padding: 7px 15px; font-size: 13.5px; cursor: pointer; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; line-height: 1.2;
  box-shadow: 0 1px 2px rgba(16, 32, 48, .12); transition: background .15s, border-color .15s, box-shadow .15s;
  text-decoration: none;
}
.btn:hover { background: var(--azul-osc); border-color: var(--azul-osc); }
.btn:disabled { opacity: .55; cursor: default; }
.btn.secundario { background: #fff; color: var(--azul); border: 1px solid var(--gris-2); font-weight: 600; box-shadow: var(--sombra); }
.btn.secundario:hover { background: var(--azul-claro); border-color: var(--azul-medio); }
.btn.peligro { background: #fff; color: var(--rojo); border: 1px solid #efc9ce; font-weight: 600; box-shadow: none; }
.btn.peligro:hover { background: #fdf1f3; }
.btn.mini { min-height: 30px; padding: 4px 10px; font-size: 12.5px; border-radius: 7px; }
.icon-btn { background: transparent; border: 0; font-size: 16px; cursor: pointer; color: var(--gris-3); border-radius: 6px; line-height: 1; }
.icon-btn:hover { color: var(--texto); background: var(--gris-1); }
.icon-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: block; }

/* ---------- Tarjetas del tablero ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 22px; }
.card {
  background: #fff; border-radius: var(--radio); padding: 16px 18px; border: 1px solid var(--gris-2);
  box-shadow: var(--sombra); cursor: pointer; border-top: 3px solid var(--gris-2); transition: box-shadow .15s, transform .15s;
}
.card:hover { transform: translateY(-1px); box-shadow: var(--sombra-2); }
.card .num { font-size: 28px; font-weight: 700; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.card .lbl { font-size: 12.5px; color: var(--gris-3); margin-top: 2px; font-weight: 500; }
.card.amarillo { border-top-color: var(--ambar); }
.card.azul { border-top-color: var(--azul); }
.card.verde { border-top-color: var(--verde); }
.card.rojo { border-top-color: var(--rojo); }
.card.rojo .num { color: var(--rojo); }
.card.gris { border-top-color: var(--gris-3); }
.card.gris .num { color: var(--gris-3); }
.card.naranja { border-top-color: #c2621c; }
.card.naranja .num { color: #c2621c; }
.card.morado { border-top-color: #7a3fa8; }
.card.morado .num { color: #7a3fa8; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 1100px) { .grid-2 { grid-template-columns: 1fr; } }

.panel { background: #fff; border-radius: var(--radio); border: 1px solid var(--gris-2); box-shadow: var(--sombra); padding: 18px 20px; margin-bottom: 18px; }
.panel h3 { font-size: 15px; font-weight: 700; margin-bottom: 12px; color: var(--texto); }

/* ---------- Tablas ---------- */
.tabla-wrap { background: #fff; border-radius: var(--radio); border: 1px solid var(--gris-2); box-shadow: var(--sombra); overflow-x: auto; }
table.tabla { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tabla th {
  text-align: left; padding: 10px 14px; color: var(--gris-3); font-size: 11.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px; border-bottom: 1px solid var(--gris-2);
  white-space: nowrap; background: #f8fafc;
}
.tabla thead tr:first-child th:first-child { border-top-left-radius: var(--radio); }
.tabla thead tr:first-child th:last-child { border-top-right-radius: var(--radio); }
.tabla th.ordenable { cursor: pointer; user-select: none; }
.tabla th.ordenable:hover { color: var(--azul); background: var(--azul-claro); }
.tabla td { padding: 11px 14px; border-bottom: 1px solid var(--linea); vertical-align: middle; }
.tabla tbody tr:last-child td { border-bottom: 0; }
.tabla tbody tr { cursor: pointer; transition: background .1s; }
.tabla tbody tr:hover { background: #f5f9fc; }
.tabla td.wrap { max-width: 420px; min-width: 220px; line-height: 1.4; }
.muted { color: var(--gris-3); }
.vencida { color: var(--rojo); font-weight: 600; }
.proxima { color: #b26b00; font-weight: 600; }

/* ---------- Pastillas de estatus / prioridad ---------- */
.pill { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; line-height: 1.5; border: 1px solid transparent; }
.pill.PENDIENTE { background: #fdf4e4; color: #96610c; border-color: #f4e0b9; }
.pill.EN.PROCESO, .pill.ENPROCESO { background: var(--azul-claro); color: var(--azul); border-color: var(--azul-medio); }
.pill.COMPLETADO { background: #e7f5ee; color: #17714a; border-color: #c6e7d5; }
.pill.CANCELADO { background: var(--gris-1); color: var(--gris-3); text-decoration: line-through; border-color: var(--gris-2); }
.pill.URGENTE { background: var(--rojo); color: #fff; }
.pill.TAREAPERMANENTE { background: #ecf0fa; color: #3757a8; border-color: #d3dcf2; }
.pill.PORAUTORIZARCOMITÉ { background: #fdf0e6; color: #b2581a; border-color: #f5d6bf; }
.pill.PRESENTARENASAMBLEA { background: #f4ebfa; color: #7a3fa8; border-color: #e3d0f1; }
.pill.p0 { background: var(--rojo); color: #fff; border-color: var(--rojo); } /* prioridad Urgente (10/oct/2026) */
.pill.p1 { background: #fdeef0; color: var(--rojo); border-color: #f6d0d5; }
.pill.p2 { background: #fdf0e6; color: #b2581a; border-color: #f5d6bf; }
.pill.p3 { background: #f1f4f7; color: #52708c; border-color: var(--gris-2); }
.pill.p4 { background: #e9eff5; color: #52708c; }
.pill.p5 { background: var(--gris-1); color: var(--gris-3); }

/* Barra de avance */
.avance { display: flex; align-items: center; gap: 8px; min-width: 110px; }
.avance .barra { flex: 1; height: 6px; background: var(--linea); border-radius: 4px; overflow: hidden; }
.avance .barra > div { height: 100%; background: var(--azul); border-radius: 4px; }
.avance .pct { font-size: 12px; color: var(--gris-3); width: 34px; text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Filtros ---------- */
.filtros { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; align-items: center; }
.filtros input, .filtros select {
  min-height: var(--alto-control); padding: 6px 11px; border: 1px solid var(--gris-2); border-radius: 8px;
  font-size: 13.5px; background: #fff; box-shadow: var(--sombra);
}
.filtros input:focus, .filtros select:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px var(--azul-claro); }
.filtros input[type="search"] { min-width: 240px; }
.filtros input[type="checkbox"], .filtros input[type="radio"] { min-height: 0; padding: 0; border: 0; box-shadow: none; width: auto; }
.filtros label { display: inline-flex; align-items: center; gap: 6px; }
.filtro-check {
  display: flex; align-items: center; gap: 7px; min-height: var(--alto-control); padding: 6px 12px;
  background: #fff; border: 1px solid var(--gris-2); border-radius: 8px; box-shadow: var(--sombra);
  font-size: 13.5px; cursor: pointer; user-select: none; white-space: nowrap;
}
.filtro-check input { width: auto; accent-color: var(--azul); }

/* ---------- Formularios ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.form-grid .full { grid-column: 1 / -1; }
.campo label { display: block; font-size: 12.5px; color: #4a5a6b; margin-bottom: 5px; font-weight: 600; }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: var(--alto-control); padding: 7px 11px; border: 1px solid #d8e0e8; border-radius: 8px;
  font-size: 13.5px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.campo input[type="checkbox"], .campo input[type="radio"] { min-height: 0; accent-color: var(--azul); }
.campo textarea { resize: vertical; min-height: 76px; line-height: 1.45; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px var(--azul-claro); }
.campo input:disabled, .campo select:disabled, .campo textarea:disabled, .campo input[readonly] { background: var(--gris-1); color: var(--gris-3); }
.form-acciones { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
.form-acciones .izq { margin-right: auto; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--azul); }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(15, 30, 45, .5);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 16px; z-index: 50; overflow-y: auto; backdrop-filter: blur(2px);
}
.modal {
  background: #fff; border-radius: 16px; width: 100%; max-width: 780px;
  box-shadow: 0 24px 60px rgba(10, 25, 40, .28); overflow: hidden;
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 22px; border-bottom: 1px solid var(--gris-2); background: #fbfcfd;
}
.modal-header h3 { font-size: 16.5px; font-weight: 700; color: var(--texto); }
.modal-header .icon-btn { padding: 6px; }
.modal-body { padding: 20px 22px 22px; }
.hidden { display: none !important; }

.aviso-reporte { background: #fdf6e7; border: 1px solid #f1dfb3; color: #6b4a08; border-radius: 10px; padding: 10px 14px; font-size: 13.5px; line-height: 1.45; margin-bottom: 14px; }

/* ---------- Notas / línea de tiempo ---------- */
.timeline { margin-top: 6px; }
.nota-item {
  border-left: 3px solid var(--azul); background: #f7f9fb;
  border-radius: 0 10px 10px 0; padding: 10px 14px; margin-bottom: 10px;
}
.nota-item .nota-meta { font-size: 12px; color: var(--gris-3); margin-bottom: 4px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.nota-item .nota-texto { white-space: pre-wrap; font-size: 13.5px; }
.nota-item.importada { border-left-color: var(--gris-3); }
.etiqueta-reunion { background: var(--azul-claro); color: var(--azul); border-radius: 6px; padding: 1px 7px; font-size: 11.5px; font-weight: 600; }

/* ---------- Recordatorios ---------- */
.resp-card { background: #fff; border-radius: var(--radio); border: 1px solid var(--gris-2); box-shadow: var(--sombra); padding: 16px 20px; margin-bottom: 16px; }
.resp-card .resp-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.resp-card .resp-head h3 { font-size: 15.5px; }
.resp-card .resp-head .contacto { color: var(--gris-3); font-size: 12.5px; }
.resp-card .resp-head .spacer { flex: 1; }
.resp-card ul { list-style: none; }
.resp-card li { padding: 8px 0; border-bottom: 1px solid var(--linea); display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.resp-card li:last-child { border-bottom: 0; }
.btn-wa { background: #25D366; border-color: #25D366; color: #fff; }
.btn-wa:hover { background: #1eb356; border-color: #1eb356; }

/* ---------- Selector de equipos (buscador con chips) ---------- */
.eq-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; min-height: 22px; align-items: center; }
.eq-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--azul-claro); color: var(--azul); border: 1px solid var(--azul-medio);
  border-radius: 999px; padding: 3px 11px; font-size: 12.5px; font-weight: 600;
}
.eq-chip .eq-quitar { background: none; border: 0; cursor: pointer; color: var(--azul); font-size: 13px; padding: 0; line-height: 1; }
.eq-chip .eq-quitar:hover { color: var(--rojo); }
.eq-combo { position: relative; }
.eq-combo input { width: 100%; min-height: var(--alto-control); padding: 7px 11px; border: 1px solid #d8e0e8; border-radius: 8px; font-size: 13.5px; }
.eq-sugerencias {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 30;
  background: #fff; border: 1px solid var(--gris-2); border-radius: 10px;
  box-shadow: var(--sombra-2); max-height: 230px; overflow-y: auto;
}
.eq-opcion { padding: 9px 12px; cursor: pointer; font-size: 13.5px; border-bottom: 1px solid var(--linea); }
.eq-opcion:last-child { border-bottom: 0; }
.eq-opcion:hover { background: var(--azul-claro); }

/* ---------- Galería de fotos y archivos ---------- */
.galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 6px; }
.foto-item { border: 1px solid var(--gris-2); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 6px; background: #fff; box-shadow: var(--sombra); }
.foto-item img { width: 100%; height: 110px; object-fit: cover; border-radius: 7px; display: block; }
.doc-icono { height: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 32px; background: var(--gris-1); border-radius: 7px; text-align: center; }
.doc-icono span { font-size: 11px; color: var(--gris-3); word-break: break-all; padding: 0 4px; }
.foto-item select, .foto-item input { padding: 5px 8px; border: 1px solid var(--gris-2); border-radius: 6px; font-size: 12px; width: 100%; }

/* ---------- Aviso emergente ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: #1c2733; color: #fff; padding: 11px 20px; border-radius: 10px;
  font-size: 13.5px; box-shadow: 0 10px 30px rgba(0,0,0,.25); z-index: 100; max-width: calc(100vw - 32px);
}

.vacio { text-align: center; color: var(--gris-3); padding: 34px 10px; }
.link { color: var(--azul); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Pantalla de acceso ---------- */
.login-capa {
  position: fixed; inset: 0; z-index: 200;
  background: radial-gradient(circle at 30% 20%, #1D2C48 0%, var(--menu) 70%);
  display: flex; align-items: center; justify-content: center; padding: 18px;
}
.login-caja {
  background: #fff; border-radius: 18px; padding: 32px 30px; width: 100%; max-width: 390px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35); text-align: center;
}
.login-logo { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--azul-claro); }
.login-caja h2 { color: var(--texto); margin: 12px 0 2px; font-size: 22px; }
.login-sub { color: var(--gris-3); font-size: 12.5px; margin-bottom: 20px; }
.login-caja .campo { text-align: left; margin-bottom: 12px; }
.login-caja .btn { min-height: 40px; margin-top: 4px; }
.login-error { color: var(--rojo); font-size: 13px; margin: 6px 0; }
.login-aviso { background: var(--azul-claro); color: var(--azul); border-radius: 8px; padding: 8px 10px; font-size: 13px; margin-bottom: 12px; }

/* ---------- Sesión en la barra lateral ---------- */
.sesion-info { color: #b8c8d7; font-size: 12.5px; padding: 2px 2px 8px; display: flex; flex-direction: column; gap: 1px; }
.sesion-info b { color: #fff; font-weight: 600; }
.sesion-info .rol-etiqueta { font-size: 11.5px; color: #8fa6bb; }
.sesion-info .sesion-acciones { display: flex; gap: 12px; margin-top: 5px; }
.sesion-info a { color: #22E5EF; cursor: pointer; font-size: 12px; text-decoration: none; }
.sesion-info a:hover { text-decoration: underline; }

/* ---------- Barra superior (teléfono) ---------- */
.topbar {
  display: none; position: fixed; top: 0; left: 0; right: 0; height: 54px; z-index: 40;
  background: var(--menu); color: #fff; align-items: center; gap: 10px; padding: 0 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,.25);
}
.topbar img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: #fff; }
.topbar span { font-weight: 700; font-size: 16px; }
.topbar .icon-btn { color: #fff; padding: 8px; }
.topbar .icon-btn:hover { background: rgba(255,255,255,.1); }
.topbar .icon-btn svg { width: 22px; height: 22px; }

/* ---------- Tarjetas de asuntos (teléfono) ---------- */
.tarjetas-asuntos { display: none; flex-direction: column; gap: 10px; }
.tarjeta-asunto {
  background: #fff; border-radius: var(--radio); border: 1px solid var(--gris-2); box-shadow: var(--sombra);
  padding: 12px 14px; cursor: pointer; display: flex; flex-direction: column; gap: 6px;
}
.tarjeta-asunto .ta-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tarjeta-asunto .ta-concepto { font-size: 14px; line-height: 1.35; font-weight: 500; }
.tarjeta-asunto .ta-meta { color: var(--gris-3); font-size: 12px; }
.tarjeta-asunto .ta-bottom { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ---------- Modo teléfono ---------- */
/* ---------- Rondas de mantenimiento ---------- */
.rc-lista { display: grid; gap: 12px; }
.rc-tarjeta { margin-bottom: 0; }
.rc-tit { font-size: 16.5px; font-weight: 700; color: var(--azul); }
.rc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.rc-chip { display: inline-block; border-radius: 14px; padding: 3px 10px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.rc-verde { background: #e6f5ee; color: #1d7a4f; }
.rc-azul { background: var(--azul-claro); color: var(--azul); }
.rc-gris { background: var(--gris-1); color: #52708c; border: 1px solid var(--gris-2); }
.rc-ambar { background: #fdf3e3; color: #a86f14; }
.rc-rojo { background: #fdeef0; color: var(--rojo); }
.rc-claro { background: #fff; color: var(--gris-3); border: 1px dashed var(--gris-2); }
.rc-clic { cursor: pointer; }
.rc-btn-grande { width: 100%; padding: 14px; font-size: 16px; margin-top: 8px; }
.rc-lector { display: grid; gap: 8px; margin-bottom: 14px; }
.rc-progreso { height: 12px; background: var(--gris-2); border-radius: 6px; overflow: hidden; }
.rc-progreso > div { height: 100%; background: var(--verde); }
.rc-punto { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--gris-1); }
.rc-punto.hecho b { color: #1d7a4f; }
.rc-num { flex: 0 0 26px; height: 26px; border-radius: 13px; background: var(--gris-2); color: var(--azul); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.rc-punto.hecho .rc-num { background: #e6f5ee; color: #1d7a4f; }
.rc-alerta { color: var(--rojo); font-weight: 600; }
/* 📵 Rondas sin señal: lo guardado en el teléfono que falta subir */
.rs-panel { background: #eef4fa; border-color: var(--azul-medio); font-size: 13.5px; }
.rs-panel.rs-mal { background: #fff6f6; border-color: #f6d0d5; }
.rs-error { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 6px 0; border-top: 1px solid var(--linea); font-size: 13px; }
.rs-por-subir { color: var(--azul); font-weight: 600; }
.rc-camara { background: #111; border-radius: 8px; min-height: 60px; display: flex; align-items: center; justify-content: center; padding: 6px; }
.rc-camara .btn { margin: 10px; }
.rc-video { width: 100%; max-height: 50vh; border-radius: 6px; background: #000; }
.rc-prev { width: 100%; max-height: 40vh; object-fit: contain; border-radius: 8px; margin-top: 8px; background: #111; }
.rc-mini { width: 74px; height: 74px; object-fit: cover; border-radius: 6px; border: 1px solid var(--gris-2); }
.rc-sino { display: flex; gap: 18px; }
.rc-sino label { display: flex; gap: 6px; align-items: center; font-weight: 400; }
.rc-sino input { width: auto; }
.rc-falla { background: #fff8f8; border: 1px solid #f3d3d8; border-radius: 8px; padding: 10px; }
.rc-falla textarea { margin: 8px 0; }
.rc-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.rc-tab { border: 1px solid var(--gris-2); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 13px; cursor: pointer; color: #3f5468; font-family: inherit; font-weight: 600; box-shadow: var(--sombra); transition: background .15s; }
.rc-tab:hover { background: var(--azul-claro); color: var(--azul); }
.rc-tab.activo { background: var(--azul); color: #fff; border-color: var(--azul); }
.rc-fila-hoy { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 6px 0; border-top: 1px solid var(--gris-1); }
.rc-hora { min-width: 120px; color: var(--azul); }
.rc-celda { display: inline-block; min-width: 24px; padding: 2px 4px; border-radius: 4px; font-weight: 700; font-size: 12px; cursor: pointer; }
.rc-c-verde { background: #c6efce; color: #276749; }
.rc-c-ambar { background: #ffeb9c; color: #7a5b00; }
.rc-c-rojo { background: #ffc7ce; color: #9c0006; }
.rc-c-gris { background: var(--gris-1); color: var(--gris-3); }
.rc-c-futura { color: var(--gris-3); }
.rc-sec { color: var(--azul); font-size: 15px; margin: 18px 0 8px; border-top: 1px solid var(--gris-2); padding-top: 12px; }
.rc-dias { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.rc-dias label { display: flex; gap: 5px; align-items: center; font-weight: 600; }
.rc-dias input { width: auto; }
.rc-ventana { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.rc-ventana input { width: auto; }
.rc-ventana select.rf-hora { width: auto; min-width: 92px; padding: 8px 10px; font-size: 15px; border: 1px solid var(--gris-2); border-radius: 8px; background: #fff; font-family: inherit; }
.rc-radio { display: flex; gap: 8px; align-items: center; margin: 4px 0; font-weight: 400; }
.rc-radio input { width: auto; }
.rc-personas { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0 10px 26px; }
.rc-personas label { display: flex; gap: 5px; align-items: center; font-weight: 400; }
.rc-personas input { width: auto; }
.rc-apagado { opacity: .45; pointer-events: none; }
.rc-pto-edit { border: 1px solid var(--gris-2); border-radius: 8px; padding: 8px; margin-bottom: 8px; background: #fbfcfe; }
.rc-pto-fila { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.rc-pto-fila input:not([type=checkbox]) { flex: 1 1 150px; }
.rc-pto-fila select { flex: 1 1 160px; }
.rc-pto-fila label { display: flex; gap: 3px; align-items: center; }
.rc-pto-fila label input { width: auto; }
.rc-orden { display: inline-flex; flex-direction: column; }
.rc-orden .icon-btn { font-size: 11px; padding: 0 3px; line-height: 1.1; }
.rc-lecturas { margin: 8px 0 0 26px; padding-left: 8px; border-left: 3px solid var(--azul-claro); }
.rc-lec-fila { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; margin-bottom: 6px; }
.rc-lec-fila input:not([type=checkbox]) { flex: 1 1 120px; }
.rc-lec-fila select { flex: 0 1 140px; }
.rc-lec-fila label { display: flex; gap: 3px; align-items: center; font-size: 12px; }
.rc-et-acc { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; max-width: 240px; }

/* ---------- Disco del servidor (barra lateral) ---------- */
.disco-info { margin-top: 8px; font-size: 11.5px; color: var(--gris-3); line-height: 1.35; }
.disco-barra { height: 6px; background: var(--gris-2); border-radius: 3px; margin: 4px 0; overflow: hidden; }
.disco-barra > div { height: 100%; background: var(--verde); border-radius: 3px; }
.disco-info.alerta .disco-barra > div { background: var(--rojo); }
.disco-info.alerta .disco-txt b, .disco-info.alerta .disco-sub b { color: var(--rojo); }

/* ---------- Bitácora y recordatorios ---------- */
.bit-resumen { margin: -6px 0 12px; font-size: 13px; color: var(--gris-3); }
.bit-cambio { color: var(--azul); }
.rec-ultimo { font-size: 12px; color: var(--azul); white-space: nowrap; }
.rec-ultimo.muted { color: var(--gris-3); }

/* ---------- Matriz de actividad (Tablero) — gemela de la matriz de supervisión de la PPC ---------- */
/* Tamaños en variables: "cómoda" (default, se lee de lejos) y "compacta" (más renglones por pantalla) */
.mx-panel { padding: 16px 18px 14px; --mx-fs: 13.5px; --mx-fs-sub: 12px; --mx-pad: 7px; --mx-dot: 24px; --mx-dia: 34px; --mx-nombre: 300px; }
.mx-panel.mx-compacta { --mx-fs: 12px; --mx-fs-sub: 11px; --mx-pad: 3px; --mx-dot: 18px; --mx-dia: 26px; --mx-nombre: 250px; }
.mx-barra { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.mx-barra h3 { margin: 0; font-size: 17px; }
.mx-barra .spacer { flex: 1; }
.mx-nav { display: inline-flex; align-items: center; gap: 6px; }
.mx-nav b { min-width: 160px; text-align: center; text-transform: capitalize; color: var(--azul); font-size: 16px; }
.rt-mes { text-transform: capitalize; color: var(--azul); font-size: 15px; }
/* La matriz de cumplimiento de rondas (en Rondas y en el tablero) usa las medidas de la matriz de actividad;
   sin ellas la columna "Ronda / persona" quedaba angostísima y cortaba los nombres */
.rt-panel, #rc-cont { --mx-fs: 13px; --mx-fs-sub: 12px; --mx-pad: 6px; --mx-dot: 22px; --mx-dia: 30px; --mx-nombre: 230px; }
@media (max-width: 760px) { .rt-panel, #rc-cont { --mx-fs: 12.5px; --mx-pad: 5px; --mx-dia: 28px; --mx-nombre: 150px; } }
.mx-ayuda { font-size: 12px; margin: 0 0 10px; }
/* Filtros arriba de la cuadrícula (antes eran tablas aparte debajo del tablero) */
.mx-seg { display: inline-flex; border: 1px solid var(--gris-2); border-radius: 8px; overflow: hidden; box-shadow: var(--sombra); }
.mx-seg button { border: 0; background: #fff; padding: 7px 13px; font-size: 13px; cursor: pointer; color: #3f5468; font-family: inherit; font-weight: 600; }
.mx-seg button.activo { background: var(--azul); color: #fff; }
.mx-filtros { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 10px; }
.mx-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mx-chip b.pill { font-size: 12.5px; padding: 1px 9px; }
.mx-chip { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--gris-2); border-radius: 999px; padding: 6px 13px; font-size: 13px; cursor: pointer; color: #3f5468; font-weight: 600; font-family: inherit; box-shadow: var(--sombra); transition: background .15s, border-color .15s; }
.mx-chip b { background: var(--gris-1); color: var(--texto); border-radius: 999px; padding: 0 8px; font-size: 12px; min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; }
.mx-chip:hover { background: var(--azul-claro); border-color: var(--azul-medio); }
.mx-chip.activo { background: var(--azul); color: #fff; border-color: var(--azul); }
.mx-chip.activo b { background: rgba(255,255,255,.25); color: #fff; }
.mx-chip-rojo { color: var(--rojo); }
.mx-chip-rojo b { background: #fdeef0; color: var(--rojo); }
.mx-chip-rojo.activo { background: var(--rojo); border-color: var(--rojo); color: #fff; }
.mx-chip-rojo.activo b { background: rgba(255,255,255,.25); color: #fff; }
/* La cuadrícula ocupa la altura disponible de la pantalla, como la matriz de la PPC */
.mx-scroll { overflow: auto; max-height: max(340px, calc(100vh - 205px)); border: 1px solid var(--gris-2); border-radius: 10px; }
.mx-tabla { border-collapse: separate; border-spacing: 0; font-size: var(--mx-fs); background: #fff; min-width: 100%; }
.mx-tabla th, .mx-tabla td { border-right: 1px solid var(--linea); border-bottom: 1px solid var(--linea); padding: var(--mx-pad) 5px; text-align: center; white-space: nowrap; }
.mx-tabla thead th { background: var(--menu-2); color: #e6eef5; position: sticky; top: 0; z-index: 3; font-weight: 600; line-height: 1.2; padding-top: 7px; padding-bottom: 7px; font-size: calc(var(--mx-fs) - 1px); }
.mx-tabla th.mx-nombre, .mx-tabla td.mx-nombre {
  position: sticky; left: 0; background: #fff; text-align: left; min-width: var(--mx-nombre); max-width: calc(var(--mx-nombre) + 70px);
  z-index: 2; box-shadow: 2px 0 4px -2px rgba(0,0,0,.25); white-space: normal;
}
.mx-tabla thead th.mx-nombre { background: var(--menu-2); z-index: 4; font-size: var(--mx-fs); }
.mx-dia { min-width: var(--mx-dia); }
td.mx-finde { background: #f3f6f9; }
.mx-tabla thead th.mx-finde { background: #2a4d6c; }
td.mx-hoy { background: #fff3d1; }
.mx-tabla thead th.mx-hoy { background: var(--ambar); color: #222; }
.mx-grupo td { background: #f1f5f9; color: var(--texto); font-weight: 700; border-top: 1px solid var(--gris-2); cursor: pointer; padding-top: calc(var(--mx-pad) + 3px); padding-bottom: calc(var(--mx-pad) + 3px); font-size: calc(var(--mx-fs) + 1px); }
.mx-grupo td.mx-nombre { background: #f1f5f9; box-shadow: inset 3px 0 0 var(--azul), 2px 0 4px -2px rgba(0,0,0,.18); }
.mx-grupo:hover td { background: #e8eef5; }
.mx-flecha { display: inline-block; width: 18px; }
.mx-sub { font-weight: normal; color: var(--gris-3); font-size: var(--mx-fs-sub); line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; margin-top: 2px; }
.mx-grupo .mx-sub { display: inline; margin: 0; }
.mx-sem { display: inline-block; margin-left: 8px; padding: 1px 9px; border-radius: 10px; font-size: calc(var(--mx-fs) - 2px); font-weight: 700; vertical-align: middle; }
.mx-sem-verde { background: #e6f5ee; color: #1d7a4f; }
.mx-sem-ambar { background: #fdf3e3; color: #a86f14; }
.mx-sem-rojo { background: #fdeef0; color: var(--rojo); }
.mx-asunto { cursor: pointer; }
.mx-asunto.mx-par td { background: #fafbfd; }
.mx-asunto.mx-par td.mx-finde { background: #eef2f6; }
.mx-asunto:hover td { background: #f0f6fc; }
.mx-n { display: inline-block; min-width: 22px; padding: 2px 5px; border-radius: 4px; background: #c9d8e8; color: var(--azul); font-size: calc(var(--mx-fs) - 1px); }
.mx-dot { display: inline-block; min-width: var(--mx-dot); height: var(--mx-dot); line-height: var(--mx-dot); border-radius: 50%; font-size: calc(var(--mx-fs) - 1.5px); font-weight: 700; color: #fff; padding: 0 4px; vertical-align: middle; }
.mx-1 { background: #9dbbd6; }
.mx-2 { background: #4f86b3; }
.mx-3 { background: var(--azul); }
td.mx-meta { box-shadow: inset 0 0 0 2px var(--rojo); }
.mx-tot { font-weight: 700; }
.mx-cero { color: #b6c0c9; font-weight: normal; }
.mx-alerta { color: var(--rojo); font-weight: 700; }
.mx-totales td { background: var(--gris-2); font-weight: 700; border-top: 2px solid var(--azul); }
.mx-totales td.mx-nombre { background: var(--gris-2); }
th.mx-ord { cursor: pointer; user-select: none; }
th.mx-ord:hover { background: #24496a; }
.mx-leyenda { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; font-size: 12px; }
.mx-leyenda span { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--gris-2); border-radius: 4px; padding: 3px 8px; background: #fff; }
.mx-leyenda i { display: inline-block; width: 18px; height: 15px; border-radius: 3px; border: 1px solid #c8d2dc; font-style: normal; }
.mx-leyenda i.mx-dot { border-radius: 9px; height: 18px; line-height: 18px; min-width: 18px; border: 0; text-align: center; font-size: 10.5px; }

@media print {
  @page { size: landscape; margin: 10mm; }
  .sidebar, .topbar, .cards, .grid-2, .view-header, .mx-barra, .mx-filtros, .mx-ayuda, #banner-reunion, #toast, #rondas-tablero, #cx-tablero, #buscador { display: none !important; }
  .content { margin: 0 !important; padding: 0 !important; }
  .mx-panel { box-shadow: none; padding: 0; }
  .mx-scroll { max-height: none; overflow: visible; border: 0; }
  .mx-panel { --mx-fs: 9px; --mx-fs-sub: 8px; --mx-pad: 2px; --mx-dot: 14px; --mx-dia: 20px; --mx-nombre: 150px; }
  .mx-tabla th.mx-nombre, .mx-tabla td.mx-nombre { box-shadow: none; }
}

@media (max-width: 760px) {
  .mx-panel { --mx-fs: 12.5px; --mx-fs-sub: 11px; --mx-pad: 5px; --mx-dot: 20px; --mx-dia: 30px; --mx-nombre: 160px; }
  .mx-panel.mx-compacta { --mx-nombre: 150px; }
  /* En el teléfono la cuadrícula NO se encierra en una caja: crece completa y la página se desliza */
  .mx-scroll { max-height: none; }
  .mx-nav b { min-width: 120px; font-size: 14px; }
  /* En el teléfono los chips van en un solo renglón deslizable, no apilados */
  .mx-filtros { flex-direction: column; align-items: stretch; gap: 8px; }
  .mx-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; max-width: 100%; min-width: 0; scrollbar-width: none; }
  .mx-chips::-webkit-scrollbar { display: none; }
  .mx-chip { flex: 0 0 auto; padding: 6px 12px; font-size: 13px; }
  .topbar { display: flex; }
  .sidebar {
    transform: translateX(-105%); transition: transform .22s ease; top: 54px;
    height: calc(100vh - 54px); box-shadow: 4px 0 18px rgba(0,0,0,.25); width: 260px;
  }
  .sidebar.abierta { transform: translateX(0); }
  .sidebar .brand { display: none; }
  .content { margin-left: 0; padding: 68px 12px 40px; }
  .form-grid { grid-template-columns: 1fr; }
  /* El recuadro debe CRECER con su contenido (nunca estirarse a la pantalla,
     porque el fondo blanco se corta y los campos quedan flotando) */
  .modal-backdrop { padding: 0; align-items: flex-start; }
  .modal { max-width: 100%; border-radius: 0; min-height: 100vh; height: auto; }
  .btn { padding: 12px 18px; font-size: 14.5px; }
  .btn.mini { padding: 8px 12px; font-size: 13px; }
  .nav-item { padding: 14px; font-size: 15px; }
  .nav-grupo { padding: 17px 14px; font-size: 16.5px; }
  /* En el teléfono la cinta va en un solo renglón deslizable */
  .cinta { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; max-width: 100%; }
  .cinta-tab { flex: 0 0 auto; padding: 8px 14px; font-size: 13.5px; }
  .filtros input[type="search"] { min-width: 0; width: 100%; }
  .filtros select { flex: 1; }
  .view-header h2 { font-size: 18px; }
  .cards { grid-template-columns: 1fr 1fr; }
  /* En Asuntos: tarjetas en lugar de la tabla ancha */
  .solo-escritorio { display: none !important; }
  .tarjetas-asuntos { display: flex; }
}


/* ---------- Mis pendientes y Junta guiada (27/sep/2026) ---------- */
.nav-badge { margin-left: auto; background: var(--rojo); color: #fff; border-radius: 10px; padding: 1px 8px; font-size: 11.5px; font-style: normal; font-weight: 700; }
.nav-item.active .nav-badge { background: var(--rojo); color: #fff; }


.mp-selector { padding: 8px 10px; border: 1px solid var(--gris-2); border-radius: 8px; font-size: 14px; background: #fff; max-width: 100%; }
.mp-resumen { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.mp-resumen .mx-chip { text-decoration: none; }
.mp-grupo { margin-bottom: 18px; }
.mp-titulo { font-size: 16px; color: var(--azul); margin: 6px 0 10px; cursor: default; }
details.mp-grupo > summary { cursor: pointer; list-style: revert; }
.mp-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.mp-tarjeta { margin-bottom: 0; padding: 14px 16px; display: flex; flex-direction: column; gap: 7px; }
.mp-cab { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.mp-fecha { margin-left: auto; font-size: 12.5px; }
.mp-concepto { font-size: 15px; font-weight: 600; line-height: 1.3; }
.mp-meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; }
.mp-meta .avance { flex: 1; max-width: 220px; }
.mp-ultima { font-size: 12.5px; color: #4a5a6a; line-height: 1.35; max-height: 3.9em; overflow: hidden; }
.mp-acciones { display: flex; gap: 8px; flex-wrap: wrap; }
.mp-form { border-top: 1px dashed var(--gris-2); padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.mp-form .form-acciones { margin-top: 4px; }
.mp-fila { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.mp-sel { display: flex; align-items: center; gap: 6px; color: var(--gris-3); font-weight: 600; font-size: 12px; }
.mp-sel select { padding: 6px 8px; border: 1px solid var(--gris-2); border-radius: 6px; font-size: 13px; }
.btn.grabando { background: var(--rojo); color: #fff; border-color: var(--rojo); animation: latido 1.2s ease-in-out infinite; }
@keyframes latido { 50% { opacity: .65; } }

.jg-cabeza { display: flex; flex-direction: column; gap: 10px; }
.jg-reunion { font-size: 15px; }
.jg-progreso { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--azul); }
.jg-barra { flex: 1; max-width: 420px; height: 10px; background: var(--gris-2); border-radius: 6px; overflow: hidden; }
.jg-barra > div { height: 100%; background: var(--verde); border-radius: 6px; transition: width .3s; }
.jg-ayuda { font-size: 12.5px; }
.jg-seccion { margin-bottom: 20px; }
.jg-titulo { font-size: 16px; color: var(--azul); margin: 4px 0 10px; }
.jg-lista { display: flex; flex-direction: column; gap: 10px; }
.jg-item { background: #fff; border-radius: var(--radio); box-shadow: var(--sombra); padding: 12px 16px; border-left: 4px solid var(--gris-2); display: flex; flex-direction: column; gap: 6px; }
.jg-item.revisado { border-left-color: var(--verde); background: #fbfefc; }
.jg-item.resaltado { box-shadow: 0 0 0 3px var(--ambar); }
.jg-cab { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.jg-meta { color: var(--gris-3); font-size: 12.5px; }
.jg-quieto { color: #a86f14; font-weight: 600; }
.jg-concepto { font-size: 15px; font-weight: 600; color: var(--texto); text-decoration: none; line-height: 1.3; }
.jg-concepto:hover { color: var(--azul); text-decoration: underline; }
.jg-ultima { font-size: 12.5px; color: #4a5a6a; line-height: 1.35; max-height: 3.9em; overflow: hidden; }
.jg-decision { font-size: 13px; color: #1d7a4f; background: #e6f5ee; border-radius: 6px; padding: 6px 10px; white-space: pre-wrap; }
.jg-origen { font-size: 12.5px; color: #4b3b7a; background: #efeaf8; border-radius: 6px; padding: 4px 8px; }

/* Botones de la lista de reuniones: en fila, y cada uno en una sola línea (en el celular se encimaban) */
.r-acciones { display: flex; flex-wrap: wrap; gap: 4px; min-width: 150px; }
.r-acciones .btn { white-space: nowrap; display: inline-flex; align-items: center; }

/* ---------- Metas del mes ---------- */
.meta-panel { margin-top: 16px; }
.meta-tabla td, .meta-tabla th { vertical-align: middle; }
.meta-persona { cursor: pointer; }
.meta-persona:hover td { background: #f3f6f9; }
.meta-total td { font-weight: 600; background: #f3f6f9; }
.meta-mal { color: var(--rojo); font-weight: 600; }
.meta-cump { display: flex; align-items: center; gap: 8px; }
.meta-cump span { width: 42px; text-align: right; font-weight: 600; }
.meta-barra { flex: 1; height: 9px; background: var(--gris-2); border-radius: 5px; overflow: hidden; }
.meta-barra > div { height: 100%; border-radius: 5px; background: var(--gris-2); }
.meta-barra > div.ok { background: var(--verde); }
.meta-barra > div.tarde { background: #e0a020; }
.meta-barra > div.mal { background: var(--rojo); }
.meta-lista { display: flex; flex-direction: column; gap: 8px; padding: 6px 0; }
.meta-item { background: #fff; border: 1px solid var(--gris-2); border-left: 4px solid var(--gris-2); border-radius: 8px; padding: 8px 12px; display: flex; flex-direction: column; gap: 4px; }
.meta-item.cumplida { border-left-color: var(--verde); }
.meta-item.tarde { border-left-color: #e0a020; }
.meta-item.vencida, .meta-item.no_cumplida { border-left-color: var(--rojo); }
.meta-item.por_confirmar { border-left-color: #7b5cc5; }
.meta-cab { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.meta-concepto { color: var(--texto); font-weight: 600; text-decoration: none; }
.meta-acciones { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.meta-badge { font-size: 11.5px; padding: 2px 8px; border-radius: 10px; background: var(--gris-2); color: #333; white-space: nowrap; }
.meta-badge.ok { background: #e6f5ee; color: #1d7a4f; }
.meta-badge.tarde { background: #fff3d6; color: #8a5a00; }
.meta-badge.mal { background: #fde8e8; color: #a12020; }
.meta-badge.conf { background: #efeaf8; color: #4b3b7a; }
.meta-badge.pend { background: #e8f0f8; color: #1b4f7a; }
.meta-zona { background: #fffaf0; border: 1px solid #f3dfae; border-radius: 8px; padding: 8px 12px; margin: 10px 0; font-size: 13px; }
.jg-botones { display: flex; gap: 6px; flex-wrap: wrap; }
.jg-btn.activo { background: var(--azul); color: #fff; border-color: var(--azul); }
.jg-form { border-top: 1px dashed var(--gris-2); padding-top: 10px; }
.jg-form .form-acciones { margin-top: 10px; }
.jg-busqueda { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.jg-hallado { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--gris-2); padding: 8px 0; font-size: 13px; }

@media (max-width: 760px) {
  .mp-lista { grid-template-columns: 1fr; }
  .mp-fecha { margin-left: 0; width: 100%; }
  .mp-resumen .mx-chip { padding: 6px 12px; font-size: 13px; }
  .mp-selector { width: 100%; }
  .jg-botones .btn { flex: 1 1 auto; }
  .jg-resp { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; max-width: calc(100vw - 66px); } /* 12+12 del contenido y 20+20 del recuadro */
  .jg-resp .mx-chip { flex: 0 0 auto; }
  .view-header .btn.mini { flex: 0 0 auto; }
}

/* ---------- Votaciones del comité, reprogramaciones y aviso semanal (27/sep/2026) ---------- */
.rep-tag { display: inline-block; background: #fdf3e3; color: #a86f14; border-radius: 10px; padding: 0 7px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
/* Tipo de asunto (falla / preventivo / proyecto / gestión) en listas y tarjetas */
.tipo-tag { display: inline-block; background: #eef2f7; color: #3a5a80; border-radius: 10px; padding: 0 7px; font-size: 11.5px; font-weight: 700; white-space: nowrap; margin-right: 4px; vertical-align: middle; }
.tipo-tag.falla { background: #fdecec; color: #a33a3a; }
.tipo-tag.preventivo { background: #e6f5ee; color: #1d7a4f; }
.tipo-tag.sin { background: #f3f3f3; color: #888; font-weight: 600; }
.eq-aviso { font-size: 12.5px; color: #a33a3a; margin-top: 6px; }
/* Tareas periódicas (periodicas.js) */
.per-tag { display: inline-block; background: #eaf4ff; color: #0057C7; border-radius: 10px; padding: 0 7px; font-size: 11.5px; font-weight: 700; white-space: nowrap; margin-right: 4px; vertical-align: middle; }
.per-tag.dormida { background: #f1eefa; color: #6a55a8; }
.per-campos { border-top: 1px dashed var(--gris-2); padding-top: 10px; margin-top: 2px; }
.per-fila { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13.5px; }
.per-fila select, .per-fila input { width: auto; padding: 7px 9px; border: 1px solid var(--gris-2); border-radius: 8px; font-family: inherit; font-size: 13.5px; background: #fff; }
.per-panel { background: #f4f8fc; border-left: 4px solid #0057C7; border-radius: 0 8px 8px 0; padding: 10px 14px; margin: 10px 0; font-size: 13.5px; }
.per-panel.vencida { border-left-color: var(--rojo); background: #fdf3f3; }
.per-hist { margin-top: 8px; font-size: 13px; }
.per-hist summary { cursor: pointer; color: var(--azul); font-weight: 600; }
.per-oc { padding: 3px 0; border-bottom: 1px solid var(--gris-1); }
.per-form { background: #fff; border: 1px solid var(--gris-2); border-radius: 8px; padding: 10px 12px; margin-top: 8px; }
.mp-dormida { opacity: .85; }
/* Fallas por asignar (las de las rondas nacen sin responsable) */
.pa-tarjeta { border-left: 4px solid #a33a3a; }
.pa-acciones { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pa-acciones .pa-resp { width: auto; min-width: 170px; padding: 6px 8px; border: 1px solid var(--gris-2); border-radius: 8px; font-family: inherit; font-size: 13px; background: #fff; }
.mx-chip-dormidas { border-style: dashed; }
/* ---------- 📊 Gráficas (10/oct/2026) ---------- */
.gf-panel h3 { margin-bottom: 10px; }
.gf-pastel-fila { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.gf-pastel { width: 240px; max-width: 100%; height: auto; flex: 0 0 auto; }
.gf-leyenda { list-style: none; display: grid; grid-template-columns: 1fr; gap: 6px; flex: 1; min-width: 220px; }
.gf-leyenda li { display: grid; grid-template-columns: 14px 1fr auto 52px; align-items: center; gap: 10px; font-size: 13.5px; }
.gf-leyenda i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.gf-leyenda b { font-variant-numeric: tabular-nums; }
.gf-leyenda em { font-style: normal; color: var(--gris-3); text-align: right; font-variant-numeric: tabular-nums; }
.gf-scroll { overflow-x: auto; scrollbar-width: thin; }
.gf-barras { width: 100%; height: auto; display: block; }
@media (max-width: 760px) { .gf-barras.gf-sem { width: 900px; max-width: none; } .gf-barras.gf-mes { width: 620px; max-width: none; } } /* con la barra de nuevos junto a la de cerrados */
.gf-barra rect { transition: opacity .15s; }
.gf-barra:hover rect { opacity: .8; }
/* Pastel con filtro por estatus: cada renglón de la leyenda se toca para quitarlo o ponerlo (12/oct/2026) */
.gf-filtrable { cursor: pointer; border-radius: 6px; padding: 2px 4px; margin: 0 -4px; user-select: none; }
.gf-filtrable:hover, .gf-filtrable:focus-visible { background: var(--gris-1); outline: none; }
.gf-oculto span, .gf-oculto b { color: var(--gris-3); text-decoration: line-through; }
.gf-leyenda-barras { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--gris-3); margin: 0 0 4px; }
.gf-leyenda-barras span { display: inline-flex; align-items: center; gap: 6px; }
.gf-leyenda-barras i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
@media (max-width: 760px) { .gf-pastel-fila { flex-direction: column; align-items: stretch; } .gf-pastel { width: 200px; margin: 0 auto; } }
/* Chips por prioridad del Tablero (10/oct/2026): el conteo lleva el color de su pastilla de prioridad */
.mx-chip-p1 b { background: #fdeef0; color: var(--rojo); }
.mx-chip-p2 b { background: #fdf0e6; color: #b2581a; }
.mx-chip-p3 b { background: #f1f4f7; color: #52708c; }
/* Metas: en qué mes cae la fecha elegida; en ámbar si cae en los últimos días del mes en curso */
.meta-mes { font-size: 12.5px; color: var(--azul); font-weight: 600; margin-top: 4px; min-height: 16px; }
.meta-mes.meta-mes-ojo { color: #a86f14; }
.meta-mes.meta-mes-ojo::after { content: ' · ¿seguro que es de este mes y no del siguiente?'; font-weight: 400; }
/* Ficha técnica de equipos (equipos.js) */
.eqf-barra { display: inline-block; width: 64px; height: 8px; background: var(--gris-1); border-radius: 4px; overflow: hidden; vertical-align: middle; border: 1px solid var(--gris-2); }
.eqf-barra > span { display: block; height: 100%; background: #c0392b; }
.eqf-barra.media > span { background: #d68910; }
.eqf-barra.ok > span { background: #1d7a4f; }
.eqf-pct { font-size: 12px; color: var(--gris-3); margin-left: 6px; vertical-align: middle; }
.eqf-vencida { color: #a33a3a; font-weight: 700; }
.eq-inactivo td { color: var(--gris-3); }
#eq-cuerpo td:first-child { min-width: 210px; }
.eqf-resumen { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.eqf-chip { background: #fff; border: 1px solid var(--gris-2); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; cursor: default; box-shadow: var(--sombra); }
.eqf-chip[data-ver] { cursor: pointer; }
.eqf-chip[data-ver]:hover, .eqf-chip.activo { border-color: var(--azul); background: var(--azul-claro); color: var(--azul); }
.eqf-cab { background: var(--gris-1); border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; }
.eqf-cab-barra { font-size: 12.5px; margin-bottom: 8px; }
.eqf-cab-barra .eqf-barra { width: 140px; height: 10px; }
.eqf-chips { display: flex; gap: 6px 14px; flex-wrap: wrap; font-size: 13px; }
/* Foto de cada equipo (10/oct/2026): miniatura en el catálogo y foto grande arriba de la ficha */
.eq-celda { display: flex; align-items: center; gap: 10px; }
.eq-mini { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 8px; overflow: hidden; background: var(--gris-1); border: 1px solid var(--gris-2);
  display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.eq-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eq-mini-vacia { opacity: .6; color: var(--azul); }
.eq-mini-vacia .mapa-svg { width: 24px; height: 24px; }
.eqa-principal { display: inline-block; align-self: flex-start; background: #fff4d6; color: #7a5600; border: 1px solid #f1d58a; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; }
.eqa-hacer-principal { align-self: flex-start; }
/* La foto se muestra a su tamaño natural como máximo (una foto chica no se estira ni se ve borrosa) */
.eqf-portada { display: flex; justify-content: center; align-items: center; border-radius: 10px; overflow: hidden; background: var(--gris-2); margin-bottom: 10px; }
.eqf-portada img { display: block; max-width: 100%; max-height: 220px; width: auto; height: auto; }
@media (min-width: 700px) {
  .eqf-cab.con-foto { display: grid; grid-template-columns: 200px 1fr; gap: 14px; align-items: start; }
  .eqf-cab.con-foto .eqf-portada { margin-bottom: 0; min-height: 120px; }
  .eqf-cab.con-foto .eqf-portada img { max-height: 160px; }
}
.eqf-dato.mal { color: #a33a3a; }
.eqf-sub { color: var(--azul); font-size: 14px; margin: 6px 0 -4px; border-bottom: 1px solid var(--gris-2); padding-bottom: 4px; }
/* 📶 Monitoreo de equipos (Hik-Connect hoy; grabadores, cámaras y sensores después) */
.cx-pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 1px 8px; font-size: 11.5px; font-weight: 600; white-space: nowrap; border: 1px solid transparent; margin-top: 3px; }
.cx-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.cx-pill.si { background: #e7f5ee; color: #17714a; border-color: #c6e7d5; }
.cx-pill.no { background: #fdeef0; color: var(--rojo); border-color: #f6d0d5; }
.cx-pill.sd { background: var(--gris-1); color: var(--gris-3); border-color: var(--gris-2); }
.cx-estado { background: #fff; border: 1px solid var(--gris-2); border-radius: var(--radio); box-shadow: var(--sombra); padding: 10px 14px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.cx-estado .cx-error { background: #fdeef0; color: #8f2c37; border-radius: 8px; padding: 6px 10px; }
.cx-acciones { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cx-acciones select { max-width: 260px; }
.cx-bloque { background: #fff; border: 1px solid var(--gris-2); border-radius: var(--radio); box-shadow: var(--sombra); padding: 12px 14px; margin-bottom: 12px; }
.cx-bloque-cab { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.cx-bloque-cab h3 { color: var(--azul); font-size: 15px; margin: 0; }
.cx-lugares { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; } /* todos los lugares del bloque en un renglón (Torre 7 junto a la 6) */
@media (max-width: 900px) { .cx-lugares { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
.cx-panel .cx-bloque { border: 0; box-shadow: none; padding: 0; margin: 4px 0 0; }
.cx-lugar { border: 1px solid var(--linea); border-radius: 10px; padding: 7px; background: var(--gris-1); min-width: 0; }
.cx-lugar-nom { font-size: 12px; font-weight: 700; color: #3f5468; text-transform: uppercase; letter-spacing: .03em; margin: 0 2px 6px; }
.cx-tiles { display: flex; flex-direction: column; gap: 6px; }
.cx-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left; width: 100%; border: 1px solid var(--gris-2); border-left: 4px solid var(--verde); border-radius: 8px; background: #fff; padding: 6px 8px; min-width: 0; cursor: pointer; font-family: inherit; color: var(--texto); }
.cx-tile:hover { border-color: var(--azul-medio); border-left-color: inherit; box-shadow: var(--sombra); }
.cx-tile.no { border-left-color: var(--rojo); background: #fff8f8; }
.cx-tile.sd { border-left-color: var(--gris-3); }
.cx-tile-nom { font-weight: 600; font-size: 13px; }
.cx-tile-est { font-size: 12px; color: #17714a; }
.cx-tile.no .cx-tile-est { color: var(--rojo); font-weight: 600; }
.cx-tile.sd .cx-tile-est { color: var(--gris-3); }
.cx-nw { white-space: nowrap; }
.cx-tile-meta { font-size: 11.5px; color: var(--gris-3); }
.cx-futuros { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-bottom: 14px; }
.cx-futuro { border: 1.5px dashed var(--azul-medio); border-radius: var(--radio); padding: 10px 14px; color: var(--gris-3); font-size: 12.5px; display: flex; flex-direction: column; gap: 3px; }
.cx-futuro b { color: #3f5468; font-size: 13.5px; }
.cx-seccion { margin: 18px 0 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cx-seccion h3 { color: var(--azul); font-size: 15px; margin: 0; }
.cx-disp-baja { color: var(--rojo); font-weight: 700; }
.cx-abierta td { background: #fff8f8; }
.rec-tag { display: inline-block; border-radius: 10px; padding: 1px 8px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.rec-vencido { background: #fdeef0; color: var(--rojo); }
.rec-semana { background: #fdf3e3; color: #a86f14; }
.rec-sin_nota { background: #e9eff5; color: #52708c; }
.vt-panel { background: #f3e8f9; border: 1px solid #e2cdf0; border-radius: 8px; padding: 12px 16px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.vt-panel h3 { color: #7a3fa8; font-size: 15px; margin: 0; }
.vt-cab { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vt-cuenta { font-size: 13.5px; }
.vt-si { color: #1d7a4f; } .vt-no { color: var(--rojo); }
.vt-barra { display: flex; height: 8px; border-radius: 5px; overflow: hidden; background: var(--gris-2); }
.vt-seg.vt-si { background: var(--verde); } .vt-seg.vt-no { background: var(--rojo); } .vt-seg.vt-nada { background: transparent; }
.vt-faltan { font-size: 12.5px; }
.vt-lista { list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.vt-lista li { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.vt-com { width: 100%; color: #4a5a6a; font-size: 12.5px; padding-left: 24px; }
.vt-form { display: flex; flex-direction: column; gap: 8px; border-top: 1px dashed #e2cdf0; padding-top: 8px; }
.vt-form textarea { width: 100%; padding: 8px 10px; border: 1px solid var(--gris-2); border-radius: 8px; font: inherit; font-size: 13.5px; resize: vertical; }
.vt-botones { display: flex; gap: 8px; flex-wrap: wrap; }
.vt-tarjeta { border-left: 4px solid #7a3fa8; }
@media (max-width: 760px) { .vt-botones .btn { flex: 1 1 auto; } }

/* ---------- Registro de votaciones y autorizados con prioridad absoluta (27/sep/2026) ---------- */
.aut-tag { display: inline-block; background: #f3e8f9; color: #7a3fa8; border-radius: 10px; padding: 1px 8px; font-size: 11.5px; font-weight: 700; white-space: nowrap; vertical-align: middle; }
.aut-banner { background: #f3e8f9; border: 1px solid #e2cdf0; color: #7a3fa8; border-radius: 8px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 14px; }
.aut-linea { font-size: 12.5px; color: #7a3fa8; font-weight: 600; }
.mp-autorizado { border-left: 4px solid #7a3fa8; }
/* 📣 Aviso de la decisión del comité al responsable (11/oct/2026) */
.av-grupo .mp-titulo { color: #1c2733; }
.av-tarjeta.av-si { border-left: 5px solid #1f8a5b; }
.av-tarjeta.av-no { border-left: 5px solid #b00020; }
.av-sello { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; padding: 2px 9px; border-radius: 999px; color: #fff; }
.av-si .av-sello { background: #1f8a5b; }
.av-no .av-sello { background: #b00020; }
.av-detalle { font-size: 12.5px; color: var(--gris-3); margin-top: 2px; }
.av-que { font-size: 13px; font-weight: 600; margin-top: 6px; }
.av-si .av-que { color: #17704a; }
.av-no .av-que { color: #9a1b2c; }
.av-com { list-style: none; margin: 6px 0 0; padding: 6px 10px; background: rgba(28, 39, 51, .04); border-radius: 8px; font-size: 12.5px; display: grid; gap: 3px; }
.av-banner { border-radius: 10px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 14px; border: 1px solid; }
.av-banner.av-si { background: #e8f5ee; border-color: #b9e0cb; color: #17704a; }
.av-banner.av-no { background: #fbe9ec; border-color: #f1c4cc; color: #9a1b2c; }
.av-banner.av-visto { background: transparent; border-color: var(--gris-2); color: var(--gris-3); font-size: 12.5px; padding: 6px 12px; }
.av-banner .av-com { color: #1c2733; }
.av-pie { margin-top: 8px; font-size: 12.5px; }
.rec-autorizado { background: #f3e8f9; color: #7a3fa8; }
.vt-dinero { font-size: 13.5px; }
.vh-cifras { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.vh-cifra { background: #fff; border: 1px solid var(--gris-2); border-radius: 8px; padding: 8px 14px; min-width: 110px; }
.vh-cifra b { display: block; font-size: 20px; color: var(--azul); }
.vh-cifra span { font-size: 12px; color: var(--gris-3); }
.vh-part { font-size: 12.5px; color: var(--gris-3); margin-bottom: 12px; }
/* 💰 Presupuesto de mantenimiento (9/oct/2026) */
.pres-area { margin: 6px 0 18px; }
.pres-area h3 { font-size: 15px; margin: 0 0 8px; color: var(--texto); }
.pres-area h3 .muted { font-weight: 500; font-size: 13px; }
.pres-tabla { min-width: 760px; table-layout: fixed; }
.pres-tabla.pres-chica { table-layout: auto; }
.pres-chica-wrap { max-width: 560px; }
.pres-tabla.pres-chica { min-width: 0; max-width: 560px; }
.pres-tabla th.num, .pres-tabla td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pres-nota { font-size: 12px; color: var(--gris-3); margin-top: 2px; }
.pres-costo { border: 1px dashed transparent; background: none; color: var(--azul); font: inherit; font-weight: 600; cursor: pointer; padding: 2px 6px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.pres-costo:hover { border-color: var(--gris-2); background: #f4f8fc; }
.pres-costo.vacio { color: var(--gris-3); font-weight: 500; border-color: var(--gris-2); }
.pres-form-fila td { background: #f7fafd; }
.pres-form { padding: 6px 2px; max-width: 720px; }
.per-costo { margin-top: 6px; font-size: 13px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.per-costo #per-costo-form { flex-basis: 100%; }
.vh-fila { cursor: pointer; }
.vh-tabla { min-width: 980px; }
.vh-detalle td { background: #fbfcfe; }
.pill.autorizado { background: #e6f5ee; color: #1d7a4f; }
.pill.no_autorizado { background: #fdeef0; color: var(--rojo); }
.pill.retirada { background: var(--gris-2); color: var(--gris-3); }
.pill.abierta { background: #f3e8f9; color: #7a3fa8; }
@media (max-width: 760px) { .vh-cifra { flex: 1 1 40%; } #vot-acciones { display: flex; gap: 8px; flex-wrap: wrap; width: 100%; } }

/* ---------- Buscador, duplicados, historial, edición en bloque, cierre y sin señal (27/sep/2026) ---------- */
.buscador { margin-bottom: 14px; }
.bq-caja { position: relative; max-width: 720px; }
.bq-caja input { width: 100%; padding: 10px 14px; border: 1px solid var(--gris-2); border-radius: 10px; font-size: 14px; font-family: inherit; background: #fff; box-shadow: var(--sombra); min-height: 40px; }
.bq-caja input:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px var(--azul-claro); }
.bq-res { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid var(--gris-2); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.14); margin-top: 4px; max-height: 420px; overflow-y: auto; z-index: 20; }
.bq-grupo { font-size: 11.5px; font-weight: 700; color: var(--gris-3); letter-spacing: .04em; text-transform: uppercase; padding: 8px 12px 4px; }
.bq-item { padding: 8px 12px; cursor: pointer; border-top: 1px solid var(--gris-1); font-size: 13.5px; }
.bq-item:hover { background: var(--azul-claro); }
.bq-concepto { margin-left: 4px; }
.bq-sub { font-size: 12px; color: var(--gris-3); margin-top: 2px; }
.bq-vacio { padding: 12px; color: var(--gris-3); font-size: 13px; }
.dup-aviso { background: #fdf3e3; border: 1px solid #f0d9a8; border-radius: 8px; padding: 10px 14px; font-size: 13px; display: flex; flex-direction: column; gap: 6px; }
.dup-item a { color: var(--azul); text-decoration: none; }
.dup-item a:hover { text-decoration: underline; }
.hist-barra { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 12.5px; margin-bottom: 8px; }
.hist-cambio { border-left-color: var(--gris-2); padding-top: 6px; padding-bottom: 6px; }
.hist-cambio .nota-meta { margin-bottom: 0; }
.hist-detalle { font-size: 12.5px; color: #4a5a6a; margin-top: 3px; }
.hist-archivo { border-left-color: var(--ambar); }
.hist-foto { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.hist-foto img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; display: block; }
.hist-decision { border-left-color: var(--azul); }
.lote-barra { position: sticky; top: 0; z-index: 6; background: var(--azul); color: #fff; border-radius: 10px; padding: 10px 14px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; box-shadow: var(--sombra); }
.lote-barra .btn.secundario { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.3); }
.cierre-tag { display: inline-block; background: #e6f5ee; color: #1d7a4f; border-radius: 10px; padding: 1px 8px; font-size: 11.5px; font-weight: 700; white-space: nowrap; vertical-align: middle; }
.rondas-vista { background: #fdf4e3; border: 1px solid #f1d9a6; color: #8a5a00; border-radius: 8px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 14px; }
.rc-falla-abierta { font-size: 12.5px; color: #8a5a00; background: #fdf4e3; border-radius: 6px; padding: 2px 8px; display: inline-block; margin-top: 3px; }
.cierre-banner { background: #e6f5ee; border: 1px solid #bfe3cf; color: #1d7a4f; border-radius: 8px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 8px; }
.cierre-zona { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 14px; }
.cierre-form { flex-direction: column; align-items: stretch; background: var(--gris-1); border-radius: 8px; padding: 10px 12px; }
/* 📤 Enviar a autorización (5/oct/2026): ámbar, como la pastilla "Por autorizar Comité" a la que conduce */
.autp-tag { display: inline-block; background: #fff1de; color: #a3560a; border-radius: 10px; padding: 1px 8px; font-size: 11.5px; font-weight: 700; white-space: nowrap; vertical-align: middle; }
.autp-banner { background: #fff6ea; border: 1px solid #f3d3a6; color: #8a4a08; border-radius: 8px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 8px; }
.autp-form { display: flex; flex-direction: column; gap: 6px; background: var(--gris-1); border-radius: 8px; padding: 10px 12px; margin-top: 6px; }
.mp-espera { font-size: 12.5px; color: #8a4a08; background: #fff6ea; border-radius: 6px; padding: 4px 8px; margin: 4px 0; }
.cierre-tarjeta { border-left: 4px solid var(--verde); }
.cola-estado { font-size: 12.5px; background: rgba(255,255,255,.12); border-radius: 8px; padding: 6px 10px; color: #fff; }
.cola-estado a { color: #ffd98a; cursor: pointer; text-decoration: underline; }
@media (max-width: 760px) {
  .buscador { margin-bottom: 10px; }
  .bq-res { max-height: 60vh; }
  .lote-barra { top: 54px; }
}

/* ============ 🗺️ Mapa de equipos (7/oct/2026) ============ */
.mapa-barra { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.mapa-titulo { color: var(--azul); font-size: 15px; }
.mapa-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.mapa-chips .mx-chip { padding: 4px 10px; font-size: 12.5px; }
.mapa-check { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #3f5468; white-space: nowrap; }
.mapa-check input { width: auto; }
.mapa-zoom { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #3f5468; font-variant-numeric: tabular-nums; }
.mapa-zoom span { min-width: 42px; text-align: center; }
.mapa-aviso { background: #eaf2fb; border: 1px solid #c9dcf0; color: #24476a; border-radius: 10px; padding: 8px 12px; font-size: 13.5px; margin-bottom: 10px; }
.mapa-cuerpo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; }
.mapa-cuerpo.con-lista { grid-template-columns: minmax(0, 1fr) 290px; }
.mapa-marco { overflow: auto; max-height: calc(100vh - 250px); border-radius: 12px; background: #13283d; border: 1px solid var(--gris-2); box-shadow: var(--sombra); }
.mapa-lienzo { position: relative; margin: 0 auto; } /* abajo de 100 % queda centrado en el marco */
.mapa-lienzo img { width: 100%; display: block; user-select: none; -webkit-user-drag: none; }
.mapa-lienzo.acomodando { cursor: crosshair; }
.mapa-pin { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; border: 3px solid #1d9a5b; background: #fff;
  display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.45); font-size: 15px; line-height: 1; z-index: 2; }
.mapa-lienzo.acomodando .mapa-pin { touch-action: none; cursor: grab; }
.mapa-pin .mapa-ico { pointer-events: none; }
/* Dibujos propios (huella del biométrico): heredan el color del estado del punto; en chips y listas, el del texto */
.mapa-svg { width: 1.2em; height: 1.2em; display: inline-block; vertical-align: -0.22em; }
.mapa-pin .mapa-svg { width: 17px; height: 17px; display: block; }
.mapa-pin.verde { color: #13703f; }
.mapa-pin.verde.vivo { color: #fff; }
.mapa-pin.ambar { color: #a35a00; }
.mapa-pin.rojo { color: #b3261e; }
/* Por instalar (planta y tableros nuevos): gris con contorno punteado; no cuenta como problema */
.mapa-pin.gris { border-color: #8796a5; border-style: dashed; background: #eef1f4; color: #5b6b7a; }
.mapa-pt.gris { border-color: #8796a5; border-style: dashed; background: #eef1f4; }
.mapa-pin.verde { border-color: #1d9a5b; background: #eaf8f0; }
.mapa-pin.verde.vivo { background: #2fb36d; border-color: #13703f; }
.mapa-pin.ambar { border-color: #e08a00; background: #fff1d6; z-index: 3; }
.mapa-pin.rojo { border-color: #d93025; background: #fde5e2; z-index: 4; }
.mapa-pin.rojo::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 3px solid rgba(217,48,37,.7); animation: mapa-pulso 1.6s ease-out infinite; pointer-events: none; }
@keyframes mapa-pulso { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.mapa-pin.tenue { opacity: .3; }
.mapa-pin.elegido { outline: 3px solid #f5c400; outline-offset: 2px; }
.mapa-etq { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 4px; white-space: nowrap; background: rgba(12,27,43,.88); color: #fff;
  font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 6px; pointer-events: none; }
.mapa-leyenda { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: 12.5px; color: #3f5468; margin-top: 10px; }
.mapa-leyenda span { display: inline-flex; align-items: center; gap: 6px; }
.mapa-pt { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2.5px solid #1d9a5b; background: #eaf8f0; flex: 0 0 auto; }
.mapa-pt.vivo { background: #1d9a5b; }
.mapa-pt.ambar { border-color: #e08a00; background: #fff1d6; }
.mapa-pt.rojo { border-color: #d93025; background: #d93025; }
.mapa-pop { position: fixed; right: 18px; bottom: 18px; width: 320px; max-width: calc(100vw - 32px); background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  padding: 12px 14px; z-index: 60; display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--gris-2); }
.mapa-pop-x { position: absolute; top: 6px; right: 6px; }
.mapa-pop-cab { display: flex; align-items: center; gap: 8px; padding-right: 26px; }
.mapa-pop-fila { display: flex; gap: 10px; align-items: flex-start; }
.mapa-pop-fila > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mapa-pop-foto { flex: 0 0 auto; width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--gris-2); }
.mapa-pop-estado { font-size: 13.5px; font-weight: 700; }
.mapa-pop-estado.verde { color: #1d7a4f; }
.mapa-pop-estado.ambar { color: #a35a00; }
.mapa-pop-estado.rojo { color: #c0261b; }
.mapa-lista { max-height: calc(100vh - 250px); overflow: auto; display: flex; flex-direction: column; gap: 4px; padding: 10px; }
.mapa-lista input, .mapa-lista select { margin-bottom: 4px; width: 100%; box-sizing: border-box; }
.mapa-sub { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--gris-3); margin: 8px 0 2px; }
.mapa-item { display: flex; width: 100%; box-sizing: border-box; align-items: center; gap: 7px; text-align: left; background: #fff; border: 1px solid var(--gris-2); border-radius: 8px; padding: 6px 8px; font-size: 12.5px;
  cursor: pointer; font-family: inherit; color: var(--texto); }
.mapa-item span { flex: 1; }
.mapa-item i { font-style: normal; color: #1d9a5b; font-weight: 700; }
.mapa-item.puesto { opacity: .7; }
.mapa-item.elegido { background: #fff7cf; border-color: #e6c200; opacity: 1; }
.mapa-vacio { max-width: 640px; }
/* Marcador de un plano interior (torre) sobre la foto aérea: resumen con el peor estado de sus equipos */
.mapa-zona { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 3px; padding: 1px 5px;
  background: rgba(255,255,255,.92); border: 2px solid #1d9a5b; border-radius: 7px; box-shadow: 0 1px 4px rgba(0,0,0,.45); cursor: pointer; z-index: 6; font-family: inherit; white-space: nowrap; line-height: 1.25; }
.mapa-zona b { font-size: 11px; color: var(--azul); }
/* Burbuja con cuántos equipos tienen problema */
.mapa-zona span { font-size: 9.5px; font-weight: 700; color: #fff; background: #e08a00; border-radius: 8px; padding: 0 4px; min-width: 14px; text-align: center; }
.mapa-zona.ambar { border-color: #e08a00; background: rgba(255,246,230,.94); z-index: 7; }
.mapa-zona.rojo { border-color: #d93025; background: rgba(253,236,234,.94); z-index: 8; }
.mapa-zona.rojo span { background: #d93025; }
.mapa-zona.rojo::after { content: ''; position: absolute; inset: -4px; border-radius: 10px; border: 2px solid rgba(217,48,37,.6); animation: mapa-pulso-zona 1.6s ease-out infinite; pointer-events: none; }
@keyframes mapa-pulso-zona { from { transform: scale(.92); opacity: 1; } to { transform: scale(1.15); opacity: 0; } }
.mapa-zona.vacia { border-style: dashed; border-color: #8796a5; }
.mapa-lienzo.acomodando .mapa-zona { touch-action: none; cursor: grab; }
.mapa-item small { display: block; color: var(--gris-3); font-size: 11px; font-weight: 400; }
.mapa-item.otro { opacity: .85; }
.mapa-acciones-plano { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mapa-plano-form { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; padding: 10px; background: var(--gris-1); border-radius: 8px; }
.mapa-plano-form input, .mapa-plano-form select { width: 100%; box-sizing: border-box; }
@media (max-width: 760px) {
  .mapa-cuerpo.con-lista { grid-template-columns: minmax(0, 1fr); }
  .mapa-lista { max-height: 300px; }
  .mapa-marco { max-height: 62vh; }
  .mapa-pop { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .mapa-pin { width: 26px; height: 26px; font-size: 13px; border-width: 2.5px; }
}
@media print { .mapa-pop, .mapa-lista { display: none !important; } }

/* ================= 🔗 Flujos de trabajo (13/oct/2026, pedido 38): como la maqueta que Luis aprobó ================= */
.fl-diseno { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 14px; align-items: start; }
.fl-lista { padding: 12px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 0; }
.fl-card { border-radius: 14px; padding: 12px 13px; cursor: pointer; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.8); transition: transform .12s, box-shadow .12s; }
.fl-card:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(16,32,48,.10); }
.fl-card.sel { background: rgba(255,255,255,.92); box-shadow: 0 0 0 2px var(--azul), 0 10px 26px rgba(46,90,124,.18); }
.fl-card h4 { margin: 0 0 3px; font-size: 14px; }
.fl-meta { font-size: 12px; color: var(--gris-3); }
.fl-barra { height: 7px; border-radius: 99px; background: #e3e8ee; overflow: hidden; margin: 9px 0 6px; display: flex; }
.fl-barra i { display: block; height: 100%; }
.fl-ahora { font-size: 12px; margin-top: 4px; }
.fl-ahora b { color: #2f7fd1; }
.fl-principal { padding: 14px 16px 16px; min-width: 0; margin-bottom: 0; }
.fl-cab { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fl-cab h3 { margin: 0; font-size: 17px; }
.fl-desc { font-size: 13px; margin-top: 2px; }
.fl-resumen { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.fl-mini { background: rgba(255,255,255,.66); border-radius: 12px; padding: 8px 12px; font-size: 12.5px; color: var(--gris-3); border: 1px solid rgba(255,255,255,.85); }
.fl-mini b { display: block; font-size: 18px; color: var(--texto); }
.fl-mini-rojo b { color: var(--rojo); }
.fl-gestion { display: flex; gap: 8px; flex-wrap: wrap; margin: -2px 0 12px; }
.fl-lienzo-scroll { overflow-x: auto; border-radius: 14px; border: 1px solid rgba(255,255,255,.6); scrollbar-width: thin;
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.15)); background-image: radial-gradient(rgba(46,90,124,.10) 1px, transparent 1px); background-size: 18px 18px; }
.fl-lienzo { position: relative; }
.fl-lineas { position: absolute; inset: 0; overflow: visible; pointer-events: none; }
.fl-col-titulo { position: absolute; top: 14px; font-size: 11px; letter-spacing: .6px; text-transform: uppercase; color: #8a97a5; font-weight: 600; }
.fl-nodo { position: absolute; width: 220px; height: 150px; border-radius: 16px; padding: 11px 12px 10px; cursor: pointer; background: rgba(255,255,255,.92);
  border: 1.5px solid #d5dee8; box-shadow: 0 8px 22px rgba(16,32,48,.10); transition: transform .14s, box-shadow .14s; display: flex; flex-direction: column; }
.fl-nodo:hover, .fl-nodo:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(16,32,48,.16); outline: none; }
.fl-nodo.sel { outline: 3px solid rgba(46,90,124,.45); outline-offset: 3px; }
.fl-top { display: flex; align-items: center; gap: 6px; font-size: 11.5px; min-width: 0; }
.fl-top .tipo-tag { margin-left: auto; font-size: 10.5px; }
.fl-folio { font-weight: 700; color: var(--azul-osc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-tit { font-size: 13.3px; font-weight: 600; margin: 6px 0 7px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 34px; }
.fl-pie { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--gris-3); margin-top: auto; }
.fl-avatar { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #fff; background: #6b86a3; flex: 0 0 auto; }
.fl-pill { margin-left: auto; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.fl-nodo.hecho { border-color: #9fd3b8; background: linear-gradient(180deg, rgba(232,247,239,.96), rgba(255,255,255,.92)); }
.fl-nodo.hecho .fl-pill { background: #dff2e8; color: #146b45; }
.fl-nodo.curso { border-color: #2f7fd1; box-shadow: 0 0 0 4px rgba(47,127,209,.14), 0 12px 28px rgba(47,127,209,.20); animation: fl-latido 2.4s ease-in-out infinite; }
.fl-nodo.curso .fl-pill { background: #e2eefb; color: #1d5ea6; }
/* ⏸️ Puede empezar (17/oct/2026): ya le toca, pero sigue Pendiente */
.fl-nodo.puede { border-color: #d9921e; box-shadow: 0 0 0 4px rgba(217,146,30,.14); }
.fl-nodo.puede .fl-pill { background: #fdf0d9; color: #8a5a0b; }
.fl-bar.puede { background: linear-gradient(90deg, #f0b45a, #d9921e); }
.fl-mini-estado.puede { background: #fdf0d9; color: #8a5a0b; }
.fl-arranque { background: #fdf6e7; border: 1px solid #f1dfb3; color: #6b4a08; border-radius: 8px; padding: 10px 12px; margin: 8px 0; display: flex; flex-direction: column; gap: 8px; }
.fl-nodo.espera { border-style: dashed; border-color: #b7c3cf; background: #f6f8fb; }
.fl-nodo.espera .fl-tit, .fl-nodo.espera .fl-folio { color: #7c8a99; }
.fl-nodo.espera .fl-pill { background: #eef1f5; color: #6b7a8b; }
.fl-nodo.vencido { border-color: var(--rojo); box-shadow: 0 0 0 4px rgba(200,65,79,.12), 0 12px 28px rgba(200,65,79,.16); }
.fl-nodo.vencido .fl-pill { background: #fbe7e9; color: #9b2a36; }
.fl-nodo.decidir { border-style: dashed; border-color: var(--rojo); background: #fdf5f6; }
.fl-nodo.decidir .fl-pill { background: #fbe7e9; color: #9b2a36; }
.fl-nodo.cancelado { opacity: .6; border-color: #d5dee8; background: #f3f5f8; }
.fl-nodo.cancelado .fl-tit { text-decoration: line-through; }
.fl-nodo.cancelado .fl-pill { background: #eef1f5; color: #8a97a5; }
.fl-espera-de { font-size: 11px; color: #7c8a99; margin-top: 6px; border-top: 1px dashed #d5dee8; padding-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-nodo.decidir .fl-espera-de { color: #9b2a36; }
.fl-avance { height: 4px; border-radius: 99px; background: #e8edf2; margin-top: 7px; overflow: hidden; flex: 0 0 auto; }
.fl-avance i { display: block; height: 100%; background: #2f7fd1; border-radius: 99px; }
.fl-nodo.vencido .fl-avance i { background: var(--rojo); }
.fl-foto { position: absolute; top: -10px; right: -10px; width: 32px; height: 32px; border-radius: 10px; border: 2px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,.18);
  background: linear-gradient(135deg, #9fb7cc, #5e7d99); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; }
@keyframes fl-latido { 0%, 100% { box-shadow: 0 0 0 4px rgba(47,127,209,.14), 0 12px 28px rgba(47,127,209,.20); } 50% { box-shadow: 0 0 0 9px rgba(47,127,209,.06), 0 12px 28px rgba(47,127,209,.22); } }
@keyframes fl-corre { to { stroke-dashoffset: -28; } }
path.fl-viva { stroke-dasharray: 7 7; animation: fl-corre 1.1s linear infinite; }
@media (prefers-reduced-motion: reduce) { .fl-nodo.curso, path.fl-viva { animation: none; } }
.fl-leyenda { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--gris-3); margin-top: 10px; }
.fl-leyenda span { display: inline-flex; align-items: center; gap: 6px; }
.fl-leyenda i { width: 14px; height: 10px; border-radius: 4px; display: inline-block; border: 1.5px solid; }
.fl-vacio { padding: 26px; text-align: center; color: var(--gris-3); font-size: 13.5px; border: 1.5px dashed #c9d5e1; border-radius: 14px; }
.fl-detalle { margin-top: 12px; padding: 13px 15px; animation: fl-aparece .18s ease-out; }
@keyframes fl-aparece { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.fl-det-cab { display: flex; align-items: flex-start; gap: 8px; }
.fl-det-cab h4 { margin: 0 0 4px; font-size: 15px; flex: 1; }
.fl-fila-det { display: flex; gap: 8px 18px; flex-wrap: wrap; font-size: 13px; color: var(--gris-3); margin: 6px 0; align-items: center; }
.fl-fila-det b { color: var(--texto); font-weight: 600; }
.fl-nota-ult { font-size: 13px; background: rgba(255,255,255,.7); border-radius: 10px; padding: 8px 10px; margin-top: 6px; }
.fl-decidir { font-size: 13px; background: #fdf0f1; border: 1px solid #f2c7cc; color: #7d2430; border-radius: 10px; padding: 8px 10px; margin-top: 8px; }
.fl-acciones { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.fl-gantt { position: relative; }
.fl-scroll-g { overflow-x: auto; scrollbar-width: thin; }
.fl-gantt-in { min-width: 640px; padding-top: 4px; }
.fl-fila-g, .fl-escala, .fl-hoy-capa { display: grid; grid-template-columns: 240px minmax(0, 1fr); }
.fl-fila-g { align-items: center; min-height: 44px; border-bottom: 1px solid rgba(46,90,124,.07); }
.fl-nom { font-size: 12.5px; padding-right: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-nom b { color: var(--azul-osc); font-size: 11.5px; display: block; }
.fl-pista { position: relative; height: 44px; }
.fl-bar { position: absolute; top: 11px; height: 22px; border-radius: 8px; font-size: 11px; font-weight: 600; color: #fff; display: flex; align-items: center; padding: 0 8px; white-space: nowrap; overflow: hidden; box-shadow: 0 4px 10px rgba(16,32,48,.12); cursor: pointer; }
.fl-bar.hecho { background: linear-gradient(90deg, #2c9a68, var(--verde)); }
.fl-bar.curso { background: linear-gradient(90deg, #4b97e4, #2f7fd1); }
.fl-bar.curso.estimado { background: repeating-linear-gradient(45deg, #4b97e4, #4b97e4 6px, #6aa9ea 6px, #6aa9ea 12px); }
.fl-bar.espera, .fl-bar.decidir { background: repeating-linear-gradient(45deg, #c7d2dd, #c7d2dd 6px, #d6dee7 6px, #d6dee7 12px); color: #4f5f70; }
.fl-bar.decidir { box-shadow: inset 0 0 0 1.5px var(--rojo); }
.fl-bar.vencido { background: linear-gradient(90deg, #d86270, var(--rojo)); }
.fl-bar.cancelado { background: #d5dbe2; color: #6b7a8b; }
.fl-bar-etq { position: absolute; top: 13px; font-size: 11.5px; color: #4f5f70; white-space: nowrap; font-weight: 600; }
.fl-hoy-capa { position: absolute; inset: 0; pointer-events: none; }
.fl-hoy { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--rojo); opacity: .75; }
.fl-hoy span { position: absolute; top: -16px; left: -14px; font-size: 10.5px; color: var(--rojo); font-weight: 700; }
.fl-escala { font-size: 11px; color: #8a97a5; margin-bottom: 18px; }
.fl-marcas { position: relative; height: 16px; }
.fl-marcas span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.fl-bienvenida p { margin: 6px 0 10px; max-width: 760px; }
/* Formularios */
.fl-plantillas { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.fl-pl { text-align: left; border: 1px solid var(--gris-2); border-radius: 14px; background: rgba(255,255,255,.85); padding: 12px 13px; cursor: pointer; font: inherit; color: var(--texto);
  display: flex; flex-direction: column; gap: 4px; transition: transform .12s, box-shadow .12s; }
.fl-pl:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(16,32,48,.12); border-color: var(--azul-medio); }
.fl-pl-ico { font-size: 22px; }
.fl-pl b { font-size: 14px; }
.fl-pl span { font-size: 12.5px; color: var(--gris-3); }
.fl-pl em { font-style: normal; font-size: 11.5px; color: var(--azul); margin-top: 4px; }
.fl-sub { margin: 14px 0 8px; font-size: 14px; color: var(--azul-osc); }
.fl-pasos-form { display: flex; flex-direction: column; gap: 8px; }
.fl-paso-f { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 8px; align-items: start; background: rgba(255,255,255,.7); border: 1px solid var(--gris-2); border-radius: 12px; padding: 9px 10px; }
.fl-paso-n { display: flex; justify-content: center; padding-top: 7px; }
.fl-paso-n span { width: 22px; height: 22px; border-radius: 50%; background: var(--azul); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.fl-paso-n input { width: 18px; height: 18px; }
.fl-paso-campos { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.fl-paso-sub { font-size: 12px; color: var(--gris-3); }
.fl-paso-fila { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fl-paso-fila select { flex: 1 1 200px; min-width: 0; }
.fl-dias { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gris-3); }
.fl-dias input { width: 74px; }
.fl-previa { font-size: 13px; background: var(--azul-claro); border-radius: 10px; padding: 8px 11px; margin: 12px 0 4px; }
.fl-check { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 400; color: var(--texto); padding: 4px 0; cursor: pointer; flex-wrap: wrap; }
.fl-check input { width: auto; margin: 0; }
.fl-eq-lista, .fl-cand, .fl-espera-lista { max-height: 220px; overflow-y: auto; border: 1px solid var(--gris-2); border-radius: 10px; padding: 6px 10px; background: rgba(255,255,255,.7); margin-top: 6px; }
.fl-cand-item { border-bottom: 1px solid var(--linea); padding: 6px 0; }
.fl-mini-estado { font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 7px; background: #eef1f5; color: #6b7a8b; }
.fl-mini-estado.hecho { background: #dff2e8; color: #146b45; }
.fl-mini-estado.curso { background: #e2eefb; color: #1d5ea6; }
.fl-mini-estado.vencido, .fl-mini-estado.decidir { background: #fbe7e9; color: #9b2a36; }
/* Ficha del asunto, listas y Mis pendientes */
.fl-ficha { margin-bottom: 14px; }
.fl-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.fl-chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 12px; padding: 6px 10px; font-size: 12.5px; background: rgba(255,255,255,.8); border: 1px solid rgba(46,90,124,.18); color: var(--texto); text-decoration: none; max-width: 100%; flex-wrap: wrap; }
.fl-chip:hover { border-color: var(--azul); background: #fff; }
.fl-chip .pill { font-size: 10.5px; }
.fl-ficha-nota { font-size: 12.5px; margin-top: 8px; background: #f3f0fb; color: #4e3f80; border-radius: 10px; padding: 7px 10px; }
.fl-ficha-nota.fl-rojo { background: #fdf0f1; color: #7d2430; }
.fl-ficha-nota.fl-verde { background: #e9f6ef; color: #146b45; }
.fl-ficha-espera { background: #f3f0fb; border: 1px dashed #b9acdf; color: #3f3266; border-radius: 12px; padding: 10px 12px; font-size: 13px; }
.fl-tag { max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
.fl-desp { border-left: 4px solid var(--verde); }
.fl-esp { opacity: .88; border-left: 4px dashed #b9acdf; }
.fl-desp-por { font-size: 12.5px; color: #146b45; margin: 4px 0 6px; }
@media (max-width: 980px) { .fl-diseno { grid-template-columns: minmax(0, 1fr); } .fl-lista { flex-direction: row; overflow-x: auto; scrollbar-width: thin; } .fl-lista .fl-card { flex: 0 0 260px; } .fl-lista > .btn { align-self: center; flex: 0 0 auto; } }
@media (max-width: 640px) { .fl-fila-g, .fl-escala, .fl-hoy-capa { grid-template-columns: 130px minmax(0, 1fr); } .fl-gantt-in { min-width: 560px; } }
.fl-paso-campos .fl-dias { display: inline-flex; margin: 0; font-weight: 400; font-size: 13px; color: var(--gris-3); }
.campo .fl-check { display: flex; font-weight: 400; margin-bottom: 0; font-size: 13px; color: var(--texto); }
.fl-paso-campos .fp-titulo { font-weight: 600; }

/* ================= 🛠️ Tablero de mantenimiento preventivo (13/oct/2026): pestaña de Gráficas, como la maqueta v02 ================= */
.pv-cab { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.pv-panel { padding: 16px 18px; margin-bottom: 0; min-width: 0; }
.pv-panel h3 { margin: 0 0 2px; font-size: 15.5px; }
.pv-nota { color: var(--gris-3); font-size: 12.5px; margin: 0 0 10px; }
.pv-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.pv-kpis.pv-sin-dinero { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pv-kpi { cursor: pointer; transition: transform .12s, box-shadow .12s; position: relative; overflow: hidden; margin-bottom: 0; padding: 14px 16px 16px; }
.pv-kpi:hover, .pv-kpi:focus-visible { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 14px 34px rgba(16,32,48,.16); outline: none; }
.pv-kpi.sel { outline: 2px solid var(--azul); outline-offset: -2px; }
.pv-et { font-size: 12.5px; color: var(--gris-3); display: flex; align-items: center; gap: 6px; }
.pv-val { font-size: 30px; font-weight: 700; letter-spacing: -.5px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.pv-val-dinero { font-size: 23px; margin-top: 9px; }
.pv-det { font-size: 12px; color: var(--gris-3); margin-top: 2px; }
.pv-punto { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: 0 0 auto; }
.pv-kpi::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c, var(--azul)); opacity: .8; }
.pv-rejilla { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px; margin-bottom: 14px; }
.pv-rejilla-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.pv-rejilla-3.pv-sin-dinero { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pv-panel svg text { font-family: var(--fuente); }
.pv-scroll { overflow-x: auto; scrollbar-width: thin; }
.pv-svg-semanas { width: 100%; height: auto; display: block; }
.pv-col { cursor: pointer; }
.pv-col:hover .pv-fondo { fill: rgba(46,90,124,.07); }
.pv-col.sel .pv-fondo { fill: rgba(46,90,124,.13); }
.pv-leyenda { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--gris-3); margin-top: 8px; }
.pv-leyenda i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 5px; vertical-align: -1px; }
.pv-area { margin: 0 0 10px; }
.pv-area-cab { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 4px; gap: 8px; }
.pv-area-barra { height: 24px; display: flex; border-radius: 8px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); }
.pv-seg { height: 100%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 700; border-right: 2px solid rgba(255,255,255,.7); cursor: pointer; }
.pv-seg:hover, .pv-seg:focus-visible { opacity: .85; outline: none; }
.pv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 10px; align-items: center; }
.pv-chip { border: 1px solid rgba(46,90,124,.18); background: rgba(255,255,255,.7); color: var(--azul-osc); border-radius: 999px; padding: 4px 11px; font: inherit; font-size: 12.5px; cursor: pointer; }
.pv-chip.activo { background: var(--azul); color: #fff; border-color: var(--azul); cursor: default; }
.pv-chip.quitar { border-style: dashed; }
.pv-tabla-scroll { overflow-x: auto; }
.pv-tabla { width: 100%; border-collapse: collapse; font-size: 13px; }
.pv-tabla th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .4px; color: var(--gris-3); font-weight: 600; padding: 8px; border-bottom: 1px solid var(--gris-2); }
.pv-tabla td { padding: 9px 8px; border-bottom: 1px solid var(--linea); vertical-align: middle; }
.pv-tabla tbody tr[data-id] { cursor: pointer; }
.pv-tabla tbody tr[data-id]:hover td, .pv-tabla tbody tr[data-id]:focus-visible td { background: rgba(255,255,255,.6); outline: none; }
.pv-estado { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pv-estado.e-vencido { background: #fbe7e9; color: #9b2a36; }
.pv-estado.e-porvencer { background: #fbf0dc; color: #8a5a0c; }
.pv-estado.e-aldia { background: #e2f3ea; color: #146b45; }
.pv-folio { font-weight: 600; color: var(--azul-osc); white-space: nowrap; }
.pv-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pv-equipo { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--linea); font-size: 13px; }
.pv-equipo:last-child { border-bottom: 0; }
.pv-dias { margin-left: auto; font-weight: 700; color: var(--rojo); white-space: nowrap; }
.pv-folio-link { color: var(--azul); font-weight: 600; text-decoration: none; background: var(--azul-claro); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.pv-folio-link:hover { background: var(--azul); color: #fff; }
.pv-desfase { color: #8a5a0c; background: #fbf0dc; border-radius: 999px; padding: 1px 7px; white-space: nowrap; cursor: help; }
.pv-dona { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pv-dona-ley { font-size: 13px; line-height: 1.9; }
.pv-vacio { color: var(--gris-3); font-size: 13px; padding: 16px 0; text-align: center; }
.pv-tip { position: fixed; pointer-events: none; background: rgba(20,47,70,.94); color: #fff; font-size: 12.5px; padding: 7px 10px; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.25); opacity: 0; transition: opacity .1s; max-width: 280px; z-index: 60; }
@media (max-width: 1100px) { .pv-kpis, .pv-kpis.pv-sin-dinero { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pv-rejilla, .pv-rejilla-3, .pv-rejilla-3.pv-sin-dinero { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .pv-svg-semanas { width: 640px; max-width: none; } }
@media (max-width: 560px) { .pv-kpis, .pv-kpis.pv-sin-dinero { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pv-val { font-size: 25px; } .pv-ocultar { display: none; } }
.pf-sueldo-lbl { display: flex !important; align-items: center; gap: 8px; font-weight: 400 !important; color: var(--texto) !important; }
.pf-sueldo-lbl input { width: auto !important; min-height: 0 !important; }
.fl-ayuda { font-size: 12px; color: var(--gris-3); margin-top: 4px; }
.fl-paso-nota { font-size: 12px; color: #4e3f80; background: #f3f0fb; border-radius: 8px; padding: 5px 8px; }
/* 🔒 Asunto terminado o cancelado (14/oct/2026): se consulta, pero solo quien puede desbloquearlo le captura algo */
.cerrado-banner { background: #eef1f5; border: 1px solid #cfd7e1; color: #33475b; border-radius: 8px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 8px; }
.cerrado-banner.cancelado { background: #f4f4f5; border-color: #d6d6da; color: #4b4b55; }
.cerrado-banner .muted { font-size: 12.5px; }
/* 🌊 Pestañas de consulta de Asuntos (16/oct/2026): En curso · Cerradas · Tareas dormidas · Para asamblea */
.pest-asuntos { display: flex; gap: 6px; margin: 0 0 14px; overflow-x: auto; padding-bottom: 2px; }
.pest-asunto { flex: none; border: 1px solid var(--gris-2); background: rgba(255,255,255,.7); color: var(--texto); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 13.5px; cursor: pointer; }
.pest-asunto:hover { border-color: var(--azul, #1b4f7a); }
.pest-asunto.activo { background: var(--azul, #1b4f7a); border-color: var(--azul, #1b4f7a); color: #fff; font-weight: 600; }
.consulta-ayuda { margin: -10px 0 12px; font-size: 13px; }
.dup-donde { font-size: 12.5px; color: #4b5b70; margin: 2px 0 0 2px; }
.fl-no-abre { font-size: 12.5px; }
/* 🔁 Ficha simple de tareas permanentes (16/oct/2026) */
.tp-sec { margin: 16px 0 8px; font-size: 15px; color: var(--azul); }
.tp-toca { background: #eaf6ee; border: 1px solid #c4e3cf; color: #22603a; border-radius: 8px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 14px; }
.tp-toca.vencida { background: #fdeeee; border-color: #f2c9c9; color: #9b2c2c; }
.tp-eq-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.tp-mas { margin-top: 14px; }
.tp-mas > summary { cursor: pointer; font-size: 13px; color: var(--gris-3); }
.tp-vez { padding: 8px 0; border-bottom: 1px solid var(--gris-2); font-size: 13.5px; }
.tp-fotos { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.tp-fotos img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; border: 1px solid var(--gris-2); }
.ph-sin-costo { display: flex; gap: 6px; align-items: center; font-weight: 400; font-size: 12.5px; margin-top: 4px; }
.ph-sin-costo input { width: auto; }
/* ✕ junto a cada fecha para dejarla en blanco (16/oct/2026) */
.fecha-quitar { display: flex; gap: 6px; align-items: center; }
.fecha-quitar input { flex: 1; min-width: 0; }
.btn-quitar-fecha { flex: none; width: 34px; height: 34px; border: 1px solid var(--gris-2); border-radius: 8px; background: #fff; color: var(--gris-3); cursor: pointer; font-size: 14px; line-height: 1; }
.btn-quitar-fecha:hover { color: var(--rojo); border-color: var(--rojo); }
.btn-quitar-fecha:disabled { opacity: .4; cursor: default; }
/* «＋ Nuevo»: ¿asunto o tarea permanente? (16/oct/2026) */
.alta-opciones { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
@media (max-width: 640px) { .alta-opciones { grid-template-columns: 1fr; } }
.alta-op { display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 16px; border: 1px solid var(--gris-2); border-radius: 12px; background: #fff; cursor: pointer; font: inherit; color: var(--texto); }
.alta-op:hover { border-color: var(--azul); box-shadow: 0 2px 10px rgba(0, 87, 199, .12); }
.alta-op b { font-size: 15.5px; color: var(--azul); }
.alta-op span { font-size: 13px; color: var(--gris-3); }
/* 💤🔒 Periódica ya hecha esta vez, dormida (16/oct/2026): mismo letrero, en azul de "en espera" */
.dormida-banner { background: #eef2fb; border: 1px solid #c9d4ee; color: #2d3a5c; border-radius: 8px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 8px; }
.cerrado-reabrir { display: flex; flex-direction: column; gap: 8px; }
.cerrado-reabrir .rb-fila { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cerrado-reabrir .campo label { color: inherit; }
/* 🖨️ Imprimir solo la tarjeta del flujo (15/oct/2026): sin menú, sin cinta, sin la lista de flujos ni el detalle */
.fl-imprimir { flex: 0 0 auto; }
@media print {
  body.imprimir-flujo, body.imprimir-flujo #app, body.imprimir-flujo .content { background: #fff !important; }
  body.imprimir-flujo .sidebar, body.imprimir-flujo .topbar, body.imprimir-flujo #cinta, body.imprimir-flujo #buscador,
  body.imprimir-flujo #banner-reunion, body.imprimir-flujo .view-header, body.imprimir-flujo .fl-lista, body.imprimir-flujo #fl-detalle,
  body.imprimir-flujo .fl-gestion, body.imprimir-flujo .fl-cab .rc-tabs, body.imprimir-flujo .fl-imprimir, body.imprimir-flujo #toast,
  body.imprimir-flujo .modal-backdrop, body.imprimir-flujo .login-capa { display: none !important; }
  body.imprimir-flujo .fl-diseno { display: block; }
  body.imprimir-flujo .fl-principal { box-shadow: none !important; border: 0 !important; background: #fff !important; padding: 0 !important; backdrop-filter: none !important; }
  body.imprimir-flujo .fl-principal * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body.imprimir-flujo .fl-lienzo-scroll, body.imprimir-flujo .fl-scroll-g { overflow: visible !important; }
  body.imprimir-flujo .fl-nodo { animation: none !important; box-shadow: none !important; break-inside: avoid; }
  body.imprimir-flujo path.fl-viva { animation: none !important; }
}
/* ⏸️ Pendiente: no recibe notas; ▶ se pasa a En proceso con su fecha de entrega (16/oct/2026) */
.arranque-banner { background: #fdf6e7; border: 1px solid #f1dfb3; color: #6b4a08; border-radius: 8px; padding: 10px 14px; font-size: 13.5px; line-height: 1.45; margin-bottom: 14px; display: flex; flex-direction: column; gap: 8px; }
.arranque-fila { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.arranque-fecha { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: inherit; font-weight: 600; }
.arranque-fecha input { width: auto; }
.fent-nota { font-size: 12px; margin-top: 4px; }
.mp-arranque { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.arranque-compromiso { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: inherit; font-weight: 400; cursor: pointer; }
.arranque-compromiso input { width: auto; margin-top: 3px; }

/* ---------- ✉️ Mensajes internos (17/oct/2026) ---------- */
.msj-capa { position: fixed; inset: 0; z-index: 150; background: rgba(15, 30, 45, .62); display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; backdrop-filter: blur(2px); }
.msj-caja { background: #fff; border-radius: 16px; max-width: 560px; width: 100%; padding: 18px 18px 14px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.msj-caja h3 { margin: 0 0 8px; color: var(--azul); }
.msj-aviso { border-top: 1px solid var(--gris-2); padding: 10px 0 4px; }
.msj-de { font-size: 14px; margin-bottom: 6px; }
.msj-acciones { display: flex; gap: 8px; margin: 8px 0 4px; flex-wrap: wrap; }
.msj-burbuja { background: #f1f5f9; border-radius: 12px; padding: 9px 12px; margin: 6px 0; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.msj-pie { font-size: 12px; color: #6b7a89; margin-top: 4px; }
.msj-hilo { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.msj-mia { background: #e3eef8; align-self: flex-end; max-width: 85%; }
.msj-suya { background: #f4f6f8; align-self: flex-start; max-width: 85%; border: 1px solid var(--gris-2); }
.msj-quien { font-size: 12.5px; font-weight: 600; margin-bottom: 3px; }
.msj-est { font-size: 12px; color: #6b7a89; }
.msj-visto { color: #8a6d1f; }
.msj-leido, .msj-contesto { color: #2f7a55; font-weight: 600; }
.msj-asunto { background: #fff7e6; border: 1px solid #f0d9a8; border-radius: 999px; padding: 2px 10px; font-size: 12.5px; color: var(--texto); cursor: pointer; }
.msj-asunto-mudo { cursor: default; }
.msj-lista { display: flex; flex-direction: column; gap: 8px; }
.msj-fila { text-align: left; width: 100%; cursor: pointer; border: 1px solid var(--gris-2); display: block; font: inherit; color: inherit; }
.msj-fila.msj-nueva { border-color: var(--azul); box-shadow: 0 0 0 2px rgba(0, 87, 199, .15); }
.msj-fila-cab { display: flex; align-items: center; gap: 6px; }
.msj-fila-cab .nav-badge { position: static; }
.msj-cuando { font-size: 12px; }
.msj-fila-asunto { font-size: 12.5px; color: #8a6d1f; margin-top: 2px; }
.msj-fila-ult { font-size: 13.5px; margin-top: 4px; color: var(--texto); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msj-fila-pie { margin-top: 4px; font-size: 12px; }
.msj-cuentas { max-height: 260px; overflow-y: auto; border: 1px solid var(--gris-2); border-radius: 10px; padding: 6px 8px; margin-top: 6px; background: #fff; }
.msj-cuenta { display: flex; align-items: center; gap: 8px; padding: 5px 2px; font-weight: 400; cursor: pointer; }
.msj-responder textarea, .msj-redactar textarea { width: 100%; }
.toast { z-index: 170; } /* ✉️ los avisos, encima de la capa de mensajes (revisión, B7) */
.msj-conv { padding: 2px 0; }
.cx-sinligar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 3px 0; } /* ＋ Dar de alta (17/oct/2026) */
/* 📹 Cámaras de cada grabador en el espacio de su renglón (Luis, 18/oct/2026) */
.cx-bloque-cams .cx-lugares { grid-auto-flow: row; grid-template-columns: 1fr; }
.cx-tile.cx-grab { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 10px; align-items: start; cursor: default; }
.cx-grab-izq { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.cx-grab-info { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left; border: 0; background: none; padding: 0; cursor: pointer; font-family: inherit; color: inherit; }
.cx-grab-info:hover .cx-tile-nom { color: var(--azul); text-decoration: underline; }
.cx-cam-res { font-size: 12px; color: #17714a; font-weight: 600; }
.cx-cam-res.no { color: var(--rojo); }
.cx-cam-res.sd { color: var(--gris-3); }
.cx-tile .cx-cam-res { margin-top: 2px; }
.cx-cams { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 5px; align-content: start; }
.cx-cam { display: flex; align-items: center; gap: 5px; min-width: 0; border: 1px solid #c6e7d5; background: #f3fbf6; border-radius: 7px; padding: 3px 7px; font-size: 12px; line-height: 1.35; color: var(--texto); font-family: inherit; text-align: left; }
.cx-cam::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #1f9d63; }
.cx-cam-d { flex: none; font-weight: 700; font-size: 11px; color: #3f5468; }
.cx-cam-nom { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-cam.no { border-color: #f6d0d5; background: #fdeef0; color: var(--rojo); font-weight: 600; }
.cx-cam.no::before { background: var(--rojo); }
.cx-cam.no .cx-cam-d { color: var(--rojo); }
.cx-cam.sd { border-color: var(--gris-2); background: var(--gris-1); color: var(--gris-3); }
.cx-cam.sd::before { background: var(--gris-3); }
.cx-cam.nv { border: 1px dashed var(--gris-2); background: transparent; color: var(--gris-3); }
.cx-cam.nv::before { content: '🚫'; width: auto; height: auto; background: none; border-radius: 0; font-size: 9.5px; }
.cx-cam.nv .cx-cam-nom, .cx-cam.nv .cx-cam-d { text-decoration: line-through; color: var(--gris-3); }
.cx-cam-btn { cursor: pointer; }
.cx-cam-btn:hover { box-shadow: var(--sombra); border-color: var(--azul-medio); }
.cx-hist-datos { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.cx-hist-datos > div { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cx-hist-datos > div > .muted:first-child { min-width: 120px; font-size: 12.5px; }
.cx-cam-fila { cursor: pointer; }
.cx-elegir-tabla td { padding: 6px 10px; }
.cx-elegir-tabla select { max-width: 210px; }
.cx-periodos { display: flex; flex-direction: column; gap: 7px; font-size: 14px; }
.cx-periodos label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.cx-fechas { display: flex; gap: 14px; flex-wrap: wrap; margin-left: 26px; }
.cxe-sug1 { border: 1px dashed var(--azul-medio); background: var(--azul-claro); color: var(--azul); border-radius: 6px; padding: 2px 7px; font-size: 11.5px; cursor: pointer; margin-left: 6px; font-family: inherit; }
.cx-bloque-grab-t .cx-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } /* Tablero: los grabadores lado a lado */
@media (max-width: 760px) { .cx-tile.cx-grab { grid-template-columns: 1fr; } .cx-cams { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); } }

/* 📄 Actas de sanción (24/oct/2026): espacio para firmar con el dedo */
.ac-firma { display: block; width: 100%; height: 170px; background: #fff; border: 1px dashed #9aa9b8; border-radius: 10px; cursor: crosshair; }

/* ===== 🏠 Tablero «Lo importante, a la vista.» (1/nov/2026, propuesta de imagen de Luis; tablero.js) ===== */
.tb-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tb-ico-flecha { width: 16px; height: 16px; }
.tb-encabezado { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 18px; margin: 4px 0 18px; }
.tb-titulo { font-size: 44px; line-height: 1.05; font-weight: 800; letter-spacing: -.8px; color: #10283d; }
.tb-sub { margin-top: 8px; font-size: 18px; color: #4a5d70; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
#tb-mes { text-transform: lowercase; }
.tb-mes-nav { display: inline-flex; gap: 4px; margin-left: 6px; }
.tb-ilustracion { width: 100%; max-width: 380px; height: 120px; justify-self: center; align-self: end; }
.tb-lado { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.tb-reunion { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 14px; font-size: 15px; font-weight: 700;
  background: linear-gradient(135deg, #0057C7, #101B2F); border-color: #101B2F; box-shadow: 0 8px 20px rgba(22, 70, 96, .25); }
.tb-reunion .tb-ico { width: 22px; height: 22px; }
.tb-lema { max-width: 190px; text-align: left; font-size: 15px; line-height: 1.45; color: #4a5d70; }
.tb-lema::after { content: ""; display: block; width: 34px; height: 3px; border-radius: 3px; background: #e2b84a; margin-top: 8px; }

.tb-tarjetas { display: grid; gap: 18px; grid-template-columns: 1.3fr 1fr 1fr; margin-bottom: 18px; }
.tb-tarjetas.tb-n2 { grid-template-columns: 1.4fr 1fr; }
.tb-tarjetas.tb-n1 { grid-template-columns: 1fr; }
.tb-card { position: relative; overflow: hidden; display: flex; gap: 16px; align-items: flex-start; padding: 24px 22px 22px; border-radius: 20px;
  border: 1px solid #e3e8ee; box-shadow: 0 10px 28px rgba(16, 32, 48, .08); }
.tb-card-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.tb-card-ico .tb-ico { width: 28px; height: 28px; }
.tb-card-cuerpo { min-width: 0; position: relative; z-index: 1; }
.tb-card-n { font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -1px; }
.tb-card-tit { font-size: 22px; font-weight: 700; margin-top: 4px; }
.tb-card p { font-size: 14.5px; margin: 6px 0 16px; }
.tb-card-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; border: 1px solid #e3e8ee; background: #fff;
  color: #101B2F; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; box-shadow: 0 2px 6px rgba(16, 32, 48, .08); white-space: nowrap; }
.tb-card-btn:hover { background: #f2f7fa; }
.tb-urgente { background: linear-gradient(135deg, #0057C7 0%, #101B2F 70%); color: #fff; border-color: #101B2F; }
.tb-urgente::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 340px; height: 260px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 0 0 26px rgba(255, 255, 255, .03), 0 0 0 52px rgba(255, 255, 255, .025); pointer-events: none; }
.tb-urgente .tb-card-ico { background: #fff; color: var(--rojo); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.tb-urgente p { color: rgba(255, 255, 255, .85); }
.tb-urgente .tb-card-btn { border-color: #fff; }
.tb-mio { background: linear-gradient(135deg, #f2faf6, #e6f4ee); border-color: #d3ebe0; }
.tb-mio .tb-card-ico { background: #d6efe4; color: #2b7a5f; }
.tb-mio .tb-card-n, .tb-mio .tb-card-tit, .tb-sinresp .tb-card-n, .tb-sinresp .tb-card-tit { color: #10283d; }
.tb-mio p, .tb-sinresp p { color: #5b6b7b; }
.tb-sinresp { background: linear-gradient(135deg, #fffaf0, #fff3dc); border-color: #f2e2bc; }
.tb-sinresp .tb-card-ico { background: #fde7b2; color: #8a6514; }

.tb-medio { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; margin-bottom: 18px; }
.tb-medio.tb-solo { grid-template-columns: 1fr; }
.tb-panel { background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid #e6ebf1;
  border-radius: 20px; padding: 22px 24px; box-shadow: 0 10px 28px rgba(16, 32, 48, .07); }
.tb-panel-cab { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.tb-panel-cab h3 { font-size: 20px; font-weight: 800; color: #10283d; }
.tb-panel-cab p { font-size: 14px; color: #5b6b7b; margin-top: 2px; }
.tb-fila { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--linea); }
.tb-fila:last-child { border-bottom: 0; }
.tb-fila-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.tb-fila-ico.rojo { background: #fde4e6; color: var(--rojo); }
.tb-fila-ico.ambar { background: #fdefcf; color: #9a6a10; }
.tb-fila-ico.verde { background: #def2e9; color: #2b7a5f; }
.tb-fila-ico.azul { background: #e3eef7; color: var(--azul); }
.tb-fila-ico.gris { background: #eef1f5; color: #5b6b7b; }
.tb-fila-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tb-fila-txt b { font-size: 16.5px; color: #10283d; }
.tb-fila-txt em { font-style: normal; font-size: 21px; font-weight: 800; margin-right: 2px; }
.tb-fila-txt span { font-size: 13.5px; color: #5b6b7b; }
.tb-fila-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; padding: 8px 16px; font-weight: 700; color: #101B2F; white-space: nowrap; }
.tb-ronda { display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(90px, 1.1fr) 76px; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--linea); }
.tb-ronda:last-of-type { border-bottom: 0; }
.tb-ronda-txt { display: flex; flex-direction: column; min-width: 0; }
.tb-ronda-txt b { font-size: 16px; color: #10283d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-ronda-txt span { font-size: 13.5px; color: #5b6b7b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-barra { height: 10px; border-radius: 99px; background: #e8edf2; overflow: hidden; }
.tb-barra i { display: block; height: 100%; border-radius: 99px; }
.tb-barra-verde { background: #4fbf93; }
.tb-barra-ambar { background: #e6b23e; }
.tb-barra-rojo { background: var(--rojo); }
.tb-barra-gris { background: #c4ccd5; }
.tb-ronda-pct { display: flex; flex-direction: column; align-items: flex-end; }
.tb-ronda-pct b { font-size: 22px; font-weight: 800; line-height: 1.1; }
.tb-ronda-pct span { font-size: 13px; color: #5b6b7b; }
.tb-txt-verde { color: #2b9a6f; }
.tb-txt-ambar { color: #c08a12; }
.tb-txt-rojo { color: var(--rojo); }
.tb-txt-azul { color: #3b82c4; }
.tb-txt-gris { color: #6b7a8b; }
.tb-mas, .tb-vacio { font-size: 13.5px; color: #5b6b7b; padding-top: 10px; }

.tb-franja { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 22px; margin-bottom: 18px; }
.tb-franja-dato { display: flex; align-items: center; gap: 12px; padding-right: 22px; border-right: 1px solid var(--linea); }
.tb-franja-dato b { font-size: 40px; font-weight: 800; color: #10283d; line-height: 1; }
.tb-franja-dato span { font-size: 15px; color: #33475b; line-height: 1.25; }
.tb-franja-prio { display: flex; flex-direction: column; gap: 6px; }
.tb-franja-tit { font-size: 14px; color: #33475b; }
.tb-franja-prio > div { display: flex; }
.tb-prio { display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: center; padding: 2px 22px 2px 0; margin-right: 18px; background: none; border: 0;
  border-right: 1px solid var(--linea); font: inherit; cursor: pointer; text-align: left; }
.tb-prio:last-child { border-right: 0; margin-right: 0; }
.tb-prio span { font-size: 14px; color: #33475b; }
.tb-prio b { grid-column: 2; font-size: 24px; font-weight: 800; line-height: 1.1; }
.tb-prio:hover span { text-decoration: underline; }
.tb-punto { width: 13px; height: 13px; border-radius: 50%; display: inline-block; }
.tb-punto-rojo { background: #e5484d; }
.tb-punto-ambar { background: #f0c03c; }
.tb-punto-azul { background: #5aa6e6; }
.tb-punto-verde { background: #5cc79b; }
.tb-ver-detalle { margin-left: auto; }
.tb-detalle { margin-top: 4px; }

@media (max-width: 1150px) {
  .tb-encabezado { grid-template-columns: 1fr auto; }
  .tb-ilustracion { display: none; }
  .tb-tarjetas, .tb-tarjetas.tb-n2 { grid-template-columns: 1fr 1fr; }
  .tb-tarjetas .tb-urgente { grid-column: 1 / -1; }
  .tb-medio { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .tb-encabezado { grid-template-columns: 1fr; gap: 10px; margin-bottom: 12px; }
  .tb-titulo { font-size: 28px; letter-spacing: -.4px; }
  .tb-sub { font-size: 15px; }
  .tb-lado { flex-direction: row; align-items: center; }
  .tb-lema { display: none; }
  .tb-reunion { padding: 8px 14px; font-size: 13.5px; border-radius: 10px; }
  .tb-tarjetas, .tb-tarjetas.tb-n2 { grid-template-columns: 1fr; gap: 12px; margin-bottom: 12px; }
  .tb-card { padding: 16px; gap: 14px; border-radius: 16px; }
  .tb-card-ico { width: 46px; height: 46px; }
  .tb-card-ico .tb-ico { width: 24px; height: 24px; }
  .tb-card-n { font-size: 38px; }
  .tb-card-tit { font-size: 18px; }
  .tb-card p { margin: 4px 0 12px; font-size: 13.5px; }
  .tb-card-btn { padding: 7px 12px; font-size: 13px; }
  .tb-panel { padding: 16px; border-radius: 16px; }
  .tb-panel-cab h3 { font-size: 17px; }
  .tb-fila { gap: 12px; }
  .tb-fila-ico { width: 38px; height: 38px; }
  .tb-fila-txt b { font-size: 14.5px; }
  .tb-fila-txt em { font-size: 18px; }
  .tb-fila-btn { padding: 6px 10px; font-size: 13px; }
  .tb-ronda { grid-template-columns: 38px minmax(0, 1fr) 64px; }
  .tb-ronda .tb-barra { grid-column: 2 / 4; grid-row: 2; }
  .tb-franja { gap: 14px; }
  .tb-franja-dato { padding-right: 14px; }
  .tb-franja-dato b { font-size: 28px; }
  .tb-prio { padding-right: 12px; margin-right: 10px; }
  .tb-prio b { font-size: 20px; }
  .tb-ver-detalle { margin-left: 0; width: 100%; justify-content: center; }
}

/* ===== 📋 Mis pendientes: lista y detalle (1/nov/2026, diseño 108 de Luis; junta.js) ===== */
.mp2-cabeza { display: flex; align-items: flex-end; gap: 14px; margin: 4px 0 16px; flex-wrap: wrap; }
.mp2-titulo { font-size: 40px; line-height: 1.05; font-weight: 800; letter-spacing: -.7px; color: #10283d; }
.mp2-sub { margin-top: 6px; font-size: 17px; color: #4a5d70; }
.mp2-pestanas { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.mp2-pest { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 14px; border: 1px solid #e3e8ee; background: rgba(255, 255, 255, .92);
  color: #2b4258; font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; box-shadow: 0 2px 8px rgba(16, 32, 48, .06); }
.mp2-pest em { font-style: normal; min-width: 24px; padding: 2px 8px; border-radius: 999px; background: #eef1f5; color: #33475b; font-size: 13px; text-align: center; }
.mp2-pest:hover { background: #f2f7fa; }
.mp2-pest.activo { background: linear-gradient(135deg, #0057C7, #101B2F); color: #fff; border-color: #101B2F; box-shadow: 0 8px 18px rgba(22, 70, 96, .28); }
.mp2-pest.activo em { background: #e5484d; color: #fff; }

.mp2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 18px; align-items: start; }
.mp2-lista { background: rgba(255, 255, 255, .88); border: 1px solid #e6ebf1; border-radius: 20px; padding: 16px; box-shadow: 0 10px 28px rgba(16, 32, 48, .07); }
.mp2-lista-cab { font-size: 18px; color: #10283d; padding: 4px 4px 10px; }
.mp2-grupo { margin-bottom: 6px; }
.mp2-grupo-tit { font-size: 13.5px; font-weight: 700; color: #33475b; padding: 8px 4px 6px; cursor: default; }
details.mp2-grupo > summary.mp2-grupo-tit { cursor: pointer; }
.mp2-filas { display: flex; flex-direction: column; gap: 8px; }
.mp2-fila { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; text-align: left; padding: 12px 14px;
  border: 1px solid #e6ebf1; border-radius: 14px; background: #fff; font: inherit; color: inherit; cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s; }
.mp2-fila:hover { background: #f6f9fb; }
.mp2-fila.activo { border-color: #2b8fae; background: #eef8fb; box-shadow: 0 6px 16px rgba(31, 101, 130, .14), inset 3px 0 0 #2b8fae; }
.mp2-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #eef3f8; color: #2b4258; }
.mp2-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mp2-folio { font-size: 12.5px; color: #5b6b7b; font-weight: 600; }
.mp2-concepto { font-size: 15px; color: #10283d; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mp2-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: #5b6b7b; margin-top: 2px; }
.mp2-av { width: 70px; height: 6px; border-radius: 99px; background: #e8edf2; overflow: hidden; display: inline-block; }
.mp2-av i { display: block; height: 100%; background: #0057C7; border-radius: 99px; }
.mp2-et { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; align-self: start; }
.mp2-et-verde { background: #e3f4ec; color: #1f7a55; }
.mp2-et-rojo { background: #fde4e6; color: #b4232e; }
.mp2-et-ambar { background: #fdf0d0; color: #8a6514; }
.mp2-et-azul { background: #e3eef7; color: #245b8a; }
.mp2-et-gris { background: #eef1f5; color: #5b6b7b; }

.mp2-der { position: sticky; top: 14px; }
.mp2-detalle { background: rgba(255, 255, 255, .94); border: 1px solid #e6ebf1; border-radius: 20px; padding: 22px 24px; box-shadow: 0 10px 28px rgba(16, 32, 48, .08); }
.mp2-vacio { color: #5b6b7b; font-size: 14px; }
.mp2-det-cab { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mp2-det-tit { font-size: 24px; font-weight: 800; color: #10283d; line-height: 1.2; margin: 8px 0 2px; }
.mp2-det-area { font-size: 13.5px; color: #5b6b7b; margin-bottom: 4px; }
.mp2-aut { display: flex; align-items: center; gap: 14px; margin: 14px 0 4px; padding: 16px 18px; border-radius: 16px; color: #fff;
  background: linear-gradient(135deg, #0057C7, #101B2F); box-shadow: 0 8px 20px rgba(22, 70, 96, .22); }
.mp2-aut .mp2-aut-ico { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #1f7a55; display: grid; place-items: center; font-size: 20px; font-weight: 800; flex: none; }
.mp2-aut b { display: block; font-size: 18px; }
.mp2-aut div > span { font-size: 13.5px; color: rgba(255, 255, 255, .88); }
.mp2-datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 18px; margin: 14px 0 10px; padding: 12px 0; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.mp2-dato span { display: block; font-size: 12.5px; color: #5b6b7b; }
.mp2-dato b { font-size: 16px; color: #10283d; }
.mp2-avance { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: #5b6b7b; margin-bottom: 10px; }
.mp2-ultima { font-size: 13.5px; color: #33475b; background: #f6f8fb; border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; }
.mp2-det .mp-acciones { display: flex; flex-wrap: wrap; gap: 8px; }
.mp2-det .mp-form { margin-top: 12px; }

@media (max-width: 1099px) {
  .mp2 { grid-template-columns: 1fr; }
  .mp2-der { display: none; }
  .mp2-filas > .mp2-detalle { margin: 2px 0 6px; padding: 16px; border-color: #2b8fae; }
}
@media (max-width: 760px) {
  .mp2-titulo { font-size: 28px; letter-spacing: -.4px; }
  .mp2-sub { font-size: 14.5px; }
  .mp2-pestanas { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .mp2-pest { padding: 8px 12px; font-size: 13.5px; white-space: nowrap; }
  .mp2-lista { padding: 10px; border-radius: 16px; }
  .mp2-fila { grid-template-columns: 36px minmax(0, 1fr); padding: 10px 12px; gap: 10px; }
  .mp2-ico { width: 34px; height: 34px; }
  .mp2-et { grid-column: 2; justify-self: start; }
  .mp2-det-tit { font-size: 19px; }
}
.mp2-dato .vencida { color: var(--rojo); font-weight: 700; }

/* ===== ✉️ Mensajes por asunto (1/nov/2026, diseño 109 de Luis; mensajes.js) ===== */
.msj2-cabeza { display: flex; align-items: flex-end; gap: 16px; margin: 4px 0 16px; flex-wrap: wrap; }
.msj2-cabeza .spacer { flex: 1; }
.msj2-privadas { display: inline-flex; align-items: center; gap: 6px; color: #33475b; font-size: 14px; padding-bottom: 12px; }
.msj2-privadas .tb-ico { width: 17px; height: 17px; }
.msj2-nuevo { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 14px; border: 0; background: linear-gradient(135deg, #0057C7, #101B2F); color: #fff; font-weight: 700; box-shadow: 0 8px 18px rgba(22, 70, 96, .28); }

.msj2 { display: grid; grid-template-columns: minmax(340px, 1fr) minmax(0, 1.4fr); gap: 18px; align-items: start; }
.msj2-lista { background: rgba(255, 255, 255, .88); border: 1px solid #e6ebf1; border-radius: 20px; padding: 14px; box-shadow: 0 10px 28px rgba(16, 32, 48, .07); }
.msj2-buscar { display: flex; align-items: center; gap: 8px; border: 1px solid #dfe5ec; border-radius: 14px; background: #fff; padding: 0 12px; margin-bottom: 12px; color: #5b6b7b; cursor: text; }
.msj2-buscar input { border: 0; outline: 0; background: transparent; padding: 11px 0; font: inherit; font-size: 14.5px; width: 100%; box-shadow: none; }
.msj2-grupos { display: flex; flex-direction: column; gap: 10px; }
.msj2-grupo { border: 1px solid #e6ebf1; border-radius: 16px; background: #fff; padding: 12px; transition: border-color .15s, background .15s, box-shadow .15s; }
.msj2-grupo.activo { border-color: #2b8fae; background: #eef8fb; box-shadow: 0 6px 16px rgba(31, 101, 130, .14); }
.msj2-grupo.nuevo:not(.activo) { border-color: #f0b4b7; }
.msj2-g-cab { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; padding: 0 2px 10px; box-shadow: none; }
.msj2-g-ico { width: 46px; height: 46px; border-radius: 50%; background: #e3f0f4; color: #101B2F; display: grid; place-items: center; flex: none; }
.msj2-g-ico .tb-ico { width: 22px; height: 22px; }
.msj2-g-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.msj2-g-txt span { font-size: 12.5px; color: #5b6b7b; }
.msj2-g-txt b { font-size: 15.5px; color: #10283d; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.msj2-g-flecha { font-size: 24px; color: #5b6b7b; line-height: 1; }
.msj2-n { font-style: normal; min-width: 22px; padding: 2px 7px; border-radius: 999px; background: #e5484d; color: #fff; font-size: 12px; font-weight: 700; text-align: center; }
.msj2-personas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.msj2-persona { display: flex; align-items: center; gap: 9px; border: 1px solid #edf0f4; border-radius: 12px; background: #fbfcfd; padding: 7px 9px; font: inherit; color: inherit; text-align: left; cursor: pointer; min-width: 0; box-shadow: none; }
.msj2-persona:hover { background: #f2f7fa; }
.msj2-persona.activo { border-color: #2b8fae; background: #fff; }
.msj2-persona > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.msj2-persona b { font-size: 13px; color: #10283d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msj2-p-est { font-size: 12px; color: #5b6b7b; }
.msj2-rojo { color: #b4232e; font-weight: 700; }
.msj2-mas { align-self: center; font-size: 12.5px; color: #5b6b7b; padding-left: 4px; }
.msj2-av { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 13px; font-weight: 800; flex: none; letter-spacing: .3px; }
.msj2-av-0 { background: #dbe8f3; color: #2b4f6e; }
.msj2-av-1 { background: #fbe7b5; color: #7a5a10; }
.msj2-av-2 { background: #d9efe6; color: #1f6b4f; }
.msj2-av-3 { background: #f3dde3; color: #8a3350; }
.msj2-av-4 { background: #e5e0f5; color: #4b3d8a; }
.msj2-av-5 { background: #dcecef; color: #25616b; }
.msj2-av-yo { background: #e6eaef; color: #33475b; }

.msj2-der { position: sticky; top: 14px; display: flex; flex-direction: column; gap: 14px; }
.msj2-vacio { background: rgba(255, 255, 255, .9); border: 1px solid #e6ebf1; border-radius: 20px; padding: 22px; color: #5b6b7b; }
.msj2-volver { display: none; align-self: flex-start; }
.msj2-banner { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, #0057C7, #123d55); box-shadow: 0 10px 24px rgba(22, 70, 96, .25); }
.msj2-banner-ico { width: 64px; height: 64px; border-radius: 50%; background: #e3f0f4; color: #101B2F; display: grid; place-items: center; flex: none; }
.msj2-banner-ico .tb-ico { width: 30px; height: 30px; }
.msj2-banner-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.msj2-banner-txt span { font-size: 14.5px; color: rgba(255, 255, 255, .86); }
.msj2-banner-txt b { font-size: 21px; line-height: 1.25; }
.msj2-ver { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid rgba(255, 255, 255, .85); background: transparent; color: #fff; border-radius: 999px; padding: 9px 18px; font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; box-shadow: none; }
.msj2-ver:hover { background: rgba(255, 255, 255, .12); }
.msj2-convs, .msj2-conv { background: rgba(255, 255, 255, .94); border: 1px solid #e6ebf1; border-radius: 20px; padding: 16px 18px; box-shadow: 0 10px 28px rgba(16, 32, 48, .07); }
.msj2-convs-cab { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: space-between; margin-bottom: 12px; }
.msj2-convs-cab b { font-size: 16px; color: #10283d; }
.msj2-convs-cab .muted { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; }
.msj2-convs-cab .tb-ico { width: 15px; height: 15px; }
.msj2-cons { display: flex; flex-wrap: wrap; gap: 10px; }
.msj2-con { display: inline-flex; align-items: center; gap: 10px; border: 1px solid #e3e8ee; border-radius: 14px; background: #f3f5f8; padding: 7px 16px 7px 8px; font: inherit; font-weight: 600; color: #2b4258; cursor: pointer; box-shadow: none; }
.msj2-con:hover { background: #eef3f7; }
.msj2-con.activo { border: 1.5px solid #2b8fae; background: #eef8fb; color: #10283d; }
.msj2-conv-cab { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 6px; }
.msj2-conv-cab b { color: #10283d; font-size: 15px; }
.msj2-cambio { color: #5b6b7b; display: inline-flex; }
.msj2-conv-cab .spacer { flex: 1; }
.msj2-privada { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; color: #33475b; }
.msj2-privada .tb-ico { width: 16px; height: 16px; }
.msj2-solo { font-size: 13px; color: #5b6b7b; margin: 0 0 6px; padding-bottom: 10px; border-bottom: 1px solid #edf0f4; }
.msj2-hilo { display: flex; flex-direction: column; gap: 10px; max-height: max(260px, calc(100vh - 540px)); overflow-y: auto; padding: 6px 2px 10px; }
.msj2-dia { display: flex; align-items: center; gap: 10px; color: #5b6b7b; font-size: 12.5px; margin: 4px 0; }
.msj2-dia::before, .msj2-dia::after { content: ''; flex: 1; height: 1px; background: #e3e8ee; }
.msj2-dia span { background: #eef1f5; border-radius: 999px; padding: 3px 12px; }
.msj2-b { max-width: 78%; border-radius: 16px; padding: 10px 14px; font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.msj2-b.mia { align-self: flex-end; background: #e6f4ef; border: 1px solid #d1ebe1; }
.msj2-b.suya { align-self: flex-start; background: #fff; border: 1px solid #e3e8ee; }
.msj2-b-cab { display: flex; justify-content: space-between; gap: 18px; font-size: 12.5px; color: #5b6b7b; margin-bottom: 3px; }
.msj2-b-cab b { color: #10283d; }
.msj2-b-pie { text-align: right; margin-top: 4px; }
.msj2-sinleer { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: #fff6e0; border: 1px solid #f3dfa6; border-radius: 12px; padding: 8px 12px; font-size: 13.5px; margin: 6px 0; }
.msj2-escribir { display: flex; align-items: flex-end; gap: 10px; border-top: 1px solid #edf0f4; padding-top: 12px; margin-top: 4px; }
.msj2-escribir textarea { flex: 1; resize: vertical; min-height: 48px; border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 14.5px; }
.msj2-escribir .btn { display: inline-flex; align-items: center; gap: 7px; border-radius: 14px; padding: 12px 20px; }
.msj2-escribir .btn .tb-ico { width: 17px; height: 17px; }
.msj2-escribir .btn:disabled { background: #e6eaef; color: #8695a4; box-shadow: none; cursor: default; }
.msj2-inactiva { border-top: 1px solid #edf0f4; padding-top: 12px; margin: 4px 0 0; }

@media (max-width: 1099px) {
  .msj2 { grid-template-columns: 1fr; }
  .msj2-der { position: static; display: none; }
  .msj2.con-sel .msj2-lista { display: none; }
  .msj2.con-sel .msj2-der { display: flex; }
  .msj2-volver { display: inline-flex; }
  .msj2-cabeza.con-sel { display: none; } /* dentro de una conversación basta «← Mensajes» */
}
@media (max-width: 760px) {
  .msj2-privadas { display: none; }
  .msj2-nuevo { padding: 8px 14px; font-size: 14px; border-radius: 12px; }
  .msj2-lista { padding: 10px; border-radius: 16px; }
  .msj2-grupo { padding: 10px; }
  .msj2-persona { padding: 6px 7px; gap: 7px; }
  .msj2-persona .msj2-av { width: 28px; height: 28px; font-size: 11.5px; }
  .msj2-g-ico { width: 40px; height: 40px; }
  .msj2-banner { padding: 14px 16px; gap: 12px; flex-wrap: wrap; border-radius: 16px; }
  .msj2-banner-ico { width: 46px; height: 46px; }
  .msj2-banner-ico .tb-ico { width: 22px; height: 22px; }
  .msj2-banner-txt { flex-basis: calc(100% - 62px); }
  .msj2-banner-txt b { font-size: 18px; }
  .msj2-ver { margin-left: 58px; padding: 7px 14px; }
  .msj2-convs, .msj2-conv { padding: 12px; border-radius: 16px; }
  .msj2-b { max-width: 90%; }
  .msj2-hilo { max-height: 55vh; }
}

/* ===== 📄 La ficha del asunto como página (1/nov/2026, maqueta A de Luis; app.js vistaAsunto, extras.js historial) ===== */
.fa-barra { display: flex; align-items: center; gap: 8px; margin: 2px 0 14px; flex-wrap: wrap; }
.fa-barra .spacer { flex: 1; }
.fa-barra .btn { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.fa-cabeza { background: rgba(255, 255, 255, .92); border: 1px solid #e6ebf1; border-radius: 22px; padding: 20px 24px; box-shadow: 0 10px 28px rgba(16, 32, 48, .07); }
.fa-etiquetas { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fa-folio { font-size: 13.5px; font-weight: 700; color: #33475b; margin-right: 2px; }
.fa-tipo { font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: #eef1f5; color: #33475b; }
.fa-titulo { font-size: 32px; line-height: 1.15; font-weight: 800; letter-spacing: -.5px; color: #10283d; margin: 10px 0 16px; overflow-wrap: anywhere; }
.fa-alta-titulo { margin: 4px 0 14px; }
.fa-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fa-kpi { background: #f6f8fb; border: 1px solid #edf0f4; border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fa-kpi > span { font-size: 12.5px; color: #5b6b7b; }
.fa-kpi > b { font-size: 19px; color: #10283d; }
.fa-kpi em { font-style: normal; font-size: 12.5px; color: #5b6b7b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fa-kpi em.fa-rojo { color: #b4232e; font-weight: 700; }
.fa-kpi em.fa-ambar { color: #8a6514; font-weight: 700; }
.fa-persona { display: flex; align-items: center; gap: 8px; min-width: 0; }
.fa-persona b { font-size: 15.5px; color: #10283d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fa-persona .msj2-av { width: 30px; height: 30px; font-size: 12px; }
.fa-av { height: 7px; border-radius: 99px; background: #e3e8ee; overflow: hidden; margin-top: 4px; }
.fa-av i { display: block; height: 100%; background: linear-gradient(90deg, #0057C7, #2b8fae); border-radius: 99px; }
.fa-avisos { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.fa-avisos > * { margin: 0; }
.fa-aut { margin: 0; }

.fa-cuerpo { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(330px, 1fr); gap: 18px; align-items: start; margin-top: 16px; }
.fa-principal, .fa-lado { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.fa-card { background: rgba(255, 255, 255, .94); border: 1px solid #e6ebf1; border-radius: 20px; padding: 16px 18px; box-shadow: 0 10px 28px rgba(16, 32, 48, .07); min-width: 0; }
.fa-card-cab { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.fa-card-cab h2 { font-size: 17px; color: #10283d; margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.fa-card-cab .muted { font-size: 12.5px; }
.fa-card-cab .btn { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
details.fa-card > summary { list-style: none; cursor: pointer; }
details.fa-card > summary::-webkit-details-marker { display: none; }
details.fa-card:not([open]) > summary { margin-bottom: 0; }
details.fa-card > summary h2::after { content: "▾"; font-size: 14px; color: #5b6b7b; margin-left: 2px; }
details.fa-card:not([open]) > summary h2::after { content: "▸"; }
.fa-pagina:not(.editando) .fa-editar { display: none; }
.fa-pagina.editando .fa-leer, .fa-pagina.editando #fa-editar { display: none; }
.fa-lado .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.fa-lado .form-acciones { margin-top: 14px; }
.fa-alta { margin-top: 4px; }

/* Seguimiento: la nota rápida arriba y las notas en línea de tiempo */
.fa-redactar { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid #edf0f4; }
.fa-redactar > .msj2-av { margin-top: 4px; }
.fa-redactar-caja { flex: 1; min-width: 0; border: 1px solid #dfe5ec; border-radius: 16px; background: #fff; overflow: hidden; }
.fa-redactar-caja textarea { width: 100%; border: 0; outline: 0; box-shadow: none; resize: vertical; padding: 12px 14px; font: inherit; font-size: 14.5px; min-height: 64px; background: transparent; }
.fa-redactar-pie { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 10px; background: #f6f8fb; border-top: 1px solid #edf0f4; }
.fa-redactar-pie #n-guardar { margin-left: auto; }
.fa-mini { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #5b6b7b; font-weight: 600; margin: 0; }
.fa-mini select, .fa-mini input { padding: 5px 8px; font-size: 13px; border-radius: 10px; width: auto; }
.fa-monto { padding: 8px 12px 10px; background: #f6f8fb; margin: 0; }
.fa-reunion { padding: 6px 12px 8px; background: #f6f8fb; font-size: 13px; }
.fa-reunion label { display: flex; gap: 7px; align-items: center; font-weight: 400; color: var(--texto); margin: 0; }
.fa-filtros { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 6px; }
.fa-filtro { font: inherit; font-size: 13px; font-weight: 600; color: #33475b; padding: 6px 12px; border-radius: 999px; background: #f3f5f8; border: 1px solid #e3e8ee; cursor: pointer; box-shadow: none; }
.fa-filtro b { margin-left: 4px; color: #5b6b7b; }
.fa-filtro.activo { background: linear-gradient(135deg, #0057C7, #101B2F); color: #fff; border-color: #101B2F; }
.fa-filtro.activo b { color: #fff; }
.fa-linea { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 8px 0 2px; }
.fa-linea::before { content: ''; position: absolute; left: 17px; top: 14px; bottom: 14px; width: 2px; background: #e3e8ee; }
.fa-ev { position: relative; display: flex; gap: 12px; align-items: flex-start; }
.fa-ev-ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #e3f0f4; color: #101B2F; border: 3px solid #fff; z-index: 1; }
.fa-ev-ico .tb-ico { width: 17px; height: 17px; }
.fa-ev-archivo .fa-ev-ico { background: #fdf0d0; color: #8a6514; }
.fa-ev-cambio .fa-ev-ico, .fa-ev-alta .fa-ev-ico { background: #eef1f5; color: #5b6b7b; }
.fa-ev-voto .fa-ev-ico { background: #e3f4ec; color: #1f7a55; }
.fa-ev-caja { flex: 1; min-width: 0; background: #fff; border: 1px solid #e9edf2; border-radius: 14px; padding: 10px 14px; }
.fa-ev-cambio .fa-ev-caja, .fa-ev-alta .fa-ev-caja { background: #fafbfc; }
/* 🔔 ✉️ Recordatorios y mensajes dentro de Notas (8/nov/2026): grises como lo que el CRM anota solo, para no confundirlos con notas escritas */
.fa-ev-recordatorio .fa-ev-ico, .fa-ev-mensaje .fa-ev-ico { background: #eef1f5; color: #5b6b7b; }
.fa-ev-recordatorio .fa-ev-caja, .fa-ev-mensaje .fa-ev-caja { background: #fafbfc; }
.fa-ev-conv { margin-left: 6px; }
.fa-ev.hist-decision .fa-ev-caja { border-color: #d6e4f0; background: #f7fbff; }
.fa-ev.importada .fa-ev-caja { opacity: .85; }
.fa-ev-cab { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: #5b6b7b; margin-bottom: 3px; }
.fa-ev-cab b { color: #10283d; font-size: 13px; }
.fa-ev-que { margin-left: auto; font-weight: 600; }
.fa-ev-cab .n-borrar { margin-left: auto; }
.fa-ev-que + .n-borrar { margin-left: 0; }
.fa-ev-txt { font-size: 14.5px; line-height: 1.5; color: #1d3246; overflow-wrap: anywhere; white-space: pre-wrap; }
.fa-ev-det { font-size: 13.5px; color: #33475b; overflow-wrap: anywhere; }
.fa-ev-foto { display: flex; align-items: center; gap: 12px; }
.fa-ev-foto img { width: 132px; height: 92px; object-fit: cover; border-radius: 10px; border: 1px solid #e3e8ee; }
.fa-ev-foto span { font-size: 13.5px; color: #33475b; }

/* Datos para leer, fotos y mensajes del asunto */
.fa-datos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding-bottom: 12px; border-bottom: 1px solid #edf0f4; }
.fa-dato { min-width: 0; }
.fa-dato span { display: block; font-size: 12.5px; color: #5b6b7b; }
.fa-dato b { font-size: 14.5px; color: #10283d; overflow-wrap: anywhere; }
.fa-dato small { font-weight: 400; color: #5b6b7b; }
.fa-bloque { padding-top: 12px; }
.fa-bloque > span { display: block; font-size: 12.5px; color: #5b6b7b; margin-bottom: 4px; }
.fa-bloque p { margin: 0; font-size: 14px; line-height: 1.5; color: #1d3246; white-space: pre-line; overflow-wrap: anywhere; }
.fa-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.fa-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 5px 11px; border-radius: 999px; background: #eef3f8; color: #2b4258; }
.fa-chip .tb-ico { width: 14px; height: 14px; }
.fa-lado .galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fa-lado .foto-item { box-shadow: none; padding: 6px; border-radius: 12px; }
.fa-lado .foto-item img { height: 96px; }
.fa-conv { display: flex; gap: 10px; align-items: center; width: 100%; padding: 8px 6px; border: 0; border-radius: 12px; background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; box-shadow: none; }
.fa-conv:hover { background: #f2f7fa; }
.fa-conv > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.fa-conv b { color: #10283d; font-size: 14px; }
.fa-conv .muted { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 1099px) {
  .fa-cuerpo { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
  .fa-principal, .fa-lado { display: contents; }
  .fa-datos-card { order: -1; } /* en el teléfono: los datos plegados arriba, luego el seguimiento */
}
@media (max-width: 760px) {
  .fa-cabeza { padding: 14px 16px; border-radius: 18px; }
  .fa-titulo { font-size: 22px; margin: 8px 0 12px; }
  .fa-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .fa-kpi { padding: 9px 11px; border-radius: 14px; }
  .fa-kpi > b { font-size: 16px; }
  .fa-card { padding: 12px; border-radius: 16px; }
  .fa-redactar > .msj2-av { display: none; }
  .fa-mini { font-size: 12px; }
  .fa-ev-foto { flex-direction: column; align-items: flex-start; }
  .fa-lado .form-grid, .fa-datos-card .form-grid { grid-template-columns: 1fr; }
}

/* ===== 📋 Asuntos: Buscar · Por áreas o zonas · Lista completa (1/nov/2026, diseños 110 y 111 de Luis; asuntos.js) ===== */
.asu-cabeza { display: flex; align-items: flex-end; gap: 14px; margin: 4px 0 14px; flex-wrap: wrap; }
.asu-cabeza .spacer { flex: 1; }
.asu-nuevo { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 14px; border: 0; background: linear-gradient(135deg, #0057C7, #101B2F); color: #fff; font-weight: 700; box-shadow: 0 8px 18px rgba(22, 70, 96, .28); }
.asu-modos { display: flex; gap: 6px; margin-bottom: 14px; border-bottom: 1px solid #e3e8ee; flex-wrap: wrap; }
.asu-modo { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 1px solid transparent; border-bottom: 0; border-radius: 14px 14px 0 0; background: transparent; color: #33475b; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; margin-bottom: -1px; box-shadow: none; }
.asu-modo:hover { background: rgba(255, 255, 255, .6); }
.asu-modo.activo { background: #fff; border-color: #e3e8ee; color: #101B2F; font-weight: 800; box-shadow: inset 0 3px 0 #0057C7; }
.asu-cuenta { margin: -4px 0 10px; font-size: 13px; }

/* 🔎 Buscar */
.asb-barra { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.asb-buscar { flex: 1 1 380px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #dfe5ec; border-radius: 16px; padding: 0 14px; box-shadow: 0 4px 14px rgba(16, 32, 48, .05); color: #33475b; cursor: text; }
.asb-buscar .tb-ico { width: 21px; height: 21px; }
.asb-buscar input { flex: 1; border: 0; outline: 0; box-shadow: none; background: transparent; font: inherit; font-size: 16.5px; padding: 14px 0; min-width: 0; }
.asb-buscar input::-webkit-search-cancel-button { display: none; } /* la ✕ es la nuestra */
.asb-limpiar { border: 0; background: transparent; color: #5b6b7b; cursor: pointer; padding: 4px; display: grid; place-items: center; box-shadow: none; }
.asb-sel-filtro { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #dfe5ec; border-radius: 14px; padding: 0 4px 0 12px; color: #33475b; margin: 0; }
.asb-sel-filtro .tb-ico { width: 17px; height: 17px; }
.asb-sel-filtro select { border: 0; box-shadow: none; background: transparent; font: inherit; font-size: 14px; padding: 12px 8px 12px 2px; width: auto; max-width: 220px; }
.asb-mas { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid #dfe5ec; border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 14px; color: #33475b; cursor: pointer; box-shadow: none; }
.asb-mas .tb-ico { width: 17px; height: 17px; }
.asb-mas.activo { border-color: #2b8fae; color: #101B2F; }
.asb-mas em { font-style: normal; background: #0057C7; color: #fff; border-radius: 999px; padding: 1px 7px; font-size: 12px; }
.asb-masfiltros { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.asb { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(330px, 1fr); gap: 18px; align-items: start; }
.asb-res-cab h2 { font-size: 21px; color: #10283d; margin: 4px 0 2px; }
.asb-res-cab p { margin: 0 0 12px; color: #5b6b7b; font-size: 14px; }
.asb-lista { display: flex; flex-direction: column; gap: 12px; }
.asb-card { background: rgba(255, 255, 255, .95); border: 1px solid #e6ebf1; border-radius: 20px; padding: 14px 18px; cursor: pointer; box-shadow: 0 8px 22px rgba(16, 32, 48, .06); transition: border-color .15s, box-shadow .15s, background .15s; outline: none; }
.asb-card:hover { border-color: #b9d3df; }
.asb-card:focus-visible { box-shadow: 0 0 0 3px rgba(43, 143, 174, .35); }
.asb-card.activo { border: 2px solid #5fb8c7; background: #f6fcfd; box-shadow: 0 10px 26px rgba(31, 101, 130, .14); padding: 13px 17px; }
.asb-cab { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.asb-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: #eef1f5; color: #33475b; font-size: 12.5px; font-weight: 700; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.asb-chip .tb-ico { width: 14px; height: 14px; flex: none; }
.asb-chip-zona { background: #d9f0ec; color: #17645a; text-transform: uppercase; letter-spacing: .3px; }
.asb-flecha { margin-left: auto; font-size: 26px; line-height: 1; color: #33475b; }
.asb-cuerpo { display: flex; gap: 16px; align-items: flex-start; }
.asb-ico { width: 64px; height: 64px; border-radius: 18px; background: #e8f3f6; color: #0057C7; display: grid; place-items: center; flex: none; }
.asb-ico .tb-ico { width: 30px; height: 30px; }
.asb-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.asb-concepto { font-size: 19px; line-height: 1.25; color: #10283d; overflow-wrap: anywhere; }
.asb-folio { font-size: 14px; color: #33475b; font-weight: 600; }
.asb-lugar { display: flex; align-items: flex-start; gap: 6px; font-size: 13.5px; color: #5b6b7b; }
.asb-lugar .tb-ico { margin-top: 3px; }
.asb-lugar .tb-ico { width: 14px; height: 14px; flex: none; }
.asb-card mark { background: #fde9a6; color: inherit; border-radius: 3px; padding: 0; }
.asb-pie { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 12px; padding-top: 10px; border-top: 1px solid #edf0f4; }
.asb-dato { display: inline-flex; align-items: center; gap: 8px; color: #5b6b7b; }
.asb-dato .tb-ico { width: 17px; height: 17px; flex: none; }
.asb-dato > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.asb-dato b { font-size: 14px; color: #10283d; font-weight: 600; }
.asb-dato small { font-size: 12px; }
.asb-rojo { color: #c0262f !important; }
.asb-anillo { width: 28px; height: 28px; border-radius: 50%; background: conic-gradient(#2f9e6a calc(var(--p) * 1%), #e3e8ee 0); -webkit-mask: radial-gradient(farthest-side, transparent 62%, #000 64%); mask: radial-gradient(farthest-side, transparent 62%, #000 64%); flex: none; }
.asb-est { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.asb-aut { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #efe8fb; color: #5b3aa0; white-space: nowrap; }
.asb-notas { margin-left: auto; }

.asb-der { position: sticky; top: 14px; }
.asb-sel { background: rgba(255, 255, 255, .96); border: 1px solid #e6ebf1; border-radius: 22px; box-shadow: 0 10px 28px rgba(16, 32, 48, .08); overflow: hidden; }
.asb-sel-vacio { padding: 22px; color: #5b6b7b; }
.asb-sel-cab { background: linear-gradient(135deg, #e3f4f1, #eaf6f9); padding: 18px 22px; }
.asb-sel-et { display: inline-block; font-size: 13px; font-weight: 700; color: #17645a; background: rgba(255, 255, 255, .7); padding: 2px 10px; border-radius: 8px; }
.asb-sel-cab h3 { font-size: 23px; line-height: 1.2; color: #10283d; margin: 8px 0 2px; overflow-wrap: anywhere; }
.asb-sel-folio { font-size: 15px; color: #33475b; }
.asb-sel-cuerpo { padding: 14px 22px 20px; display: flex; flex-direction: column; gap: 12px; }
.asb-sel-fila { display: flex; gap: 12px; align-items: flex-start; }
.asb-sel-fila > .tb-ico { width: 19px; height: 19px; color: #33475b; margin-top: 3px; flex: none; }
.asb-sel-fila span { display: block; font-size: 12.5px; color: #5b6b7b; }
.asb-sel-fila b { font-size: 14.5px; color: #10283d; font-weight: 600; overflow-wrap: anywhere; }
.asb-sel-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px 0; border-top: 1px solid #edf0f4; border-bottom: 1px solid #edf0f4; }
.asb-sel-kpis span { display: block; font-size: 12.5px; color: #5b6b7b; margin-bottom: 2px; }
.asb-sel-kpis b { font-size: 17px; color: #10283d; }
.asb-sel-kpis .pill { white-space: normal; line-height: 1.25; display: inline-block; }
.asb-abrir { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px; border-radius: 14px; font-size: 16px; font-weight: 700; border: 0; background: linear-gradient(135deg, #0057C7, #101B2F); color: #fff; box-shadow: 0 8px 18px rgba(22, 70, 96, .25); }
.asb-otros { display: flex; flex-direction: column; gap: 6px; background: #fff8e8; border: 1px solid #f3dfa6; border-radius: 14px; padding: 12px; }
.asb-otros b { color: #6b4a08; font-size: 13.5px; }
.asb-otros .muted { font-size: 12.5px; }
.asb-otro { display: flex; justify-content: space-between; gap: 8px; align-items: center; text-align: left; border: 1px solid #f0e2bd; background: #fff; border-radius: 10px; padding: 7px 10px; font: inherit; font-size: 13px; cursor: pointer; color: #10283d; box-shadow: none; }
.asb-otro b { color: #10283d; }

/* 📍 Por áreas o zonas */
.asz { background: rgba(255, 255, 255, .9); border: 1px solid #e6ebf1; border-radius: 22px; padding: 20px 22px; box-shadow: 0 10px 28px rgba(16, 32, 48, .07); }
.asz-pasos { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.asz-paso { display: flex; align-items: center; gap: 12px; flex: none; }
.asz-paso b { display: block; color: #10283d; font-size: 15.5px; }
.asz-paso span { font-size: 13px; color: #5b6b7b; }
.asz-num { width: 44px; height: 44px; border-radius: 50%; background: #101B2F; color: #fff; display: grid !important; place-items: center; font-size: 18px !important; font-weight: 800; color: #fff !important; flex: none; }
.asz-paso.hecho .asz-num { background: #2f9e6a; }
.asz-linea { flex: 1; height: 2px; background: #e3e8ee; min-width: 20px; }
.asz-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.asz-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.asz-col + .asz-col { border-left: 1px solid #edf0f4; padding-left: 18px; }
.asz-col h3 { font-size: 17px; color: #10283d; margin: 2px 0 2px; }
.asz-apagada h3 { color: #8695a4; font-weight: 600; }
.asz-por { display: flex; gap: 6px; background: #f1f4f7; border-radius: 14px; padding: 4px; }
.asz-por-b { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; background: transparent; border-radius: 11px; padding: 9px; font: inherit; font-size: 14px; font-weight: 600; color: #33475b; cursor: pointer; box-shadow: none; }
.asz-por-b .tb-ico { width: 16px; height: 16px; }
.asz-por-b.activo { background: #fff; color: #101B2F; box-shadow: 0 2px 8px rgba(16, 32, 48, .1); }
.asz-item { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; border: 1px solid #e6ebf1; background: #fff; border-radius: 16px; padding: 12px 14px; font: inherit; color: inherit; cursor: pointer; box-shadow: none; transition: border-color .15s, background .15s; }
.asz-item:hover { border-color: #b9d3df; }
.asz-item.activo { border: 2px solid #5fb8c7; background: #f1fafb; padding: 11px 13px; }
.asz-ico { width: 52px; height: 52px; border-radius: 50%; background: #eef3f8; color: #101B2F; display: grid; place-items: center; flex: none; }
.asz-ico .tb-ico { width: 26px; height: 26px; }
.asz-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.asz-txt b { font-size: 15.5px; color: #10283d; line-height: 1.25; }
.asz-txt small { font-size: 13px; color: #5b6b7b; }
.asz-flecha { font-size: 22px; color: #5b6b7b; line-height: 1; margin-left: auto; }
.asz-nota { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #33475b; background: #eef5fb; border-radius: 12px; padding: 10px 12px; margin: 4px 0 0; }
.asz-nota .tb-ico { width: 16px; height: 16px; flex: none; color: #245b8a; margin-top: 2px; }
.asz-link { border: 0; background: none; padding: 0; color: #0057C7; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; box-shadow: none; }
.asz-aviso { margin: 0; font-size: 13px; background: #fff8e8; border: 1px solid #f3dfa6; border-radius: 12px; padding: 8px 12px; color: #6b4a08; }
.asz-asunto { display: flex; flex-direction: column; gap: 6px; width: 100%; text-align: left; border: 1px solid #e6ebf1; background: #fff; border-radius: 16px; padding: 12px 14px; font: inherit; color: inherit; cursor: pointer; box-shadow: none; }
.asz-asunto:hover { border-color: #5fb8c7; background: #f6fcfd; }
.asz-asunto-cab { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.asz-asunto-cab b { color: #10283d; font-size: 14.5px; }
.asz-asunto-con { font-size: 14px; color: #1d3246; line-height: 1.35; }
.asz-asunto-pie { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: #5b6b7b; }
.asz-asunto-pie > span { display: inline-flex; align-items: center; gap: 5px; }
.asz-asunto-pie .tb-ico { width: 14px; height: 14px; }
.asz-av { width: 70px; height: 6px; border-radius: 99px; background: #e3e8ee; overflow: hidden; display: inline-block !important; }
.asz-av i { display: block; height: 100%; background: #0057C7; }

@media (max-width: 1099px) {
  .asb { grid-template-columns: 1fr; }
  .asb-der { display: none; }
  .asz-cols { grid-template-columns: 1fr; }
  .asz-col + .asz-col { border-left: 0; padding-left: 0; border-top: 1px solid #edf0f4; padding-top: 14px; }
  .asz-apagada { display: none; }
}
@media (max-width: 760px) {
  .asu-nuevo { padding: 8px 14px; font-size: 14px; border-radius: 12px; }
  .asu-modos { flex-wrap: nowrap; overflow-x: auto; }
  .asu-modo { padding: 9px 12px; font-size: 13.5px; white-space: nowrap; }
  .asb-buscar input { font-size: 15.5px; padding: 12px 0; }
  .asb-card { padding: 12px 14px; border-radius: 16px; }
  .asb-ico { width: 44px; height: 44px; border-radius: 14px; }
  .asb-ico .tb-ico { width: 22px; height: 22px; }
  .asb-concepto { font-size: 16.5px; }
  .asb-pie { gap: 12px; }
  .asz { padding: 14px; border-radius: 18px; }
  .asz-pasos { display: none; }
  .asz-ico { width: 42px; height: 42px; }
}

/* ----- 📋 Asuntos con vida (Luis: «feas, les falta vida»): color por zona y por área, dibujos a dos tonos ----- */
.asu-cifras { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.asu-cifra { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #e7f1f6; color: #1f4f6b; font-size: 13.5px; }
.asu-cifra b { font-size: 15px; }
.asu-cifra .tb-ico { width: 15px; height: 15px; }
.asu-cifra.rojo { background: #fde4e6; color: #b4232e; }
.asu-cifra.morado { background: #efe8fb; color: #5b3aa0; }
.asu-cifra.ambar { background: #fdf0d0; color: #8a6514; }
.asu-modos { border-bottom: 0; gap: 10px; margin-bottom: 16px; }
.asu-modo { border: 1px solid #e3e8ee; border-radius: 14px; background: rgba(255, 255, 255, .92); padding: 10px 18px; margin: 0; box-shadow: 0 2px 8px rgba(16, 32, 48, .06); }
.asu-modo:hover { background: #f2f7fa; }
.asu-modo.activo { background: linear-gradient(135deg, #0057C7, #101B2F); color: #fff; border-color: #101B2F; box-shadow: 0 8px 18px rgba(22, 70, 96, .28); }
.asu-ilu { width: 100%; height: 100%; fill: none; stroke: var(--c, #0057C7); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.asu-ilu .r { fill: var(--f, #dbe9fa); }

.asb-card { background: linear-gradient(100deg, var(--t, #fff) 0%, #fff 60%); border-color: color-mix(in srgb, var(--c, #e6ebf1) 18%, #fff); }
.asb-card:hover { border-color: color-mix(in srgb, var(--c, #b9d3df) 45%, #fff); box-shadow: 0 12px 26px rgba(16, 32, 48, .09); }
.asb-card.activo { border: 2px solid var(--c, #5fb8c7); background: linear-gradient(100deg, var(--f, #f6fcfd) 0%, var(--t, #fff) 45%, #fff 100%); box-shadow: 0 12px 28px color-mix(in srgb, var(--c, #0057C7) 22%, transparent); }
.asb-chip, .asb-chip-zona { background: var(--f, #eef1f5); color: var(--c, #33475b); }
.asb-urgente, .asb-vencido { font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; letter-spacing: .2px; }
.asb-urgente { background: #b4232e; color: #fff; }
.asb-vencido { background: #fde4e6; color: #b4232e; }
.asb-ico { width: 78px; height: 78px; border-radius: 22px; background: #fff; border: 1px solid var(--f, #e3e8ee); padding: 10px; box-shadow: inset 0 0 0 4px var(--t, #f6f8fb); }
.asb-concepto { font-size: 20px; letter-spacing: -.2px; }
.asb-flecha { color: var(--c, #33475b); }
.asb-anillo { width: 32px; height: 32px; background: conic-gradient(var(--c, #2f9e6a) calc(var(--p) * 1%), #e3e8ee 0); }
.asb-dato .tb-ico { color: var(--c, #5b6b7b); }

.asb-sel-cab { display: flex; gap: 14px; align-items: flex-start; background: linear-gradient(135deg, var(--f, #e3f4f1) 0%, var(--t, #eaf6f9) 100%); padding: 18px 20px 18px 22px; }
.asb-sel-cab-txt { flex: 1; min-width: 0; }
.asb-sel-et { color: var(--c, #17645a); }
.asb-sel-ilu { width: 92px; height: 92px; flex: none; background: rgba(255, 255, 255, .75); border-radius: 24px; padding: 12px; }
.asb-sel-fila > .tb-ico { color: var(--c, #33475b); }
.asb-sel-av { display: inline-flex; align-items: center; gap: 8px; }
.asb-sel-kpis .asb-sel-av { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.asb-sel-kpis .asb-anillo { display: inline-block; width: 24px; height: 24px; margin: 0; }

.asz-item { background: linear-gradient(100deg, var(--t, #fff) 0%, #fff 70%); border-color: color-mix(in srgb, var(--c, #e6ebf1) 16%, #fff); }
.asz-item:hover { border-color: color-mix(in srgb, var(--c, #b9d3df) 45%, #fff); }
.asz-item.activo { border: 2px solid var(--c, #5fb8c7); background: linear-gradient(100deg, var(--f, #f1fafb) 0%, var(--t, #fff) 70%); }
.asz-ico { background: var(--f, #eef3f8); color: var(--c, #101B2F); }
.asz-item-2 .asz-ico { background: #fff; border: 1px solid var(--f, #e3e8ee); padding: 7px; }
.asz-flecha { color: var(--c, #5b6b7b); }
.asz-num { background: #c9d3dd !important; }
.asz-paso.actual .asz-num { background: #101B2F !important; box-shadow: 0 0 0 5px rgba(22, 70, 96, .15); }
.asz-paso.hecho .asz-num { background: #2f9e6a !important; }
.asz-paso:not(.actual):not(.hecho) b { color: #5b6b7b; }
.asz-linea.hecha { background: #2f9e6a; }
.asz-asunto { border-left: 4px solid var(--c, #e6ebf1); }
.asz-asunto:hover { border-color: var(--c, #5fb8c7); background: var(--t, #f6fcfd); }
.asz-destacado { background: linear-gradient(135deg, var(--c, #0057C7) 0%, #12324a 100%); border: 0; color: #fff; padding: 16px 18px; box-shadow: 0 12px 26px rgba(16, 32, 48, .22); }
.asz-destacado:hover { background: linear-gradient(135deg, var(--c, #0057C7) 0%, #0d2638 100%); }
.asz-destacado .asz-asunto-cab b, .asz-destacado .asz-asunto-con { color: #fff; }
.asz-destacado .asz-asunto-con { font-size: 16px; font-weight: 700; }
.asz-destacado .asz-asunto-pie, .asz-destacado .asz-flecha { color: rgba(255, 255, 255, .85); }
.asz-destacado .asb-rojo { color: #ffb3b8 !important; }
.asz-destacado .asz-av { background: rgba(255, 255, 255, .25); }
.asz-destacado .asz-av i { background: #fff; }
@media (max-width: 760px) {
  .asb-ico { width: 56px; height: 56px; border-radius: 16px; padding: 7px; }
  .asb-concepto { font-size: 17px; }
  .asb-sel-ilu { width: 64px; height: 64px; }
}
.asz-sin { border-style: dashed; border-color: #b8c4d0; margin-top: 4px; } /* «Sin zona»: los asuntos sin equipo ligado, al final */

/* ===== 🔗 Flujos de trabajo (1/nov/2026, diseño 113 de Luis: «Entiende la relación. Abre el paso correcto.»; flujos.js) ===== */
.flx-cabeza { display: flex; align-items: flex-end; gap: 14px; margin: 4px 0 14px; flex-wrap: wrap; }
.flx-cabeza .spacer { flex: 1; }
.flx-nuevo { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 14px; border: 0; background: linear-gradient(135deg, #0057C7, #101B2F); color: #fff; font-weight: 700; box-shadow: 0 8px 18px rgba(22, 70, 96, .28); }
.flx-barra { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; margin-bottom: 14px; }
/* El tema de cristal le pone backdrop-filter a cada panel y cada uno queda en su propia capa: sin esto el menú «Administrar flujo» abría detrás de las cifras (Luis, 1/nov/2026) */
.flx-barra { position: relative; z-index: 2; } /* 2 basta; más de 5 taparía el menú lateral del celular */
.flx-barra .spacer { flex: 1; }
.flx-sel { display: flex; align-items: center; gap: 14px; margin: 0; flex: 1 1 420px; min-width: 0; }
.flx-sel > span { font-weight: 700; color: #10283d; white-space: nowrap; font-size: 15px; }
.flx-sel select { flex: 1; min-width: 0; font-size: 17px; font-weight: 700; padding: 10px 14px; border-radius: 12px; color: #10283d; }
.flx-btn { display: inline-flex; align-items: center; gap: 8px; }
.flx-btn .tb-ico { width: 18px; height: 18px; }
.flx-admin { position: relative; }
.flx-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; background: #fff; border: 1px solid #e3e8ee; border-radius: 14px; box-shadow: 0 16px 36px rgba(16, 32, 48, .18); padding: 6px; display: flex; flex-direction: column; min-width: 230px; }
.flx-menu button { border: 0; background: transparent; text-align: left; padding: 10px 12px; border-radius: 10px; font: inherit; font-size: 14px; color: #10283d; cursor: pointer; box-shadow: none; }
.flx-menu button:hover { background: #f2f7fa; }
.flx-menu .flx-peligro { color: #b4232e; border-top: 1px solid #edf0f4; border-radius: 0 0 10px 10px; margin-top: 4px; }
.flx-impreso { display: none; }
.flx-cifras { display: flex; align-items: stretch; gap: 10px; flex-wrap: nowrap; padding: 14px 18px; margin-bottom: 14px; }
.flx-total { display: flex; align-items: center; gap: 12px; padding: 0 12px 0 4px; }
.flx-total b { font-size: 40px; color: #10283d; line-height: 1; }
.flx-total span { color: #33475b; font-size: 15px; }
.flx-cifra { display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; flex: 1 1 0; min-width: 0; }
.flx-cifra > div { min-width: 0; }
.flx-cifra-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.flx-cifra-ico .tb-ico { width: 22px; height: 22px; }
.flx-cifra b { display: block; font-size: 26px; line-height: 1; color: #10283d; }
.flx-cifra span { font-size: 14px; color: #33475b; }
.flx-cifra em { font-style: normal; color: #b4232e; font-weight: 700; }
.flx-cifra.verde { background: #e3f4ec; } .flx-cifra.verde .flx-cifra-ico { background: #2f9e6a; color: #fff; }
.flx-cifra.azul { background: #e2eefb; } .flx-cifra.azul .flx-cifra-ico { background: #fff; color: #1d5ea6; }
.flx-cifra.ambar { background: #fdf0d9; } .flx-cifra.ambar .flx-cifra-ico { background: #fff; color: #8a5a0b; }
.flx-cifra.gris { background: #f1f4f7; } .flx-cifra.gris .flx-cifra-ico { background: #fff; color: #5b6b7b; }
.flx-cifra.rojo { background: #fbe7e9; } .flx-cifra.rojo .flx-cifra-ico { background: #fff; color: #9b2a36; }
.flx-fin { display: flex; align-items: center; gap: 12px; margin-left: auto; padding: 4px 6px 4px 18px; border-left: 1px solid #e3e8ee; color: #33475b; flex: none; }
.flx-fin > .tb-ico { width: 30px; height: 30px; }
.flx-fin span { display: block; font-size: 13.5px; color: #5b6b7b; }
.flx-fin b { font-size: 22px; color: #10283d; }
.flx-info { color: #5b6b7b; cursor: help; }
.flx-info .tb-ico { width: 20px; height: 20px; }
.flx-cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.flx-diagrama { padding: 16px 18px; min-width: 0; margin: 0; }
.flx-diag-cab { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.flx-diag-cab h2 { font-size: 20px; color: #10283d; margin: 0; }
.flx-pie { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: #f4f7fa; color: #33475b; font-size: 14px; }
.flx-pie .tb-ico { width: 18px; height: 18px; }
.flx-pie .rojo { color: #b4232e; }
.flx-pie-nota { margin-left: auto; font-size: 12.5px; }
/* Franjas por etapa, detrás de las tarjetas */
.flx-franja { position: absolute; border-radius: 16px; pointer-events: none; }
.flx-franja span { position: absolute; top: 12px; left: 14px; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
.flx-franja-hecho { background: rgba(47, 158, 106, .08); } .flx-franja-hecho span { color: #1f7a55; }
.flx-franja-curso { background: rgba(47, 127, 209, .08); } .flx-franja-curso span { color: #1d5ea6; }
.flx-franja-empezar { background: rgba(217, 146, 30, .09); } .flx-franja-empezar span { color: #8a5a0b; }
.flx-franja-espera { background: rgba(122, 138, 153, .08); } .flx-franja-espera span { color: #5b6b7b; }
.fl-vertical .flx-franja span { top: 8px; }
.fl-etq { font-size: 10px; font-weight: 700; paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.fl-lienzo-scroll { background-image: none; background: #fbfcfd; border: 1px solid #edf0f4; }
.fl-nodo { width: 186px; height: 178px; background: #fff; padding: 10px 11px 9px; }
.fl-tit { -webkit-line-clamp: 3; min-height: 0; margin: 5px 0 6px; font-size: 13.5px; }
.fl-quien { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: #33475b; min-width: 0; margin-top: auto; }
.fl-quien > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-nodo .fl-pie { margin-top: 6px; }
.fl-nodo .fl-pill { margin-left: 0; }
.fl-cuando { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #5b6b7b; margin-top: 5px; }
.fl-cuando .tb-ico { width: 14px; height: 14px; }
/* Paso seleccionado */
.flx-lado { position: sticky; top: 14px; }
.flx-paso { padding: 16px 18px; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.flx-paso h2 { font-size: 18px; color: #10283d; margin: 0; }
.flx-paso-vacio p { color: #5b6b7b; margin: 0; }
.flx-paso-cab { background: #eef5fc; border-radius: 16px; padding: 14px 16px; }
.flx-paso.hecho .flx-paso-cab { background: #e8f6ef; }
.flx-paso.vencido .flx-paso-cab, .flx-paso.decidir .flx-paso-cab { background: #fdf0f1; }
.flx-paso.puede .flx-paso-cab { background: #fdf6e7; }
.flx-paso.espera .flx-paso-cab, .flx-paso.cancelado .flx-paso-cab { background: #f3f5f8; }
.flx-paso-folio { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.flx-paso-folio b { font-size: 21px; color: #10283d; }
.flx-paso-cab p { margin: 6px 0 0; font-size: 15.5px; color: #1d3246; line-height: 1.35; }
.flx-pill { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; background: #eef1f5; color: #5b6b7b; }
.flx-pill.hecho { background: #dff2e8; color: #146b45; }
.flx-pill.curso { background: #e2eefb; color: #1d5ea6; }
.flx-pill.puede { background: #fdf0d9; color: #8a5a0b; }
.flx-pill.vencido, .flx-pill.decidir { background: #fbe7e9; color: #9b2a36; }
.flx-filas { display: flex; flex-direction: column; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #edf0f4; }
.flx-fila { display: grid; grid-template-columns: 18px 86px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 13.5px; }
.flx-fila > .tb-ico { width: 18px; height: 18px; color: #5b6b7b; }
.flx-fila > span { color: #5b6b7b; }
.flx-fila > b { color: #10283d; font-weight: 600; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 7px; min-width: 0; overflow-wrap: break-word; }
.flx-av { display: inline-block; width: 64px; height: 6px; border-radius: 99px; background: #e3e8ee; overflow: hidden; }
.flx-av i { display: block; height: 100%; background: #2f7fd1; }
.flx-rel { display: flex; flex-direction: column; gap: 10px; padding-bottom: 4px; }
.flx-rel-fila { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 8px; align-items: start; font-size: 14px; }
.flx-rel-fila > span { display: inline-flex; align-items: center; gap: 6px; color: #5b6b7b; padding-top: 4px; }
.flx-rel-fila > span .tb-ico { width: 16px; height: 16px; }
.flx-rel-fila > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.flx-rel-paso { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; min-width: 0; padding: 6px 10px; border-radius: 10px; background: #f6f8fb; color: #10283d; text-decoration: none; font-size: 13.5px; }
.flx-rel-paso:hover { background: #eef5fc; }
.flx-aviso { font-size: 13px; background: #f3f8fe; border: 1px solid #dbe9fa; color: #1f4f6b; border-radius: 10px; padding: 8px 10px; }
.flx-aviso-ambar { background: #fdf6e7; border-color: #f1dfb3; color: #6b4a08; }
.flx-acciones { display: flex; flex-direction: column; gap: 8px; }
.flx-abrir { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px; border-radius: 14px; font-size: 16px; font-weight: 700; border: 0; background: linear-gradient(135deg, #0057C7, #101B2F); color: #fff; box-shadow: 0 8px 18px rgba(22, 70, 96, .25); }
.flx-acciones .btn.secundario:not(.mini) { width: 100%; padding: 12px; border-radius: 14px; }
.flx-acc-sec { display: flex; gap: 8px; flex-wrap: wrap; }
.flx-elegir { display: flex; flex-direction: column; gap: 10px; }
.flx-elegir-term { margin-top: 12px; }
.flx-elegir-term summary { cursor: pointer; font-weight: 700; color: #33475b; margin-bottom: 8px; }
@media (max-width: 1099px) {
  .flx-cuerpo { grid-template-columns: 1fr; }
  .flx-cifras { flex-wrap: wrap; }
  .flx-lado { position: static; }
  .flx-fin { margin-left: 0; border-left: 0; padding-left: 4px; }
}
@media (max-width: 760px) {
  .flx-nuevo { padding: 8px 14px; font-size: 14px; border-radius: 12px; }
  .flx-sel { flex-wrap: wrap; gap: 6px; }
  .flx-sel select { font-size: 15px; }
  .flx-cifras { gap: 8px; padding: 12px; }
  /* En el celular el botón queda a la izquierda: el menú abre hacia la derecha para no cortarse */
  .flx-menu { left: 0; right: auto; max-width: calc(100vw - 48px); }
  .flx-total b { font-size: 30px; }
  .flx-cifra { min-width: 0; flex: 1 1 140px; padding: 8px 12px 8px 8px; }
  .flx-cifra b { font-size: 21px; }
  .flx-fila { grid-template-columns: 18px 110px minmax(0, 1fr); font-size: 13.5px; }
  .flx-pie-nota { margin-left: 0; }
}
@media print {
  body.imprimir-flujo .flx-cabeza, body.imprimir-flujo .flx-barra, body.imprimir-flujo .flx-diag-cab .rc-tabs, body.imprimir-flujo .flx-pie-nota, body.imprimir-flujo .flx-info { display: none !important; }
  body.imprimir-flujo .flx-impreso { display: block; margin: 0 0 8px; font-size: 18px; }
  body.imprimir-flujo .flx-cuerpo { display: block; }
  body.imprimir-flujo .flx-cifras, body.imprimir-flujo .flx-diagrama { box-shadow: none !important; border: 0 !important; }
}

/* ===== 🔧 Equipos · Catálogo (1/nov/2026, diseño 119 de Luis; equipos.js vistaEquiposCatalogo) ===== */
.eqc-cabeza { display: flex; align-items: flex-end; gap: 14px; margin: 4px 0 14px; flex-wrap: wrap; }
.eqc-cabeza .spacer { flex: 1; }
.eqc-nuevo { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 14px; border: 0; background: linear-gradient(135deg, #0057C7, #101B2F); color: #fff; font-weight: 700; box-shadow: 0 8px 18px rgba(22, 70, 96, .28); }
.eqc-tabs { margin-bottom: 14px; }
.eqc-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 2px 0 14px; }
.eqc-chip { font: inherit; font-size: 14px; font-weight: 600; color: #2b4258; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid #e3e8ee; cursor: pointer; box-shadow: 0 2px 6px rgba(16, 32, 48, .04); }
.eqc-chip b { margin-left: 4px; color: #5b6b7b; }
.eqc-chip.rojo b { color: #b4232e; }
.eqc-chip.activo { background: #d9f0ec; border-color: #9fd3c6; color: #17645a; }
.eqc-chip.activo b { color: #17645a; }
.eqc { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(330px, 1fr); gap: 16px; align-items: start; }
.eqc-lista { padding: 10px 12px 12px; margin: 0; min-width: 0; }
.eqc-lista-cab { display: flex; align-items: center; gap: 10px; padding: 6px 8px 10px; }
.eqc-lista-cab b { font-size: 13px; letter-spacing: .5px; text-transform: uppercase; color: #33475b; }
.eqc-lista-cab .spacer { flex: 1; }
.eqc-grupo { border-radius: 16px; margin-bottom: 6px; border: 1px solid transparent; }
.eqc-grupo.abierto { border-color: #e6ebf1; background: #fff; }
.eqc-grupo-cab { display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px 12px; border: 0; border-radius: 16px; background: linear-gradient(100deg, var(--t, #f6f8fa), #fff 70%); font: inherit; color: inherit; text-align: left; cursor: pointer; box-shadow: none; }
.eqc-grupo.abierto .eqc-grupo-cab { background: var(--t, #f1f6fa); border-radius: 16px 16px 0 0; }
.eqc-chev { font-size: 20px; color: #5b6b7b; width: 14px; transition: transform .15s; display: inline-block; }
.eqc-grupo.abierto .eqc-chev { transform: rotate(90deg); }
.eqc-gico { width: 44px; height: 44px; border-radius: 50%; background: var(--f, #eef3f8); color: var(--c, #101B2F); display: grid; place-items: center; flex: none; padding: 7px; font-size: 20px; }
.eqc-gico .tb-ico { width: 22px; height: 22px; }
.eqc-grupo-cab > b { font-size: 17px; color: #10283d; }
.eqc-gn { font-size: 13px; font-weight: 700; color: #5b6b7b; background: #fff; border: 1px solid #e3e8ee; border-radius: 999px; padding: 2px 10px; }
.eqc-gprob { font-size: 12px; font-weight: 700; color: #b4232e; background: #fde4e6; border-radius: 999px; padding: 3px 10px; }
.eqc-filas { padding: 0 6px 8px; }
.eqc-fila { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr); gap: 12px; align-items: center; padding: 9px 10px; border-radius: 12px; cursor: pointer; border-left: 3px solid transparent; }
.eqc-fila:hover { background: #f6f9fb; }
.eqc-fila.activo { background: var(--t, #eef8fb); border-left-color: var(--c, #2b8fae); }
.eqc-fila.baja { opacity: .6; }
.eqc-fila-cab { cursor: default; font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: #5b6b7b; padding-top: 10px; border-top: 1px solid #edf0f4; border-radius: 0; }
.eqc-fila-cab:hover { background: transparent; }
.eqc-eq { display: flex; align-items: center; gap: 12px; min-width: 0; }
.eqc-eq > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.eqc-eq b { font-size: 14.5px; color: #10283d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eqc-eq small { font-size: 12.5px; color: #5b6b7b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eqc-mini-ilu { background: var(--t, #f6f8fa) !important; border: 1px solid var(--f, #e3e8ee); padding: 5px; }
.eqc-ubic { font-size: 13.5px; color: #33475b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eqc-cond { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: #1d3246; font-weight: 600; }
.eqc-cond i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; background: #9aa7b4; }
.eqc-cond.verde i { background: #2f9e6a; } .eqc-cond.rojo i { background: #d63c46; } .eqc-cond.azul i { background: #2f7fd1; }
.eqc-fab { display: block; font-size: 11.5px; color: #b4232e; font-weight: 700; margin-top: 2px; }
.eqc-sinmon { font-size: 12.5px; }
.eqc-pie { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #5b6b7b; padding: 10px 10px 2px; border-top: 1px solid #edf0f4; margin-top: 6px; }
.eqc-pie .tb-ico { width: 16px; height: 16px; }
/* El equipo elegido */
.eqc-der { position: sticky; top: 14px; }
.eqc-sel { padding: 18px; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.eqc-sel-vacio p { color: #5b6b7b; margin: 0; }
.eqc-sel-cab { display: flex; gap: 16px; align-items: flex-start; }
.eqc-sel-foto { width: 118px; height: 118px; border-radius: 20px; background: var(--t, #f6f8fa); border: 1px solid var(--f, #e3e8ee); flex: none; overflow: hidden; display: grid; place-items: center; padding: 12px; }
.eqc-sel-foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.eqc-sel-txt { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.eqc-sel-txt h2 { margin: 0; font-size: 21px; line-height: 1.2; color: #10283d; overflow-wrap: anywhere; }
.eqc-sel-txt > span { font-size: 14px; color: #5b6b7b; }
.eqc-sel-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; align-items: center; }
.eqc-sel-pills .eqc-cond { background: #f3f5f8; border-radius: 999px; padding: 5px 12px; }
.eqc-abrir { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 13px; border-radius: 14px; font-size: 15.5px; font-weight: 700; border: 0; background: linear-gradient(135deg, #0057C7, #101B2F); color: #fff; box-shadow: 0 8px 18px rgba(22, 70, 96, .25); }
.eqc-abrir .tb-ico { width: 18px; height: 18px; }
.eqc-sel-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.eqc-sel-btns .btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px; border-radius: 12px; }
.eqc-sel-btns .tb-ico { width: 17px; height: 17px; }
.eqc-sel-tabs { display: flex; border-bottom: 1px solid #e3e8ee; }
.eqc-sel-tabs button { flex: 1; border: 0; background: transparent; font: inherit; font-size: 14.5px; font-weight: 600; color: #5b6b7b; padding: 10px 6px; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; box-shadow: none; }
.eqc-sel-tabs button.activo { color: #10283d; border-bottom-color: #0057C7; font-weight: 800; }
.eqc-res { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.eqc-res-datos { display: flex; flex-direction: column; gap: 12px; }
.eqc-dato { display: flex; gap: 10px; align-items: flex-start; }
.eqc-dato > .tb-ico { width: 18px; height: 18px; color: var(--c, #5b6b7b); margin-top: 3px; flex: none; }
.eqc-dato span { display: block; font-size: 12.5px; color: #5b6b7b; }
.eqc-dato b { font-size: 14px; color: #10283d; font-weight: 600; overflow-wrap: anywhere; }
.eqc-res-tarjetas { display: flex; flex-direction: column; gap: 8px; }
.eqc-tar { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: #f6f8fb; border: 1px solid #edf0f4; font: inherit; color: inherit; text-align: left; width: 100%; box-shadow: none; }
button.eqc-tar { cursor: pointer; }
.eqc-tar > .tb-ico { width: 20px; height: 20px; color: #33475b; flex: none; }
.eqc-tar > div { flex: 1; min-width: 0; }
.eqc-tar span { display: block; font-size: 12.5px; color: #33475b; font-weight: 600; }
.eqc-tar b { font-size: 16px; color: #10283d; }
.eqc-tar small { font-size: 12px; color: #5b6b7b; font-weight: 400; }
.eqc-tar.verde { background: #e3f4ec; border-color: #c7e8d6; }
.eqc-tar.rojo { background: #fdf0f1; border-color: #f4cdd2; }
.eqc-tar.rojo b { color: #b4232e; }
.eqc-tar-barra { height: 7px; border-radius: 99px; background: #dfe7ee; overflow: hidden; margin: 4px 0 2px; }
.eqc-tar-barra i { display: block; height: 100%; background: #2f9e6a; border-radius: 99px; }
.eqc-tar-flecha { font-size: 22px; color: #5b6b7b; }
.eqc-hist { display: flex; flex-direction: column; gap: 8px; max-height: 420px; overflow-y: auto; }
.eqc-hist-it { display: flex; flex-direction: column; gap: 3px; text-align: left; border: 1px solid #e6ebf1; background: #fff; border-radius: 12px; padding: 9px 12px; font: inherit; color: #1d3246; cursor: pointer; box-shadow: none; }
.eqc-hist-it:hover { border-color: #b9d3df; background: #f6fafc; }
.eqc-hist-it > span:first-child { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.eqc-hist-it > span:nth-child(2) { font-size: 13.5px; }
.eqc-hist-it small { color: #5b6b7b; font-size: 12px; }
.eqc-arch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.eqc-arch-it { display: flex; flex-direction: column; gap: 3px; text-decoration: none; color: #33475b; }
.eqc-arch-it img, .eqc-arch-doc { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1px solid #e3e8ee; background: #f6f8fb; display: grid; place-items: center; font-size: 26px; }
.eqc-arch-it small { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eqc-nota { font-size: 12.5px; margin: 8px 0 0; }
@media (max-width: 1099px) {
  .eqc { grid-template-columns: 1fr; }
  .eqc-der { display: none; }
}
@media (max-width: 760px) {
  .eqc-nuevo { padding: 8px 14px; font-size: 14px; border-radius: 12px; }
  .eqc-fila { grid-template-columns: minmax(0, 1fr) auto; }
  .eqc-fila > span:nth-child(2), .eqc-fila > span:nth-child(4) { display: none; }
  .eqc-fila-cab { display: none; }
  .eqc-grupo-cab > b { font-size: 15.5px; }
  .eqc-gico { width: 38px; height: 38px; }
}

/* ===== 📶 Equipos · Monitoreo (1/nov/2026, diseño 120 de Luis; equipos.js pintarMonitoreo) ===== */
.msx-derecha { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.msx-fuente { font-size: 13px; color: #5b6b7b; text-align: right; line-height: 1.35; }
.msx-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; font-size: 14.5px; font-weight: 700; color: #101B2F; }
.msx-btn .tb-ico { width: 18px; height: 18px; }
/* Cifras */
.msx-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-bottom: 18px; }
.msx-kpi { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid #e6ebf1; border-radius: 18px; padding: 16px 18px; box-shadow: 0 6px 16px rgba(16, 32, 48, .05); min-width: 0; }
.msx-kpi-ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #e3f4ec; color: #17714a; }
.msx-kpi-ico .tb-ico { width: 26px; height: 26px; }
.msx-kpi-cuerpo { min-width: 0; flex: 1; }
.msx-kpi-tit { display: block; font-size: 14.5px; font-weight: 700; color: #10283d; margin-bottom: 4px; }
.msx-kpi-fila { display: flex; align-items: flex-start; gap: 14px; }
.msx-kpi-num { display: flex; align-items: baseline; white-space: nowrap; }
.msx-kpi-num b { font-size: 34px; line-height: 1.1; font-weight: 800; color: #17714a; letter-spacing: -.5px; }
.msx-kpi-num b small { font-size: 24px; }
.msx-kpi-num span { font-size: 24px; font-weight: 700; color: #33475b; margin-left: 4px; }
.msx-kpi-pie { display: block; font-size: 13.5px; color: #5b6b7b; margin-top: 2px; }
.msx-kpi-fuera { border-left: 1px solid #e3e8ee; padding-left: 14px; display: flex; flex-direction: column; }
.msx-kpi-fuera b { font-size: 30px; line-height: 1.2; font-weight: 800; color: #9aa7b4; }
.msx-kpi-fuera span { font-size: 13.5px; color: #5b6b7b; white-space: nowrap; }
.msx-kpi-fuera.rojo b { color: #c8323d; }
.msx-kpi.ambar .msx-kpi-ico { background: #fdf0d8; color: #9a5b0b; }
.msx-kpi.ambar .msx-kpi-num b { color: #9a5b0b; }
.msx-kpi.gris { background: #fffaf0; border-color: #f3e6cc; }
.msx-kpi.gris .msx-kpi-ico { background: #fbecd0; color: #8a5a12; }
.msx-kpi.gris .msx-kpi-num b { color: #10283d; }
/* Paneles */
.msx-panel { padding: 18px 20px; }
.msx-tit { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; margin-bottom: 14px; }
.msx-tit h3 { margin: 0; font-size: 21px; color: #10283d; width: 100%; }
.msx-tit .spacer { flex: 1; }
.msx-tit > .muted { font-size: 14px; }
.msx-tit:has(#msx-todos) h3 { width: auto; flex: 1 1 100%; }
.msx-ok { display: flex; align-items: center; gap: 8px; color: #17714a; background: #e3f4ec; border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: 14px; }
.msx-ok .tb-ico { width: 18px; height: 18px; }
/* Necesitan atención */
.msx-ats { display: grid; grid-template-columns: repeat(auto-fill, minmax(440px, 1fr)); gap: 14px; }
.msx-at { border: 1px solid #f4cdd2; border-left: 5px solid #d63c46; border-radius: 16px; background: linear-gradient(180deg, #fff, #fff6f7); padding: 14px 16px 12px; min-width: 0; }
.msx-at-cab { display: flex; gap: 14px; align-items: flex-start; }
.msx-at-ico { width: 54px; height: 54px; border-radius: 50%; background: #fde4e6; padding: 10px; flex: none; --c: #c8323d; --f: #fbd0d5; }
.msx-at-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.msx-at-txt b { font-size: 16.5px; color: #10283d; overflow-wrap: anywhere; }
.msx-at-txt span { font-size: 13.5px; color: #4a5d70; }
.msx-at-txt em { font-style: normal; font-size: 13px; color: #c8323d; font-weight: 600; }
.msx-fuera { display: inline-flex; align-items: center; gap: 7px; background: #fde4e6; color: #b4232e; border: 1px solid #f6c9cf; border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; white-space: nowrap; flex: none; }
.msx-fuera i { width: 10px; height: 10px; border-radius: 50%; background: #d63c46; display: inline-block; }
.msx-at-pie { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; border-top: 1px solid #f3dde0; margin-top: 12px; padding-top: 10px; font-size: 13.5px; color: #4a5d70; }
.msx-at-pie > span, .msx-at-pie > a { display: inline-flex; align-items: center; gap: 6px; }
.msx-at-pie .spacer { flex: 1; }
.msx-at-pie .tb-ico { width: 16px; height: 16px; }
.msx-at-pie .btn { display: inline-flex; align-items: center; gap: 6px; border-radius: 10px; padding: 6px 12px; font-size: 13.5px; }
.msx-asunto { font-weight: 700; color: #101B2F; }
/* Registros por sistema y estabilidad */
.msx-dos { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 18px; }
.msx-dos > .panel { margin: 0; }
.msx-sis { border: 1px solid #e6ebf1; border-radius: 14px; margin-bottom: 8px; background: #fff; }
.msx-sis-cab { display: flex; align-items: center; gap: 14px; width: 100%; padding: 9px 14px; border: 0; border-radius: 14px; background: #fff; font: inherit; color: inherit; text-align: left; cursor: pointer; box-shadow: none; }
.msx-sis.abierto .msx-sis-cab { background: var(--t, #f1f6fa); border-radius: 14px 14px 0 0; }
.msx-sis-ico { width: 40px; height: 40px; border-radius: 50%; background: var(--t, #eef3f8); padding: 7px; flex: none; }
.msx-sis-txt { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.msx-sis-txt b { font-size: 15.5px; color: #10283d; }
.msx-sis-txt small { font-size: 12.5px; color: #5b6b7b; }
.msx-sis-n { font-size: 13.5px; color: #5b6b7b; white-space: nowrap; }
.msx-sis-n b { font-size: 18px; margin-right: 4px; }
.msx-sis-n.verde b { color: #17714a; }
.msx-sis-n.rojo b { color: #c8323d; }
.msx-chev { font-size: 20px; color: #5b6b7b; width: 14px; transition: transform .15s; display: inline-block; flex: none; transform: rotate(90deg); }
.msx-sis.abierto .msx-chev { transform: rotate(-90deg); }
.msx-sis-cuerpo { padding: 8px 12px 12px; }
.msx-sis-cuerpo .cx-bloque { border: 0; box-shadow: none; padding: 0; margin: 0; }
.msx-sis-cuerpo .cx-bloque-cab { display: none; }
.msx-sis-cuerpo .cx-lugares { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.msx-sis-cuerpo .cx-bloque-cams .cx-lugares { grid-template-columns: 1fr; }
.msx-estab { background: #fffaf0; border-color: #f3e6cc; }
.msx-est { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; margin-bottom: 8px; background: #fff; border: 1px solid #efe6d4; border-radius: 14px; font: inherit; color: inherit; text-align: left; cursor: pointer; box-shadow: none; }
.msx-est:hover { border-color: #e2cfa6; }
.msx-est-ico { width: 44px; height: 44px; border-radius: 50%; background: var(--t, #eef3f8); padding: 8px; flex: none; }
.msx-est-txt { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.msx-est-txt b { font-size: 15px; color: #10283d; overflow-wrap: anywhere; }
.msx-est-txt small { font-size: 13px; color: #5b6b7b; }
.msx-est .cx-pill { margin-top: 0; }
.msx-est .msx-chev { transform: none; }
.msx-mas { margin-top: 4px; }
/* Plegados: tablas completas, bitácora y lo que falta ligar */
.msx-det { padding: 0; }
.msx-det > summary { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 14px 20px; cursor: pointer; list-style: none; }
.msx-det > summary::-webkit-details-marker { display: none; }
.msx-det > summary::before { content: '›'; font-size: 20px; color: #5b6b7b; display: inline-block; width: 12px; transition: transform .15s; }
.msx-det[open] > summary::before { transform: rotate(90deg); }
.msx-det > summary b { font-size: 16px; color: #10283d; }
.msx-det > summary .muted { font-size: 13.5px; }
.msx-det > :not(summary) { margin-left: 20px; margin-right: 20px; }
.msx-det[open] { padding-bottom: 16px; }
.msx-sub { margin: 16px 0 8px; font-size: 15px; }
.msx-bit-filtro { margin-bottom: 10px; }
/* Configuración */
.msx-config { display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; padding: 14px 20px; font-size: 14px; color: #4a5d70; }
.msx-config > span { display: inline-block; }
.msx-config > .msx-config-tit { display: inline-flex; align-items: center; gap: 8px; }
.msx-config > span + span { border-left: 1px solid #e3e8ee; padding-left: 22px; }
.msx-config-tit { font-size: 16px; color: #10283d; }
.msx-config .tb-ico { width: 20px; height: 20px; color: #33475b; vertical-align: -5px; }
.msx-config select { max-width: 240px; }
@media (max-width: 1099px) {
  .msx-dos { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .msx-derecha { justify-content: flex-start; width: 100%; }
  .msx-fuente { text-align: left; flex: 1 1 100%; }
  .msx-btn { padding: 8px 12px; font-size: 13.5px; border-radius: 12px; }
  .msx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .msx-kpi { flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; }
  .msx-kpi-ico { width: 40px; height: 40px; }
  .msx-kpi-ico .tb-ico { width: 20px; height: 20px; }
  .msx-kpi-tit { font-size: 13px; }
  .msx-kpi-num b { font-size: 26px; }
  .msx-kpi-num b small, .msx-kpi-num span { font-size: 18px; }
  .msx-kpi-fila { gap: 10px; }
  .msx-kpi-fuera { padding-left: 10px; }
  .msx-kpi-fuera b { font-size: 22px; }
  .msx-kpi-fuera span, .msx-kpi-pie { font-size: 12px; }
  .msx-panel { padding: 14px; }
  .msx-tit h3 { font-size: 18px; }
  .msx-ats { grid-template-columns: 1fr; }
  .msx-at-ico { width: 44px; height: 44px; padding: 8px; }
  .msx-at-cab { flex-wrap: wrap; }
  .msx-at-txt { flex: 1 1 calc(100% - 60px); }
  .msx-sis-cab { gap: 10px; padding: 8px 10px; }
  .msx-sis-ico { width: 34px; height: 34px; padding: 6px; }
  .msx-det > summary { padding: 12px 14px; display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 2px 10px; }
  .msx-det > summary .muted { grid-column: 2; }
  .msx-det > :not(summary) { margin-left: 12px; margin-right: 12px; }
  .msx-config > span + span { border-left: 0; padding-left: 0; }
}

/* ===== 🗺️ Equipos · Mapa general (1/nov/2026, diseño 121 de Luis; mapa.js pintarMapa) ===== */
.eqc-tabsfila { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.eqc-tabsfila .eqc-tabs { margin-bottom: 0; min-width: 0; max-width: 100%; }
.eqc-tabsfila > .spacer { flex: 1; }
/* Encabezado: buscador en todos los planos, total y el plano que se ve */
.mpx-buscar { position: relative; display: flex; align-items: center; gap: 10px; width: min(520px, 100%); height: 50px; padding: 0 16px; background: #fff; border: 1px solid #e3e8ee; border-radius: 16px; box-shadow: 0 4px 14px rgba(16, 32, 48, .05); }
.mpx-buscar > .tb-ico { width: 20px; height: 20px; color: #5b6b7b; flex: none; }
.mpx-buscar input { flex: 1; border: 0; background: transparent; font-size: 15px; padding: 0; min-width: 0; box-shadow: none; outline: none; }
.mpx-res { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid #e3e8ee; border-radius: 14px; box-shadow: 0 14px 32px rgba(16, 32, 48, .18); z-index: 40; max-height: 380px; overflow-y: auto; padding: 6px; }
.mpx-res p { margin: 8px 10px; }
.mpx-res-it { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; box-shadow: none; }
.mpx-res-it:hover { background: #f1f6fa; }
.mpx-res-it span { display: flex; flex-direction: column; min-width: 0; }
.mpx-res-it b { font-size: 14px; color: #10283d; }
.mpx-res-it small { font-size: 12.5px; color: #5b6b7b; }
.mpx-total { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e3e8ee; border-radius: 16px; padding: 8px 18px 8px 10px; box-shadow: 0 4px 14px rgba(16, 32, 48, .05); }
.mpx-total-ico { width: 44px; height: 44px; border-radius: 12px; background: #eef3f8; color: #101B2F; display: grid; place-items: center; flex: none; }
.mpx-total-ico .tb-ico { width: 22px; height: 22px; }
.mpx-total > div { display: flex; flex-direction: column; line-height: 1.15; }
.mpx-total span { font-size: 13px; color: #33475b; font-weight: 600; }
.mpx-total b { font-size: 26px; color: #10283d; }
.mpx-total small { font-size: 12px; color: #5b6b7b; }
.mpx-ir { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #e3e8ee; border-radius: 14px; padding: 4px 6px 4px 12px; box-shadow: 0 2px 8px rgba(16, 32, 48, .06); color: #101B2F; }
.mpx-ir .tb-ico { width: 20px; height: 20px; }
.mpx-ir select { border: 0; background-color: transparent; font-size: 15px; font-weight: 700; color: #10283d; min-height: 38px; box-shadow: none; max-width: 240px; }
/* Tres columnas */
.mpx { display: grid; grid-template-columns: 236px minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.mpx.acomodando { grid-template-columns: 236px minmax(0, 1fr) 300px; }
.mpx .panel { margin: 0; }
.mpx-izq, .mpx-der { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mpx-caja { padding: 16px 14px; }
.mpx-caja h3 { margin: 0 0 12px; font-size: 18px; color: #10283d; }
.mpx-qzona { display: flex; align-items: center; gap: 8px; border: 1px solid #e3e8ee; border-radius: 12px; padding: 0 10px; margin-bottom: 10px; background: #fff; }
.mpx-qzona .tb-ico { width: 17px; height: 17px; color: #5b6b7b; flex: none; }
.mpx-qzona input { border: 0; padding: 8px 0; font-size: 14px; flex: 1; min-width: 0; box-shadow: none; outline: none; background: transparent; }
/* Zonas y planos */
.mpx-arbol { display: flex; flex-direction: column; gap: 2px; }
.mpx-fila { display: grid; grid-template-columns: 18px minmax(0, 1fr) 22px; align-items: center; gap: 2px; padding-left: calc(var(--n, 0) * 16px); border-radius: 10px; }
.mpx-fila:hover { background: #f4f7fa; }
.mpx-fila.actual { background: #eef3f8; }
.mpx-fila.actual .mpx-zona-btn span { font-weight: 800; color: #10283d; }
.mpx-fila.elegida { background: #dcecf3; }
.mpx-plegar, .mpx-entrar { border: 0; background: transparent; padding: 0; width: 18px; height: 30px; font-size: 18px; line-height: 1; color: #5b6b7b; cursor: pointer; box-shadow: none; display: grid; place-items: center; }
.mpx-plegar { transition: transform .15s; }
.mpx-plegar.abierto { transform: rotate(90deg); }
span.mpx-plegar, span.mpx-entrar { cursor: default; }
.mpx-entrar:hover { color: #101B2F; }
.mpx-zona-btn { display: flex; align-items: center; gap: 9px; border: 0; background: transparent; padding: 7px 4px; font: inherit; font-size: 14.5px; color: #1d3246; text-align: left; cursor: pointer; box-shadow: none; min-width: 0; }
.mpx-zona-btn .tb-ico { width: 18px; height: 18px; color: #33475b; flex: none; }
.mpx-zona-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mpx-zona-btn em { font-style: normal; font-size: 11.5px; font-weight: 800; color: #fff; background: #e08a00; border-radius: 999px; padding: 0 7px; margin-left: auto; }
.mpx-zona-btn em.rojo { background: #d63c46; }
/* Capas */
.mpx-capas { display: flex; flex-direction: column; gap: 6px; }
.mpx-capa { display: flex; align-items: center; gap: 10px; padding: 4px 2px; cursor: pointer; font-size: 14.5px; color: #1d3246; }
.mpx-capa-ico { width: 34px; height: 34px; border-radius: 50%; background: var(--t, #f1f3f6); padding: 6px; flex: none; display: grid; place-items: center; }
.mpx-capa-prob .mpx-capa-ico { background: #fde4e6; color: #c8323d; padding: 8px; }
.mpx-capa-prob .mpx-capa-ico .tb-ico { width: 18px; height: 18px; }
.mpx-capa-txt { flex: 1; display: flex; align-items: baseline; gap: 6px; }
.mpx-capa-txt small { font-size: 12px; color: #5b6b7b; font-weight: 700; }
.mpx-capa input { width: 18px; height: 18px; accent-color: #0057C7; flex: none; margin: 0; }
.mpx-nada { font-size: 13px; margin: 0; }
/* El plano */
.mpx-centro { padding: 14px; min-width: 0; }
.mpx-mapa-cab { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.mpx-volver { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 12px; font-size: 14px; }
.mpx-volver .tb-ico { width: 16px; height: 16px; }
.mpx-mapa-ico { width: 40px; height: 40px; border-radius: 50%; background: #e6f1f6; color: #0057C7; display: grid; place-items: center; flex: none; }
.mpx-mapa-ico .tb-ico { width: 20px; height: 20px; }
.mpx-mapa-tit { display: flex; flex-direction: column; min-width: 0; flex: 0 1 auto; }
.mpx-mapa-tit > b { font-size: 18px; color: #10283d; }
.mpx-mapa-tit > span { font-size: 13.5px; color: #5b6b7b; }
.mpx-mapa-tit em { font-style: normal; font-weight: 700; color: #c8323d; }
.mpx-marco-caja { position: relative; }
.mpx .mapa-marco { max-height: calc(100vh - 330px); border-radius: 14px; border: 0; box-shadow: none; background: #e7eef4; }
.mpx-mapa-cab > .spacer { flex: 1; }
.mpx-ctrl { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.mpx-cbtn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 11px; border: 1px solid rgba(227, 232, 238, .9); background: rgba(255, 255, 255, .96); color: #10283d; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: 0 2px 6px rgba(16, 32, 48, .07); }
#mapa-mas, #mapa-menos { font-size: 20px; padding: 0; }
.mpx-cbtn .tb-ico { width: 17px; height: 17px; }
.mpx-cbtn.activo { background: #dcecf3; border-color: #9fc6d8; color: #101B2F; }
.mpx-cbtn.listo { background: #2f9e6a; border-color: #2f9e6a; color: #fff; }
.mpx-zoom { height: 38px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 11px; background: rgba(255, 255, 255, .96); font-size: 13px; font-weight: 700; color: #33475b; font-variant-numeric: tabular-nums; border: 1px solid rgba(227, 232, 238, .9); }
.mpx-leyenda { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 12px; padding: 4px 4px 0; }
.mpx-leyenda > span { display: flex; align-items: flex-start; gap: 8px; }
.mpx-leyenda .mapa-pt { margin-top: 3px; }
.mpx-leyenda > span > span { display: flex; flex-direction: column; line-height: 1.25; }
.mpx-leyenda b { font-size: 13px; color: #1d3246; }
.mpx-leyenda small { font-size: 12px; color: #5b6b7b; }
/* Marcadores de zona: su nombre en una píldora, con el color del peor estado y cuántos tienen problema */
.mpx .mapa-zona { gap: 8px; padding: 4px 13px 4px 4px; background: #fff; border: 2px solid #fff; border-radius: 999px; box-shadow: 0 5px 14px rgba(12, 27, 43, .4); line-height: 1.2; }
.mpx .mapa-zona b { font-size: 13.5px; color: #10283d; font-weight: 800; }
.mpx .mapa-zona span { background: none; padding: 0; min-width: 0; border-radius: 0; color: inherit; font-size: inherit; }
.mpx .mapa-zona .mapa-zona-ico { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #2f9e6a; color: #fff; flex: none; }
.mpx .mapa-zona .mapa-zona-ico .tb-ico { width: 16px; height: 16px; }
.mpx .mapa-zona.ambar, .mpx .mapa-zona.rojo { background: #fff; }
.mpx .mapa-zona.ambar { border-color: #f3c27a; }
.mpx .mapa-zona.rojo { border-color: #f2a7a1; }
.mpx .mapa-zona.ambar .mapa-zona-ico { background: #e08a00; }
.mpx .mapa-zona.rojo .mapa-zona-ico { background: #d93025; }
.mpx .mapa-zona.vacia { border: 2px dashed #8796a5; }
.mpx .mapa-zona.vacia .mapa-zona-ico { background: #8796a5; }
.mpx .mapa-zona .mapa-zona-n { font-size: 11.5px; font-weight: 800; color: #fff; background: #e08a00; border-radius: 999px; padding: 1px 7px; }
.mpx .mapa-zona.rojo .mapa-zona-n { background: #d93025; }
.mpx .mapa-zona.rojo::after { border-radius: 999px; }
.mpx .mapa-zona.elegida { background: #101B2F; border-color: #101B2F; transform: translate(-50%, -50%) scale(1.12); z-index: 9; }
.mpx .mapa-zona.elegida b { color: #fff; }
.mpx .mapa-zona:hover { z-index: 10; }
.mpx .mapa-zona.compacta { gap: 5px; padding: 2px 9px 2px 2px; }
.mpx .mapa-zona.compacta .mapa-zona-ico { width: 21px; height: 21px; }
.mpx .mapa-zona.compacta .mapa-zona-ico .tb-ico { width: 13px; height: 13px; }
.mpx .mapa-zona.compacta b { font-size: 12px; }
.mpx .mapa-zona.elegida .mapa-zona-ico { box-shadow: 0 0 0 2px #fff; }
/* Puntos: el dibujo del equipo con su color; el aro dice el estado (lleno en verde = en línea en vivo) */
.mpx .mapa-pin { width: 32px; height: 32px; border-width: 2.5px; background: #fff; box-shadow: 0 3px 9px rgba(12, 27, 43, .45); }
.mpx .mapa-pin.verde, .mpx .mapa-pin.ambar, .mpx .mapa-pin.rojo { color: var(--c, #101B2F); }
.mpx .mapa-pin.verde { border-color: #2f9e6a; background: #fff; }
.mpx .mapa-pin.verde.vivo { background: #2f9e6a; border-color: #1f7a4f; color: #fff; --c: #fff; --f: rgba(255, 255, 255, .3); }
.mpx .mapa-pin.ambar { border-color: #e08a00; background: #fff8e8; }
.mpx .mapa-pin.rojo { border-color: #d93025; background: #fff1f0; }
.mpx .mapa-pin .mapa-ico { display: grid; place-items: center; }
.mpx .mapa-pin .asu-ilu { width: 21px; height: 21px; display: block; }
.mpx .mapa-pin .mapa-svg { width: 17px; height: 17px; }
.mpx .mapa-pin.elegido { outline: 3px solid #101B2F; outline-offset: 3px; z-index: 6; }
/* La columna de la derecha */
.mpx-sel { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.mpx-sel-cab { display: flex; align-items: center; gap: 12px; }
.mpx-sel-cab h3 { margin: 0; flex: 1; font-size: 22px; color: #10283d; overflow-wrap: anywhere; }
.mpx-sel-ico { width: 46px; height: 46px; border-radius: 50%; background: #e6f1f6; color: #0057C7; display: grid; place-items: center; flex: none; }
.mpx-sel-ico .tb-ico { width: 22px; height: 22px; }
.mpx-sel-ico.verde { background: #e3f4ec; color: #17714a; }
.mpx-sel-ico.ambar { background: #fdf0d8; color: #9a5b0b; }
.mpx-sel-ico.rojo { background: #fde4e6; color: #c8323d; }
.mpx-sel-ico.vacia { background: #f1f3f6; color: #5b6b7b; }
.mpx-cerrar { border: 0; background: transparent; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #5b6b7b; cursor: pointer; box-shadow: none; padding: 0; flex: none; }
.mpx-cerrar:hover { background: #f1f3f6; }
.mpx-cerrar .tb-ico { width: 18px; height: 18px; }
.mpx-sel-donde { display: flex; gap: 10px; align-items: flex-start; }
.mpx-sel-donde > .tb-ico { width: 18px; height: 18px; color: #33475b; margin-top: 2px; flex: none; }
.mpx-sel-donde div { display: flex; flex-direction: column; }
.mpx-sel-donde b { font-size: 14px; color: #10283d; }
.mpx-sel-donde span { font-size: 13px; color: #5b6b7b; }
.mpx-mini { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 1px solid #e3e8ee; border-radius: 14px; overflow: hidden; background: #f3f6f9; cursor: pointer; box-shadow: none; }
.mpx-mini img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mpx-sel-cifras { display: flex; flex-wrap: wrap; gap: 6px; }
.mpx-sel-cifras span { font-size: 13px; color: #33475b; background: #f3f5f8; border-radius: 999px; padding: 4px 11px; }
.mpx-sel-cifras span.rojo { background: #fde4e6; color: #b4232e; }
.mpx-sel-cifras span.ambar { background: #fdf0d8; color: #8a5108; }
.mpx-sel-cifras span.verde { background: #e3f4ec; color: #17714a; font-weight: 700; }
.mpx-abrir { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 13px; border-radius: 14px; font: inherit; font-size: 15px; font-weight: 700; border: 0; background: linear-gradient(135deg, #0057C7, #101B2F); color: #fff; cursor: pointer; box-shadow: 0 8px 18px rgba(22, 70, 96, .25); }
.mpx-abrir .tb-ico { width: 18px; height: 18px; }
.mpx-btn2 { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 11px; border-radius: 14px; font-size: 14.5px; }
.mpx-btn2 .tb-ico { width: 17px; height: 17px; }
.mpx-lista { display: flex; flex-direction: column; gap: 6px; max-height: 340px; overflow-y: auto; padding-right: 2px; }
.mpx-eq { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 1px solid #e6ebf1; border-radius: 12px; background: #fff; font: inherit; color: inherit; text-align: left; cursor: pointer; box-shadow: none; }
.mpx-eq:hover { border-color: #b9d3df; background: #f6fafc; }
.mpx-eq > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.mpx-eq b { font-size: 13.5px; color: #10283d; overflow-wrap: anywhere; }
.mpx-eq small { font-size: 12px; color: #5b6b7b; }
.mpx-eq-ilu { width: 34px; height: 34px; border-radius: 50%; background: var(--t, #f1f3f6); color: var(--c, #101B2F); padding: 6px; flex: none; display: grid; place-items: center; }
.mpx-eq-ilu .mapa-svg { width: 18px; height: 18px; }
.mpx-sel-label { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: #5b6b7b; margin: -4px 0 -4px; }
.mpx-sel-eq { display: flex; gap: 14px; align-items: center; }
.mpx-sel-eq h3 { margin: 0 0 3px; font-size: 18px; color: #10283d; overflow-wrap: anywhere; }
.mpx-sel-eq span { font-size: 13px; color: #5b6b7b; }
.mpx-sel-foto { width: 84px; height: 84px; border-radius: 20px; background: var(--t, #f6f8fa); border: 1px solid var(--f, #e3e8ee); color: var(--c, #101B2F); padding: 12px; flex: none; display: grid; place-items: center; overflow: hidden; }
.mpx-sel-foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.mpx-sel-foto .mapa-svg { width: 40px; height: 40px; }
.mpx-sel-estado { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #17714a; background: #e3f4ec; border-radius: 12px; padding: 8px 12px; }
.mpx-sel-estado.ambar { color: #8a5108; background: #fdf0d8; }
.mpx-sel-estado.rojo { color: #b4232e; background: #fde4e6; }
.mpx-sel-estado.gris { color: #4a5d70; background: #f1f3f6; }
.mpx-sel-nota { font-size: 12.5px; color: #5b6b7b; }
.mpx-pista { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: #4a5d70; margin: 0; padding-top: 10px; border-top: 1px solid #edf0f4; }
.mpx-pista .tb-ico { width: 18px; height: 18px; flex: none; color: #5b6b7b; }
.mpx-sin { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.mpx-sin-cab { display: flex; gap: 12px; align-items: flex-start; }
.mpx-sin-ico { width: 44px; height: 44px; border-radius: 50%; background: #f1f3f6; color: #5b6b7b; display: grid; place-items: center; flex: none; }
.mpx-sin-ico .tb-ico { width: 20px; height: 20px; }
.mpx-sin-cab div { display: flex; flex-direction: column; gap: 2px; }
.mpx-sin-cab b { font-size: 15.5px; color: #10283d; }
.mpx-sin-cab span { font-size: 13px; color: #5b6b7b; }
.mpx-der .mapa-lista { max-height: calc(100vh - 200px); }
.mpx-der .mapa-lista input, .mpx-der .mapa-lista select { border: 1px solid #e3e8ee; border-radius: 10px; padding: 8px 10px; font-size: 14px; background-color: #fff; }
@media (max-width: 1399px) {
  .mpx { grid-template-columns: 220px minmax(0, 1fr) 290px; }
}
@media (max-width: 1099px) {
  .mpx, .mpx.acomodando { grid-template-columns: minmax(0, 1fr); }
  .mpx-centro { order: 1; }
  .mpx-der { order: 2; }
  .mpx-izq { order: 3; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 760px) {
  .mpx-buscar { height: 44px; border-radius: 14px; }
  .mpx-total { padding: 6px 12px 6px 8px; }
  .mpx-total-ico { width: 36px; height: 36px; }
  .mpx-total b { font-size: 20px; }
  .eqc-tabsfila { gap: 8px; }
  .mpx-ir { width: 100%; }
  .mpx-ir select { max-width: none; flex: 1; }
  .mpx-centro { padding: 10px; }
  .mpx-mapa-tit { flex: 1 1 200px; }
  .mpx-mapa-cab > .spacer { display: none; }
  .mpx .mapa-marco { max-height: 62vh; }
  .mpx-ctrl { gap: 4px; width: 100%; justify-content: flex-start; }
  .mpx-cbtn { height: 34px; min-width: 34px; padding: 0 8px; font-size: 13px; }
  .mpx-ctxt span { display: none; }
  .mpx-zoom { height: 34px; }
  .mpx-leyenda { gap: 8px 14px; }
  .mpx .mapa-pin { width: 28px; height: 28px; }
  .mpx .mapa-pin .asu-ilu { width: 18px; height: 18px; }
  .mpx .mapa-zona { padding: 3px 10px 3px 3px; gap: 6px; }
  .mpx .mapa-zona .mapa-zona-ico { width: 22px; height: 22px; }
  .mpx .mapa-zona b { font-size: 12px; }
}
/* ===== 🗺️ Equipos · Submapa (1/nov/2026, diseño 122 de Luis): dentro de una zona ===== */
.mpx-migas { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; }
.mpx-miga { border: 0; background: transparent; padding: 0; font: inherit; color: #4a5d70; cursor: pointer; box-shadow: none; }
.mpx-miga:hover { color: #101B2F; text-decoration: underline; }
.mpx-miga.actual { color: #10283d; font-weight: 600; cursor: default; text-decoration: none; }
.mpx-miga-sep { color: #8796a5; margin: 0 2px; }
.eqc-tabsfila .mpx-volver { padding: 11px 18px; border-radius: 14px; font-size: 15px; font-weight: 700; color: #101B2F; }
.mpx-mapa-n > b { font-size: 16px; color: #10283d; font-weight: 700; }
.mpx-mapa-n strong { font-size: 24px; font-weight: 800; margin-right: 4px; }
.mpx-cambiar { box-shadow: none; }
.mpx-cambiar select { font-size: 14px; max-width: 200px; }
.mpx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -2px 0 12px; }
.mpx-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px 6px 10px; border-radius: 999px; border: 1px solid #e3e8ee; background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: #2b4258; cursor: pointer; box-shadow: 0 2px 6px rgba(16, 32, 48, .04); }
.mpx-chip:first-child { padding-left: 16px; }
.mpx-chip b { color: #5b6b7b; font-weight: 700; }
.mpx-chip .tb-ico { width: 16px; height: 16px; color: #c8323d; }
.mpx-chip-ilu { width: 24px; height: 24px; border-radius: 50%; background: var(--t, #f1f3f6); padding: 3px; display: grid; place-items: center; }
.mpx-chip.activo { background: linear-gradient(135deg, #0057C7, #101B2F); border-color: #101B2F; color: #fff; }
.mpx-chip.activo b, .mpx-chip.activo .tb-ico { color: #fff; }
.mpx-chip.rojo.activo { background: #c8323d; border-color: #c8323d; }
/* Grupos de puntos muy juntos */
.mapa-grupo { position: absolute; transform: translate(-50%, calc(-100% - 24px)); background: #fff; color: #10283d; font-size: 12.5px; font-weight: 800; padding: 4px 11px; border-radius: 10px; box-shadow: 0 4px 12px rgba(12, 27, 43, .3); white-space: nowrap; pointer-events: none; z-index: 5; }
.mpx-nota-grupo { margin: 8px 4px 0; font-size: 12.5px; color: #5b6b7b; }
/* Minimapa «Estás aquí» */
.mpx-minimapa { position: absolute; left: 12px; bottom: 12px; width: 200px; padding: 5px; border: 0; border-radius: 14px; background: #fff; box-shadow: 0 8px 20px rgba(12, 27, 43, .35); cursor: pointer; z-index: 12; }
.mpx-mm-foto { position: relative; display: block; border-radius: 10px; overflow: hidden; }
.mpx-mm-foto img { width: 100%; display: block; }
.mpx-mm-foto i { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #d93025; border: 2px solid #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 5px rgba(217, 48, 37, .35); }
.mpx-mm-foto b { position: absolute; transform: translate(-50%, calc(-100% - 10px)); background: #fff; color: #10283d; font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 6px; white-space: nowrap; box-shadow: 0 2px 6px rgba(12, 27, 43, .3); }
.mpx-mm-foto em { position: absolute; transform: translate(-50%, 10px); background: #fff; color: #c8323d; font-style: normal; font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 999px; border: 1px solid #f2a7a1; white-space: nowrap; }
.mpx-mini-btn .tb-ico { width: 18px; height: 18px; }
/* El equipo elegido */
.mpx-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.mpx-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; background: #f1f3f6; color: #4a5d70; }
.mpx-pill i { width: 10px; height: 10px; border-radius: 50%; background: currentColor; display: inline-block; }
.mpx-pill .tb-ico { width: 16px; height: 16px; }
.mpx-pill.verde { background: #e3f4ec; color: #17714a; }
.mpx-pill.ambar { background: #fdf0d8; color: #8a5108; }
.mpx-pill.rojo { background: #fde4e6; color: #b4232e; }
.mpx-tabs { display: flex; background: #f1f4f7; border-radius: 12px; padding: 4px; gap: 4px; }
.mpx-tabs button { flex: 1; border: 0; background: transparent; padding: 8px 6px; border-radius: 9px; font: inherit; font-size: 14px; font-weight: 600; color: #4a5d70; cursor: pointer; box-shadow: none; }
.mpx-tabs button.activo { background: linear-gradient(135deg, #0057C7, #101B2F); color: #fff; font-weight: 700; }
.mpx-pest { min-height: 60px; }
.mpx-vinc { border: 1px solid #e6ebf1; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.mpx-vinc-cab { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mpx-vinc-cab > b { font-size: 14.5px; color: #10283d; }
.mpx-link { display: inline-flex; align-items: center; gap: 5px; border: 1px solid #d5e3ec; background: #fff; border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 12.5px; font-weight: 700; color: #101B2F; cursor: pointer; box-shadow: none; }
.mpx-link .tb-ico { width: 14px; height: 14px; }
.mpx-vinc-fila { display: flex; gap: 10px; align-items: flex-start; }
.mpx-vinc-fila > .tb-ico { width: 20px; height: 20px; color: #33475b; flex: none; margin-top: 2px; }
.mpx-vinc-fila div { display: flex; flex-direction: column; min-width: 0; }
.mpx-vinc-fila b { font-size: 14px; color: #10283d; }
.mpx-vinc-fila span { font-size: 13px; color: #33475b; overflow-wrap: anywhere; }
.mpx-vinc-fila small { font-size: 12px; color: #5b6b7b; }
.mpx-vinc-av { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 13px; color: #33475b; }
.mpx-vinc-av b { font-size: 16px; color: #10283d; }
.mpx-barra { height: 7px; border-radius: 99px; background: #e3e8ee; overflow: hidden; margin-top: -4px; }
.mpx-barra i { display: block; height: 100%; background: linear-gradient(90deg, #0057C7, #2f9e6a); border-radius: 99px; }
.mpx-datos { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.mpx-datos > div { display: grid; grid-template-columns: 22px 108px minmax(0, 1fr); gap: 8px; align-items: start; font-size: 13.5px; }
.mpx-datos .tb-ico { width: 18px; height: 18px; color: #5b6b7b; margin-top: 1px; }
.mpx-datos span { color: #5b6b7b; }
.mpx-datos b { color: #10283d; font-weight: 600; overflow-wrap: anywhere; }
.mpx-datos b.rojo { color: #b4232e; }
#mpx-btn-vinc:empty { display: none; }
.mpx-eqsel .eqc-hist { max-height: 340px; }
@media (max-width: 760px) {
  .mpx-minimapa, .mpx-mini-btn { display: none; }
  .eqc-tabsfila .mpx-volver { width: 100%; justify-content: center; }
  .mpx-chip { font-size: 13px; padding: 5px 11px 5px 8px; }
  .mpx-cambiar { width: auto; }
}

/* ===== 🗺️ Supervisión de rondas (1/nov/2026, diseños 114 a 118 de Luis; rondas.js vistaRondas y tabHoy) ===== */
.rnx-cabeza { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 4px 0 14px; }
.rnx-cabeza .spacer { flex: 1; }
.rnx-fecha { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px; background: #fff; border: 1px solid #e3e8ee; border-radius: 16px; font-size: 15px; font-weight: 700; color: #10283d; box-shadow: 0 4px 14px rgba(16, 32, 48, .05); }
.rnx-fecha .tb-ico { width: 20px; height: 20px; color: #33475b; }
.rnx-buscar { display: flex; align-items: center; gap: 10px; width: min(340px, 100%); height: 48px; padding: 0 16px; background: #fff; border: 1px solid #e3e8ee; border-radius: 16px; box-shadow: 0 4px 14px rgba(16, 32, 48, .05); }
.rnx-buscar .tb-ico { width: 19px; height: 19px; color: #5b6b7b; flex: none; }
.rnx-buscar input { flex: 1; border: 0; background: transparent; font-size: 14.5px; padding: 0; min-width: 0; box-shadow: none; outline: none; }
.rnx-tabsfila { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.rnx-tabsfila .rnx-tabs { margin-bottom: 0; min-width: 0; max-width: 100%; }
.rnx-tabsfila > .spacer { flex: 1; }
.rnx-mas { position: relative; }
.rnx-mas-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 14px; font-size: 15px; font-weight: 700; color: #10283d; }
.rnx-mas-btn b { font-size: 18px; line-height: 1; }
.rnx-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 220px; background: #fff; border: 1px solid #e3e8ee; border-radius: 14px; box-shadow: 0 14px 32px rgba(16, 32, 48, .18); padding: 6px; display: flex; flex-direction: column; }
.rnx-menu button { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 10px 12px; border-radius: 10px; font: inherit; font-size: 14.5px; color: #10283d; text-align: left; cursor: pointer; box-shadow: none; }
.rnx-menu button:hover { background: #f1f6fa; }
.rnx-menu .tb-ico { width: 18px; height: 18px; color: #33475b; }
/* Hoy */
.rnx-hoy { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.rnx-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.rnx-caja { margin: 0; padding: 18px 20px; }
.rnx-tit { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.rnx-tit-ico { width: 48px; height: 48px; border-radius: 14px; background: #eef3f8; color: #0057C7; display: grid; place-items: center; flex: none; }
.rnx-tit-ico .tb-ico { width: 24px; height: 24px; }
.rnx-tit h3 { margin: 0; font-size: 21px; color: #10283d; }
.rnx-tit p { margin: 2px 0 0; font-size: 14px; color: #5b6b7b; }
.rnx-progs { display: grid; gap: 12px; }
.rnx-prog { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px 24px; border-radius: 18px; color: #fff; background: radial-gradient(circle at 85% 120%, rgba(78, 178, 201, .35), transparent 55%), linear-gradient(135deg, #1b6a86, #123f58); box-shadow: 0 12px 26px rgba(18, 63, 88, .28); }
.rnx-prog-ico { width: 76px; height: 76px; border-radius: 50%; background: #fff; padding: 14px; display: grid; place-items: center; flex: none; }
.rnx-prog-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rnx-prog-txt > b { font-size: 20px; line-height: 1.2; }
.rnx-prog-txt > span { font-size: 14.5px; color: rgba(255, 255, 255, .85); }
.rnx-prog-hora { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.rnx-prog-hora .tb-ico { width: 28px; height: 28px; }
.rnx-prog-hora strong { font-size: 30px; font-weight: 800; letter-spacing: -.5px; }
.rnx-prog-quien { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: rgba(255, 255, 255, .9); margin-top: 4px; }
.rnx-prog-quien .tb-ico { width: 16px; height: 16px; }
.rnx-prog-der { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .18); align-self: stretch; justify-content: center; }
.rnx-prog-varios { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.rnx-estado { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; background: #dceefa; color: #101B2F; white-space: nowrap; }
.rnx-estado .tb-ico { width: 16px; height: 16px; }
.rnx-estado.verde { background: #d9f3e6; color: #17714a; }
.rnx-estado.ambar { background: #fdf0d8; color: #8a5108; }
.rnx-estado.rojo { background: #fde4e6; color: #b4232e; }
.rnx-estado.gris { background: #eef1f4; color: #4a5d70; }
.rnx-prog-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 12px; border: 0; background: #fff; color: #10283d; font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; white-space: nowrap; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
.rnx-prog-btn .tb-ico { width: 16px; height: 16px; }
.rnx-progs.muchas .rnx-prog { padding: 14px 16px; gap: 14px; border-radius: 16px; }
.rnx-progs.muchas .rnx-prog-ico { width: 54px; height: 54px; padding: 10px; }
.rnx-progs.muchas .rnx-prog-txt > b { font-size: 16.5px; }
.rnx-progs.muchas .rnx-prog-hora { margin-top: 2px; }
.rnx-progs.muchas .rnx-prog-hora strong { font-size: 20px; }
.rnx-progs.muchas .rnx-prog-hora .tb-ico { width: 20px; height: 20px; }
.rnx-progs.muchas .rnx-prog-der { gap: 10px; padding-left: 14px; }
.rnx-progs.muchas .rnx-prog-btn { padding: 8px 12px; font-size: 13.5px; }
.rnx-lista { display: flex; flex-direction: column; gap: 8px; }
.rnx-sin { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid #edf0f4; border-radius: 14px; background: #fff; }
.rnx-sin > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rnx-sin b { font-size: 16px; color: #10283d; }
.rnx-sin span { font-size: 14px; color: #5b6b7b; }
.rnx-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--t, #eef3f8); padding: 10px; display: grid; place-items: center; flex: none; }
.rnx-notoca { display: inline-flex !important; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 12px; background: #f1f3f6; color: #33475b !important; font-size: 13px !important; font-weight: 600; white-space: nowrap; }
.rnx-notoca .tb-ico { width: 16px; height: 16px; }
.rnx-rev { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; margin-bottom: 10px; }
.rnx-rev:last-child { margin-bottom: 0; }
.rnx-rev.ambar { background: #fff6e5; border: 1px solid #f6e3bd; }
.rnx-rev.verde { background: #eaf7f1; border: 1px solid #cdebdc; }
.rnx-rev-ico { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #fde7b8; color: #8a5108; }
.rnx-rev.verde .rnx-rev-ico { background: #cdebdc; color: #17714a; }
.rnx-rev-ico .tb-ico { width: 28px; height: 28px; }
.rnx-rev > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rnx-rev strong { font-size: 34px; line-height: 1.05; font-weight: 800; color: #10283d; }
.rnx-rev b { font-size: 16px; color: #10283d; }
.rnx-rev span { font-size: 13px; color: #5b6b7b; }
.rnx-rev-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 700; color: #10283d; white-space: nowrap; }
.rnx-rev-btn .tb-ico { width: 16px; height: 16px; }
.rnx-mes-fila { display: grid; grid-template-columns: auto minmax(0, 1fr) 100px 56px; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid #edf0f4; }
.rnx-mes-fila .rnx-ico { width: 42px; height: 42px; padding: 8px; }
.rnx-mes-txt { display: flex; flex-direction: column; min-width: 0; }
.rnx-mes-txt b { font-size: 14.5px; color: #10283d; }
.rnx-mes-txt span { font-size: 12.5px; color: #5b6b7b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rnx-mes-num { display: flex; flex-direction: column; padding-left: 12px; border-left: 1px solid #edf0f4; }
.rnx-mes-num small { font-size: 11.5px; color: #5b6b7b; }
.rnx-mes-num b { font-size: 16px; color: #10283d; }
.rnx-mes-num b.rojo { color: #c8323d; }
.rnx-cal { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 12px; padding: 12px 14px; border: 0; border-radius: 14px; background: #eaf3fb; font: inherit; color: inherit; text-align: left; cursor: pointer; box-shadow: none; }
.rnx-cal .rnx-tit-ico { width: 42px; height: 42px; background: #fff; }
.rnx-cal > div { flex: 1; display: flex; flex-direction: column; }
.rnx-cal b { font-size: 15.5px; color: #10283d; }
.rnx-cal span { font-size: 13px; color: #5b6b7b; }
.rnx-cal-flecha { font-size: 24px; color: #33475b !important; }
@media (max-width: 1099px) {
  .rnx-hoy { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .rnx-fecha { height: 42px; font-size: 13.5px; padding: 0 12px; }
  .rnx-buscar { height: 44px; width: 100%; }
  .rnx-mas-btn { padding: 8px 12px; font-size: 14px; }
  .rnx-caja { padding: 14px; }
  .rnx-tit-ico { width: 40px; height: 40px; }
  .rnx-tit h3 { font-size: 18px; }
  .rnx-prog, .rnx-progs.muchas .rnx-prog { grid-template-columns: auto minmax(0, 1fr); padding: 16px; }
  .rnx-prog-ico, .rnx-progs.muchas .rnx-prog-ico { width: 52px; height: 52px; padding: 10px; }
  .rnx-prog-hora strong { font-size: 22px; }
  .rnx-prog-der { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; padding: 12px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); flex-wrap: wrap; }
  .rnx-prog-varios { align-items: flex-start; }
  .rnx-ico { width: 44px; height: 44px; padding: 8px; }
  .rnx-sin { flex-wrap: wrap; row-gap: 8px; }
  .rnx-sin > div { flex-basis: calc(100% - 60px); }
  .rnx-notoca { margin-left: 58px; }
  .rnx-rev { flex-wrap: wrap; }
  .rnx-rev-ico { width: 48px; height: 48px; }
  .rnx-rev strong { font-size: 28px; }
  .rnx-rev-btn { width: 100%; justify-content: center; }
  .rnx-mes-fila { grid-template-columns: auto minmax(0, 1fr) 84px 44px; gap: 8px; }
  .rnx-mes-num small { font-size: 10.5px; }
  .rnx-mes-num { padding-left: 8px; }
}
/* ===== 🗓️ Rondas · Cumplimiento (1/nov/2026, diseño 115; rondas.js tabCumplimiento) ===== */
.rnx-mes { padding: 0 8px 0 16px; }
.rnx-mes select { border: 0; background-color: transparent; font: inherit; font-size: 15px; font-weight: 700; color: #10283d; min-height: 40px; box-shadow: none; padding-right: 26px; }
.rcx-aviso { display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin-bottom: 16px; background: #eaf3fb; border: 1px solid #cfe2f2; border-radius: 16px; }
.rcx-aviso-ico { width: 34px; height: 34px; border-radius: 50%; background: #2f7fd1; color: #fff; font-weight: 800; font-size: 19px; display: grid; place-items: center; flex: none; font-family: Georgia, serif; font-style: italic; }
.rcx-aviso > div { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.rcx-aviso b { font-size: 15.5px; color: #10283d; }
.rcx-aviso span { font-size: 14px; color: #4a5d70; }
.rcx-aviso-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; font-weight: 700; color: #101B2F; white-space: nowrap; }
.rcx-aviso-btn .tb-ico { width: 17px; height: 17px; }
.rcx { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 16px; align-items: start; }
.rcx .panel { margin: 0; }
.rcx-izq { padding: 18px 20px; }
.rcx-izq h3 { margin: 0; font-size: 21px; color: #10283d; }
.rcx-izq > p { margin: 2px 0 14px; font-size: 14px; }
.rcx-rondas { display: flex; flex-direction: column; gap: 10px; }
.rcx-ronda { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 14px 14px 16px; border: 1px solid #e6ebf1; border-radius: 16px; background: #fff; font: inherit; color: inherit; text-align: left; cursor: pointer; box-shadow: none; }
.rcx-ronda:hover { border-color: #b9d3df; }
.rcx-ronda.activo { border: 2px solid #6fc3b2; background: #f1fbf8; padding: 13px 13px 13px 15px; }
.rcx-ronda.inactiva { opacity: .7; }
.rcx-ronda-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rcx-ronda-txt b { font-size: 16.5px; color: #10283d; }
.rcx-ronda-txt b small { font-weight: 500; color: #5b6b7b; font-size: 12.5px; }
.rcx-ronda-txt > span { font-size: 14px; color: #4a5d70; }
.rcx-ronda-txt .rcx-ronda-dato { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: #4a5d70; }
.rcx-ronda-dato .tb-ico { width: 15px; height: 15px; color: #5b6b7b; }
.rcx-ronda-num { display: flex; flex-direction: column; padding-left: 16px; border-left: 1px solid #e6ebf1; min-width: 118px; align-self: stretch; justify-content: center; }
.rcx-ronda-num b { font-size: 21px; color: #10283d; line-height: 1.15; }
.rcx-ronda-num b.rojo { color: #c8323d; }
.rcx-ronda-num small { font-size: 12.5px; color: #5b6b7b; margin-bottom: 6px; }
.rcx-ronda-num small:last-child { margin-bottom: 0; }
.rcx-chev { font-size: 22px; color: #33475b; flex: none; }
.rcx-der { padding: 18px 20px; }
.rcx-cab { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rcx-cab .rnx-ico { width: 58px; height: 58px; }
.rcx-cab-txt { flex: 1; min-width: 150px; display: flex; flex-direction: column; }
.rcx-cab-txt h3 { margin: 0; font-size: 22px; color: #10283d; }
.rcx-cab-txt span { font-size: 14.5px; color: #4a5d70; }
.rcx-vistas { display: flex; background: #eef2f6; border-radius: 12px; padding: 4px; gap: 4px; }
.rcx-vistas button { border: 0; background: transparent; padding: 7px 16px; border-radius: 9px; font: inherit; font-size: 13.5px; font-weight: 600; color: #33475b; cursor: pointer; box-shadow: none; }
.rcx-vistas button.activo { background: linear-gradient(135deg, #0057C7, #101B2F); color: #fff; font-weight: 700; }
.rcx-matriz { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 700; color: #101B2F; }
.rcx-matriz .tb-ico { width: 16px; height: 16px; }
.rcx-cal { border: 1px solid #e6ebf1; border-radius: 16px; padding: 12px; margin-top: 14px; }
.rcx-cal-cab { display: flex; align-items: center; gap: 8px; padding: 2px 6px 10px; }
.rcx-cal-cab b { font-size: 20px; color: #10283d; }
.rcx-cal-cab .spacer { flex: 1; }
.rcx-flecha { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #e3e8ee; background: #fff; font-size: 20px; line-height: 1; color: #10283d; cursor: pointer; box-shadow: none; padding: 0; }
.rcx-rejilla { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.rcx-letra { text-align: center; font-size: 12.5px; font-weight: 700; color: #4a5d70; padding: 6px 0; background: #f3f6f9; border-radius: 8px; }
.rcx-dia { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 50px; padding: 4px 2px; border: 1px solid #edf0f4; border-radius: 10px; background: #fff; font: inherit; color: #10283d; cursor: pointer; box-shadow: none; }
.rcx-dia b { font-size: 15px; }
.rcx-dia small { font-size: 10.5px; font-weight: 600; color: #4a5d70; line-height: 1.15; text-align: center; }
.rcx-dia.vacio { border: 0; background: transparent; cursor: default; }
.rcx-dia.noprog b { color: #8796a5; font-weight: 600; }
.rcx-dia.noprog { background: #fafbfc; }
.rcx-dia.hecha { background: #e3f4ec; border-color: #c7e8d6; }
.rcx-dia.hecha small { color: #17714a; }
.rcx-dia.vencida { background: #fde4e6; border-color: #f6c9cf; }
.rcx-dia.vencida small { color: #b4232e; }
.rcx-dia.parcial { background: #fdf0d8; border-color: #f3dcae; }
.rcx-dia.parcial small { color: #8a5108; }
.rcx-dia.pendiente { background: #eaf3fb; border-color: #cfe2f2; }
.rcx-dia.pendiente small { color: #101B2F; }
.rcx-dia.hoy { box-shadow: inset 0 0 0 2px #0057C7; }
.rcx-dia.elegido { border-color: #e8c35a; box-shadow: inset 0 0 0 2px #e0a82e; }
.rcx-dia.elegido.noprog, .rcx-dia.elegido.futura { background: #fff3cf; }
.rcx-rejilla.semana .rcx-dia { min-height: 96px; }
.rcx-rejilla.semana .rcx-dia b { font-size: 20px; }
.rcx-rejilla.semana .rcx-dia small { font-size: 12px; }
.rcx-detalle { margin-top: 14px; border: 1px solid #e6ebf1; border-radius: 16px; padding: 14px 16px; }
.rcx-detalle h4 { margin: 0 0 10px; font-size: 19px; color: #10283d; }
.rcx-nota { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: #fff6e0; border: 1px solid #f3e1b0; }
.rcx-nota-ico { width: 30px; height: 30px; border-radius: 50%; background: #e0a82e; color: #fff; font-weight: 800; display: grid; place-items: center; flex: none; }
.rcx-nota > div { display: flex; flex-direction: column; }
.rcx-nota b { font-size: 14.5px; color: #10283d; }
.rcx-nota span { font-size: 13.5px; color: #4a5d70; }
.rcx-nota.hecha { background: #e9f7f0; border-color: #cdebdc; }
.rcx-nota.hecha .rcx-nota-ico { background: #2f9e6a; }
.rcx-nota.vencida { background: #fdf0f1; border-color: #f4cdd2; }
.rcx-nota.vencida .rcx-nota-ico { background: #d63c46; }
.rcx-nota.pendiente { background: #eaf3fb; border-color: #cfe2f2; }
.rcx-nota.pendiente .rcx-nota-ico { background: #2f7fd1; }
#rcx-ejs { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
#rcx-ejs:empty { display: none; }
.rcx-ej { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 1px solid #e6ebf1; border-radius: 12px; background: #fff; font: inherit; color: inherit; text-align: left; cursor: pointer; box-shadow: none; }
.rcx-ej:hover { border-color: #b9d3df; background: #f6fafc; }
.rcx-ej > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.rcx-ej b { font-size: 14px; color: #10283d; }
.rcx-ej small { font-size: 12.5px; color: #5b6b7b; }
.rcx-leyenda { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 2px 0; font-size: 12.5px; color: #4a5d70; }
.rcx-leyenda span { display: inline-flex; align-items: center; gap: 6px; }
.rcx-leyenda i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 1px solid #e3e8ee; background: #fff; }
.rcx-leyenda i.hecha { background: #e3f4ec; border-color: #c7e8d6; }
.rcx-leyenda i.parcial { background: #fdf0d8; border-color: #f3dcae; }
.rcx-leyenda i.vencida { background: #fde4e6; border-color: #f6c9cf; }
.rcx-leyenda i.pendiente { background: #eaf3fb; border-color: #cfe2f2; }
.rcx-leyenda i.noprog { background: #fafbfc; }
.rcx-volver { margin-bottom: 12px; }
.rcx-volver .btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; }
.rcx-volver .tb-ico { width: 16px; height: 16px; }
@media (max-width: 1099px) {
  .rcx { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .rnx-mes { width: 100%; }
  .rnx-mes select { flex: 1; }
  .rcx-aviso { flex-wrap: wrap; }
  .rcx-aviso-btn { width: 100%; justify-content: center; }
  .rcx-izq, .rcx-der { padding: 14px; }
  .rcx-ronda { gap: 10px; padding: 12px; }
  .rcx-ronda .rnx-ico { width: 44px; height: 44px; padding: 8px; }
  .rcx-ronda-num { min-width: 84px; padding-left: 10px; }
  .rcx-ronda-num b { font-size: 18px; }
  .rcx-ronda-num small { font-size: 11px; }
  .rcx-chev { display: none; }
  .rcx-cab .rnx-ico { width: 46px; height: 46px; }
  .rcx-matriz { width: 100%; justify-content: center; }
  .rcx-dia { min-height: 44px; }
  .rcx-dia small { font-size: 9px; }
}
/* ===== 📜 Rondas · Historial (1/nov/2026, diseño 116; rondas.js tabHistorial) ===== */
.rnx-buscar-ancho { width: min(560px, 100%); }
.rhx-filtros { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.rhx-fechas { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; background: #fff; border: 1px solid #e3e8ee; border-radius: 14px; box-shadow: 0 2px 8px rgba(16, 32, 48, .04); }
.rhx-fechas .tb-ico { width: 18px; height: 18px; color: #33475b; }
.rhx-fechas input { border: 0; background: transparent; font: inherit; font-size: 14.5px; color: #10283d; padding: 0; box-shadow: none; min-height: 0; }
.rhx-fechas span { color: #5b6b7b; }
.rhx-sel select { height: 48px; min-width: 210px; padding: 0 36px 0 14px; background-color: #fff; border: 1px solid #e3e8ee; border-radius: 14px; font: inherit; font-size: 14.5px; color: #10283d; box-shadow: 0 2px 8px rgba(16, 32, 48, .04); }
.rhx { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.rhx .panel { margin: 0; }
.rhx-izq { padding: 18px 0 6px; overflow: hidden; }
.rhx-izq-cab { display: flex; align-items: center; gap: 12px; padding: 0 20px 12px; flex-wrap: wrap; }
.rhx-izq-cab h3 { margin: 0; font-size: 21px; color: #10283d; }
.rhx-izq-cab p { margin: 2px 0 0; font-size: 14px; }
.rhx-izq-cab .spacer { flex: 1; }
.rhx-orden { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: #4a5d70; }
.rhx-orden select { height: 40px; padding: 0 32px 0 12px; border: 1px solid #e3e8ee; border-radius: 12px; background-color: #fff; font: inherit; font-size: 14px; font-weight: 600; color: #10283d; }
.rhx-lista { display: flex; flex-direction: column; }
.rhx-fila { display: grid; grid-template-columns: 104px minmax(0, 1.5fr) auto 74px auto 70px 12px; gap: 12px; align-items: center; width: 100%; padding: 12px 18px 12px 20px; border: 0; border-top: 1px solid #edf0f4; background: #fff; font: inherit; color: inherit; text-align: left; cursor: pointer; box-shadow: none; position: relative; }
.rhx-fila:hover { background: #f7fafc; }
.rhx-fila.activo { background: #eef6fb; }
.rhx-fila.activo::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #2f7fd1; border-radius: 0 4px 4px 0; }
.rhx-fecha, .rhx-ronda { display: flex; flex-direction: column; min-width: 0; }
.rhx-fecha b { font-size: 14.5px; color: #10283d; }
.rhx-fecha small, .rhx-ronda small { font-size: 12.5px; color: #5b6b7b; }
.rhx-ronda b { font-size: 14.5px; color: #10283d; }
.rhx-fila .rnx-estado { padding: 5px 11px; font-size: 13px; }
.rhx-fila .rnx-estado small { font-weight: 500; }
.rhx-zonas { font-size: 13.5px; color: #4a5d70; white-space: nowrap; }
.rhx-hall { display: flex; gap: 8px; flex-wrap: wrap; }
.rhx-hall i { font-style: normal; font-size: 13px; font-weight: 700; white-space: nowrap; }
.rhx-hall i .tb-ico { width: 15px; height: 15px; vertical-align: -3px; }
.rhx-hallazgos > div > span .tb-ico { width: 22px; height: 22px; }
.rhx-hallazgos .ambar > span { color: #8a5108; }
.rhx-hallazgos .rojo > span { color: #c8323d; }
.rhx-hallazgos .azul > span { color: #2f7fd1; }
.rhx-hall i.ambar { color: #c77a00; }
.rhx-hall i.rojo { color: #c8323d; }
.rhx-hall i.azul { color: #2f7fd1; }
.rhx-hall i.gris { color: #8796a5; font-weight: 500; font-size: 12.5px; }
.rhx-min { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; color: #33475b; white-space: nowrap; }
.rhx-min .tb-ico { width: 15px; height: 15px; }
.rhx-chev { font-size: 20px; color: #5b6b7b; }
.rhx-der { padding: 0; overflow: hidden; }
.rhx-vacio { padding: 20px; }
.rhx-der-cab { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: linear-gradient(135deg, #1b6a86, #123f58); color: #fff; }
.rhx-der-ico { width: 50px; height: 50px; border-radius: 50%; background: #d9f3e6; color: #101B2F; display: grid; place-items: center; flex: none; }
.rhx-der-ico .tb-ico { width: 24px; height: 24px; }
.rhx-der-cab h3 { margin: 0; font-size: 20px; color: #fff; }
.rhx-der-cab span { font-size: 15px; color: rgba(255, 255, 255, .88); }
.rhx-der-cab .spacer { flex: 1; }
.rhx-nav { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; box-shadow: none; padding: 0; flex: none; }
.rhx-nav:disabled { opacity: .35; cursor: default; }
.rhx-der-cuerpo { padding: 18px 20px 20px; }
.rhx-resp { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rhx-resp-ico { width: 46px; height: 46px; border-radius: 50%; background: #eef3f8; color: #33475b; display: grid; place-items: center; flex: none; }
.rhx-resp-ico .tb-ico { width: 22px; height: 22px; }
.rhx-resp > div { display: flex; flex-direction: column; }
.rhx-resp small { font-size: 12.5px; color: #5b6b7b; }
.rhx-resp b { font-size: 15px; color: #10283d; }
.rhx-resp .spacer { flex: 1; }
.rhx-datos { display: grid; grid-template-columns: 1fr 1fr; margin: 16px 0; border: 1px solid #e6ebf1; border-radius: 16px; overflow: hidden; }
.rhx-datos > div { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-bottom: 1px solid #edf0f4; }
.rhx-datos > div:nth-child(odd) { border-right: 1px solid #edf0f4; }
.rhx-datos > div:nth-last-child(-n + 2) { border-bottom: 0; }
.rhx-datos .tb-ico { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: #eef3f8; color: #0057C7; flex: none; }
.rhx-datos span { display: flex; flex-direction: column; min-width: 0; }
.rhx-datos small { font-size: 13px; color: #4a5d70; }
.rhx-datos b { font-size: 22px; color: #10283d; line-height: 1.25; }
.rhx-datos b em { font-size: 14px; font-weight: 500; color: #4a5d70; font-style: normal; }
.rhx-datos span > em { font-size: 12.5px; color: #5b6b7b; font-style: normal; }
.rhx-sub { margin: 6px 0 10px; font-size: 18px; color: #10283d; }
.rhx-hallazgos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rhx-hallazgos > div { display: flex; gap: 10px; align-items: flex-start; padding: 14px 12px; border-radius: 14px; }
.rhx-hallazgos > div > span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; flex: none; }
.rhx-hallazgos > div > div { display: flex; flex-direction: column; min-width: 0; }
.rhx-hallazgos strong { font-size: 26px; line-height: 1.1; color: #10283d; }
.rhx-hallazgos b { font-size: 13.5px; }
.rhx-hallazgos small { font-size: 12px; color: #5b6b7b; margin-top: 4px; }
.rhx-hallazgos .ambar { background: #fff6e5; }
.rhx-hallazgos .ambar > span { background: #fde7b8; }
.rhx-hallazgos .ambar b { color: #8a5108; }
.rhx-hallazgos .rojo { background: #fdf0f1; }
.rhx-hallazgos .rojo > span { background: #fbd5d9; }
.rhx-hallazgos .rojo b { color: #b4232e; }
.rhx-hallazgos .azul { background: #eaf3fb; }
.rhx-hallazgos .azul > span { background: #cfe2f2; }
.rhx-hallazgos .azul b { color: #101B2F; }
.rhx-botones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.rhx-botones .mpx-btn2:disabled { opacity: .5; cursor: default; }
.rhx-fallas { display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 1299px) {
  .rhx-fila { grid-template-columns: 96px minmax(0, 1fr) auto 12px; row-gap: 6px; }
  .rhx-zonas, .rhx-hall, .rhx-min { grid-column: 2 / 4; }
  .rhx-fila > .rhx-zonas { display: none; }
  .rhx-chev { grid-row: 1; grid-column: 4; }
}
@media (max-width: 1099px) {
  .rhx { grid-template-columns: minmax(0, 1fr); }
  .rhx-der { display: none; }
}
@media (max-width: 760px) {
  .rhx-fechas { width: 100%; }
  .rhx-fechas input { flex: 1; min-width: 0; }
  .rhx-sel { flex: 1 1 100%; }
  .rhx-sel select { width: 100%; min-width: 0; }
  .rhx-izq-cab { padding: 0 14px 10px; }
  .rhx-fila { grid-template-columns: 84px minmax(0, 1fr) 12px; padding: 12px 14px; column-gap: 10px; }
  .rhx-fila .rnx-estado, .rhx-hall, .rhx-min { grid-column: 2 / 3; justify-self: start; }
  .rhx-chev { grid-column: 3; }
}
/* ===== ⚖️ Rondas · Sanciones (1/nov/2026, diseño 117; rondas.js tabSanciones) ===== */
.rsx { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.rsx .panel { margin: 0; }
.rsx-ctrl { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.rsx-n { font-size: 15px; color: #4a5d70; }
.rsx-nueva { padding: 11px 20px; }
.rsx-nueva .tb-ico { width: 18px; height: 18px; }
.rsx-tabla { padding: 0; overflow: hidden; }
.rsx-fila { display: grid; grid-template-columns: 108px minmax(0, 1.5fr) minmax(0, 1.15fr) auto 12px; gap: 12px; align-items: center; width: 100%; padding: 14px 16px 14px 20px; border: 0; border-top: 1px solid #edf0f4; background: #fff; font: inherit; font-size: 14.5px; color: #1d3246; text-align: left; cursor: pointer; box-shadow: none; position: relative; }
.rsx-fila:hover { background: #f7fafc; }
.rsx-fila.activo { background: #eef6fb; }
.rsx-fila.activo::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #2f7fd1; border-radius: 0 4px 4px 0; }
.rsx-cab { cursor: default; border-top: 0; background: #fafbfc; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #5b6b7b; padding-top: 12px; padding-bottom: 12px; }
.rsx-cab:hover { background: #fafbfc; }
.rsx-ronda i { font-style: normal; font-size: 11.5px; font-weight: 700; color: #6b4ab0; background: #efe9fb; border-radius: 6px; padding: 1px 6px; margin-right: 4px; }
.rsx-comp { color: #8a5108; font-size: 13px; }
.rsx-pill { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.rsx-pill.ambar { background: #fdf0d8; color: #8a5108; }
.rsx-pill.rojo { background: #fde4e6; color: #b4232e; }
.rsx-pill.verde { background: #e3f4ec; color: #17714a; }
.rsx-acta { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #4a5d70; white-space: nowrap; }
.rsx-acta .tb-ico { width: 13px; height: 13px; }
.rsx-ayuda { font-size: 13px; margin: 10px 4px 0; }
.rsx-der { padding: 20px 22px; }
.rsx-der-cab { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid #edf0f4; }
.rsx-der-ico { width: 50px; height: 50px; border-radius: 50%; background: #eaf3fb; color: #0057C7; display: grid; place-items: center; flex: none; }
.rsx-der-ico .tb-ico { width: 24px; height: 24px; }
.rsx-der-cab h3 { margin: 0; flex: 1; font-size: 24px; color: #10283d; }
.rsx-datos { display: grid; grid-template-columns: 1fr 1fr; margin: 16px 0; }
.rsx-datos > div { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rsx-datos > div:first-child { padding-right: 16px; border-right: 1px solid #edf0f4; }
.rsx-datos > div:last-child { padding-left: 16px; }
.rsx-dato { display: flex; gap: 12px; align-items: flex-start; }
.rsx-dato > .tb-ico { width: 22px; height: 22px; color: #33475b; flex: none; margin-top: 2px; }
.rsx-dato > div { display: flex; flex-direction: column; min-width: 0; }
.rsx-dato small { font-size: 13px; color: #5b6b7b; }
.rsx-dato b { font-size: 15px; color: #10283d; font-weight: 500; overflow-wrap: anywhere; }
.rsx-dato select { margin-top: 2px; max-width: 100%; }
.rsx-detalle, .rsx-fotos { margin: 0 0 0 34px; font-size: 13px; color: #4a5d70; }
.rsx-ver { align-self: flex-start; margin-left: 34px; }
.rsx-info { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 14px; background: #eaf3fb; border: 1px solid #cfe2f2; }
.rsx-info > div { display: flex; flex-direction: column; }
.rsx-info b { font-size: 15px; color: #101B2F; }
.rsx-info span { font-size: 13.5px; color: #4a5d70; }
.rsx-info.rojo { background: #fdf0f1; border-color: #f4cdd2; }
.rsx-info.rojo .rcx-aviso-ico { background: #d63c46; font-style: normal; font-family: inherit; }
.rsx-info.rojo b { color: #b4232e; }
.rsx-info.verde { background: #e9f7f0; border-color: #cdebdc; }
.rsx-info.verde .rcx-aviso-ico { background: #2f9e6a; font-style: normal; font-family: inherit; }
.rsx-info.verde b { color: #17714a; }
.rsx-nota-acta { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 13.5px; color: #4a5d70; }
.rsx-nota-acta .tb-ico { width: 17px; height: 17px; }
.rsx-como { display: flex; align-items: center; gap: 10px; margin: 18px 0 12px; padding-top: 16px; border-top: 1px solid #edf0f4; font-size: 18px; color: #10283d; }
.rsx-como .tb-ico { width: 24px; height: 24px; color: #101B2F; }
.rsx-opciones { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rsx-op { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; cursor: pointer; border: 2px solid transparent; }
.rsx-op input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: #101B2F; }
.rsx-op span { display: flex; flex-direction: column; }
.rsx-op b { font-size: 16px; color: #10283d; }
.rsx-op small { font-size: 13px; color: #4a5d70; }
.rsx-op.aplicar { background: #fff6e5; }
.rsx-op.perdonar { background: #eaf7f1; }
.rsx-op.aplicar.activo { border-color: #e0a82e; }
.rsx-op.perdonar.activo { border-color: #2f9e6a; }
.rsx-campos { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px; margin-top: 14px; }
.rsx-campos label { display: flex; flex-direction: column; gap: 6px; }
.rsx-campos label > span:first-child { font-size: 13.5px; font-weight: 700; color: #1d3246; }
.rsx-campos em { font-style: normal; font-weight: 400; color: #5b6b7b; }
.rsx-pesos { display: flex; border: 1px solid #d9e1e8; border-radius: 12px; overflow: hidden; background: #fff; }
.rsx-pesos b { display: grid; place-items: center; padding: 0 14px; background: #f3f6f9; color: #33475b; border-right: 1px solid #d9e1e8; }
.rsx-pesos input { border: 0; border-radius: 0; flex: 1; min-width: 0; padding: 10px 12px; font-size: 15px; box-shadow: none; }
.rsx-pesos input:disabled { background: #f6f8fa; }
.rsx-motivo textarea { border: 1px solid #d9e1e8; border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 14.5px; resize: vertical; min-height: 84px; }
.rsx-guardar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.rsx-guardar .mpx-abrir { width: auto; padding: 13px 26px; }
.rsx-guardar .mpx-abrir:disabled { background: #c3ccd5; box-shadow: none; cursor: default; }
.rsx-guardar .mpx-btn2 { width: auto; padding: 11px 20px; }
.rsx-pie { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #2f7fd1; }
.rsx-pie .tb-ico { width: 16px; height: 16px; }
@media (max-width: 1099px) {
  .rsx { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .rsx-nueva { flex: 1 1 100%; justify-content: center; }
  .rsx-cab { display: none !important; }
  .rsx-fila { grid-template-columns: 84px minmax(0, 1fr) 12px; row-gap: 4px; padding: 12px 14px; }
  .rsx-fila > span:nth-child(3), .rsx-fila > span:nth-child(4) { grid-column: 2; }
  .rsx-fila > .rhx-chev { grid-column: 3; grid-row: 1; }
  .rsx-der { padding: 16px; }
  .rsx-der-cab h3 { font-size: 20px; }
  .rsx-datos, .rsx-opciones, .rsx-campos { grid-template-columns: minmax(0, 1fr); }
  .rsx-datos > div:first-child { padding-right: 0; border-right: 0; padding-bottom: 12px; }
  .rsx-datos > div:last-child { padding-left: 0; }
  .rsx-guardar .mpx-abrir { width: 100%; }
}
/* ===== 📄 Rondas · Actas (1/nov/2026, diseño 118; actas.js tabActas) ===== */
.rax-personas { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.rax-persona { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid #e3e8ee; background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: #1d3246; cursor: pointer; box-shadow: 0 2px 6px rgba(16, 32, 48, .04); }
.rax-persona .tb-ico { width: 16px; height: 16px; }
.rax-persona em { font-style: normal; font-size: 11.5px; font-weight: 800; color: #8a5108; background: #fdf0d8; border-radius: 999px; padding: 1px 8px; }
.rax-persona em.verde { color: #17714a; background: #e3f4ec; }
.rax-persona.activo { background: linear-gradient(135deg, #0057C7, #101B2F); border-color: #101B2F; color: #fff; }
.rax { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); padding: 24px; margin: 0 0 16px; }
.rax-izq { padding-right: 24px; border-right: 1px solid #edf0f4; min-width: 0; }
.rax-der { padding-left: 24px; min-width: 0; }
.rax-quien { display: flex; gap: 20px; align-items: center; }
.rax-avatar { width: 96px; height: 96px; border-radius: 50%; background: #dceefa; color: #0057C7; display: grid; place-items: center; flex: none; }
.rax-avatar .tb-ico { width: 46px; height: 46px; }
.rax-avatar.gris { width: 80px; height: 80px; background: #eef1f4; color: #5b6b7b; }
.rax-avatar.gris .tb-ico { width: 36px; height: 36px; }
.rax-quien h2 { margin: 0; font-size: 32px; line-height: 1.15; color: #10283d; overflow-wrap: anywhere; }
.rax-quien h3 { margin: 4px 0 6px; font-size: 24px; font-weight: 500; color: #101B2F; }
.rax-quien p { margin: 0; font-size: 15px; color: #4a5d70; }
.rax-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.rax-kpis > div { display: flex; gap: 12px; align-items: flex-start; padding: 18px 16px; border-radius: 16px; min-width: 0; }
.rax-kpis > div > span { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.rax-kpis > div > span .tb-ico { width: 28px; height: 28px; }
.rax-kpis > div > div { display: flex; flex-direction: column; min-width: 0; }
.rax-kpis strong { font-size: 30px; line-height: 1.1; color: #10283d; overflow-wrap: anywhere; }
.rax-kpis b { font-size: 15px; color: #10283d; }
.rax-kpis small { font-size: 13.5px; color: #4a5d70; margin-top: 4px; }
.rax-kpis .azul { background: #eaf3fb; }
.rax-kpis .azul > span { background: #cfe2f2; color: #0057C7; }
.rax-kpis .verde { background: #eaf7f1; }
.rax-kpis .verde > span { background: #cdebdc; color: #17714a; }
.rax-kpis .ambar { background: #fff6e5; }
.rax-kpis .ambar > span { background: #fde7b8; color: #8a5108; }
.rax-estado { border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.rax-estado.ambar { background: #fff6e0; }
.rax-estado.azul { background: #eaf3fb; }
.rax-estado.verde { background: #e9f7f0; }
.rax-estado.gris { background: #f3f5f8; }
.rax-estado-cab { display: flex; gap: 14px; align-items: flex-start; }
.rax-estado-ico { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #fbe3a8; color: #8a5108; }
.rax-estado.azul .rax-estado-ico { background: #cfe2f2; color: #0057C7; }
.rax-estado.verde .rax-estado-ico { background: #cdebdc; color: #17714a; }
.rax-estado.gris .rax-estado-ico { background: #e3e8ee; color: #4a5d70; }
.rax-estado-ico .tb-ico { width: 24px; height: 24px; }
.rax-estado-cab h3 { margin: 0; font-size: 21px; color: #10283d; }
.rax-estado-cab p { margin: 4px 0 0; font-size: 14px; color: #4a5d70; }
.rax-pasos { display: grid; grid-template-columns: repeat(3, 1fr); }
.rax-paso { display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; text-align: center; }
.rax-paso::before { content: ''; position: absolute; top: 16px; left: -50%; width: 100%; height: 3px; background: #d7dde3; z-index: 0; }
.rax-paso:first-child::before { display: none; }
.rax-paso.hecho::before, .rax-paso.actual::before { background: #e0a82e; }
.rax-paso span { width: 34px; height: 34px; border-radius: 50%; background: #c3ccd5; color: #fff; font-weight: 800; display: grid; place-items: center; position: relative; z-index: 1; }
.rax-paso.actual span { background: #e0a82e; }
.rax-paso.hecho span { background: #2f9e6a; }
.rax-paso b { font-size: 14px; color: #1d3246; }
.rax-paso:not(.actual):not(.hecho) b { color: #5b6b7b; font-weight: 600; }
.rax-botones { display: flex; flex-direction: column; gap: 10px; }
.rax-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 16px; border-radius: 14px; border: 1px solid #e3e8ee; background: #fff; font: inherit; font-size: 15px; font-weight: 700; color: #10283d; text-align: left; cursor: pointer; box-shadow: 0 2px 6px rgba(16, 32, 48, .05); }
.rax-btn .tb-ico { width: 20px; height: 20px; }
.rax-btn > span { margin-left: auto; display: grid; }
.rax-btn.ambar { background: #f1c34a; border-color: #e5b232; }
.rax-btn.azul { background: linear-gradient(135deg, #0057C7, #101B2F); border-color: #101B2F; color: #fff; }
.rax-btn:disabled { background: #eef1f4; border-color: #e3e8ee; color: #8796a5; cursor: default; box-shadow: none; }
.rax-botones small { text-align: center; font-size: 13px; color: #4a5d70; }
.rax-botones > .btn { justify-content: center; }
.rax-nota { font-size: 13.5px; color: #4a5d70; margin: 0 0 12px; }
.rax-estado .rax-nota { margin: 0; }
.rax-caja { padding: 20px 22px; margin: 0 0 16px; }
.rax-vacio { display: flex; align-items: center; gap: 18px; }
.rax-vacio > div { display: flex; flex-direction: column; }
.rax-vacio b { font-size: 17px; color: #10283d; }
.rax-vacio span { font-size: 14px; color: #4a5d70; }
.rax-emitidas-cab { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.rax-emitidas-cab h3 { margin: 0; font-size: 22px; color: #10283d; }
.rax-emitidas-cab p { margin: 4px 0 0; font-size: 14px; }
.rax-emitidas-cab .spacer { flex: 1; }
.rax-textos { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; font-weight: 700; color: #101B2F; }
.rax-textos .tb-ico { width: 18px; height: 18px; }
.rax-vacio-actas { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 10px 0 6px; }
.rax-vacio-actas > div { display: flex; flex-direction: column; }
.rax-vacio-actas strong { font-size: 32px; color: #10283d; line-height: 1.1; }
.rax-vacio-actas b { font-size: 16px; color: #10283d; }
.rax-vacio-actas span { font-size: 14px; color: #4a5d70; max-width: 380px; }
.rax-todas { margin-top: 14px; }
.rax-todas summary { cursor: pointer; font-size: 14px; font-weight: 700; color: #101B2F; margin-bottom: 10px; }
@media (max-width: 1099px) {
  .rax { grid-template-columns: minmax(0, 1fr); }
  .rax-izq { padding: 0 0 20px; border-right: 0; border-bottom: 1px solid #edf0f4; }
  .rax-der { padding: 20px 0 0; }
}
@media (max-width: 760px) {
  .rax { padding: 16px; }
  .rax-quien { gap: 14px; }
  .rax-avatar { width: 64px; height: 64px; }
  .rax-avatar .tb-ico { width: 30px; height: 30px; }
  .rax-quien h2 { font-size: 23px; }
  .rax-quien h3 { font-size: 18px; }
  .rax-kpis { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .rax-kpis > div > span { width: 48px; height: 48px; }
  .rax-kpis strong { font-size: 24px; }
  .rax-caja { padding: 16px; }
  .rax-emitidas-cab { flex-wrap: wrap; }
  .rax-vacio-actas { flex-direction: column; text-align: center; }
}
/* ===== 🏛️ Reuniones del comité (1/nov/2026, diseño 125; app.js vistaReuniones) ===== */
.rex-cabeza { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin: 4px 0 16px; }
.rex-cabeza .spacer { flex: 1; }
.rex-ceja { display: block; font-size: 15px; color: #4a5d70; margin-bottom: 2px; }
.rex-fecha { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 62px; min-height: 66px; padding: 6px 4px; border-radius: 14px; background: #eef3f8; color: #10283d; flex: none; line-height: 1.1; }
.rex-fecha b { font-size: 22px; font-weight: 800; }
.rex-fecha small { font-size: 11.5px; font-weight: 800; letter-spacing: .5px; color: #1d3246; }
.rex-fecha em { font-size: 11.5px; font-style: normal; color: #4a5d70; }
.rex-fecha.grande { width: 104px; min-height: 120px; border-radius: 18px; background: #dcefe9; }
.rex-fecha.grande b { font-size: 46px; }
.rex-fecha.grande small { font-size: 20px; }
.rex-fecha.grande em { font-size: 17px; margin-top: 4px; }
.rex-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 22px 26px; margin-bottom: 18px; border-radius: 22px; background: linear-gradient(120deg, #eaf7f3, #f2f8fb 70%); border: 1px solid #cfe9e1; box-shadow: 0 10px 24px rgba(16, 32, 48, .06); }
.rex-hero-txt { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.rex-hero-tit { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rex-hero-tit h2 { margin: 0; font-size: 26px; color: #10283d; }
.rex-estado { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; background: #eef1f4; color: #4a5d70; }
.rex-estado i { width: 10px; height: 10px; border-radius: 50%; background: currentColor; display: inline-block; }
.rex-estado.verde { background: #d9f3e6; color: #17714a; }
.rex-estado.azul { background: #dceefa; color: #101B2F; }
.rex-estado.mini { padding: 3px 10px; font-size: 12px; }
.rex-hero-datos { display: flex; flex-wrap: wrap; }
.rex-hero-datos > div { display: flex; gap: 10px; align-items: flex-start; padding: 0 22px; border-left: 1px solid #d6e6e2; min-width: 0; }
.rex-hero-datos > div:first-child { padding-left: 0; border-left: 0; }
.rex-hero-datos .tb-ico { width: 22px; height: 22px; color: #33475b; flex: none; margin-top: 2px; }
.rex-hero-datos span { display: flex; flex-direction: column; min-width: 0; }
.rex-hero-datos small { font-size: 13px; color: #4a5d70; }
.rex-hero-datos b { font-size: 14.5px; color: #10283d; font-weight: 600; }
.rex-hero-btns { display: flex; flex-direction: column; gap: 10px; min-width: 270px; padding-left: 24px; border-left: 1px solid #d6e6e2; }
.rex-hero-btns .mpx-abrir, .rex-hero-btns .mpx-btn2 { text-decoration: none; }
.rex { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.rex .panel { margin: 0; }
.rex-archivo { padding: 20px 22px; }
.rex-archivo h3 { margin: 0 0 12px; font-size: 22px; color: #10283d; }
.rex-filtros { display: flex; gap: 10px; flex-wrap: wrap; }
.rex-buscar { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border: 1px solid #e3e8ee; border-radius: 14px; background: #fff; }
.rex-buscar .tb-ico { width: 18px; height: 18px; color: #5b6b7b; flex: none; }
.rex-buscar input { flex: 1; border: 0; background: transparent; font-size: 14.5px; padding: 0; min-width: 0; box-shadow: none; outline: none; }
.rex-filtros select { height: 46px; min-width: 150px; padding: 0 34px 0 14px; border: 1px solid #e3e8ee; border-radius: 14px; background-color: #fff; font: inherit; font-size: 14.5px; color: #10283d; }
.rex-lista { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.rex-fila { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; gap: 14px; align-items: center; padding: 8px 10px 8px 8px; border: 1px solid #e6ebf1; border-radius: 16px; background: #fff; cursor: pointer; }
.rex-fila:hover { border-color: #b9d3df; }
.rex-fila.activo { background: #eaf7f3; border-color: #bfe3d8; }
.rex-fila-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rex-fila-txt b { font-size: 16px; color: #10283d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rex-fila-txt span { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: #4a5d70; }
.rex-fila-txt .tb-ico { width: 15px; height: 15px; }
.rex-fila-txt em { font-style: normal; }
.rex-abrir { padding: 8px 18px; border-radius: 12px; font-weight: 700; color: #101B2F; background: #eaf3fb; border-color: #d5e6f3; }
.rex-mas { position: relative; }
.rex-mas-btn { width: 34px; height: 34px; border: 0; border-radius: 10px; background: transparent; font-size: 20px; line-height: 1; color: #33475b; cursor: pointer; box-shadow: none; padding: 0; }
.rex-mas-btn:hover { background: #f1f4f7; }
.rex-menu .peligro { color: #b4232e; }
.rex-menu .peligro .tb-ico { color: #b4232e; }
.rex-der { padding: 22px 24px; }
.rex-der-cab { display: flex; align-items: flex-start; gap: 14px; justify-content: space-between; }
.rex-der-cab h2 { margin: 0; font-size: 26px; color: #10283d; }
.rex-der-cab h3 { margin: 4px 0 0; font-size: 19px; font-weight: 500; color: #33475b; }
.rex-der-datos { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px; margin-top: 16px; padding: 14px 0; border-top: 1px solid #edf0f4; border-bottom: 1px solid #edf0f4; }
.rex-der-datos > div { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.rex-der-datos .tb-ico { width: 22px; height: 22px; color: #33475b; flex: none; margin-top: 2px; }
.rex-der-datos span { display: flex; flex-direction: column; min-width: 0; }
.rex-der-datos small { font-size: 13px; color: #4a5d70; }
.rex-der-datos b { font-size: 14.5px; color: #10283d; font-weight: 500; overflow-wrap: anywhere; }
.rex-sub { margin: 16px 0 10px; font-size: 15.5px; color: #10283d; }
.rex-gente { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.rex-persona { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 82px; text-align: center; }
.rex-persona i { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 16px; background: #dceefa; color: #101B2F; }
.rex-persona i.verde { background: #d9f3e6; color: #17714a; }
.rex-persona i.violeta { background: #ece6fb; color: #5b3fa6; }
.rex-persona i.teal { background: #d7f0f0; color: #17646a; }
.rex-persona i.ambar { background: #fdf0d8; color: #8a5108; }
.rex-persona i.rosa { background: #fbe3ee; color: #9b2c5a; }
.rex-persona small { font-size: 12.5px; color: #33475b; line-height: 1.25; }
.rex-notas { margin: 0; padding: 10px 12px; border-radius: 12px; background: #f6f8fa; font-size: 14px; color: #33475b; white-space: pre-wrap; }
.rex-docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rex-doc { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; border-radius: 14px; border: 1px solid #e3e8ee; background: #f8fafc; font: inherit; font-size: 15px; font-weight: 700; color: #101B2F; text-decoration: none; cursor: pointer; box-shadow: none; }
.rex-doc:hover { border-color: #b9d3df; background: #f1f7fb; }
.rex-doc .tb-ico { width: 22px; height: 22px; color: #0057C7; }
.rex-pista { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13px; color: #4a5d70; }
.rex-pista .tb-ico { width: 17px; height: 17px; }
.rex-botones { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 16px; }
.rex-botones .mpx-abrir, .rex-botones .mpx-btn2 { text-decoration: none; }
@media (max-width: 1199px) {
  .rex-hero { grid-template-columns: auto minmax(0, 1fr); }
  .rex-hero-btns { grid-column: 1 / -1; flex-direction: row; padding-left: 0; border-left: 0; min-width: 0; }
  .rex-hero-btns > * { flex: 1; }
}
@media (max-width: 1099px) {
  .rex { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .rex-hero { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 14px; }
  .rex-fecha.grande { width: 100%; min-height: 0; flex-direction: row; gap: 10px; padding: 10px; }
  .rex-fecha.grande b { font-size: 30px; }
  .rex-fecha.grande small, .rex-fecha.grande em { font-size: 16px; margin: 0; }
  .rex-hero-tit h2 { font-size: 20px; }
  .rex-hero-datos { flex-direction: column; gap: 10px; }
  .rex-hero-datos > div { padding: 0; border-left: 0; }
  .rex-hero-btns { flex-direction: column; }
  .rex-archivo, .rex-der { padding: 16px; }
  .rex-fila { grid-template-columns: auto minmax(0, 1fr) auto; }
  .rex-fila > .rex-estado, .rex-fila > .rex-abrir { display: none; }
  .rex-der-cab { flex-direction: column; }
  .rex-der-cab h2 { font-size: 21px; }
  .rex-der-datos, .rex-docs, .rex-botones { grid-template-columns: minmax(0, 1fr); }
  .rex-fila-txt b { white-space: normal; }
}
/* ===== 🗂️ La reunión en curso (1/nov/2026, diseño 126; junta.js pintarJunta) ===== */
body.en-junta #banner-reunion { display: none !important; }
.jgx-cabeza { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 4px 0 14px; }
.jgx-cabeza .spacer { flex: 1; }
.jgx-cabeza-txt { min-width: 0; }
.jgx-tit { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.jgx-tit h1 { margin: 0; font-size: 32px; line-height: 1.15; font-weight: 800; color: #10283d; letter-spacing: -.4px; }
.jgx-fecha { font-size: 19px; color: #4a5d70; }
.jgx-mas { width: 46px; height: 46px; padding: 0; border-radius: 14px; font-size: 22px; line-height: 1; }
.jgx-progreso { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 16px 22px; margin: 0 0 16px; }
.jgx-progreso > b { font-size: 17px; color: #10283d; }
.jgx-barra { flex: 1 1 220px; max-width: 380px; height: 12px; border-radius: 99px; background: #e3e8ee; overflow: hidden; }
.jgx-barra i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2f7fd1, #0057C7); border-radius: 99px; transition: width .3s; }
.jgx-progreso > span { font-size: 15px; color: #33475b; padding-left: 22px; border-left: 1px solid #e3e8ee; }
.jgx-progreso > span b { color: #10283d; }
.jgx-progreso > span:first-of-type { border-left: 0; padding-left: 0; }
.jgx { display: grid; grid-template-columns: 270px minmax(0, 1fr) 258px; gap: 16px; align-items: start; }
.jgx .panel { margin: 0; }
.jgx-agenda { padding: 16px 14px; }
.jgx-agenda h3 { margin: 0 0 12px; font-size: 19px; color: #10283d; }
.jgx-buscar, .jgx-sel { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border: 1px solid #e3e8ee; border-radius: 12px; background: #fff; margin-bottom: 8px; }
.jgx-buscar .tb-ico, .jgx-sel .tb-ico { width: 17px; height: 17px; color: #5b6b7b; flex: none; }
.jgx-buscar input, .jgx-sel select { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 14px; padding: 0; box-shadow: none; outline: none; color: #10283d; }
.jgx-ocultar { font-size: 13px; margin: 2px 0 4px; }
.jgx-lista { display: flex; flex-direction: column; }
.jgx-sec { margin-top: 10px; }
.jgx-sec-cab { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 6px 4px; border: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 800; color: #10283d; text-align: left; cursor: pointer; box-shadow: none; }
.jgx-sec-cab em { font-style: normal; font-weight: 600; color: #5b6b7b; }
.jgx-sec.urgente .jgx-sec-cab { color: #c8323d; }
.jgx-chev { font-size: 20px; color: #5b6b7b; display: inline-block; transition: transform .15s; flex: none; }
.jgx-sec-cab .jgx-chev { transform: rotate(-90deg); }
.jgx-sec.plegada .jgx-sec-cab .jgx-chev { transform: rotate(90deg); }
.jgx-items { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.jgx-item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 8px 10px 12px; border: 0; border-left: 4px solid transparent; border-radius: 12px; background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; box-shadow: none; }
.jgx-item:hover { background: #f4f7fa; }
.jgx-item.activo { background: #eaf3fb; border-left-color: #2f7fd1; }
.jgx-sec.urgente .jgx-item.activo { border-left-color: #d63c46; }
.jgx-item.revisado .jgx-item-txt { opacity: .62; }
.jgx-item-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.jgx-item-txt b { font-size: 14px; color: #10283d; }
.jgx-item-txt > span { font-size: 13.5px; color: #33475b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jgx-item-txt small { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: #5b6b7b; }
.jgx-item-txt small .tb-ico { width: 13px; height: 13px; }
.jgx-ok { width: 22px; height: 22px; border-radius: 50%; background: #2f9e6a; color: #fff; font-style: normal; font-size: 12px; font-weight: 800; display: grid; place-items: center; flex: none; }
.jgx-centro { padding: 20px 22px; min-width: 0; }
.jgx-asunto-cab { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.jgx-asunto-ico { width: 56px; height: 56px; border-radius: 14px; background: #eaf3fb; color: #0057C7; display: grid; place-items: center; flex: none; }
.jgx-asunto-ico .tb-ico { width: 28px; height: 28px; }
.jgx-asunto-txt { flex: 1; min-width: 200px; }
.jgx-asunto-txt h2 { margin: 0; font-size: 24px; color: #10283d; }
.jgx-asunto-txt p { margin: 2px 0 0; font-size: 16.5px; color: #33475b; }
.jgx-datos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 16px 0 10px; }
.jgx-datos > div { display: flex; gap: 10px; align-items: flex-start; padding: 0 14px; border-left: 1px solid #edf0f4; min-width: 0; }
.jgx-datos > div:first-child { padding-left: 0; border-left: 0; }
.jgx-datos .tb-ico { width: 20px; height: 20px; color: #33475b; flex: none; margin-top: 2px; }
.jgx-datos span { display: flex; flex-direction: column; min-width: 0; }
.jgx-datos small { font-size: 12.5px; color: #5b6b7b; }
.jgx-datos b { font-size: 14px; color: #10283d; font-weight: 600; overflow-wrap: anywhere; }
.jgx-datos b.rojo { color: #c8323d; }
.jgx-av { align-items: center !important; }
.jgx-anillo { width: 44px; height: 44px; border-radius: 50%; flex: none; background: conic-gradient(#2f9e6a calc(var(--p) * 1%), #e3e8ee 0); display: grid; place-items: center; }
.jgx-anillo::after { content: ''; width: 32px; height: 32px; border-radius: 50%; background: #fff; }
.jgx-av b { font-size: 18px; }
.jgx-avisos { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.jgx-avisos span { font-size: 12.5px; font-weight: 700; color: #8a5108; background: #fdf0d8; border-radius: 999px; padding: 3px 10px; }
.jgx-ficha { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; font-weight: 700; color: #101B2F; margin: 6px 0 12px; }
.jgx-ficha .tb-ico { width: 17px; height: 17px; }
.jgx-ultimo { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: #f3f6f9; border: 1px solid #e6ebf1; }
.jgx-ultimo > .tb-ico { width: 20px; height: 20px; color: #33475b; flex: none; margin-top: 2px; }
.jgx-ultimo b { font-size: 14.5px; color: #10283d; }
.jgx-ultimo p { margin: 4px 0 0; font-size: 14px; color: #33475b; }
.jgx-decidido { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin-top: 10px; border-radius: 14px; background: #e9f7f0; border: 1px solid #cdebdc; }
.jgx-decidido > .tb-ico { width: 20px; height: 20px; color: #17714a; flex: none; margin-top: 2px; }
.jgx-decidido > div { display: flex; flex-direction: column; }
.jgx-decidido b { font-size: 14.5px; color: #17714a; }
.jgx-decidido span { font-size: 13.5px; color: #33475b; }
.jgx-acuerdo { border: 1px solid #e6ebf1; border-radius: 16px; padding: 16px; margin-top: 14px; }
.jgx-acuerdo-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.jgx-acuerdo-cab h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 19px; color: #10283d; }
.jgx-acuerdo-cab h3 .tb-ico { width: 22px; height: 22px; color: #33475b; }
.jgx-acuerdo textarea { width: 100%; box-sizing: border-box; min-height: 104px; padding: 12px 14px; border: 1px solid #d9e1e8; border-radius: 12px; font: inherit; font-size: 15px; resize: vertical; }
.jgx-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 12px; }
.jgx-campos label { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.jgx-campos label > span:first-child { font-size: 14px; font-weight: 700; color: #1d3246; }
.jgx-campos em { font-style: normal; font-weight: 400; color: #5b6b7b; }
.jgx-campo { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 12px; border: 1px solid #d9e1e8; border-radius: 12px; background: #fff; }
.jgx-campo .tb-ico { width: 18px; height: 18px; color: #5b6b7b; flex: none; }
.jgx-campo select, .jgx-campo input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 14.5px; padding: 0; box-shadow: none; outline: none; color: #10283d; }
.jgx-nota { margin: 0; padding: 10px 12px; border-radius: 10px; background: #f6f8fa; font-size: 13.5px; color: #4a5d70; align-self: end; }
.jgx-botones { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.jgx-guardar { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border: 0; border-radius: 12px; background: #2563d6; color: #fff; font: inherit; font-size: 15.5px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 18px rgba(37, 99, 214, .28); }
.jgx-guardar:disabled { background: #9db6e6; box-shadow: none; cursor: default; }
.jgx-guardar .tb-ico { width: 18px; height: 18px; }
.jgx-saltar, .jgx-mas-acc { display: inline-flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 12px; font-weight: 600; }
.jgx-saltar .tb-ico { width: 16px; height: 16px; }
.jgx-botones .rnx-mas { margin-left: auto; }
.jgx-menu-acc { min-width: 240px; }
.jgx-form { border: 1px solid #e6ebf1; border-radius: 14px; padding: 14px 16px; margin-top: 12px; background: #fbfcfd; }
.jgx-form h4 { margin: 0 0 10px; font-size: 16px; color: #10283d; }
.jgx-registro { padding: 18px 16px; }
.jgx-reg-cab { display: flex; gap: 12px; align-items: flex-start; }
.jgx-reg-ico { width: 46px; height: 46px; border-radius: 12px; background: #eef3f8; color: #33475b; display: grid; place-items: center; flex: none; }
.jgx-reg-ico .tb-ico { width: 24px; height: 24px; }
.jgx-reg-cab h3 { margin: 0; font-size: 19px; color: #10283d; }
.jgx-reg-cab p { margin: 4px 0 0; font-size: 13.5px; color: #4a5d70; }
.jgx-pasos { display: flex; flex-direction: column; gap: 6px; margin: 18px 0; position: relative; }
.jgx-paso { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 10px 12px 26px; border: 0; border-radius: 14px; background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; box-shadow: none; position: relative; }
.jgx-paso:hover { background: #f4f7fa; }
.jgx-paso.activo { background: #eaf3fb; }
.jgx-paso > i { position: absolute; left: 6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; border: 2px solid #b9c4cf; background: #fff; }
.jgx-paso.activo > i { background: #2f7fd1; border-color: #2f7fd1; }
.jgx-paso + .jgx-paso::before { content: ''; position: absolute; left: 11px; top: -36%; height: 72%; width: 2px; background: #dfe5eb; }
.jgx-paso-ico { width: 34px; display: grid; place-items: center; color: #101B2F; flex: none; }
.jgx-paso-ico .tb-ico { width: 24px; height: 24px; }
.jgx-paso > span:last-child { display: flex; flex-direction: column; }
.jgx-paso b { font-size: 15px; color: #10283d; }
.jgx-paso small { font-size: 12.5px; color: #5b6b7b; }
.jgx-reg-info { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px; border-radius: 12px; background: #f3f6f9; border: 1px solid #e6ebf1; font-size: 13px; color: #4a5d70; }
.jgx-reg-info .tb-ico { width: 18px; height: 18px; flex: none; color: #33475b; }
.jgx-vista-cab { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.jgx-vista-cab h2 { margin: 0; font-size: 22px; color: #10283d; }
.jgx-acuerdos { display: flex; flex-direction: column; gap: 8px; }
.jgx-acu { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 1px solid #e6ebf1; border-radius: 14px; background: #fff; font: inherit; color: inherit; text-align: left; cursor: pointer; box-shadow: none; }
.jgx-acu:hover { border-color: #b9d3df; background: #f6fafc; }
.jgx-acu > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.jgx-acu b { font-size: 14px; color: #10283d; }
.jgx-acu small { font-size: 13px; color: #4a5d70; }
.jgx-acu-tipo { font-size: 12px; font-weight: 800; color: #101B2F; background: #dceefa; border-radius: 999px; padding: 3px 10px; white-space: nowrap; flex: none; }
.jgx-resumen { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; margin-bottom: 14px; }
.jgx-resumen > div { display: flex; flex-direction: column; align-items: center; padding: 10px 6px; border-radius: 12px; background: #f3f6f9; }
.jgx-resumen strong { font-size: 24px; color: #10283d; }
.jgx-resumen span { font-size: 12.5px; color: #4a5d70; text-align: center; }
.jgx-resumen .falta { background: #fff6e5; }
.jgx-min-sec { margin: 14px 0 6px; font-size: 15px; color: #10283d; }
.jgx-min-it { margin: 0 0 6px; font-size: 14px; color: #33475b; }
.jgx-descargar { margin-top: 14px; width: auto; text-decoration: none; }
@media (max-width: 1399px) {
  .jgx { grid-template-columns: 250px minmax(0, 1fr) 236px; }
  .jgx-datos { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; }
  .jgx-datos > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 1099px) {
  .jgx { grid-template-columns: minmax(0, 1fr); }
  .jgx-centro { order: 1; }
  .jgx-agenda { order: 2; }
  .jgx-registro { order: 3; }
}
@media (max-width: 760px) {
  .jgx-tit h1 { font-size: 23px; }
  .jgx-fecha { font-size: 15px; }
  .jgx-progreso { gap: 10px 14px; padding: 14px; }
  .jgx-progreso > span { padding-left: 0; border-left: 0; font-size: 14px; }
  .jgx-barra { flex-basis: 100%; max-width: none; }
  .jgx-centro, .jgx-agenda, .jgx-registro { padding: 14px; }
  .jgx-asunto-txt h2 { font-size: 20px; }
  .jgx-campos { grid-template-columns: minmax(0, 1fr); }
  .jgx-botones .jgx-guardar, .jgx-botones .jgx-saltar { width: 100%; justify-content: center; }
  .jgx-botones .rnx-mas { margin-left: 0; width: 100%; }
  .jgx-mas-acc { width: 100%; justify-content: center; }
}
/* ===== 📊 Pulso del condominio (1/nov/2026, diseños 123 y 124; graficas.js vistaGraficas) ===== */
.gfx-cabeza { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin: 4px 0 14px; }
.gfx-cabeza .spacer { flex: 1; }
.gfx-corte { font-size: 13.5px; color: #4a5d70; padding-bottom: 12px; }
.gfx-exportar { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 14px; font-size: 15px; font-weight: 700; color: #10283d; }
.gfx-exportar .tb-ico { width: 18px; height: 18px; transform: rotate(180deg); }
.rnx-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14.5px; color: #10283d; text-decoration: none; }
.rnx-menu a:hover { background: #f1f6fa; }
.rnx-menu a .tb-ico { width: 18px; height: 18px; color: #33475b; }
.gfx-tabsfila { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.gfx-tabsfila .gfx-tabs { margin-bottom: 0; }
.gfx-tabsfila > .spacer { flex: 1; }
.gfx-sel { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 12px 0 14px; background: #fff; border: 1px solid #e3e8ee; border-radius: 14px; box-shadow: 0 2px 8px rgba(16, 32, 48, .04); }
.gfx-sel .tb-ico { width: 19px; height: 19px; color: #33475b; flex: none; }
.gfx-sel select { border: 0; background-color: transparent; font: inherit; font-size: 14.5px; font-weight: 600; color: #10283d; min-height: 40px; box-shadow: none; max-width: 230px; }
.gfx-total { margin: 4px 0 14px; font-size: 15.5px; color: #4a5d70; }
.gfx-total b { color: #10283d; }
.gfx-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.gfx-kpi { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 18px; border: 1px solid #e6ebf1; background: #fff; box-shadow: 0 6px 16px rgba(16, 32, 48, .05); min-width: 0; }
.gfx-kpi > span { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; flex: none; }
.gfx-kpi > span .tb-ico { width: 30px; height: 30px; }
.gfx-kpi > div { display: flex; flex-direction: column; min-width: 0; }
.gfx-kpi strong { font-size: 38px; line-height: 1.05; font-weight: 800; color: #10283d; }
.gfx-kpi b { font-size: 16.5px; color: #10283d; }
.gfx-kpi small { font-size: 14px; color: #4a5d70; }
.gfx-kpi.azul { background: #f2f7fc; }
.gfx-kpi.azul > span { background: #d6e7f7; color: #0057C7; }
.gfx-kpi.rojo { background: #fdf2f3; border-color: #f6d6da; }
.gfx-kpi.rojo > span { background: #fbd5d9; color: #c8323d; }
.gfx-kpi.rojo strong, .gfx-kpi.rojo b { color: #b4232e; }
.gfx-kpi.celeste { background: #f2f7fd; }
.gfx-kpi.celeste > span { background: #dbeafb; color: #2f7fd1; }
.gfx-kpi.verde { background: #f0faf5; }
.gfx-kpi.verde > span { background: #cdebdc; color: #17714a; }
.gfx-link { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; font: inherit; font-size: 14.5px; font-weight: 700; color: #1f5fb8; cursor: pointer; box-shadow: none; }
.gfx-link .tb-ico { width: 16px; height: 16px; }
.gfx-dos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 16px; }
.gfx-dos .panel, .gfx-del { margin: 0; }
.gfx-caja { padding: 20px 22px; }
.gfx-caja-cab { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.gfx-caja-cab .spacer { flex: 1; }
.gfx-caja-cab > div:first-child { flex: 1 1 240px; min-width: 0; }
.gfx-caja-cab > .spacer + * { flex: none; }
.gfx-caja-cab h3 { margin: 0; font-size: 22px; color: #10283d; }
.gfx-caja-cab p { margin: 4px 0 0; font-size: 14px; }
.gfx-pill { display: inline-block; margin-top: 8px; padding: 5px 14px; border-radius: 999px; background: #eaf3fb; color: #101B2F; font-size: 15px; font-weight: 700; }
.gfx-barras { display: flex; flex-direction: column; gap: 8px; margin: 16px 0 12px; }
.gfx-barra { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; align-items: center; width: 100%; padding: 4px 6px; border: 0; border-radius: 10px; background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; box-shadow: none; }
.gfx-barra:hover { background: #f4f7fa; }
.gfx-barra-et { font-size: 15px; color: #1d3246; }
.gfx-barra-pista { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gfx-barra-pista i { display: block; height: 26px; border-radius: 4px; flex: none; max-width: calc(100% - 46px); }
.gfx-barra-pista b { font-size: 16px; }
.gfx-suma { margin: 0; padding: 10px 14px; border-radius: 12px; background: #f6f8fa; border: 1px solid #edf0f4; font-size: 14px; color: #33475b; }
.gfx-suma b { color: #10283d; }
.gfx-cerrados { display: flex; margin-top: 10px; border: 1px solid #e6ebf1; border-radius: 14px; overflow: hidden; }
.gfx-cerrados button { flex: 1; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 0; background: #fff; font: inherit; font-size: 15px; color: #1d3246; cursor: pointer; box-shadow: none; }
.gfx-cerrados button + button { border-left: 1px solid #e6ebf1; }
.gfx-cerrados button:hover { background: #f6f9fb; }
.gfx-cerrados .tb-ico { width: 22px; height: 22px; }
.gfx-cerrados button:first-child .tb-ico { color: #2f9e6a; }
.gfx-cerrados button:last-child .tb-ico { color: #8796a5; }
.gfx-cerrados b { margin-left: 8px; font-size: 16px; color: #10283d; }
.gfx-flujo { margin: 22px 0 12px; }
.gfx-flujo-fila { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; align-items: center; margin-bottom: 16px; }
.gfx-flujo-fila > span:first-child { font-size: 15.5px; color: #1d3246; }
.gfx-flujo-pista { display: flex; align-items: center; gap: 10px; }
.gfx-flujo-pista i { display: block; height: 38px; border-radius: 4px; flex: none; max-width: calc(100% - 50px); }
.gfx-flujo-pista b { font-size: 18px; color: #10283d; }
.gfx-flujo-eje { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; }
.gfx-flujo-marcas { position: relative; height: 20px; border-top: 1px solid #d9e1e8; margin-right: 40px; }
.gfx-flujo-marcas em { position: absolute; top: 4px; transform: translateX(-50%); font-style: normal; font-size: 13px; color: #4a5d70; }
.gfx-balance { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 16px; }
.gfx-balance.ambar { background: #fff6e0; }
.gfx-balance.verde { background: #e9f7f0; }
.gfx-balance.gris { background: #f3f5f8; }
.gfx-balance > span { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: rgba(224, 168, 46, .2); color: #b07a12; flex: none; }
.gfx-balance.verde > span { background: rgba(47, 158, 106, .18); color: #17714a; }
.gfx-balance > span .tb-ico { width: 28px; height: 28px; }
.gfx-balance strong { font-size: 40px; line-height: 1; color: #10283d; }
.gfx-balance p { margin: 0; font-size: 16px; color: #33475b; }
.gfx-balance p b { color: #10283d; }
.gfx-nota { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13.5px; color: #4a5d70; }
.gfx-nota .tb-ico { width: 18px; height: 18px; }
.gfx-detalle-cab { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 12px 0 6px; }
.gfx-nota-larga { margin: 6px 0 0; font-size: 12px; }
.gfx-del .gfx-caja-cab { align-items: baseline; }
.gfx-del-tarjetas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.gfx-del-tarjetas > div { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; min-width: 0; }
.gfx-del-tarjetas > div > span { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.gfx-del-tarjetas > div > span .tb-ico { width: 28px; height: 28px; }
.gfx-del-tarjetas > div > div { flex: 1; min-width: 0; }
.gfx-del-tarjetas p { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.gfx-del-tarjetas strong { font-size: 30px; line-height: 1.1; }
.gfx-del-tarjetas b { font-size: 15px; }
.gfx-del-tarjetas small { font-size: 13.5px; color: #4a5d70; }
.gfx-del-tarjetas .rojo { background: #fdf0f1; }
.gfx-del-tarjetas .rojo > span { color: #c8323d; }
.gfx-del-tarjetas .rojo strong, .gfx-del-tarjetas .rojo b { color: #b4232e; }
.gfx-del-tarjetas .ambar { background: #fff6e0; }
.gfx-del-tarjetas .ambar > span { color: #b07a12; }
.gfx-del-tarjetas .ambar strong, .gfx-del-tarjetas .ambar b { color: #8a5108; }
.gfx-del-tarjetas .azul { background: #eef4fd; }
.gfx-del-tarjetas .azul > span { color: #1f5fb8; }
.gfx-del-tarjetas .azul strong, .gfx-del-tarjetas .azul b { color: #101B2F; }
.gfx-ir { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border: 0; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 700; color: #fff; cursor: pointer; white-space: nowrap; flex: none; }
.gfx-ir .tb-ico { width: 15px; height: 15px; }
.gfx-ir.rojo { background: #c8323d; }
.gfx-ir.ambar { background: #c9902a; }
.gfx-ir.azul { background: #2563d6; }
@media (max-width: 1299px) {
  .gfx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gfx-del-tarjetas { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1099px) {
  .gfx-dos { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .gfx-corte { padding-bottom: 0; width: 100%; }
  .gfx-sel { width: 100%; }
  .gfx-sel select { flex: 1; max-width: none; }
  .gfx-kpi { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .gfx-kpi > span { width: 46px; height: 46px; }
  .gfx-kpi strong { font-size: 28px; }
  .gfx-kpi b { font-size: 14.5px; }
  .gfx-caja { padding: 16px; }
  .gfx-caja-cab h3 { font-size: 19px; }
  .gfx-barra { grid-template-columns: 118px minmax(0, 1fr); }
  .gfx-barra-et { font-size: 13.5px; }
  .gfx-flujo-fila, .gfx-flujo-eje { grid-template-columns: 72px minmax(0, 1fr); }
  .gfx-balance strong { font-size: 30px; }
  .gfx-del-tarjetas > div { flex-wrap: wrap; }
  .gfx-ir { width: 100%; justify-content: center; }
}
/* ---------- 🛠️ Gráficas · Mantenimiento preventivo (1/nov/2026, diseño 123 de Luis) ---------- */
.pvx-filtros { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 20px; margin-bottom: 14px; }
.pvx-filtros h2 { margin: 0; font-size: 21px; color: #10283d; }
.pvx-filtros .spacer { flex: 1; }
.pvx-campo { display: inline-flex; align-items: center; gap: 12px; margin: 0; }
.pvx-campo > span { font-size: 15px; color: #33475b; }
.pvx-campo select { height: 46px; min-width: 210px; padding: 0 14px; border: 1px solid #dfe5ec; border-radius: 10px; background-color: #fff; font: inherit; font-size: 14.5px; color: #10283d; box-shadow: none; }
.pvx-limpiar:disabled { color: #9aa8b5; cursor: default; }
.gfx-kpi.ambar { background: #fff8ea; border-color: #f4e3bf; }
.gfx-kpi.ambar > span { background: #fbe6bd; color: #a86d0c; }
.gfx-kpi.ambar strong, .gfx-kpi.ambar b { color: #8a5108; }
.gfx-kpi.gris { background: #f6f8fb; }
.gfx-kpi.gris > span { background: #e3eaf2; color: #4a5d70; }
.pvx-res p { margin: 0 0 4px; font-size: 16px; color: #10283d; }
.pvx-res p b { font-size: 18px; }
.gfx-kpi strong.pvx-dinero { font-size: 32px; }
.pvx-dos { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 16px; align-items: start; margin-bottom: 16px; }
.pvx-dos > .panel { margin: 0; }
.pvx-cuenta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 13.5px; color: #4a5d70; }
.pvx-eje { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 14px; padding: 0 10px; margin: 18px 0 2px; }
.pvx-eje > div { margin-right: 78px; text-align: center; }
.pvx-eje b { font-size: 14px; font-weight: 500; color: #33475b; }
.pvx-marcas { position: relative; height: 24px; }
.pvx-marcas em { position: absolute; top: 5px; transform: translateX(-50%); font-style: normal; font-size: 12.5px; color: #4a5d70; }
.pvx-filas { position: relative; display: flex; flex-direction: column; gap: 4px; }
.pvx-rejilla { position: absolute; top: 0; bottom: 0; left: 234px; right: 88px; pointer-events: none; }
.pvx-rejilla i { position: absolute; top: 0; bottom: 0; border-left: 1px solid #e8edf2; }
.pvx-fila { position: relative; display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 14px; align-items: center; width: 100%; padding: 6px 10px; border: 0; border-radius: 10px; background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; box-shadow: none; }
.pvx-fila:hover { background: rgba(236, 242, 247, .7); }
.pvx-fila.sel { background: #e6f5ee; }
.pvx-et { display: flex; flex-direction: column; min-width: 0; }
.pvx-et b, .pvx-et small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pvx-et b { font-size: 14.5px; color: #10283d; }
.pvx-et small { font-size: 12.5px; color: #5b6b7b; }
.pvx-pista { position: relative; height: 26px; margin-right: 78px; border-left: 1px solid #c9d3dd; }
.pvx-pista i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 0 3px 3px 0; }
.pvx-pista em { position: absolute; top: 50%; transform: translateY(-50%); margin-left: 8px; font-style: normal; font-weight: 700; font-size: 14px; white-space: nowrap; }
.pvx-leyenda { display: flex; gap: 8px 18px; flex-wrap: wrap; margin-top: 12px; padding-left: 10px; font-size: 12.5px; color: #4a5d70; }
.pvx-leyenda i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.pvx-vacio { text-align: center; padding: 34px 10px 20px; color: #4a5d70; font-size: 15px; }
.pvx-vacio .tb-ico { width: 34px; height: 34px; color: #2f9e6a; }
.pvx-vacio p { margin: 8px 0; }
.pvx-det h3 { margin: 0 0 14px; font-size: 22px; color: #10283d; }
.pvx-det-cab { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.pvx-det-ilu { width: 96px; height: 96px; border-radius: 16px; background: var(--f, #eef3f8); color: var(--c, #101B2F); display: grid; place-items: center; flex: none; }
.pvx-det-ilu .asu-ilu { width: 64px; height: 64px; }
.pvx-det-cab h4 { margin: 0; font-size: 20px; line-height: 1.25; color: #10283d; }
.pvx-det-cab p { margin: 3px 0 9px; font-size: 14px; color: #4a5d70; }
.pvx-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 15px; font-weight: 700; }
.pvx-pill .tb-ico { width: 18px; height: 18px; }
.pvx-pill.rojo { background: #fde4e6; color: #b4232e; }
.pvx-pill.ambar { background: #fdf0d9; color: #8a5108; }
.pvx-pill.verde { background: #e2f3ea; color: #146b45; }
.pvx-eqs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.pvx-eq { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border: 1px solid #dfe5ec; border-radius: 999px; background: #fff; font: inherit; font-size: 13px; color: #101B2F; cursor: pointer; box-shadow: none; }
.pvx-eq .tb-ico { width: 14px; height: 14px; }
.pvx-datos { border-top: 1px solid #e6ebf1; margin: 0 0 16px; }
.pvx-datos > div { display: grid; grid-template-columns: 20px 170px minmax(0, 1fr); gap: 10px; align-items: center; padding: 9px 2px; border-bottom: 1px solid #edf0f4; font-size: 14px; }
.pvx-datos .tb-ico { width: 18px; height: 18px; color: #33475b; }
.pvx-datos span { color: #4a5d70; }
.pvx-datos b { color: #10283d; font-weight: 600; }
.pvx-det .mpx-abrir { margin-bottom: 8px; }
.pvx-mas { margin-bottom: 16px; }
.pvx-tabla-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; font-size: 14px; font-weight: 700; color: #1f5fb8; }
.pvx-tabla-btn .tb-ico { width: 16px; height: 16px; }
.pvx-tabla-scroll { overflow: auto; max-height: 560px; margin-top: 10px; }
.pvx-tabla td { font-size: 14px; }
.pvx-tabla thead th { position: sticky; top: 0; z-index: 2; background: #fff; }
.pvx-tabla th:first-child, .pvx-tabla td:first-child { position: sticky; left: 0; z-index: 1; background: #fff; }
.pvx-tabla thead th:first-child { z-index: 3; }
.pvx-plegado { margin: 0 0 16px; }
.pvx-plegado > summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: 1px solid #e6ebf1; border-radius: 18px; background: #fff; box-shadow: 0 6px 16px rgba(16, 32, 48, .05); cursor: pointer; }
.pvx-plegado > summary::-webkit-details-marker { display: none; }
.pvx-plegado > summary > .tb-ico { width: 26px; height: 26px; color: #0057C7; }
.pvx-plegado > summary > span { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pvx-plegado > summary b { font-size: 17px; color: #10283d; }
.pvx-plegado > summary small { font-size: 13.5px; color: #4a5d70; }
.pvx-plegado > summary > i .tb-ico { width: 20px; height: 20px; color: #33475b; transition: transform .2s; }
.pvx-plegado[open] > summary { margin-bottom: 14px; }
.pvx-plegado[open] > summary > i .tb-ico { transform: rotate(90deg); }
@media (max-width: 1099px) {
  .pvx-dos { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .pvx-filtros { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px; }
  .pvx-filtros h2 { font-size: 18px; }
  .pvx-campo { justify-content: space-between; }
  .pvx-campo select { flex: 1; min-width: 0; height: 42px; }
  .pvx-limpiar { align-self: flex-start; }
  .gfx-kpi strong.pvx-dinero { font-size: 22px; }
  .pvx-cuenta { align-items: flex-start; }
  /* En el celular el nombre va arriba de su barra para que se lea completo */
  .pvx-eje, .pvx-fila { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .pvx-eje > span, .pvx-rejilla { display: none; }
  .pvx-eje { padding: 0 6px; margin-top: 14px; }
  .pvx-fila { padding: 8px 6px; }
  .pvx-eje > div, .pvx-pista { margin-right: 66px; }
  .pvx-et { flex-direction: row; align-items: baseline; gap: 8px; }
  .pvx-et b { font-size: 13.5px; flex: 0 1 auto; }
  .pvx-et small { font-size: 11.5px; flex: none; }
  .pvx-pista { height: 20px; }
  .pvx-pista em { font-size: 12.5px; margin-left: 6px; }
  .pvx-det h3 { font-size: 19px; }
  .pvx-det-ilu { width: 72px; height: 72px; }
  .pvx-det-ilu .asu-ilu { width: 48px; height: 48px; }
  .pvx-det-cab h4 { font-size: 17px; }
  .pvx-datos > div { grid-template-columns: 18px 118px minmax(0, 1fr); font-size: 13.5px; }
  .pvx-plegado > summary { padding: 14px; }
}
/* ---------- 🔔 Recordatorios de seguimiento (1/nov/2026, diseño 129 de Luis) ---------- */
.rcd-cabeza { display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap; margin: 4px 0 16px; }
.rcd-cabeza > div:first-child { flex: 1 1 380px; min-width: 0; }
.rcd-cabeza .spacer { display: none; }
.rcd-pasos { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 8px 10px; background: rgba(255, 255, 255, .88); border: 1px solid #e6ebf1; border-radius: 16px; box-shadow: 0 6px 16px rgba(16, 32, 48, .05); }
.rcd-pasos li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; }
.rcd-pasos li > span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #7d8b99; color: #fff; font-weight: 700; font-size: 16px; flex: none; }
.rcd-pasos li.activo { background: #e8f1fb; }
.rcd-pasos li.activo > span { background: #101B2F; }
.rcd-pasos li.hecho > span { background: #1f9d57; }
.rcd-pasos b { display: block; font-size: 14px; color: #10283d; }
.rcd-pasos li.activo b { color: #101B2F; }
.rcd-pasos small { font-size: 12.5px; color: #4a5d70; }
.rcd-pasos .rcd-paso-flecha { padding: 0; color: #8a97a5; font-size: 22px; }
.rcd-dos { display: grid; grid-template-columns: minmax(0, 1fr) 540px; gap: 16px; align-items: start; }
.rcd-dos > .panel { margin: 0; }
.rcd-izq { padding: 18px 20px; }
.rcd-busca { display: grid; grid-template-columns: minmax(0, 1fr) 150px 150px; gap: 8px 12px; align-items: end; margin-bottom: 12px; }
.rcd-q-col { grid-column: 1; grid-row: 1 / span 2; align-self: start; padding-top: 22px; min-width: 0; }
.rcd-q { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 14px; border: 1px solid #dfe5ec; border-radius: 12px; background: #fff; margin: 0; }
.rcd-q > .tb-ico { width: 21px; height: 21px; color: #1f5fb8; }
.rcd-q input { flex: 1; min-width: 0; min-height: 40px; border: 0; background: transparent; font: inherit; font-size: 16px; color: #10283d; box-shadow: none; outline: none; padding: 0; }
.rcd-q input::-webkit-search-cancel-button { display: none; }
.rcd-q-x { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #33475b; cursor: pointer; box-shadow: none; }
.rcd-q-x:hover { background: #eef2f6; }
.rcd-q-x .tb-ico { width: 18px; height: 18px; }
.rcd-ayuda { margin: 8px 2px 0; font-size: 13px; color: #4a5d70; }
.rcd-campo { display: flex; flex-direction: column; margin: 0; min-width: 0; }
.rcd-campo span { font-size: 14px; color: #33475b; margin-bottom: 4px; }
.rcd-campo select { height: 40px; width: 100%; padding: 0 10px; border: 1px solid #dfe5ec; border-radius: 10px; background-color: #fff; font: inherit; font-size: 14.5px; color: #10283d; box-shadow: none; }
.rcd-previo { grid-column: 2 / 4; justify-self: end; display: flex; align-items: center; gap: 8px; margin: 4px 0 0; font-size: 14.5px; color: #1d3246; cursor: pointer; }
.rcd-previo input { width: 18px; height: 18px; margin: 0; accent-color: #1f5fb8; }
.rcd-cuenta { margin: 0 2px 10px; font-size: 13px; color: #4a5d70; }
.rcd-dest { padding: 14px; margin-bottom: 16px; background: #eef8f2; border: 1px solid #d3ecdd; border-radius: 16px; }
.rcd-dest .rcd-card:last-child { margin-bottom: 0; }
.rcd-sec { margin-bottom: 16px; }
.rcd-sec-cab { display: flex; align-items: flex-start; gap: 10px; margin: 2px 2px 10px; }
.rcd-sec-cab .spacer { flex: 1; }
.rcd-sec-cab h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 18px; color: #10283d; }
.rcd-sec-cab h3 .tb-ico { width: 22px; height: 22px; color: #17714a; fill: #17714a; }
.rcd-sec-cab p { margin: 3px 0 0; font-size: 13px; color: #4a5d70; }
.rcd-todos { font-size: 13.5px; white-space: nowrap; }
.rcd-card { display: grid; grid-template-columns: 24px minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 10px 14px; align-items: center; padding: 14px 16px; margin-bottom: 10px; background: #fff; border: 1px solid #e3e8ee; border-radius: 14px; cursor: pointer; }
.rcd-card:hover { border-color: #c9d8e6; }
.rcd-card.sel { border-color: #8db8e0; box-shadow: inset 0 0 0 1px #8db8e0; background: #f7fbff; }
.rcd-card.sin-resp { cursor: default; background: #fafbfc; }
.rcd-check { width: 22px; height: 22px; margin: 2px 0 0; align-self: start; accent-color: #1f5fb8; cursor: pointer; }
.rcd-a, .rcd-b { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rcd-folio { align-self: flex-start; padding: 0; border: 0; background: transparent; font: inherit; font-size: 15.5px; font-weight: 700; color: #1f5fb8; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; box-shadow: none; text-align: left; }
.rcd-concepto { font-size: 14px; color: #33475b; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rcd-dato { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; color: #33475b; }
.rcd-dato .tb-ico { width: 17px; height: 17px; color: #5b6b7b; flex: none; }
.rcd-dato > span { min-width: 0; }
.rcd-dato b { font-weight: 600; color: #10283d; white-space: nowrap; }
.rcd-dato b.rojo { color: #c0213a; }
.rcd-dato em { font-style: normal; color: #8a5108; }
.rcd-ver { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: #1f5fb8; white-space: nowrap; }
.rcd-ver .tb-ico { width: 17px; height: 17px; }
.rcd-vacio { margin: 0; padding: 18px; text-align: center; color: #4a5d70; }
.rcd-mas { margin: 0 4px; font-size: 14px; }
.rcd-barra { position: sticky; bottom: 12px; z-index: 3; display: flex; align-items: center; gap: 14px; padding: 12px 16px; margin-top: 8px; background: #eef4fb; border: 1px solid #d6e4f3; border-radius: 14px; box-shadow: 0 8px 22px rgba(16, 32, 48, .12); }
.rcd-barra .spacer { flex: 1; }
.rcd-barra-ok { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #1f5fb8; color: #fff; flex: none; }
.rcd-barra-ok .tb-ico { width: 20px; height: 20px; }
.rcd-barra b { display: block; font-size: 15px; color: #10283d; }
.rcd-barra small { font-size: 13px; color: #4a5d70; }
.rcd-barra .rcd-corto { display: none; }
.rcd-cambiar { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; font-weight: 600; color: #1f5fb8; white-space: nowrap; }
.rcd-cambiar .tb-ico { width: 17px; height: 17px; }
.rcd-ir-msg { display: none; align-items: center; gap: 6px; padding: 9px 12px; border: 0; border-radius: 10px; background: #101B2F; color: #fff; font: inherit; font-size: 13.5px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.rcd-ir-msg .tb-ico { width: 15px; height: 15px; transform: rotate(90deg); }
.rcd-der { position: sticky; top: 14px; padding: 20px 22px; }
.rcd-der h2 { margin: 0; font-size: 24px; color: #10283d; }
.rcd-der > p.muted { margin: 4px 0 12px; font-size: 14.5px; }
.rcd-der h4 { margin: 16px 0 8px; font-size: 16px; color: #10283d; }
.rcd-para { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.rcd-para-chip { padding: 6px 12px; border: 1px solid #dfe5ec; border-radius: 999px; background: #fff; font: inherit; font-size: 13.5px; color: #1d3246; cursor: pointer; box-shadow: none; }
.rcd-para-chip.activo { background: #101B2F; border-color: #101B2F; color: #fff; }
.rcd-dest-persona { display: flex; align-items: center; gap: 14px; }
.rcd-avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #0057C7; color: #fff; flex: none; }
.rcd-avatar .tb-ico { width: 26px; height: 26px; }
.rcd-dest-persona b { font-size: 17px; color: #10283d; }
.rcd-dest-persona small { display: block; font-size: 15px; color: #4a5d70; overflow-wrap: anywhere; }
.rcd-canales { display: flex; gap: 12px; }
.rcd-canal { display: inline-flex; align-items: center; gap: 10px; min-width: 180px; padding: 12px 18px; border: 1px solid #dfe5ec; border-radius: 12px; background: #fff; font: inherit; font-size: 15.5px; color: #10283d; cursor: pointer; box-shadow: none; }
.rcd-canal .tb-ico { width: 22px; height: 22px; color: #1f5fb8; }
.rcd-canal.wa .tb-ico { color: #1f9d57; }
.rcd-canal.activo { border: 2px solid #1f5fb8; background: #eef4fd; padding: 11px 17px; }
.rcd-canal.wa.activo { border-color: #1f9d57; background: #effaf3; }
.rcd-canal:disabled { opacity: .45; cursor: not-allowed; }
.rcd-aviso { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: #fff6e0; font-size: 13.5px; color: #8a5108; }
.rcd-plantillas { display: flex; flex-wrap: wrap; gap: 8px; }
.rcd-plantilla { padding: 11px 16px; border: 1px solid #dfe5ec; border-radius: 10px; background: #fff; font: inherit; font-size: 14.5px; color: #33475b; cursor: pointer; box-shadow: none; }
.rcd-plantilla.activo { border: 2px solid #101B2F; padding: 10px 15px; background: #eef3f9; color: #10283d; font-weight: 600; }
#rcd-msg { width: 100%; min-height: 210px; padding: 14px 16px; border: 1px solid #dfe5ec; border-radius: 12px; background: #fff; font: inherit; font-size: 14.5px; line-height: 1.55; color: #10283d; resize: vertical; }
.rcd-contador { margin: 4px 0 12px; text-align: right; font-size: 13px; color: #6b7a8b; }
.rcd-contador.largo { color: #b07a12; font-weight: 600; }
.rcd-acciones { display: flex; flex-wrap: wrap; gap: 12px; }
.rcd-abrir { flex: 1 1 260px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 18px; border: 0; border-radius: 12px; background: linear-gradient(135deg, #1fa463, #0e7a45); color: #fff; font: inherit; font-size: 15.5px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 18px rgba(14, 122, 69, .25); }
.rcd-abrir.correo { background: linear-gradient(135deg, #0057C7, #101B2F); box-shadow: 0 8px 18px rgba(22, 70, 96, .25); }
.rcd-abrir .tb-ico { width: 22px; height: 22px; }
.rcd-copiar { display: inline-flex; align-items: center; gap: 8px; padding: 13px 18px; border-radius: 12px; font-weight: 600; color: #1f5fb8; }
.rcd-copiar .tb-ico { width: 18px; height: 18px; }
.rcd-registrar { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 14px; padding: 14px 18px; border: 1px solid #dfe5ec; border-radius: 12px; background: #fff; font: inherit; font-size: 15px; color: #10283d; text-align: left; cursor: pointer; box-shadow: none; }
.rcd-registrar > span { flex: 1; }
.rcd-registrar > .tb-ico:first-child { width: 24px; height: 24px; color: #10283d; }
.rcd-registrar > .tb-ico:last-child { width: 18px; height: 18px; color: #33475b; }
.rcd-nota { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 13px; color: #4a5d70; }
.rcd-nota .tb-ico { width: 16px; height: 16px; flex: none; }
.rcd-borr-vacio { padding: 40px 16px; text-align: center; color: #4a5d70; }
.rcd-borr-vacio .tb-ico { width: 42px; height: 42px; color: #8aa4bb; }
.rcd-borr-vacio p { margin: 10px 0 4px; font-size: 15.5px; color: #1d3246; }
.rcd-borr-vacio small { font-size: 13px; }
@media (max-width: 1399px) {
  .rcd-dos { grid-template-columns: minmax(0, 1fr) 440px; }
  .rcd-card { grid-template-columns: 24px minmax(0, 1fr) auto; }
  .rcd-b { grid-column: 2; }
  .rcd-ver { grid-column: 3; grid-row: 1; align-self: start; }
  .rcd-canal { min-width: 0; flex: 1; }
}
@media (max-width: 1099px) {
  .rcd-dos { grid-template-columns: minmax(0, 1fr); }
  .rcd-der { position: static; }
  .rcd-pasos { width: 100%; }
  .rcd-ir-msg { display: inline-flex; }
}
@media (max-width: 760px) {
  .rcd-izq, .rcd-der { padding: 14px; }
  .rcd-busca { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rcd-q-col { grid-column: 1 / -1; grid-row: auto; padding-top: 0; }
  .rcd-previo { grid-column: 1 / -1; justify-self: start; }
  .rcd-pasos { gap: 0; padding: 6px; }
  .rcd-pasos li { padding: 6px; gap: 6px; }
  .rcd-pasos li > span { width: 28px; height: 28px; font-size: 14px; }
  .rcd-pasos b { font-size: 12.5px; }
  .rcd-pasos small { display: none; }
  .rcd-pasos .rcd-paso-flecha { font-size: 18px; }
  .rcd-card { grid-template-columns: 24px minmax(0, 1fr); padding: 12px; }
  .rcd-ver { grid-column: 2; grid-row: auto; justify-self: start; }
  .rcd-sec-cab { flex-wrap: wrap; }
  .rcd-barra { gap: 10px; padding: 10px 12px; bottom: 8px; }
  .rcd-barra small, .rcd-barra .rcd-largo { display: none; }
  .rcd-barra .rcd-corto { display: block; }
  .rcd-barra b { font-size: 13.5px; }
  .rcd-barra-ok { width: 30px; height: 30px; }
  .rcd-barra-ok .tb-ico { width: 16px; height: 16px; }
  .rcd-cambiar { padding: 9px 10px; }
  .rcd-cambiar span { display: none; }
  .rcd-der h2 { font-size: 20px; }
  .rcd-plantilla { flex: 1 1 auto; padding: 10px 12px; }
  .rcd-abrir, .rcd-copiar { flex: 1 1 100%; justify-content: center; }
}
/* ---------- 🗳️ Votaciones del comité · Abiertas (1/nov/2026, diseño 127 de Luis) ---------- */
.vtx-tabsfila { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: -4px 0 14px; }
.vtx-tabsfila .vtx-tabs { margin-bottom: 0; }
.vtx-tabsfila > .spacer { flex: 1; }
.vtx-num { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 8px; border-radius: 999px; background: #e6edf4; color: #101B2F; font-size: 12.5px; }
.asu-modo.activo .vtx-num { background: #fff; }
.vtx-acciones { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vtx-dos { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 16px; align-items: stretch; margin-bottom: 16px; }
.vtx-dos > .panel { margin: 0; }
.vtx-urna { width: 140px; height: 128px; flex: none; }
.panel.vtx-vacio { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 28px 20px; background: #eef8f2; border-color: #d3ecdd; }
.vtx-vacio h2 { margin: 6px 0 4px; font-size: 26px; color: #10283d; }
.vtx-vacio p { margin: 0 0 18px; font-size: 16px; color: #4a5d70; }
.vtx-ver-hist { display: inline-flex; align-items: center; gap: 10px; padding: 13px 28px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #1f6fc8, #1557a8); color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 18px rgba(21, 87, 168, .25); }
.vtx-ver-hist .tb-ico { width: 18px; height: 18px; }
.panel.vtx-hay { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 20px 24px; background: #eef8f2; border-color: #d3ecdd; }
.vtx-hay .vtx-urna { width: 110px; height: 100px; }
.vtx-hay h2 { margin: 0 0 4px; font-size: 24px; color: #10283d; }
.vtx-hay p { margin: 0 0 6px; font-size: 16px; color: #1d3246; }
.vtx-hay small { font-size: 13.5px; color: #4a5d70; }
.vtx-hay > div { max-width: 520px; }
.vtx-hist { padding: 22px 24px; }
.vtx-hist-cab { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 6px; }
.vtx-hist-cab > .tb-ico { width: 28px; height: 28px; color: #101B2F; margin-top: 4px; }
.vtx-hist-cab h3 { margin: 0; font-size: 24px; color: #10283d; }
.vtx-hist-cab p { margin: 2px 0 0; font-size: 15px; color: #4a5d70; }
.vtx-hist-fila { display: grid; grid-template-columns: 36px 52px minmax(0, 1fr); align-items: center; gap: 8px; padding: 12px 4px; border-bottom: 1px solid #edf0f4; }
.vtx-hist-fila .tb-ico { width: 30px; height: 30px; }
.vtx-hist-fila.si .tb-ico { color: #1f9d57; }
.vtx-hist-fila.no .tb-ico { color: #c8323d; }
.vtx-hist-fila.ret .tb-ico { color: #1f5fb8; }
.vtx-hist-fila b { font-size: 26px; color: #10283d; text-align: center; }
.vtx-hist-fila span { font-size: 16px; color: #1d3246; }
.vtx-consultar { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 14px; padding: 13px 16px; border: 0; border-radius: 12px; background: #eaf2fb; color: #1f5fb8; font: inherit; font-size: 16px; font-weight: 700; text-align: left; cursor: pointer; box-shadow: none; }
.vtx-consultar .tb-ico { width: 18px; height: 18px; }
.vtx-card { padding: 20px 22px; margin-bottom: 16px; }
.vtx-card-cab { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.vtx-card-cab > div:not(.spacer) { flex: 1 1 280px; min-width: 0; }
.vtx-card-cab .spacer { display: none; }
.vtx-card-ilu { width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; background: var(--f, #eaf2fb); color: var(--c, #1f5fb8); flex: none; }
.vtx-card-ilu .asu-ilu { width: 44px; height: 44px; }
.vtx-card-cab h3 { margin: 0; font-size: 21px; color: #10283d; }
.vtx-card-cab p { margin: 3px 0 0; font-size: 14.5px; color: #4a5d70; }
.vtx-tarde { color: #b4232e; font-weight: 600; }
.vtx-aviso { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: #1f5fb8; white-space: nowrap; }
.vtx-aviso .tb-ico { width: 16px; height: 16px; }
.vtx-datos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; margin-top: 16px; background: #edf0f4; border-top: 1px solid #edf0f4; border-bottom: 1px solid #edf0f4; }
.vtx-dato { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: #fff; min-width: 0; }
.vtx-dato > .tb-ico { width: 22px; height: 22px; color: #33475b; flex: none; margin-top: 2px; }
.vtx-dato > div { min-width: 0; }
.vtx-dato span { display: block; font-size: 13px; color: #4a5d70; }
.vtx-dato b { display: block; font-size: 15px; color: #10283d; overflow-wrap: anywhere; }
.vtx-dato small { display: block; font-size: 12.5px; font-weight: 400; color: #4a5d70; }
.vtx-dato.vtx-sin b { font-weight: 500; color: #6b7a8b; }
.vtx-dato.falta em { font-style: normal; color: #b4232e; }
.vtx-medio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr); gap: 1px; background: #edf0f4; border-bottom: 1px solid #edf0f4; }
.vtx-medio > div { display: flex; gap: 12px; align-items: center; padding: 14px; background: #fff; min-width: 0; }
.vtx-medio > div > .tb-ico { width: 24px; height: 24px; color: #33475b; flex: none; }
.vtx-medio span { display: block; font-size: 13.5px; color: #4a5d70; }
.vtx-medio small { display: block; font-size: 12.5px; color: #4a5d70; }
.vtx-medio .vtx-falta { color: #b4232e; font-weight: 600; }
.vtx-link { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; font: inherit; font-size: 16px; font-weight: 700; color: #1f5fb8; cursor: pointer; box-shadow: none; }
.vtx-link .tb-ico { width: 16px; height: 16px; }
.vtx-part { flex-wrap: wrap; }
.vtx-part > div:not(.vtx-barra) { flex: 1 1 180px; }
.vtx-part b { font-size: 14.5px; color: #10283d; }
.vtx-barra { display: flex; flex: 1 1 120px; height: 10px; border-radius: 999px; background: #e6ebf1; overflow: hidden; }
.vtx-barra i.si { background: #1f9d57; }
.vtx-barra i.no { background: #c8323d; }
.vtx-part .vtx-pct { flex: none; font-size: 16px; color: #10283d; }
.vtx-tuvoto { display: inline-block; margin-top: 4px; padding: 5px 16px; border-radius: 999px; background: #fdf0d2; color: #8a5108; font-size: 15px; font-weight: 700; }
.vtx-tuvoto.si { background: #e2f3ea; color: #146b45; }
.vtx-tuvoto.no { background: #fde4e6; color: #b4232e; }
.vtx-tuvoto.gris { background: #eef1f4; color: #6b7a8b; }
.vtx-pie { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 16px; }
.vtx-pasos { list-style: none; display: flex; align-items: center; gap: 10px; flex: 1 1 520px; margin: 0; padding: 0; min-width: 0; }
.vtx-pasos li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.vtx-pasos li > span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #e8f4ee; color: #17714a; font-size: 18px; font-weight: 700; }
.vtx-pasos li > span .tb-ico { width: 20px; height: 20px; }
.vtx-pasos li.activo > span { background: #17714a; color: #fff; }
.vtx-pasos li.hecho > span { background: #1f9d57; color: #fff; }
.vtx-pasos b { display: block; font-size: 14px; color: #10283d; }
.vtx-pasos small { display: block; font-size: 12.5px; color: #4a5d70; }
.vtx-pasos .vtx-flecha .tb-ico { width: 18px; height: 18px; color: #1f5fb8; }
.vtx-votar { display: flex; flex-direction: column; gap: 6px; padding-left: 16px; border-left: 1px solid #e6ebf1; }
.vtx-botones { display: flex; gap: 12px; }
.vtx-si, .vtx-no { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 150px; padding: 12px 22px; border-radius: 10px; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.vtx-si .tb-ico, .vtx-no .tb-ico { width: 20px; height: 20px; }
.vtx-si { border: 0; background: linear-gradient(135deg, #1f8a5b, #146b45); color: #fff; box-shadow: 0 8px 18px rgba(20, 107, 69, .22); }
.vtx-no { border: 1.5px solid #c8323d; background: #fff; color: #c8323d; box-shadow: none; }
.vtx-si.elegido { box-shadow: 0 0 0 3px rgba(31, 138, 91, .3); }
.vtx-no.elegido { background: #c8323d; color: #fff; }
.vtx-si:disabled, .vtx-no:disabled { opacity: .6; cursor: default; }
.vtx-comentar { align-self: flex-end; font-size: 13px; font-weight: 600; }
.vtx-votar .vt-comentario { width: 100%; padding: 8px 10px; border: 1px solid #dfe5ec; border-radius: 10px; font: inherit; font-size: 14px; resize: vertical; }
.vtx-novota { margin: 0; font-size: 14px; color: #4a5d70; }
@media (max-width: 1399px) {
  .vtx-datos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1099px) {
  .vtx-dos { grid-template-columns: minmax(0, 1fr); }
  .vtx-medio { grid-template-columns: minmax(0, 1fr); }
  .vtx-votar { padding-left: 0; border-left: 0; width: 100%; }
}
@media (max-width: 760px) {
  .vtx-urna { width: 110px; height: 100px; }
  .vtx-hay { flex-direction: column; text-align: center; padding: 18px; }
  .vtx-hay h2, .vtx-vacio h2 { font-size: 21px; }
  .vtx-hist, .vtx-card { padding: 16px; }
  .vtx-card-cab h3 { font-size: 18px; }
  .vtx-aviso { width: 100%; justify-content: center; }
  .vtx-datos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vtx-dato { padding: 10px; }
  .vtx-pasos { flex-direction: column; align-items: flex-start; gap: 8px; flex-basis: 100%; }
  .vtx-pasos .vtx-flecha { display: none; }
  .vtx-pasos li > span { width: 32px; height: 32px; font-size: 15px; }
  .vtx-si, .vtx-no { flex: 1; min-width: 0; padding: 12px; }
}
/* ---------- 🗳️ Votaciones del comité · Historial (1/nov/2026, diseño 128 de Luis) ---------- */
.vtx-anio { height: 42px; min-width: 120px; padding: 0 12px; border: 1px solid #dfe5ec; border-radius: 12px; background-color: #fff; font: inherit; font-size: 15px; font-weight: 600; color: #10283d; box-shadow: none; }
.vhx-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.4fr); gap: 14px; margin-bottom: 16px; }
.vhx-kpi { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid #e6ebf1; border-radius: 16px; background: #fff; box-shadow: 0 6px 16px rgba(16, 32, 48, .05); min-width: 0; }
.vhx-kpi > span { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.vhx-kpi > span .tb-ico { width: 28px; height: 28px; }
.vhx-kpi > div { display: flex; flex-direction: column; min-width: 0; }
.vhx-kpi strong { font-size: 32px; line-height: 1.1; font-weight: 800; color: #10283d; }
.vhx-kpi b { font-size: 16px; font-weight: 500; color: #1d3246; }
.vhx-kpi small { font-size: 13px; color: #4a5d70; }
.vhx-kpi.azul > span { background: #eaf2fb; color: #1f5fb8; }
.vhx-kpi.verde > span { background: #e2f3ea; color: #1f9d57; border-radius: 50%; }
.vhx-kpi.rojo > span { background: #fde4e6; color: #c8323d; border-radius: 50%; }
.vhx-kpi.gris > span { background: #eef1f4; color: #6b7a8b; border-radius: 50%; }
.vhx-kpi.monto { background: #f2f7fd; border-color: #dbe7f5; }
.vhx-kpi.monto > span { background: #dcebfb; color: #1f5fb8; }
.vhx-kpi.monto strong { font-size: 30px; }
.vhx-dos { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 16px; }
.vhx-dos > .panel { margin: 0; }
.vhx-lista { padding: 16px 18px; }
.vhx-filtros { display: flex; gap: 12px; }
.vhx-q { flex: 1; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; margin: 0; border: 1px solid #dfe5ec; border-radius: 12px; background: #fff; min-width: 0; }
.vhx-q .tb-ico { width: 19px; height: 19px; color: #33475b; }
.vhx-q input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15px; color: #10283d; box-shadow: none; outline: none; padding: 0; min-height: 38px; }
.vhx-filtros select { height: 44px; width: 170px; padding: 0 12px; border: 1px solid #dfe5ec; border-radius: 12px; background-color: #fff; font: inherit; font-size: 14.5px; color: #10283d; box-shadow: none; }
.vhx-scroll { max-height: 540px; overflow: auto; margin-top: 12px; }
.vhx-tabla { width: 100%; border-collapse: collapse; font-size: 14px; }
.vhx-tabla th { position: sticky; top: 0; z-index: 2; background: #fff; padding: 10px; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #33475b; border-bottom: 1px solid #e6ebf1; }
.vhx-tabla td { padding: 12px 10px; border-bottom: 1px solid #edf0f4; color: #1d3246; vertical-align: middle; background: #fff; }
.vhx-tabla th:first-child, .vhx-tabla td:first-child { position: sticky; left: 0; z-index: 1; }
.vhx-tabla th:first-child { z-index: 3; }
.vhx-tabla .num { text-align: right; white-space: nowrap; }
.vhx-tabla tbody tr { cursor: pointer; }
.vhx-tabla tbody tr:hover td { background: #f6f9fc; }
.vhx-tabla tbody tr.sel td { background: #eaf2fb; }
.vhx-tabla tbody tr.sel td:first-child { box-shadow: inset 3px 0 0 #1f5fb8; }
.vhx-fecha { white-space: nowrap; width: 1%; }
.vhx-tabla td b { color: #10283d; }
.vhx-ir { width: 1%; }
.vhx-solo-cel { display: none; }
.vhx-ir .tb-ico { width: 16px; height: 16px; color: #6b7a8b; }
.vhx-vacio { margin: 0; padding: 30px 10px; text-align: center; color: #4a5d70; }
.vhx-det { position: sticky; top: 14px; padding: 18px 22px; }
.vhx-det-cab { display: flex; align-items: center; gap: 8px; }
.vhx-det-cab .spacer { flex: 1; }
.vhx-det-cab > .tb-ico { width: 22px; height: 22px; color: #1f5fb8; }
.vhx-det-cab > b { font-size: 15.5px; color: #10283d; white-space: nowrap; }
.vhx-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.vhx-btn .tb-ico { width: 17px; height: 17px; }
.vhx-pdf { border: 0; background: linear-gradient(135deg, #0057C7, #101B2F); color: #fff; text-decoration: none; }
.vhx-det h3 { margin: 16px 0 2px; font-size: 24px; color: #10283d; }
.vhx-concepto { margin: 0 0 10px; font-size: 15.5px; color: #33475b; }
.vhx-datos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 18px; }
.vhx-dato { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #edf0f4; min-width: 0; }
.vhx-dato.ancho { grid-column: 1 / -1; }
.vhx-dato > .tb-ico { width: 22px; height: 22px; color: #33475b; flex: none; margin-top: 2px; }
.vhx-dato span { display: block; font-size: 13.5px; color: #4a5d70; margin-bottom: 2px; }
.vhx-dato b { display: block; font-size: 16.5px; color: #10283d; overflow-wrap: anywhere; }
.vhx-res-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 16px; }
.vhx-res-cab h4 { margin: 0; font-size: 18px; color: #10283d; }
.vhx-res-cab span { font-size: 14px; color: #4a5d70; }
.vhx-res { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.vhx-res > div { display: flex; align-items: center; gap: 10px; min-width: 0; }
.vhx-res .tb-ico { width: 38px; height: 38px; padding: 6px; border-radius: 50%; border: 2.5px solid currentColor; flex: none; }
.vhx-res .si .tb-ico { color: #1f9d57; }
.vhx-res .no .tb-ico { color: #c8323d; }
.vhx-res .nada .tb-ico { color: #8a97a5; }
.vhx-res b { display: block; font-size: 22px; color: #10283d; line-height: 1.1; }
.vhx-res span { font-size: 14px; color: #33475b; }
.vhx-bloques { display: flex; align-items: center; gap: 4px; margin-top: 14px; }
.vhx-bloques i { flex: 1; height: 14px; border-radius: 4px; }
.vhx-bloques i.si { background: #2f9e6a; }
.vhx-bloques i.no { background: #c8323d; }
.vhx-bloques i.nada { background: #cfd7df; }
.vhx-bloques b { margin-left: 10px; font-size: 16px; color: #10283d; }
.vhx-quien { margin-top: 12px; }
.vhx-quien summary { cursor: pointer; font-size: 14px; font-weight: 600; color: #1f5fb8; }
.vhx-pie { margin: 10px 0 0; font-size: 12.5px; color: #6b7a8b; }
.vhx-part { padding: 16px 20px; margin-bottom: 16px; }
.vhx-part-cab h3 { margin: 0; font-size: 19px; color: #10283d; }
.vhx-part-cab p { margin: 2px 0 12px; font-size: 13.5px; color: #4a5d70; }
.vhx-part-lista { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 26px; }
.vhx-persona > div:first-child { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.vhx-persona .tb-ico { width: 18px; height: 18px; color: #33475b; flex: none; }
.vhx-persona b { flex: 1; min-width: 0; font-size: 15px; color: #10283d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vhx-persona span { font-size: 14px; color: #33475b; }
.vhx-part-barra { height: 10px; border-radius: 999px; background: #e6ebf1; overflow: hidden; }
.vhx-part-barra i { display: block; height: 100%; border-radius: 999px; }
.vhx-part-barra i.verde { background: #1fa38a; }
.vhx-part-barra i.azul { background: #1f6fd1; }
@media (max-width: 1399px) {
  .vhx-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vhx-kpi.monto { grid-column: span 2; }
}
@media (max-width: 1099px) {
  .vhx-dos { grid-template-columns: minmax(0, 1fr); }
  .vhx-det { position: static; }
}
@media (max-width: 760px) {
  .vhx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .vhx-kpi { padding: 12px; gap: 10px; }
  .vhx-kpi > span { width: 40px; height: 40px; }
  .vhx-kpi > span .tb-ico { width: 22px; height: 22px; }
  .vhx-kpi strong { font-size: 24px; }
  .vhx-kpi.monto strong { font-size: 24px; }
  .vhx-filtros { flex-direction: column; }
  .vhx-filtros select { width: 100%; }
  .vhx-lista, .vhx-det, .vhx-part { padding: 14px; }
  .vhx-det-cab { flex-wrap: wrap; }
  .vhx-tabla { font-size: 13px; }
  .vhx-tabla td, .vhx-tabla th { padding: 9px 6px; }
  /* En el celular cabe sin deslizar: la fecha va bajo el folio y el monto bajo el resultado */
  .vhx-tabla th:nth-child(1), .vhx-tabla td:nth-child(1), .vhx-tabla th:nth-child(5), .vhx-tabla td:nth-child(5), .vhx-tabla th:nth-child(6), .vhx-tabla td:nth-child(6) { display: none; }
  .vhx-tabla th:nth-child(2), .vhx-tabla td:nth-child(2) { position: sticky; left: 0; z-index: 1; }
  .vhx-tabla th:nth-child(2) { z-index: 3; }
  .vhx-tabla tbody tr.sel td:nth-child(2) { box-shadow: inset 3px 0 0 #1f5fb8; }
  .vhx-solo-cel { display: block; margin-top: 3px; font-size: 12px; color: #4a5d70; white-space: nowrap; }
  .vhx-datos { grid-template-columns: minmax(0, 1fr); }
  .vhx-res .tb-ico { width: 30px; height: 30px; padding: 4px; }
  .vhx-res b { font-size: 18px; }
  .vhx-res span { font-size: 12.5px; }
}
/* ---------- 👥 Responsables «Cada asunto, con responsable» (1/nov/2026, diseño 101 de Luis) ---------- */
.acx-cab { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin: 4px 0 16px; }
.acx-tit { flex: 1 1 420px; min-width: 0; }
.acx-kpis { display: flex; gap: 12px; flex-wrap: wrap; }
.acx-kpi { display: flex; align-items: center; gap: 14px; min-width: 170px; padding: 16px 22px; border: 1px solid #e6ebf1; border-radius: 16px; background: #fff; box-shadow: 0 6px 16px rgba(16, 32, 48, .05); font: inherit; color: inherit; text-align: left; }
.acx-kpi > .tb-ico { width: 30px; height: 30px; color: #33475b; }
.acx-kpi b { display: block; font-size: 30px; line-height: 1.1; color: #10283d; }
.acx-kpi span { font-size: 15px; color: #33475b; }
button.acx-kpi { cursor: pointer; }
.acx-kpi.asignar.hay { background: #f4f8d8; border-color: #e1eaa8; }
.acx-kpi.asignar.hay > .tb-ico { color: #4d6b12; }
.acx-barra { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.acx-barra .acx-modos { margin-bottom: 0; }
.acx-barra > .spacer { flex: 1; }
.acx-q { display: flex; align-items: center; gap: 10px; width: 360px; max-width: 100%; height: 46px; padding: 0 14px; margin: 0; border: 1px solid #dfe5ec; border-radius: 12px; background: #fff; }
.acx-q .tb-ico { width: 19px; height: 19px; color: #33475b; }
.acx-q input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15px; color: #10283d; box-shadow: none; outline: none; padding: 0; min-height: 40px; }
.acx-tarjetas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.acx-card { display: flex; flex-direction: column; margin: 0; padding: 18px 20px; }
.panel.acx-card.aviso { background: #fbfdf0; border: 1.5px solid #d9e27a; }
.panel.acx-card.sinresp { background: #f8f6f1; border-color: #e6dfcf; }
.acx-card-cab { display: flex; align-items: center; gap: 14px; width: 100%; padding: 0; border: 0; background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; box-shadow: none; }
.acx-card-cab h3 { flex: 1; min-width: 0; margin: 0; font-size: 19px; color: #10283d; }
.acx-card-cab > .tb-ico { width: 18px; height: 18px; color: #33475b; flex: none; }
.acx-avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #d3eadb; color: #1e6b47; font-size: 18px; font-weight: 700; }
.acx-avatar .tb-ico { width: 26px; height: 26px; }
.acx-avatar.gris { background: #e6e2da; color: #6b6253; }
.acx-avatar.area { background: #e3eefb; color: #1f5fb8; }
.acx-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 16px 0 14px; text-align: center; }
.acx-nums > div + div { border-left: 1px solid #e6ebf1; }
.acx-nums b { display: block; font-size: 26px; line-height: 1.15; color: #10283d; }
.acx-nums span { font-size: 14px; color: #4a5d70; }
.acx-act { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; color: #1d3246; }
.acx-act-barra { height: 12px; margin: 8px 0 14px; border-radius: 999px; background: #e6ebf1; overflow: hidden; }
.acx-act-barra i { display: block; height: 100%; border-radius: 999px; }
.acx-act-barra i.verde { background: #1e6b47; }
.acx-act-barra i.lima { background: #a7c93a; }
.acx-act-barra i.ambar { background: #e0a82e; }
.acx-alerta { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin-bottom: 10px; border: 1px solid #f1e3a1; border-radius: 10px; background: #fdf6d3; }
.acx-alerta > span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #f2b51d; color: #fff; font-weight: 800; }
.acx-alerta p { flex: 1; margin: 0; font-size: 14.5px; color: #1d3246; }
.acx-alerta button { padding: 6px 14px; border: 0; border-radius: 8px; background: #e6eec2; color: #3d5a12; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: none; }
.acx-link { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: auto; padding: 0; border: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: #1f5fb8; cursor: pointer; box-shadow: none; }
.acx-link .tb-ico { width: 16px; height: 16px; }
.acx-asignar { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: auto; padding: 12px; border: 0; border-radius: 10px; background: #c9dd52; color: #10283d; font: inherit; font-size: 15.5px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 10px rgba(120, 140, 20, .18); }
.acx-asignar .tb-ico { width: 19px; height: 19px; }
.acx-vacio { grid-column: 1 / -1; margin: 0; padding: 30px; text-align: center; color: #4a5d70; }
.acx-pie { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; padding: 14px 20px; margin-bottom: 16px; }
.acx-prio { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; flex: 1 1 520px; }
.acx-prio > .tb-ico { width: 20px; height: 20px; color: #101B2F; }
.acx-prio > b { font-size: 15.5px; color: #10283d; }
.acx-prio-btn { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px; border: 0; border-radius: 8px; background: transparent; font: inherit; font-size: 15px; color: #33475b; cursor: pointer; box-shadow: none; }
.acx-prio-btn:hover { background: #eef3f8; }
.acx-prio-btn b { color: #10283d; }
.acx-punto { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.acx-punto.rojo { background: #d6333f; }
.acx-punto.ambar { background: #f2a93b; }
.acx-punto.azul { background: #4c8ee8; }
.acx-punto.gris { background: #c3ccd5; }
.acx-atajos { display: flex; gap: 10px; flex-wrap: wrap; }
.acx-atajos .btn { display: inline-flex; align-items: center; gap: 8px; }
.acx-atajos .tb-ico { width: 17px; height: 17px; }
/* ---------- 🎯 Metas «Metas claras. Seguimiento visible.» (1/nov/2026, diseño 104 de Luis) ---------- */
.mtx-cab { display: flex; align-items: center; gap: 16px; margin: 4px 0 16px; }
.mtx-tit { flex: 1 1 auto; min-width: 0; }
.mtx-cab .tb-ilustracion { flex: 0 1 360px; width: 360px; height: auto; max-height: 120px; }
.mtx-lado { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; flex: none; }
.mtx-info { display: flex; gap: 10px; align-items: flex-start; }
.mtx-info .tb-ico { width: 22px; height: 22px; color: #33475b; margin-top: 2px; }
.mtx-info b { display: block; font-size: 15px; color: #33475b; font-weight: 600; }
.mtx-info span { font-size: 13px; color: #4a5d70; }
.mtx-fijar { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 12px; font-size: 15px; font-weight: 700; }
.mtx-fijar .tb-ico { width: 18px; height: 18px; }
.mtx-kpis { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.mtx-hero { display: flex; align-items: center; gap: 22px; padding: 22px 26px; border-radius: 18px; background: linear-gradient(135deg, #0f4c5c, #1b6b7a 60%, #23798a); color: #fff; box-shadow: 0 10px 24px rgba(15, 76, 92, .28); min-width: 0; }
.mtx-aro { width: 110px; height: 110px; flex: none; }
.mtx-hero strong { display: block; font-size: 56px; line-height: 1; font-weight: 800; }
.mtx-hero span { display: block; margin-top: 6px; font-size: 18px; font-weight: 600; }
.mtx-kpi { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid #e6ebf1; border-radius: 18px; background: #fff; min-width: 0; }
.mtx-kpi > span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.mtx-kpi > span .tb-ico { width: 28px; height: 28px; }
.mtx-kpi > span b { font-size: 24px; }
.mtx-kpi strong { display: block; font-size: 40px; line-height: 1; font-weight: 800; color: #10283d; }
.mtx-kpi > div > b { display: block; margin: 2px 0 6px; font-size: 18px; color: #10283d; }
.mtx-kpi small { font-size: 13.5px; color: #4a5d70; }
.mtx-kpi.verde { background: #effaf3; border-color: #d3ecdd; }
.mtx-kpi.verde > span { background: #d6f0e2; color: #1f9d57; }
.mtx-kpi.ambar { background: #fff8e6; border-color: #f4e3bf; }
.mtx-kpi.ambar > span { background: #f6c445; color: #fff; }
.mtx-kpi.gris { background: #f6f8fb; }
.mtx-kpi.gris > span { background: #e3eaf2; color: #4a5d70; }
.mtx-sec { padding: 20px 22px; margin-bottom: 16px; }
.mtx-sec-cab { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mtx-sec-cab .spacer { flex: 1; }
.mtx-sec-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.mtx-sec-ico b { font-size: 24px; }
.mtx-sec-ico .tb-ico { width: 26px; height: 26px; }
.mtx-sec.seguimiento .mtx-sec-ico { background: #f6c445; color: #fff; }
.mtx-sec.curso .mtx-sec-ico { background: #e3eefb; color: #1f5fb8; }
.mtx-sec.cumplidas .mtx-sec-ico { background: #d6f0e2; color: #1f9d57; }
.mtx-sec-cab h2 { margin: 0; font-size: 22px; color: #10283d; }
.mtx-sec-cab p { margin: 2px 0 0; font-size: 14.5px; color: #4a5d70; }
.mtx-personas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 14px; align-items: start; }
.mtx-persona { padding: 16px 18px; border: 1px solid #e6ebf1; border-radius: 16px; background: #fff; min-width: 0; }
.mtx-p-cab { display: flex; align-items: center; gap: 14px; }
.mtx-p-cab > div { flex: 1; min-width: 0; }
.mtx-p-cab b { display: block; font-size: 19px; color: #10283d; }
.mtx-p-cab span { font-size: 15px; color: #4a5d70; }
.mtx-avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #fdf0d2; color: #8a5108; font-size: 19px; font-weight: 700; }
.mtx-persona.curso .mtx-avatar { background: #e3eefb; color: #1f5fb8; }
.mtx-persona.cumplidas .mtx-avatar { background: #d6f0e2; color: #17714a; }
.mtx-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 15px; font-weight: 700; white-space: nowrap; flex: none; }
.mtx-pill.ambar { background: #fdf0d2; color: #8a5108; }
.mtx-pill.ambar b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #f6c445; color: #fff; font-size: 14px; }
.mtx-pill.azul { background: #e3eefb; color: #1f5fb8; }
.mtx-ok { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #d6f0e2; color: #1f9d57; }
.mtx-ok .tb-ico { width: 20px; height: 20px; }
.mtx-p-barra { display: flex; align-items: center; gap: 12px; margin: 14px 0; }
.mtx-p-barra > div { flex: 1; height: 10px; border-radius: 999px; background: #e6ebf1; overflow: hidden; }
.mtx-p-barra i { display: block; height: 100%; border-radius: 999px; background: #e0a82e; }
.mtx-persona.curso .mtx-p-barra i { background: #1f6fd1; }
.mtx-persona.cumplidas .mtx-p-barra i { background: #2f9e6a; }
.mtx-p-barra b { font-size: 16px; color: #10283d; }
.mtx-persona.cumplidas .mtx-p-barra b { color: #17714a; }
.mtx-ver { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; font-size: 15px; font-weight: 600; color: #101B2F; }
.mtx-ver .tb-ico { width: 17px; height: 17px; }
.mtx-items { margin-top: 12px; }
.mtx-tabla-fila { display: flex; justify-content: flex-end; margin: -4px 0 12px; }
.mtx-tabla-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; font-weight: 600; color: #101B2F; }
.mtx-tabla-btn .tb-ico { width: 17px; height: 17px; }
.mtx-vacio { padding: 34px 20px; text-align: center; color: #4a5d70; }
.mtx-vacio .tb-ico { width: 40px; height: 40px; color: #8aa4bb; }
.mtx-vacio h2 { margin: 8px 0 4px; font-size: 22px; color: #10283d; }
@media (max-width: 1399px) {
  .acx-tarjetas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mtx-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mtx-hero { grid-column: 1 / -1; }
}
@media (max-width: 1099px) {
  .mtx-cab .tb-ilustracion { display: none; }
}
@media (max-width: 760px) {
  .acx-kpis { width: 100%; }
  .acx-kpi { flex: 1 1 140px; min-width: 0; padding: 12px 14px; gap: 10px; }
  .acx-kpi b { font-size: 22px; }
  .acx-q { width: 100%; }
  .acx-tarjetas { grid-template-columns: minmax(0, 1fr); }
  .acx-card { padding: 16px; }
  .mtx-cab { flex-direction: column; align-items: stretch; }
  .mtx-lado { align-items: stretch; }
  .mtx-kpis { grid-template-columns: minmax(0, 1fr); }
  .mtx-hero { padding: 18px; gap: 14px; }
  .mtx-aro { width: 84px; height: 84px; }
  .mtx-hero strong { font-size: 42px; }
  .mtx-kpi { padding: 14px; }
  .mtx-kpi strong { font-size: 30px; }
  .mtx-sec { padding: 14px; }
  .mtx-personas { grid-template-columns: minmax(0, 1fr); }
  .mtx-p-cab { flex-wrap: wrap; }
}
/* ---------- ⚙️ Configuración de rondas (1/nov/2026, diseños 131, 132 y 133 de Luis) ---------- */
.rcf-cab { margin: 0 0 14px; }
.rcf-migas { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #4a5d70; }
.rcf-migas .tb-ico { width: 17px; height: 17px; }
.rcf-migas b { font-weight: 400; color: #8a97a5; }
.rcf-tabs { margin-bottom: 14px; }
.rcf-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.rcf-kpi { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: 1px solid #e6ebf1; border-radius: 16px; background: #fff; box-shadow: 0 6px 16px rgba(16, 32, 48, .05); min-width: 0; }
.rcf-kpi > span { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.rcf-kpi.total > span { background: #eaf2fb; color: #1f5fb8; }
.rcf-kpi > span .tb-ico { width: 26px; height: 26px; }
.rcf-kpi > span i { width: 16px; height: 16px; border-radius: 50%; }
.rcf-kpi.verde > span i { background: #2f9e6a; }
.rcf-kpi.gris > span i { background: #8a97a5; }
.rcf-kpi.ambar > span i { background: #f2b51d; }
.rcf-kpi b { display: block; font-size: 28px; line-height: 1.1; color: #10283d; }
.rcf-kpi small { font-size: 15px; color: #33475b; }
.rcf-dos { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.rcf-dos > .panel { margin: 0; }
.rcf-lista { padding: 16px 18px; }
.rcf-lista-cab { display: flex; gap: 12px; }
.rcf-q { flex: 1; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; margin: 0; border: 1px solid #dfe5ec; border-radius: 12px; background: #fff; min-width: 0; }
.rcf-q .tb-ico { width: 19px; height: 19px; color: #33475b; flex: none; }
.rcf-q input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15px; color: #10283d; box-shadow: none; outline: none; padding: 0; min-height: 38px; }
.rcf-nueva { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 12px; font-size: 15px; font-weight: 700; white-space: nowrap; }
.rcf-nueva .tb-ico { width: 18px; height: 18px; }
.rcf-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.rcf-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border: 1px solid #dfe5ec; border-radius: 999px; background: #fff; font: inherit; font-size: 14px; color: #33475b; cursor: pointer; box-shadow: none; }
.rcf-chip i { width: 9px; height: 9px; border-radius: 50%; background: #8a97a5; }
.rcf-chip.activas i { background: #2f9e6a; }
.rcf-chip b { min-width: 20px; padding: 0 6px; border-radius: 999px; background: #eef1f4; font-size: 12.5px; color: #33475b; }
.rcf-chip.activo { background: #e3eefb; border-color: #9fc2ea; color: #101B2F; font-weight: 600; }
.rcf-chip.activo b { background: #101B2F; color: #fff; }
.rcf-grupo { margin-bottom: 10px; }
.rcf-grupo-cab { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; font: inherit; font-size: 13.5px; letter-spacing: .4px; text-transform: uppercase; color: #33475b; text-align: left; box-shadow: none; }
.rcf-grupo-cab i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.rcf-grupo-cab i.verde { background: #2f9e6a; }
.rcf-grupo-cab i.gris { background: #8a97a5; }
.rcf-inactivas { background: #f6f8fb; cursor: pointer; }
.rcf-inactivas span { flex: 1; min-width: 0; font-size: 13px; letter-spacing: 0; text-transform: none; color: #4a5d70; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rcf-inactivas .tb-ico { width: 16px; height: 16px; margin-left: auto; }
.rcf-tabla { width: 100%; border-collapse: collapse; font-size: 14px; }
.rcf-tabla th { padding: 8px; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #33475b; border-bottom: 1px solid #e6ebf1; }
.rcf-tabla td { padding: 10px 8px; border-bottom: 1px solid #edf0f4; vertical-align: middle; color: #1d3246; }
.rcf-tabla td b { display: block; font-size: 15px; color: #10283d; }
.rcf-tabla td small { display: block; font-size: 13px; color: #4a5d70; }
.rcf-tabla .num { text-align: center; }
.rcf-tabla tbody tr { cursor: pointer; }
.rcf-tabla tbody tr:hover td { background: #f6f9fc; }
.rcf-tabla tbody tr.sel td { background: #eaf2fb; }
.rcf-tabla tbody tr.sel td:first-child { box-shadow: inset 3px 0 0 #1f5fb8; }
.rcf-ident { white-space: nowrap; }
.rcf-ident > span { display: inline-flex; flex-direction: column; margin-right: 16px; font-size: 12.5px; color: #4a5d70; }
.rcf-ident b { font-size: 15px; }
.rcf-ident b.falta { color: #b07a12; }
.rcf-acc { width: 1%; }
.rcf-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.rcf-pill i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.rcf-pill.activa { background: #e2f3ea; color: #146b45; }
.rcf-pill.inactiva { background: #eef1f4; color: #6b7a8b; }
.rcf-falta { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-weight: 600; color: #b07a12; }
.rcf-falta .tb-ico { width: 16px; height: 16px; }
.rcf-mas { position: relative; }
.rcf-tres { width: 36px; height: 34px; display: grid; place-items: center; padding: 0; border: 1px solid #dfe5ec; border-radius: 10px; background: #fff; font: inherit; font-size: 18px; font-weight: 700; color: #33475b; cursor: pointer; box-shadow: none; }
.rcf-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 200px; padding: 6px; border: 1px solid #e3e8ee; border-radius: 12px; background: #fff; box-shadow: 0 16px 36px rgba(16, 32, 48, .18); }
.rcf-menu button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 12px; border: 0; border-radius: 8px; background: transparent; font: inherit; font-size: 14px; color: #10283d; text-align: left; cursor: pointer; box-shadow: none; }
.rcf-menu button:hover { background: #f2f7fa; }
.rcf-menu button .tb-ico { width: 16px; height: 16px; color: #33475b; }
.rcf-menu .peligro, .rcf-menu .peligro .tb-ico { color: #b4232e; }
.rcf-vacio { margin: 0; padding: 26px 12px; text-align: center; color: #4a5d70; }
.rcf-det { position: sticky; top: 14px; padding: 18px 22px; }
.rcf-det-cab { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rcf-det-cab .spacer { flex: 1; }
.rcf-det-cab .rcf-pill { padding: 6px 12px; font-size: 13.5px; }
.rcf-estado { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; }
.rcf-estado .tb-ico { width: 16px; height: 16px; }
.rcf-estado.falta { background: #fdf0d2; color: #8a5108; }
.rcf-estado.ok { background: #e2f3ea; color: #146b45; }
.rcf-det h2 { margin: 14px 0 6px; font-size: 25px; color: #10283d; }
.rcf-det-fila { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid #edf0f4; }
.rcf-det-fila > .tb-ico { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: #eef3f8; color: #33475b; flex: none; }
.rcf-det-fila > div { flex: 1; min-width: 0; }
.rcf-det-fila span { display: block; font-size: 13.5px; color: #4a5d70; }
.rcf-det-fila b { display: block; font-size: 16.5px; color: #10283d; }
.rcf-det-fila small { display: block; font-size: 12.5px; color: #4a5d70; }
.rcf-det-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: #101B2F; white-space: nowrap; }
.rcf-det-btn .tb-ico { width: 16px; height: 16px; }
.rcf-det h3 { margin: 16px 0 10px; font-size: 17px; color: #10283d; }
.rcf-ident-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rcf-ident-card { padding: 14px; border: 1px solid #e6ebf1; border-radius: 14px; background: #fff; }
.rcf-ident-card > span { float: left; width: 44px; height: 44px; margin-right: 12px; border-radius: 50%; display: grid; place-items: center; background: #e2f3ea; color: #1f9d57; }
.rcf-ident-card.falta > span { background: #fbe6bd; color: #a86d0c; }
.rcf-ident-card > span .tb-ico { width: 24px; height: 24px; }
.rcf-ident-card small { display: block; font-size: 13px; color: #4a5d70; }
.rcf-ident-card b { display: block; font-size: 22px; line-height: 1.2; color: #10283d; }
.rcf-ident-card p { clear: both; display: flex; align-items: center; gap: 6px; margin: 10px 0 0; padding: 8px 10px; border-radius: 10px; background: #fdf6d3; font-size: 13.5px; color: #8a5108; }
.rcf-ident-card p .tb-ico { width: 16px; height: 16px; flex: none; }
.rcf-reglas { display: flex; align-items: center; gap: 8px; margin: 12px 0; font-size: 13px; color: #4a5d70; }
.rcf-reglas .tb-ico { width: 16px; height: 16px; flex: none; }
.rcf-det-acciones { display: flex; gap: 10px; flex-wrap: wrap; }
.rcf-completar { flex: 1 1 220px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 16px; border: 0; border-radius: 12px; background: linear-gradient(135deg, #0057C7, #101B2F); color: #fff; font: inherit; font-size: 15.5px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 18px rgba(22, 70, 96, .25); }
.rcf-completar .tb-ico { width: 19px; height: 19px; }
.rcf-ver-zonas { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 12px; font-weight: 600; color: #101B2F; }
.rcf-ver-zonas .tb-ico { width: 17px; height: 17px; }
.rcf-nota { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #eef4fb; font-size: 13px; color: #33475b; }
.rcf-nota .tb-ico { width: 18px; height: 18px; color: #1f5fb8; flex: none; margin-top: 1px; }
/* Editar ronda (diseño 133) */
.rce-cab { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 14px; }
.rce-cab .spacer { flex: 1; }
.rce-cab h1 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rce-cab h1 .rcf-pill { font-size: 14px; padding: 6px 14px; }
.rce-volver { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 0; border: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: #101B2F; cursor: pointer; box-shadow: none; }
.rce-volver .tb-ico { width: 18px; height: 18px; }
.rce-mas { padding: 10px 16px; border-radius: 12px; font-weight: 600; }
.rce-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
.rce-grid > .panel { margin: 0; }
.rce-pasos { display: flex; flex-direction: column; gap: 6px; padding: 12px; }
.rce-paso { display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 12px; border: 0; border-radius: 12px; background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; box-shadow: none; }
.rce-paso > span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #2f9e6a; color: #fff; font-weight: 700; }
.rce-paso b { display: block; font-size: 15.5px; color: #10283d; }
.rce-paso small { display: block; font-size: 12.5px; color: #4a5d70; overflow-wrap: anywhere; }
.rce-paso.activo { background: #eaf2fb; }
.rce-paso.activo > span { background: #1f6fd1; }
.rce-centro { padding: 20px 22px; }
.rce-centro h2 { margin: 0; font-size: 23px; color: #10283d; }
.rce-sub { margin: 4px 0 14px; font-size: 15px; color: #4a5d70; }
.rce-centro h3 { margin: 18px 0 8px; font-size: 16px; color: #10283d; }
.rce-campo { margin-bottom: 12px; }
.rce-campo label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; color: #33475b; }
.rce-campo input, .rce-campo textarea, .rce-campo select { width: 100%; padding: 10px 12px; border: 1px solid #dfe5ec; border-radius: 10px; background: #fff; font: inherit; font-size: 15px; color: #10283d; }
.rce-radio, .rce-check { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-size: 14.5px; font-weight: 400; color: #1d3246; cursor: pointer; }
.rce-radio input, .rce-check input { width: auto; margin: 0; accent-color: #1f5fb8; }
.rce-personas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; margin: 4px 0 10px 24px; padding: 10px 12px; border: 1px solid #e6ebf1; border-radius: 10px; }
.rce-personas label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.rce-personas input { width: auto; margin: 0; }
.rce-personas.apagado { opacity: .45; pointer-events: none; }
.rce-dias-sel { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rce-dias-sel [data-dia] { width: 42px; height: 42px; border: 1px solid #dfe5ec; border-radius: 10px; background: #fff; font: inherit; font-size: 15px; font-weight: 700; color: #6b7a8b; cursor: pointer; box-shadow: none; }
.rce-dias-sel [data-dia].si { background: #e3eefb; border-color: #1f6fd1; color: #101B2F; }
.rce-ventana { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-size: 14px; color: #4a5d70; }
.rce-ventana select { padding: 8px 10px; border: 1px solid #dfe5ec; border-radius: 10px; font: inherit; }
.rce-ayuda { margin: 8px 0 0; font-size: 12.5px; color: #4a5d70; }
.rce-checks { display: flex; gap: 18px; flex-wrap: wrap; }
.rce-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; align-items: end; margin-top: 8px; }
.rce-form .rce-campo { margin-bottom: 6px; }
.rce-zbarra { display: flex; gap: 12px; }
.rce-anadir { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 12px; font-size: 15px; font-weight: 700; white-space: nowrap; }
.rce-anadir .tb-ico { width: 18px; height: 18px; }
.rce-cuenta { margin: 14px 0 10px; font-size: 15px; font-weight: 600; color: #10283d; }
.rce-zona { padding: 14px 16px; margin-bottom: 12px; border: 1px solid #e3e8ee; border-radius: 14px; background: #fff; }
.rce-zona.desactivada { opacity: .7; }
.rce-zona-cab { display: flex; align-items: center; gap: 12px; }
.rce-zona-cab > div { flex: 1; min-width: 0; }
.rce-zona-cab h3 { margin: 0; font-size: 17px; color: #10283d; }
.rce-zona-cab p { margin: 2px 0 0; font-size: 13.5px; color: #4a5d70; }
.rce-orden { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: none; }
.rce-orden b { font-size: 13px; color: #4a5d70; }
.rce-zona-ilu { width: 64px; height: 64px; border-radius: 12px; display: grid; place-items: center; flex: none; background: #eaf2fb; color: #1f5fb8; }
.rce-zona-ilu .asu-ilu { width: 42px; height: 42px; }
.rce-quitar { flex: none; }
.rce-zona-datos { display: flex; gap: 8px 20px; flex-wrap: wrap; margin: 12px 0 10px; font-size: 14px; color: #33475b; }
.rce-zona-datos span, .rce-zona-ident span { display: inline-flex; align-items: center; gap: 6px; }
.rce-zona-datos .tb-ico { width: 17px; height: 17px; color: #4a5d70; }
.rce-zona-ident { display: flex; gap: 8px 20px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid #edf0f4; font-size: 14px; }
.rce-zona-ident .tb-ico { width: 17px; height: 17px; }
.rce-zona-ident .ok .tb-ico { color: #1f9d57; }
.rce-zona-ident .falta { color: #8a5108; }
.rce-zona-ident .falta .tb-ico { color: #c9902a; }
.rce-zona-ir { display: flex; gap: 8px 22px; flex-wrap: wrap; margin-top: 10px; }
.rce-zona-ir .vtx-link, .rce-compartida .vtx-link { font-size: 14.5px; }
.rce-compartida { display: flex; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #eef4fb; }
.rce-compartida > .tb-ico { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: #fff; color: #1f5fb8; flex: none; }
.rce-compartida b { font-size: 14.5px; color: #10283d; }
.rce-compartida p { margin: 2px 0 6px; font-size: 13px; color: #4a5d70; }
.rce-picker { margin: 12px 0 4px; padding: 12px; border: 1px solid #dfe5ec; border-radius: 12px; background: #fbfcfe; }
.rce-picker-cab { display: flex; align-items: center; gap: 8px; }
.rce-picker-cab .spacer { flex: 1; }
.rce-picker-filtros { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.rce-picker-filtros select, .rce-picker-filtros input { padding: 7px 10px; border: 1px solid #dfe5ec; border-radius: 10px; font: inherit; font-size: 14px; }
.rce-picker-lista { display: grid; gap: 4px; max-height: 260px; overflow: auto; }
.rce-picker-lista label { display: flex; align-items: baseline; gap: 8px; font-size: 14px; cursor: pointer; }
.rce-picker-lista input { width: auto; margin: 0; }
.rce-picker-acc { display: flex; gap: 8px; margin-top: 8px; }
.rce-resumen { position: sticky; top: 14px; padding: 18px 20px; }
.rce-resumen h2 { margin: 0 0 8px; font-size: 20px; color: #10283d; }
.rce-r { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; }
.rce-r > .tb-ico { width: 22px; height: 22px; color: #33475b; flex: none; margin-top: 2px; }
.rce-r > div { flex: 1; min-width: 0; }
.rce-r span { display: block; font-size: 13px; color: #4a5d70; }
.rce-r b { display: block; font-size: 16px; color: #10283d; overflow-wrap: anywhere; }
.rce-r small { display: block; font-size: 12.5px; color: #4a5d70; }
.rce-dias { display: flex; gap: 6px; margin-top: 4px; }
.rce-dias i { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: #eef1f4; color: #8a97a5; font-size: 13px; font-style: normal; font-weight: 700; }
.rce-dias i.si { background: #e3eefb; color: #1f5fb8; }
.rce-linea { margin: 6px 0; border-top: 1px solid #e6ebf1; }
.rce-n { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.rce-n > .tb-ico { width: 20px; height: 20px; color: #33475b; flex: none; }
.rce-n > span:not(.rce-marca) { flex: 1; font-size: 14px; color: #4a5d70; }
.rce-n b { font-size: 15.5px; color: #10283d; }
.rce-marca { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.rce-marca .tb-ico { width: 14px; height: 14px; color: #fff; }
.rce-marca.ok { background: #2f9e6a; }
.rce-marca.falta { background: #e0a82e; }
.rce-pie { position: sticky; bottom: 10px; z-index: 5; display: flex; align-items: center; gap: 12px; margin: 16px 0 0; padding: 14px 20px; }
.rce-pie .spacer { flex: 1; }
.rce-cancelar { padding: 11px 24px; border-radius: 12px; font-weight: 600; }
.rce-guardar { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border-radius: 12px; font-size: 15.5px; font-weight: 700; }
.rce-guardar .tb-ico { width: 18px; height: 18px; }
/* Zonas de supervisión (diseño 131) */
.panel.rzx-filtros { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; margin-bottom: 12px; }
.rzx-filtros .rcf-q { flex: 1 1 280px; }
.rzx-sel { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 12px; margin: 0; border: 1px solid #dfe5ec; border-radius: 12px; background: #fff; }
.rzx-sel > .tb-ico { width: 19px; height: 19px; color: #33475b; }
.rzx-sel span { display: block; font-size: 12px; color: #4a5d70; }
.rzx-sel select { min-width: 150px; padding: 0; border: 0; background-color: transparent; font: inherit; font-size: 15px; font-weight: 600; color: #10283d; box-shadow: none; }
.rzx-dos { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.rzx-lista { padding: 10px 12px; }
.rzx-encab { display: grid; grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1.5fr); gap: 10px; padding: 8px 14px; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #33475b; }
.rzx-grupo { margin-bottom: 8px; }
.rzx-grupo-cab { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border: 0; border-radius: 12px; background: #eef3f8; font: inherit; font-size: 16px; color: #10283d; text-align: left; cursor: pointer; box-shadow: none; }
.rzx-grupo-cab > .tb-ico { width: 21px; height: 21px; color: #33475b; }
.rzx-grupo-cab small { margin-left: auto; padding: 1px 8px; border-radius: 999px; background: #fff; font-size: 12.5px; color: #33475b; }
.rzx-flecha { display: inline-grid; place-items: center; }
.rzx-flecha .tb-ico { width: 16px; height: 16px; color: #33475b; transition: transform .15s; }
.rzx-flecha.abierta .tb-ico { transform: rotate(90deg); }
.rzx-fila { display: grid; grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1.5fr) auto 16px; gap: 10px; align-items: center; width: 100%; padding: 11px 14px; border: 0; border-bottom: 1px solid #edf0f4; background: #fff; font: inherit; font-size: 14.5px; color: #1d3246; text-align: left; cursor: pointer; box-shadow: none; }
.rzx-fila:hover { background: #f6f9fc; }
.rzx-fila.sel { background: #e3f1f7; box-shadow: inset 3px 0 0 #0057C7; }
.rzx-fila.desactivada { opacity: .6; }
.rzx-fila > .tb-ico { width: 16px; height: 16px; color: #6b7a8b; }
.rzx-nombre { font-weight: 500; color: #10283d; }
.rzx-nombre i { font-style: normal; }
.rzx-n { text-align: center; }
.rzx-ident { display: flex; gap: 6px 14px; flex-wrap: wrap; font-size: 13.5px; color: #33475b; }
.rzx-ident > span { display: inline-flex; align-items: center; gap: 6px; }
.rzx-ident i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.rzx-ident .ok i { background: #2f9e6a; }
.rzx-ident .falta i { background: #f2b51d; }
.rzx-sinronda { padding: 3px 10px; border-radius: 999px; background: #eef1f4; font-size: 12.5px; color: #4a5d70; white-space: nowrap; }
.rzx-det { position: sticky; top: 14px; padding: 18px 20px; }
.rzx-det-cab { display: flex; align-items: flex-start; gap: 16px; }
.rzx-det-cab > div { flex: 1; min-width: 0; }
.rzx-det-ilu { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #e3eefb; color: #1f5fb8; }
.rzx-det-ilu .asu-ilu { width: 52px; height: 52px; }
.rzx-det-cab h2 { margin: 0; font-size: 24px; color: #10283d; }
.rzx-det-cab p { margin: 2px 0 8px; font-size: 14.5px; color: #4a5d70; }
.rzx-area { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #4a5d70; }
.rzx-area .tb-ico { width: 16px; height: 16px; }
.rzx-area b { padding: 3px 10px; border-radius: 8px; background: #eef3f8; font-weight: 600; color: #10283d; }
.rzx-editar { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; font-weight: 700; white-space: nowrap; flex: none; }
.rzx-editar .tb-ico { width: 17px; height: 17px; }
.rzx-ident-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 14px 0 10px; }
.rzx-ident-cards > div { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid #d3ecdd; border-radius: 14px; background: #f2faf5; }
.rzx-ident-cards > div > .tb-ico { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: #d6f0e2; color: #1f9d57; flex: none; }
.rzx-ident-cards span { display: block; font-size: 14px; font-weight: 600; color: #33475b; }
.rzx-ident-cards b { display: flex; align-items: center; gap: 6px; font-size: 16px; color: #10283d; }
.rzx-ident-cards b i { width: 10px; height: 10px; border-radius: 50%; background: #2f9e6a; }
.rzx-ident-cards .falta { border-color: #f4e3bf; background: #fff8e6; }
.rzx-ident-cards .falta > .tb-ico { background: #fbe6bd; color: #a86d0c; }
.rzx-ident-cards .falta b i { background: #f2b51d; }
.rzx-campo { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; font-size: 13px; }
.rzx-campo .btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 600; }
.rzx-campo .tb-ico { width: 16px; height: 16px; }
.rzx-tabs { display: flex; border-bottom: 1px solid #e6ebf1; }
.rzx-tabs button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 8px; border: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: #4a5d70; cursor: pointer; box-shadow: none; }
.rzx-tabs button .tb-ico { width: 18px; height: 18px; }
.rzx-tabs button.activo { color: #10283d; box-shadow: inset 0 -3px 0 #0057C7; }
.rzx-cuerpo { margin-top: 12px; }
.rzx-res { display: flex; align-items: center; gap: 14px; padding: 12px 14px; margin-bottom: 10px; border: 1px solid #e6ebf1; border-radius: 12px; background: #fff; }
.rzx-res > .tb-ico { width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: #eef3f8; color: #33475b; flex: none; }
.rzx-res > div { flex: 1; min-width: 0; }
.rzx-res span { display: block; font-size: 13.5px; color: #4a5d70; }
.rzx-res b { display: block; font-size: 16.5px; color: #10283d; }
.rzx-res-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: #101B2F; white-space: nowrap; }
.rzx-res-btn .tb-ico { width: 15px; height: 15px; }
.rzx-flujo { display: grid; grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr); gap: 8px; align-items: center; margin-top: 12px; padding: 14px; border-radius: 14px; background: #eef4fb; }
.rzx-flujo > .tb-ico { width: 18px; height: 18px; color: #4a5d70; }
.rzx-flujo > div .tb-ico { width: 24px; height: 24px; color: #1f5fb8; }
.rzx-flujo b { display: block; font-size: 14.5px; color: #10283d; }
.rzx-flujo small { display: block; font-size: 12.5px; color: #4a5d70; }
.rzx-els { display: flex; flex-direction: column; }
.rzx-el { display: flex; gap: 10px; align-items: flex-start; padding: 10px 2px; border-bottom: 1px solid #edf0f4; }
.rzx-el > .tb-ico { width: 18px; height: 18px; color: #4a5d70; margin-top: 2px; flex: none; }
.rzx-el b { display: block; font-size: 15px; color: #10283d; }
.rzx-el small { display: block; font-size: 13px; color: #4a5d70; }
.rzx-el-preg { padding: 10px 2px; border-bottom: 1px solid #edf0f4; }
.rzx-el-preg b { font-size: 15px; color: #10283d; }
.rzx-el-preg small { margin-left: 8px; font-size: 13px; color: #4a5d70; }
.rzx-el-preg ul { margin: 6px 0 0 18px; padding: 0; font-size: 14px; color: #1d3246; }
.rzx-el-preg p { margin: 4px 0 0; font-size: 13.5px; }
.rzx-gral { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 14px; color: #33475b; }
.rzx-gral .tb-ico { width: 17px; height: 17px; }
@media (max-width: 1399px) {
  .rce-grid { grid-template-columns: 230px minmax(0, 1fr); }
  .rce-resumen { grid-column: 1 / -1; position: static; }
}
@media (max-width: 1099px) {
  .rcf-dos, .rzx-dos { grid-template-columns: minmax(0, 1fr); }
  .rcf-det, .rzx-det { position: static; }
  .rce-grid { grid-template-columns: minmax(0, 1fr); }
  .rce-pasos { flex-direction: row; overflow-x: auto; }
  .rce-paso { flex: 1 0 200px; }
}
@media (max-width: 760px) {
  .rcf-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rcf-kpi { padding: 12px; gap: 10px; }
  .rcf-kpi b { font-size: 22px; }
  .rcf-kpi small { font-size: 13px; }
  .rcf-lista, .rcf-det, .rce-centro, .rce-resumen, .rzx-det { padding: 14px; }
  .rcf-lista-cab, .rce-zbarra { flex-direction: column; }
  /* En el celular la tabla cabe sin deslizar: sin la columna de estado ni la de identificación */
  .rcf-tabla th:nth-child(1), .rcf-tabla td:nth-child(1), .rcf-tabla th:nth-child(5), .rcf-tabla td:nth-child(5) { display: none; }
  .rcf-tabla tbody tr.sel td:nth-child(2) { box-shadow: inset 3px 0 0 #1f5fb8; }
  .rcf-ident-cards, .rzx-ident-cards { grid-template-columns: minmax(0, 1fr); }
  .rcf-det-fila { flex-wrap: wrap; }
  .rce-form, .rce-personas { grid-template-columns: minmax(0, 1fr); }
  .rce-zona { padding: 12px; }
  .rce-zona-cab { flex-wrap: wrap; gap: 10px; }
  .rce-zona-cab > div { flex: 1 1 150px; }
  .rce-zona-ilu { width: 44px; height: 44px; }
  .rce-zona-ilu .asu-ilu { width: 30px; height: 30px; }
  .rce-zona-cab .rcf-pill { order: 5; margin-left: 52px; }
  .rce-personas { margin-left: 0; }
  .rce-pie { padding: 12px 14px; }
  .rce-cancelar { padding: 11px 14px; }
  .rce-pie #rce-aviso { display: none; }
  .rzx-sel { flex: 1 1 140px; }
  .rzx-sel select { min-width: 0; width: 100%; }
  .rzx-encab { display: none; }
  .rzx-fila { grid-template-columns: minmax(0, 1fr) auto 16px; }
  .rzx-n { display: none; }
  .rzx-ident { grid-column: 1 / -1; grid-row: 2; }
  .rzx-det-cab { flex-wrap: wrap; }
  .rzx-flujo { grid-template-columns: minmax(0, 1fr); }
  .rzx-flujo > .tb-ico { transform: rotate(90deg); justify-self: center; }
}
/* ---------- 💰 Costos y presupuesto de mantenimiento (2/nov/2026, diseño 130 de Luis) ---------- */
.psx-cab { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin: 4px 0 16px; }
.psx-cab .spacer { flex: 1; }
.psx-excel { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; font-weight: 600; }
.psx-excel .tb-ico { width: 17px; height: 17px; }
.psx-dos { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 16px; align-items: start; }
.psx-dos > .panel { margin: 0; }
.psx-izq { min-width: 0; }
.psx-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.psx-kpi { display: flex; gap: 10px; align-items: flex-start; padding: 14px 12px; border: 1px solid #e6ebf1; border-radius: 16px; background: #fff; box-shadow: 0 6px 16px rgba(16, 32, 48, .05); min-width: 0; }
.psx-kpi > span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.psx-kpi > span .tb-ico { width: 23px; height: 23px; }
.psx-kpi > div { min-width: 0; }
.psx-kpi strong { display: block; font-size: 23px; line-height: 1.1; font-weight: 800; color: #10283d; white-space: nowrap; }
.psx-kpi b { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.25; color: #10283d; }
.psx-kpi b em { font-style: normal; text-transform: uppercase; }
.psx-kpi small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.3; color: #4a5d70; }
.psx-kpi.azul > span { background: #eaf2fb; color: #1f5fb8; }
.psx-kpi.celeste > span { background: #e3f0fb; color: #2f7fd1; }
.psx-kpi.verde { background: #f0faf5; border-color: #d3ecdd; }
.psx-kpi.verde > span { background: #d6f0e2; color: #1f9d57; }
.psx-kpi.gris > span { background: #eef1f4; color: #1f5fb8; }
.psx-aviso { display: flex; align-items: center; gap: 16px; padding: 16px 20px; margin-bottom: 14px; border: 1px solid #f4e3a8; border-radius: 16px; background: #fff6dc; }
.psx-aviso > span { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex: none; background: #fde7a8; color: #b07a12; }
.psx-aviso > span .tb-ico { width: 28px; height: 28px; }
.psx-aviso p { flex: 1; margin: 0; font-size: 16px; color: #10283d; }
.psx-aviso p b { display: block; font-size: 18px; color: #7a4708; }
.psx-completar { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border: 0; border-radius: 12px; background: #f2b51d; color: #10283d; font: inherit; font-size: 15.5px; font-weight: 700; cursor: pointer; white-space: nowrap; box-shadow: 0 6px 14px rgba(176, 122, 18, .2); }
.psx-completar .tb-ico { width: 18px; height: 18px; }
.psx-lista { padding: 14px 16px; margin: 0; }
.psx-barra { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.psx-barra .spacer { flex: 1; }
.psx-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.psx-chip { padding: 9px 16px; border: 1px solid #dfe5ec; border-radius: 12px; background: #fff; font: inherit; font-size: 14.5px; font-weight: 600; color: #33475b; cursor: pointer; box-shadow: none; }
.psx-chip.activo { background: #101B2F; border-color: #101B2F; color: #fff; }
.psx-q { display: flex; align-items: center; gap: 10px; width: 300px; max-width: 100%; height: 42px; padding: 0 14px; margin: 0; border: 1px solid #dfe5ec; border-radius: 12px; background: #fff; }
.psx-q .tb-ico { width: 18px; height: 18px; color: #33475b; flex: none; }
.psx-q input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 14.5px; color: #10283d; box-shadow: none; outline: none; padding: 0; min-height: 36px; }
.psx-scroll { max-height: 72vh; overflow: auto; }
.psx-tabla { width: 100%; border-collapse: collapse; font-size: 14px; }
.psx-tabla th { position: sticky; top: 0; z-index: 2; padding: 10px 6px; background: #fff; text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #33475b; border-bottom: 1px solid #e6ebf1; }
.psx-tabla th small { display: block; font-weight: 400; letter-spacing: 0; text-transform: none; color: #4a5d70; }
.psx-tabla td { padding: 10px 6px; border-bottom: 1px solid #edf0f4; vertical-align: middle; color: #1d3246; background: #fff; }
.psx-tabla th:first-child, .psx-tabla .psx-fila td:first-child { position: sticky; left: 0; z-index: 1; }
.psx-tabla th:first-child { z-index: 3; }
.psx-tabla .num { white-space: nowrap; }
.psx-tabla .num b { color: #10283d; }
.psx-grupo td { padding: 0; background: #fff; }
.psx-grupo button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 8px 8px; border: 0; background: transparent; font: inherit; font-size: 16px; color: #10283d; text-align: left; cursor: pointer; box-shadow: none; }
.psx-grupo button > .tb-ico { width: 20px; height: 20px; color: #33475b; }
.psx-grupo small { font-size: 14px; color: #4a5d70; }
.psx-grupo-total { margin-left: auto; font-size: 13.5px; color: #4a5d70; }
.psx-flecha { display: inline-grid; place-items: center; }
.psx-flecha .tb-ico { width: 16px; height: 16px; color: #33475b; transition: transform .15s; }
.psx-flecha.abierta .tb-ico { transform: rotate(90deg); }
.psx-fila { cursor: pointer; }
.psx-fila:hover td { background: #f6f9fc; }
.psx-fila.sel td { background: #eaf2fb; }
.psx-fila.sel td:first-child { box-shadow: inset 3px 0 0 #1f5fb8; }
.psx-rutina { display: flex; gap: 8px; align-items: flex-start; min-width: 190px; }
.psx-ilu { width: 30px; height: 30px; display: grid; place-items: center; flex: none; color: #2f7d5a; }
.psx-ilu .asu-ilu { width: 28px; height: 28px; }
.psx-folio { font-size: 15px; font-weight: 700; color: #1f5fb8; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.psx-rutina > div > span { display: block; font-size: 14px; color: #33475b; }
.psx-nota { display: flex; align-items: flex-start; gap: 6px; margin-top: 3px; font-size: 12.5px; color: #4a5d70; }
.psx-nota .tb-ico { width: 14px; height: 14px; flex: none; margin-top: 1px; }
.psx-pend { display: inline-block; font-size: 13px; line-height: 1.3; color: #6b7a8b; white-space: normal; max-width: 110px; }
.psx-estado { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.psx-estado.ok { background: #e2f3ea; color: #146b45; }
.psx-estado.falta { background: #fdf0d2; color: #8a5108; }
.psx-vacio { margin: 0; padding: 26px 12px; text-align: center; color: #4a5d70; }
.panel.psx-prov { margin: 16px 0 0; padding: 12px 16px; }
.psx-prov summary { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: #10283d; cursor: pointer; }
.psx-prov summary .tb-ico { width: 19px; height: 19px; }
.psx-prov summary span { font-size: 13px; font-weight: 400; color: #4a5d70; }
.psx-tabla-prov { margin-top: 10px; }
.psx-tabla-prov .num { text-align: right; }
.psx-det { position: sticky; top: 14px; padding: 18px 22px; }
.psx-det-cab { display: flex; align-items: center; gap: 14px; }
.psx-det-cab > div { flex: 1; min-width: 0; }
.psx-det-ilu { width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center; flex: none; background: #e8f5ee; color: #17714a; }
.psx-det-ilu .asu-ilu { width: 40px; height: 40px; }
.psx-det-cab h2 { margin: 0; font-size: 22px; color: #10283d; }
.psx-det-cab p { margin: 2px 0 0; font-size: 15px; color: #4a5d70; }
.psx-det h3 { display: flex; align-items: center; gap: 8px; margin: 18px 0 8px; font-size: 17px; color: #10283d; }
.psx-det h3 .tb-ico { width: 20px; height: 20px; color: #33475b; }
.psx-det h3 small { font-size: 14px; font-weight: 400; color: #4a5d70; }
.psx-dato { display: grid; grid-template-columns: 20px 140px minmax(0, 1fr); gap: 10px; align-items: center; padding: 6px 0; font-size: 14.5px; }
.psx-dato .tb-ico { width: 18px; height: 18px; color: #4a5d70; }
.psx-dato span { color: #4a5d70; }
.psx-dato b { font-weight: 500; color: #10283d; }
.psx-campo { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 4px 12px; align-items: center; margin: 8px 0; }
.psx-campo label { font-size: 14.5px; color: #33475b; margin: 0; }
.psx-campo small { grid-column: 2; font-size: 12.5px; color: #4a5d70; }
.psx-campo > input { padding: 10px 12px; border: 1px solid #dfe5ec; border-radius: 10px; font: inherit; font-size: 14.5px; }
.psx-pesos { display: flex; align-items: center; border: 1px solid #dfe5ec; border-radius: 10px; background: #fff; }
.psx-pesos span { padding: 0 4px 0 12px; color: #4a5d70; }
.psx-pesos input { flex: 1; min-width: 0; padding: 10px 12px 10px 4px; border: 0; background: transparent; font: inherit; font-size: 16px; color: #10283d; box-shadow: none; outline: none; }
.psx-fijo { padding: 10px 12px; border: 1px solid #dfe5ec; border-radius: 10px; background: #f6f8fb; font-size: 15px; color: #10283d; }
.psx-sueldo { display: flex; align-items: flex-start; gap: 8px; margin: 4px 0 6px; font-size: 13.5px; font-weight: 400; color: #33475b; cursor: pointer; }
.psx-sueldo input { width: auto; margin: 2px 0 0; }
.psx-anual { display: flex; align-items: center; gap: 12px; margin: 12px 0 4px; padding: 14px 16px; border: 1px solid #f4e3a8; border-radius: 14px; background: #fff6dc; }
.psx-anual > span .tb-ico { width: 30px; height: 30px; color: #b07a12; }
.psx-anual > div { flex: 1; min-width: 0; }
.psx-anual b { display: block; font-size: 15.5px; color: #10283d; }
.psx-anual small { font-size: 13.5px; color: #4a5d70; }
.psx-anual strong { font-size: 26px; font-weight: 800; color: #10283d; white-space: nowrap; }
.psx-info { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0; padding: 10px 12px; border-radius: 12px; background: #eef4fb; font-size: 13px; color: #33475b; }
.psx-info .tb-ico { width: 17px; height: 17px; color: #1f5fb8; flex: none; margin-top: 1px; }
.psx-acciones { display: flex; gap: 10px; margin-top: 16px; }
.psx-guardar { flex: 1; padding: 13px; border-radius: 12px; font-size: 15.5px; font-weight: 700; }
.psx-ver { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 12px; font-weight: 600; color: #101B2F; }
.psx-ver .tb-ico { width: 17px; height: 17px; }
.psx-quitar { margin-top: 8px; padding: 0; border: 0; background: transparent; font: inherit; font-size: 13.5px; color: #b4232e; text-decoration: underline; cursor: pointer; box-shadow: none; }
.psx-gasto { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 12px; padding: 12px 16px; border: 1px solid #dfe5ec; border-radius: 12px; background: #fff; font: inherit; text-align: left; cursor: pointer; box-shadow: none; }
.psx-gasto > .tb-ico { width: 22px; height: 22px; color: #1f5fb8; flex: none; }
.psx-gasto b { display: block; font-size: 15px; color: #1f5fb8; }
.psx-gasto small { font-size: 12.5px; color: #4a5d70; }
@media (max-width: 1399px) {
  .psx-dos { grid-template-columns: minmax(0, 1fr) 400px; }
  .psx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1099px) {
  .psx-dos { grid-template-columns: minmax(0, 1fr); }
  .psx-det { position: static; }
}
@media (max-width: 760px) {
  .psx-kpi { padding: 12px; }
  .psx-kpi strong { font-size: 21px; }
  .psx-aviso { flex-wrap: wrap; padding: 14px; }
  .psx-completar { width: 100%; justify-content: center; }
  .psx-lista, .psx-det { padding: 14px; }
  .psx-q { width: 100%; }
  /* En el celular cabe sin deslizar: sin las columnas de frecuencia y de estimación al año */
  .psx-tabla th:nth-child(2), .psx-tabla .psx-fila td:nth-child(2), .psx-tabla th:nth-child(4), .psx-tabla .psx-fila td:nth-child(4), .psx-tabla th:nth-child(5), .psx-tabla .psx-fila td:nth-child(5), .psx-grupo-total { display: none; }
  .psx-rutina { min-width: 0; }
  .psx-ilu { display: none; }
  .psx-campo { grid-template-columns: minmax(0, 1fr); }
  .psx-campo small { grid-column: 1; }
  .psx-dato { grid-template-columns: 20px 110px minmax(0, 1fr); }
  .psx-acciones { flex-wrap: wrap; }
}
/* ---------- 🔍 Ficha contra rondas (3/nov/2026): el estado de la ficha no coincide con lo que reportan las rondas ---------- */
.eq-cruce { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 12px 14px; border: 1px solid #f4e3bf; border-radius: 12px; background: #fff8e6; }
.eq-cruce > .tb-ico { width: 22px; height: 22px; color: #a86d0c; flex: none; }
.eq-cruce > div { flex: 1; min-width: 0; }
.eq-cruce b { font-size: 14.5px; color: #7a4708; }
.eq-cruce p { margin: 2px 0 0; font-size: 13.5px; color: #33475b; }
.eq-cruce-btn { flex: none; padding: 8px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.eqc-sel .eq-cruce { margin: 12px 0 0; }
.eqc-cruce { display: flex; align-items: center; gap: 4px; margin-top: 3px; font-size: 12px; font-weight: 600; color: #a86d0c; }
.eqc-cruce .tb-ico { width: 13px; height: 13px; }
.eq-cruce-marca select { box-shadow: 0 0 0 3px rgba(242, 181, 29, .45); }
@media (max-width: 760px) {
  .eq-cruce { flex-wrap: wrap; }
  .eq-cruce-btn { width: 100%; }
}
