/* Cabildia · Vitrina — ilustraciones animadas de las funciones (templates/vitrina/ilus/*.html)
   Regla: el estado SIN animación es el final (todo visible). Las animaciones parten
   de oculto y llegan a ese estado; con «reducir movimiento» la escena se ve completa.
   Ciclo común de 6 s con entradas sincronizadas (.eNN). Fuera de pantalla se pausan (.fuera). */

.ilus-marco {
  position: relative; border-radius: 14px; overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, oklch(0.83 0.165 80 / .07), transparent 60%),
    linear-gradient(oklch(0.62 0.05 258 / .07) 1px, transparent 1px) 0 0 / 100% 14px,
    linear-gradient(90deg, oklch(0.62 0.05 258 / .07) 1px, transparent 1px) 0 0 / 14px 100%,
    oklch(0.16 0.036 258);
  border: 1px solid var(--line-2);
  padding: .4rem;
}
.il { display: block; width: 100%; height: auto; overflow: visible; }
.il text { font: 600 7.4px var(--f-mono); fill: var(--ink-3); letter-spacing: .02em; }
.il text.claro { fill: var(--ink); }
.il text.oro { fill: var(--brass-hi); }
.il text.cian { fill: var(--signal); }
.il text.crit { fill: var(--crit); }

.il .hoja { fill: oklch(0.21 0.045 258); stroke: var(--line-2); stroke-width: 1; }
.il .tarjeta { fill: oklch(0.24 0.045 258); stroke: var(--line-2); stroke-width: 1; }
.il .pantalla { fill: oklch(0.15 0.035 258); }
.il .fila { fill: oklch(0.22 0.045 258); stroke: var(--line); }
.il .fila-oro { stroke: var(--brass-hi); stroke-width: 1.2; fill: oklch(0.83 0.165 80 / .08); }
.il .guia { stroke: var(--line-2); stroke-width: 1.4; stroke-dasharray: 3 4; }
.il .s-oro { stroke: var(--brass-hi); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.il .s-tenue { stroke: var(--ink-3); stroke-width: 1.6; stroke-linecap: round; fill: none; }
.il .anillo-crit { fill: none; stroke: var(--crit); stroke-width: 1.6; stroke-dasharray: 3 2; }
.il .chip { stroke: none; }
.il .borde { stroke: var(--line-2); }
.il .f-oro { fill: var(--brass-hi); }
.il .f-cian { fill: var(--signal); }
.il .f-ok { fill: #4caf50; }
.il .f-warn { fill: var(--warn); }
.il .f-crit { fill: var(--crit); }
.il .f-tenue { fill: var(--ink-3); }
.il .barra-fondo { fill: oklch(0.25 0.04 258); }
.il .qr rect { fill: var(--ink); }

/* ── Movimientos ────────────────────────────────────────────────────────── */
.il * { transform-box: fill-box; transform-origin: center; }
.il .parpadea { animation: il-parpadea 1.4s ease-in-out infinite; }

@keyframes il-parpadea { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ── Relojes checadores: tres checadas en un ciclo de 6 s ──────────────────
   huella → escaneo → luz verde → el dato viaja → aparece la fila. */
.il-relojes-checadores .rc-equipo { fill: oklch(0.235 0.045 258); stroke: var(--line-2); }
.il-relojes-checadores .rc-brillo { stroke: oklch(1 0 0 / .12); stroke-linecap: round; }
.il-relojes-checadores .rc-pantalla { stroke: oklch(0.62 0.05 258 / .3); }
.il-relojes-checadores text.rc-reloj { font: 600 11px var(--f-mono); fill: var(--brass-hi); }
.il-relojes-checadores text.rc-etq { font-size: 5.4px; letter-spacing: .12em; }
.il-relojes-checadores .rc-sensor { fill: oklch(0.155 0.035 258); stroke: oklch(0.74 0.155 72 / .45); }
.il-relojes-checadores .rc-huella { stroke: var(--brass-hi); stroke-width: 1.25; stroke-linecap: round; }
.il-relojes-checadores .rc-escaneo { fill: var(--signal); filter: drop-shadow(0 0 3px var(--signal)); }
.il-relojes-checadores .rc-led { fill: #4caf50; }
.il-relojes-checadores text.rc-hora { font: 600 9px var(--f-mono); fill: var(--ink); }
.il-relojes-checadores text.rc-nombre { font-size: 6.6px; }
.il-relojes-checadores .rc-chip-ok { fill: oklch(0.72 0.17 145 / .18); }
.il-relojes-checadores .rc-chip-warn { fill: oklch(0.85 0.16 90 / .2); }
.il-relojes-checadores text.rc-txt-ok { font-size: 6px; fill: oklch(0.82 0.14 145); }
.il-relojes-checadores text.rc-txt-warn { font-size: 6px; fill: var(--warn); }
.il-relojes-checadores .rc-escaneo { animation: rc-escaneo 6s infinite both; }
.il-relojes-checadores .rc-huella { animation: rc-huella 6s infinite both; }
.il-relojes-checadores .rc-led { animation: rc-led 6s infinite both; }
.il-relojes-checadores .rc-dato { animation: rc-dato 6s infinite both; }
.il-relojes-checadores .rc-f1 { animation: rc-f1 6s infinite both; }
.il-relojes-checadores .rc-f2 { animation: rc-f2 6s infinite both; }
.il-relojes-checadores .rc-f3 { animation: rc-f3 6s infinite both; }
.il-relojes-checadores .rc-h1 { animation: rc-h1 6s infinite both; }
.il-relojes-checadores .rc-h2 { animation: rc-h2 6s infinite both; }
.il-relojes-checadores .rc-h3 { animation: rc-h3 6s infinite both; }
@keyframes rc-escaneo {
  0%, 4% { transform: translateY(0); opacity: 0; } 5%, 13% { opacity: 1; } 14% { transform: translateY(28px); opacity: 0; }
  14.1%, 29% { transform: translateY(0); opacity: 0; } 30%, 38% { opacity: 1; } 39% { transform: translateY(28px); opacity: 0; }
  39.1%, 54% { transform: translateY(0); opacity: 0; } 55%, 63% { opacity: 1; } 64% { transform: translateY(28px); opacity: 0; }
  64.1%, 100% { transform: translateY(0); opacity: 0; }
}
@keyframes rc-huella {
  0%, 13%, 21%, 38%, 46%, 63%, 71%, 100% { stroke: var(--brass-hi); }
  15%, 19%, 40%, 44%, 65%, 69% { stroke: #66bb6a; }
}
@keyframes rc-led {
  0%, 13%, 21%, 38%, 46%, 63%, 71%, 100% { fill: oklch(0.38 0.02 258); filter: none; }
  15%, 19%, 40%, 44%, 65%, 69% { fill: #4caf50; filter: drop-shadow(0 0 3px #4caf50); }
}
@keyframes rc-dato {
  0%, 16% { transform: translateX(0); opacity: 0; } 17%, 23% { opacity: 1; } 24% { transform: translateX(34px); opacity: 0; }
  24.1%, 41% { transform: translateX(0); opacity: 0; } 42%, 48% { opacity: 1; } 49% { transform: translateX(34px); opacity: 0; }
  49.1%, 66% { transform: translateX(0); opacity: 0; } 67%, 73% { opacity: 1; } 74% { transform: translateX(34px); opacity: 0; }
  74.1%, 100% { transform: translateX(0); opacity: 0; }
}
@keyframes rc-f1 { 0%, 24% { opacity: 0; transform: translateX(-5px); } 28%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes rc-f2 { 0%, 49% { opacity: 0; transform: translateX(-5px); } 53%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes rc-f3 { 0%, 74% { opacity: 0; transform: translateX(-5px); } 78%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes rc-h1 { 0%, 28% { opacity: 1; } 29%, 100% { opacity: 0; } }
@keyframes rc-h2 { 0%, 28% { opacity: 0; } 29%, 53% { opacity: 1; } 54%, 100% { opacity: 0; } }
@keyframes rc-h3 { 0%, 53% { opacity: 0; } 54%, 100% { opacity: 1; } }

/* ── Parque vehicular: la unidad llega y se estaciona, el odómetro avanza,
   se marca el daño y salta el aviso de servicio. Ciclo de 6 s. */
.il-parque-vehicular .pv-carril { stroke: var(--ink-3); stroke-width: 1.6; stroke-dasharray: 12 10; opacity: .3; }
.il-parque-vehicular .pv-sombra { fill: oklch(0 0 0 / .4); }
.il-parque-vehicular .pv-estela { stroke: var(--ink-3); stroke-width: 1.2; stroke-linecap: round; }
.il-parque-vehicular .pv-haz { fill: url(#pv-luz); }
.il-parque-vehicular .pv-carro { fill: url(#pv-carroceria); stroke: oklch(0.45 0.03 258); stroke-width: .8; }
.il-parque-vehicular .pv-vidrio { fill: oklch(0.24 0.045 258); stroke: oklch(0.45 0.03 258); stroke-width: .6; }
.il-parque-vehicular .pv-reflejo { stroke: oklch(1 0 0 / .18); stroke-width: 1.6; stroke-linecap: round; }
.il-parque-vehicular .pv-franja { stroke: var(--brass); stroke-width: 2; }
.il-parque-vehicular .pv-costura { stroke: oklch(0.42 0.03 258 / .8); stroke-width: .8; stroke-linecap: round; }
.il-parque-vehicular text.pv-num { font: 700 5.6px var(--f-mono); fill: oklch(0.3 0.04 258); }
.il-parque-vehicular .pv-faro { fill: oklch(0.95 0.08 90); }
.il-parque-vehicular .pv-llanta { fill: oklch(0.16 0.02 258); stroke: oklch(0.34 0.02 258); stroke-width: 1.4; }
.il-parque-vehicular .pv-rin { fill: oklch(0.62 0.02 255); }
.il-parque-vehicular .pv-rayo { stroke: oklch(0.32 0.02 258); stroke-width: 1.2; stroke-linecap: round; }
.il-parque-vehicular .pv-guia-crit { stroke: var(--crit); stroke-width: .9; }
.il-parque-vehicular .pv-ping { fill: none; stroke: var(--crit); stroke-width: 1.2; opacity: 0; }
.il-parque-vehicular text.pv-cifra { font: 600 13px var(--f-mono); }
.il-parque-vehicular .pv-chip rect { fill: oklch(0.85 0.16 90 / .2); }
.il-parque-vehicular .pv-chip text { font-size: 6.3px; fill: var(--warn); }
.il-parque-vehicular .pv-auto { animation: pv-llega 6s infinite both; }
.il-parque-vehicular .pv-rueda { animation: pv-rueda 6s infinite both; }
.il-parque-vehicular .pv-estela { animation: pv-estela 6s infinite both; }
.il-parque-vehicular .pv-haz { animation: pv-haz 6s infinite both; }
.il-parque-vehicular .pv-rodillo { animation: pv-rodillo 6s infinite both; }
.il-parque-vehicular .pv-dano { animation: pv-dano 6s infinite both; }
.il-parque-vehicular .pv-ping { animation: pv-ping 6s infinite both; }
.il-parque-vehicular .pv-barra { transform-origin: left center; animation: pv-barra 6s infinite both; }
.il-parque-vehicular .pv-chip { animation: pv-chip 6s infinite both; }
@keyframes pv-llega { 0% { transform: translateX(-165px); opacity: 1; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  38%, 91% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes pv-rueda { 0% { transform: rotate(-1110deg); animation-timing-function: cubic-bezier(.16, 1, .3, 1); } 38%, 100% { transform: none; } }
@keyframes pv-estela { 0% { opacity: 0; } 4%, 12% { opacity: .7; } 26%, 100% { opacity: 0; } }
@keyframes pv-haz { 0%, 40% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes pv-rodillo { 0% { transform: translateY(48px); animation-timing-function: cubic-bezier(.16, 1, .3, 1); } 38%, 100% { transform: none; } }
@keyframes pv-dano { 0%, 44% { opacity: 0; } 49%, 91% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes pv-ping { 0%, 46% { opacity: 0; transform: scale(1); } 48% { opacity: .9; } 62%, 100% { opacity: 0; transform: scale(2.4); } }
@keyframes pv-barra { 0%, 50% { transform: scaleX(0); } 62%, 91% { transform: scaleX(1); } 97%, 100% { transform: scaleX(0); } }
@keyframes pv-chip { 0%, 60% { opacity: 0; transform: translateY(3px); } 65%, 91% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }

/* ── Lenguaje común de las ilustraciones (ciclo de 6 s) ─────────────────────
   Pantallas y objetos reconocibles, textos reales y una escena que termina en
   el resultado. `.eNN` = entra al NN % del ciclo; todas salen juntas al 92 %,
   así la escena se reinicia completa. `.transitorio` = solo existe mientras
   corre la animación (con «reducir movimiento» queda la escena final). */
.il text.ui { font: 600 7px var(--f-sans); fill: var(--ink); letter-spacing: 0; }
.il text.ui-s { font: 500 5.8px var(--f-sans); fill: var(--ink-3); letter-spacing: 0; }
.il text.mono-s { font: 600 5.2px var(--f-mono); fill: var(--ink-3); letter-spacing: .08em; }
.il text.blanco { fill: #fff; }
.il text.oscuro { fill: oklch(0.25 0.04 258); }
.il text.ok { fill: oklch(0.82 0.14 145); }
/* Los acentos de color van DESPUÉS de .ui/.ui-s/.mono-s: así un «ui oro» sale dorado. */
.il text.oro { fill: var(--brass-hi); }
.il text.cian { fill: var(--signal); }
.il text.crit { fill: var(--crit); }
.il text.warn { fill: var(--warn); }
.il .eq { fill: oklch(0.235 0.045 258); stroke: var(--line-2); }
.il .eq-borde { fill: none; stroke: oklch(1 0 0 / .1); stroke-linecap: round; }
.il .papel { fill: oklch(0.93 0.012 85); }
.il .papel-lin { fill: oklch(0.74 0.02 255); }
.il .ok-suave { fill: oklch(0.72 0.17 145 / .2); }
.il .warn-suave { fill: oklch(0.85 0.16 90 / .2); }
.il .crit-suave { fill: oklch(0.75 0.17 50 / .2); }
.il .cian-suave { fill: oklch(0.87 0.085 200 / .14); }
.il .oro-suave { fill: oklch(0.83 0.165 80 / .16); }
.il .s-ok { stroke: oklch(0.78 0.16 145); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.il .s-crit { stroke: var(--crit); stroke-width: 1.2; stroke-linecap: round; fill: none; }
.il .s-borde { stroke: var(--line-2); stroke-width: 1; fill: none; }
.il .f-ok-vivo { fill: oklch(0.78 0.16 145); }
.il .f-oscuro { fill: oklch(0.15 0.035 258); }
.il .renglon { fill: oklch(0.42 0.03 258); }   /* texto de relleno legible sobre tarjeta */
.il .cometa { fill: none; stroke: var(--brass-hi); stroke-width: 1.8; stroke-linecap: round;
  stroke-dasharray: 12 100; filter: drop-shadow(0 0 2px oklch(0.83 0.165 80 / .9)); }
.il .viva { animation: il-viva 1.6s ease-in-out infinite; }
/* Elementos con rotate(...) propio en el SVG: sin esto, el origen «center» de
   `.il *` desplaza la rotación (el sello de Prensa salía corrido). */
.il .sin-origen { transform-box: view-box; transform-origin: 0 0; }
@keyframes il-viva { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.il .e5 { animation: il-e5 6s infinite both; }
@keyframes il-e5 { 0%, 5% { opacity: 0; transform: translateY(4px); } 9%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.il .e10 { animation: il-e10 6s infinite both; }
@keyframes il-e10 { 0%, 10% { opacity: 0; transform: translateY(4px); } 14%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.il .e15 { animation: il-e15 6s infinite both; }
@keyframes il-e15 { 0%, 15% { opacity: 0; transform: translateY(4px); } 19%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.il .e20 { animation: il-e20 6s infinite both; }
@keyframes il-e20 { 0%, 20% { opacity: 0; transform: translateY(4px); } 24%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.il .e25 { animation: il-e25 6s infinite both; }
@keyframes il-e25 { 0%, 25% { opacity: 0; transform: translateY(4px); } 29%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.il .e30 { animation: il-e30 6s infinite both; }
@keyframes il-e30 { 0%, 30% { opacity: 0; transform: translateY(4px); } 34%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.il .e35 { animation: il-e35 6s infinite both; }
@keyframes il-e35 { 0%, 35% { opacity: 0; transform: translateY(4px); } 39%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.il .e40 { animation: il-e40 6s infinite both; }
@keyframes il-e40 { 0%, 40% { opacity: 0; transform: translateY(4px); } 44%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.il .e45 { animation: il-e45 6s infinite both; }
@keyframes il-e45 { 0%, 45% { opacity: 0; transform: translateY(4px); } 49%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.il .e50 { animation: il-e50 6s infinite both; }
@keyframes il-e50 { 0%, 50% { opacity: 0; transform: translateY(4px); } 54%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.il .e55 { animation: il-e55 6s infinite both; }
@keyframes il-e55 { 0%, 55% { opacity: 0; transform: translateY(4px); } 59%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.il .e60 { animation: il-e60 6s infinite both; }
@keyframes il-e60 { 0%, 60% { opacity: 0; transform: translateY(4px); } 64%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.il .e65 { animation: il-e65 6s infinite both; }
@keyframes il-e65 { 0%, 65% { opacity: 0; transform: translateY(4px); } 69%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.il .e70 { animation: il-e70 6s infinite both; }
@keyframes il-e70 { 0%, 70% { opacity: 0; transform: translateY(4px); } 74%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }

/* ── Pase de lista con QR: escanea la credencial, sube el conteo ─────────── */
.il-pase-lista-qr .pl-notch { fill: oklch(0.3 0.03 258); }
.il-pase-lista-qr .pl-banda { fill: oklch(0.28 0.06 258); }
.il-pase-lista-qr .pl-foto { fill: oklch(0.8 0.02 250); }
.il-pase-lista-qr .pl-silueta { fill: oklch(0.58 0.03 255); }
.il-pase-lista-qr .pl-qr rect { fill: oklch(0.22 0.04 258); }
.il-pase-lista-qr .pl-qr .finder { fill: none; stroke: oklch(0.22 0.04 258); stroke-width: 1.6; }
.il-pase-lista-qr text.pl-cred { font: 700 4.4px var(--f-sans); fill: oklch(0.25 0.04 258); letter-spacing: 0; }
.il-pase-lista-qr text.pl-cred-s { font: 500 4.1px var(--f-sans); fill: oklch(0.5 0.03 258); letter-spacing: 0; }
.il-pase-lista-qr text.pl-ayto { font: 600 3.8px var(--f-mono); fill: #fff; letter-spacing: .04em; }
.il-pase-lista-qr text.pl-cifra { font: 600 18px var(--f-mono); fill: var(--ink); }
.il-pase-lista-qr text.pl-ini { font: 700 4.6px var(--f-sans); fill: var(--ink-2); letter-spacing: 0; }
.il-pase-lista-qr .pl-avatar { fill: oklch(0.33 0.06 258); }
.il-pase-lista-qr .pl-marco { stroke: var(--brass-hi); stroke-width: 1.6; stroke-linecap: round; fill: none; animation: pl-marco 6s infinite both; }
.il-pase-lista-qr .pl-escaneo { fill: var(--signal); filter: drop-shadow(0 0 3px var(--signal)); animation: pl-escaneo 6s infinite both; }
.il-pase-lista-qr .pl-antes { animation: pl-antes 6s infinite both; }
.il-pase-lista-qr .pl-despues { animation: pl-despues 6s infinite both; }
.il-pase-lista-qr .pl-barra { transform-origin: left center; animation: pl-barra 6s infinite both; }
@keyframes pl-escaneo { 0%, 8% { transform: translateY(0); opacity: 0; } 10%, 30% { opacity: 1; } 32% { transform: translateY(34px); opacity: 0; } 32.1%, 100% { transform: translateY(0); opacity: 0; } }
@keyframes pl-marco { 0%, 32% { stroke: var(--brass-hi); } 34%, 92% { stroke: oklch(0.78 0.16 145); } 97%, 100% { stroke: var(--brass-hi); } }
@keyframes pl-antes { 0%, 44% { opacity: 1; } 45%, 96% { opacity: 0; } 97%, 100% { opacity: 1; } }
@keyframes pl-despues { 0%, 44% { opacity: 0; } 45%, 94% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes pl-barra { 0%, 45% { transform: scaleX(.958); } 52%, 100% { transform: none; } }

/* ── Prensa: el área propone, Comunicación Social aprueba, sale a 3 destinos ─ */
.il-prensa-editorial .pe-icono { fill: oklch(0.3 0.05 258); }
.il-prensa-editorial .pe-glifo { stroke: var(--brass-hi); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.il-prensa-editorial .pe-sello { animation: pe-sello 6s infinite both; }
.il-prensa-editorial .pe-borrador { animation: pe-borrador 6s infinite both; }
.il-prensa-editorial .pe-aprobada { animation: pe-aprobada 6s infinite both; }
.il-prensa-editorial .pe-cometa { animation: pe-cometa 6s infinite both; }
@keyframes pe-sello { 0%, 26% { opacity: 0; transform: scale(1.8); } 30% { opacity: 1; transform: scale(.94); } 33%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes pe-borrador { 0%, 30% { opacity: 1; } 31%, 96% { opacity: 0; } 97%, 100% { opacity: 1; } }
@keyframes pe-aprobada { 0%, 30% { opacity: 0; } 31%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes pe-cometa { 0%, 36% { stroke-dashoffset: 12; opacity: 0; } 37%, 47% { opacity: 1; } 49%, 100% { stroke-dashoffset: -100; opacity: 0; } }

/* ── Sitio oficial: el portal se llena solo con lo que el equipo captura ──── */
.il-sitio-oficial .so-pagina { fill: oklch(0.975 0.004 250); }
.il-sitio-oficial text.so-menu { font: 500 4.6px var(--f-sans); fill: oklch(0.5 0.03 258); letter-spacing: 0; }
.il-sitio-oficial text.so-claro { fill: oklch(0.9 0.02 250); }
.il-sitio-oficial text.so-tit { font: 700 5.3px var(--f-sans); fill: oklch(0.25 0.04 258); letter-spacing: 0; }
.il-sitio-oficial text.so-etq { font: 700 3.7px var(--f-mono); fill: oklch(0.2 0.04 258); letter-spacing: .04em; }
.il-sitio-oficial .so-card { fill: #fff; stroke: oklch(0.88 0.012 250); }
.il-sitio-oficial .so-nuevo { fill: var(--crit); }
.il-sitio-oficial .so-palacio path { fill: oklch(0.2 0.04 258 / .92); stroke: oklch(0.2 0.04 258 / .92); stroke-width: .8; stroke-linejoin: round; }
.il-sitio-oficial .so-arcos { fill: oklch(0.85 0.1 80 / .55); }

/* ── Eventos: el boleto se escanea en la puerta y sube el conteo ────────── */
.il-eventos-acceso .ev-boleto { fill: oklch(0.235 0.05 258); stroke: oklch(0.74 0.155 72 / .55); }
.il-eventos-acceso .ev-muesca { fill: oklch(0.16 0.036 258); stroke: oklch(0.74 0.155 72 / .55); }
.il-eventos-acceso .ev-corte { stroke: oklch(0.74 0.155 72 / .45); stroke-dasharray: 2 2.5; }
.il-eventos-acceso .ev-qr rect { fill: oklch(0.22 0.04 258); }
.il-eventos-acceso .ev-qr .finder { fill: none; stroke: oklch(0.22 0.04 258); stroke-width: 1.4; }
.il-eventos-acceso .ev-marco { stroke: var(--brass-hi); stroke-width: 1.5; stroke-linecap: round; fill: none; animation: pl-marco 6s infinite both; }
.il-eventos-acceso .ev-escaneo { fill: var(--signal); filter: drop-shadow(0 0 3px var(--signal)); animation: ev-escaneo 6s infinite both; }
.il-eventos-acceso .ev-pista { stroke: oklch(0.27 0.04 258); stroke-width: 6; }
.il-eventos-acceso .ev-avance { stroke: var(--brass-hi); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 76 100; animation: ev-avance 6s infinite both; }
.il-eventos-acceso text.ev-cifra { font: 600 13px var(--f-mono); fill: var(--ink); }
.il-eventos-acceso text.ev-ini { font: 700 4.6px var(--f-sans); fill: var(--ink-2); letter-spacing: 0; }
.il-eventos-acceso .ev-avatar { fill: oklch(0.33 0.06 258); }
.il-eventos-acceso .ev-antes { animation: ev-antes 6s infinite both; }
.il-eventos-acceso .ev-despues { animation: ev-despues 6s infinite both; }
@keyframes ev-escaneo { 0%, 6% { transform: translateY(0); opacity: 0; } 8%, 26% { opacity: 1; } 28% { transform: translateY(27px); opacity: 0; } 28.1%, 100% { transform: translateY(0); opacity: 0; } }
@keyframes ev-avance { 0%, 34% { stroke-dasharray: 74 100; } 42%, 100% { stroke-dasharray: 76 100; } }
@keyframes ev-antes { 0%, 35% { opacity: 1; } 36%, 96% { opacity: 0; } 97%, 100% { opacity: 1; } }
@keyframes ev-despues { 0%, 35% { opacity: 0; } 36%, 94% { opacity: 1; } 97%, 100% { opacity: 0; } }

/* ── Apoyos sociales: CURP validada e historial del beneficiario ───────── */
.il-apoyos-sociales .ap-avatar { fill: oklch(0.36 0.08 300); }
.il-apoyos-sociales text.ap-ini { font: 700 7px var(--f-sans); fill: var(--ink); letter-spacing: 0; }
.il-apoyos-sociales text.ap-curp { font: 600 5.9px var(--f-mono); fill: var(--ink); letter-spacing: .04em; }
.il-apoyos-sociales text.ap-num { font: 600 12px var(--f-mono); fill: var(--ink); }
.il-apoyos-sociales text.ap-num.cian { fill: var(--signal); }
.il-apoyos-sociales .ap-fila { fill: oklch(0.22 0.045 258); stroke: var(--line); }
.il-apoyos-sociales .ap-nueva { stroke: oklch(0.87 0.085 200 / .6); fill: oklch(0.87 0.085 200 / .08); }
.il-apoyos-sociales .ap-brillo { fill: oklch(0.87 0.085 200 / .35); animation: ap-brillo 6s infinite both; }
@keyframes ap-brillo { 0%, 5% { transform: translateX(0); opacity: 0; } 7%, 17% { opacity: 1; } 19% { transform: translateX(76px); opacity: 0; } 19.1%, 100% { transform: translateX(0); opacity: 0; } }

/* ── Convocatorias: se redacta, un clic, y sale al sitio oficial ──────────── */
.il-convocatorias .cv-adjunto { fill: oklch(0.15 0.035 258); stroke: var(--line-2); }
.il-convocatorias text.cv-tipo { font: 700 4.4px var(--f-mono); letter-spacing: .04em; }
.il-convocatorias .cv-flecha { fill: #fff; stroke: oklch(0.2 0.04 258); stroke-width: .8; stroke-linejoin: round; }
.il-convocatorias .cv-cursor { animation: cv-cursor 6s infinite both; }
.il-convocatorias .cv-boton { animation: cv-pulsa 6s infinite both; }
.il-convocatorias .cv-antes { animation: cv-antes 6s infinite both; }
.il-convocatorias .cv-despues { animation: cv-despues 6s infinite both; }
@keyframes cv-cursor { 0%, 8% { transform: translate(18px, -26px); opacity: 0; } 12% { opacity: 1; } 28%, 36% { transform: none; opacity: 1; } 42%, 100% { transform: none; opacity: 0; } }
@keyframes cv-pulsa { 0%, 29% { transform: none; } 31% { transform: scale(.95); } 34%, 100% { transform: none; } }
@keyframes cv-antes { 0%, 33% { opacity: 1; } 34%, 96% { opacity: 0; } 97%, 100% { opacity: 1; } }
@keyframes cv-despues { 0%, 33% { opacity: 0; } 34%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }

/* ── Observadores: ven el avance real, comentan, no editan ──────────────── */
.il-observadores .ob-dial { fill: oklch(0.2 0.05 258); stroke: oklch(0.74 0.155 72 / .7); }
.il-observadores .ob-insignia { fill: oklch(0.87 0.085 200 / .1); stroke: oklch(0.87 0.085 200 / .5); stroke-width: .8; }
.il-observadores .ob-candado { stroke: var(--signal); stroke-width: .9; stroke-linejoin: round; fill: none; }
.il-observadores .ob-candado.gris { stroke: var(--ink-3); }
.il-observadores .ob-bloqueado { fill: oklch(0.22 0.03 258); stroke: var(--line-2); }
.il-observadores .ob-barra { fill: var(--brass-hi); transform-origin: left center; animation: ob-crece 6s var(--d, 0s) infinite both; }
.il-observadores .ob-media { fill: var(--warn); }
.il-observadores .ob-alta { fill: oklch(0.72 0.17 145); }
.il-observadores .ob-flecha { fill: #fff; stroke: oklch(0.2 0.04 258); stroke-width: .8; stroke-linejoin: round; }
.il-observadores .ob-cursor { animation: ob-cursor 6s infinite both; }
@keyframes ob-crece { 0%, 6% { transform: scaleX(0); } 24%, 92% { transform: none; } 98%, 100% { transform: scaleX(0); } }
@keyframes ob-cursor { 0%, 34% { transform: translate(-58px, -6px); opacity: 0; } 38% { opacity: 1; } 50%, 70% { transform: none; opacity: 1; } 76%, 100% { transform: none; opacity: 0; } }

/* ── Lector de documentos: escaneo → la IA lee, resume, etiqueta y turna ──── */
.il-lector-documentos text.le-doc { font: 600 3.7px var(--f-sans); fill: oklch(0.4 0.03 258); letter-spacing: .02em; }
.il-lector-documentos text.le-doc.blanco { fill: #fff; }
.il-lector-documentos text.le-doc-b { font: 700 4.3px var(--f-mono); fill: oklch(0.25 0.04 258); letter-spacing: .02em; }
.il-lector-documentos text.le-sello { font: 700 4.2px var(--f-mono); fill: oklch(0.55 0.12 250); letter-spacing: .06em; }
.il-lector-documentos .le-marca { fill: oklch(0.83 0.165 80 / .55); }
.il-lector-documentos text.le-res { font: 500 5.4px var(--f-sans); fill: var(--ink-2); letter-spacing: 0; }
.il-lector-documentos .le-ia { fill: oklch(0.2 0.05 258); stroke: oklch(0.74 0.155 72 / .7); }
.il-lector-documentos .le-chispa { fill: var(--brass-hi); animation: le-pulso 6s infinite both; }
.il-lector-documentos .le-barrido { animation: le-barrido 6s infinite both; }
.il-lector-documentos .le-neutro { fill: oklch(0.62 0.03 258 / .25); }
@keyframes le-barrido { 0%, 4% { transform: translateY(0); opacity: 0; } 6%, 32% { opacity: 1; } 35% { transform: translateY(122px); opacity: 0; } 35.1%, 100% { transform: translateY(0); opacity: 0; } }
@keyframes le-pulso { 0%, 6%, 38%, 100% { transform: none; filter: none; } 10%, 18%, 26%, 34% { transform: scale(1.15); filter: drop-shadow(0 0 4px oklch(0.83 0.165 80)); } 14%, 22%, 30% { transform: scale(.95); } }

/* ── Duplicados: mismas frases en dos escritos → un solo expediente ───────── */
.il-expedientes-duplicados text.du-doc { font: 600 4px var(--f-mono); fill: oklch(0.35 0.04 258); letter-spacing: .03em; }
.il-expedientes-duplicados .du-marca { fill: oklch(0.83 0.165 80 / .6); }
.il-expedientes-duplicados .du-enlace { stroke: var(--brass-hi); stroke-width: .9; stroke-dasharray: 2 2; }
.il-expedientes-duplicados .du-pista { stroke: oklch(0.27 0.04 258); stroke-width: 4; fill: oklch(0.16 0.036 258); }
.il-expedientes-duplicados .du-avance { stroke: var(--brass-hi); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 96 100; animation: du-avance 6s infinite both; }
.il-expedientes-duplicados text.du-cifra { font: 600 7.4px var(--f-mono); fill: var(--ink); }
.il-expedientes-duplicados .du-carpeta { fill: oklch(0.27 0.06 75 / .55); stroke: oklch(0.74 0.155 72 / .8); }
.il-expedientes-duplicados .du-a { animation: du-a 6s infinite both; }
.il-expedientes-duplicados .du-b { animation: du-b 6s infinite both; }
@keyframes du-avance { 0%, 30% { stroke-dasharray: 0 100; } 46%, 92% { stroke-dasharray: 96 100; } 98%, 100% { stroke-dasharray: 0 100; } }
@keyframes du-a { 0%, 46% { transform: none; } 56%, 92% { transform: translateX(6px) rotate(3deg); } 100% { transform: none; } }
@keyframes du-b { 0%, 46% { transform: none; } 56%, 92% { transform: translateX(-6px) rotate(-3deg); } 100% { transform: none; } }

/* ── Búsqueda por significado: entiende la pregunta y halla otras palabras ── */
.il-busqueda-significado .bs-tapa { fill: oklch(0.24 0.045 258); transform-origin: right center; animation: bs-tapa 6s infinite both; }
.il-busqueda-significado .le-chispa-s { fill: var(--signal); }
.il-busqueda-significado text.bs-pct { font: 600 6.4px var(--f-mono); fill: var(--ink-2); }
.il-busqueda-significado text.bs-pct.oro { fill: var(--brass-hi); }
.il-busqueda-significado .bs-media { fill: oklch(0.83 0.165 80 / .55); }
.il-busqueda-significado .bs-tenue > * { opacity: .6; }
@keyframes bs-tapa { 0%, 3% { transform: none; } 26%, 100% { transform: scaleX(0); } }

/* ── Reportes turnados: el vecino eligió mal; la IA lo manda a Obras ────── */
.il-reportes-turnados .rt-campo { fill: oklch(0.22 0.04 258); stroke: var(--line); }
.il-reportes-turnados .le-ia { fill: oklch(0.2 0.05 258); stroke: oklch(0.74 0.155 72 / .7); }
.il-reportes-turnados .rt-icono { fill: oklch(0.3 0.05 258); }
.il-reportes-turnados .rt-glifo { stroke: var(--brass-hi); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.il-reportes-turnados .rt-activa { fill: oklch(0.83 0.165 80 / .12); stroke: var(--brass-hi); stroke-width: 1.1; }
.il-reportes-turnados .rt-chispa { fill: var(--brass-hi); animation: le-pulso 6s infinite both; }
.il-reportes-turnados .rt-boton { animation: rt-pulsa 6s infinite both; }
.il-reportes-turnados .rt-cometa { animation: pe-cometa 6s infinite both; }
@keyframes rt-pulsa { 0%, 8% { transform: none; } 10% { transform: scale(.94); } 13%, 100% { transform: none; } }

/* ── Asistente: responde por WhatsApp y lleva al trámite en línea ───────── */
.il-asistente-ciudadano .as-cabeza { fill: oklch(0.25 0.05 258); }
.il-asistente-ciudadano .as-avatar { fill: oklch(0.2 0.05 258); stroke: oklch(0.74 0.155 72 / .7); stroke-width: .8; }
.il-asistente-ciudadano .as-yo { fill: oklch(0.45 0.09 165); }
.il-asistente-ciudadano .as-ia { fill: oklch(0.26 0.05 258); stroke: oklch(0.74 0.155 72 / .35); stroke-width: .6; }
.il-asistente-ciudadano .as-entrada { fill: oklch(0.15 0.035 258); stroke: var(--line-2); stroke-width: .6; }
.il-asistente-ciudadano .as-escribe { animation: as-escribe 6s infinite both; }
.il-asistente-ciudadano .as-p1, .il-asistente-ciudadano .as-p2, .il-asistente-ciudadano .as-p3 { animation: il-viva .9s ease-in-out infinite; }
.il-asistente-ciudadano .as-p2 { animation-delay: .15s; }
.il-asistente-ciudadano .as-p3 { animation-delay: .3s; }
.il-asistente-ciudadano .as-pulsa { animation: as-pulsa 6s infinite both; }
@keyframes as-escribe { 0%, 13% { opacity: 0; } 15%, 28% { opacity: 1; } 30%, 100% { opacity: 0; } }
@keyframes as-pulsa { 0%, 49% { transform: none; } 51% { transform: scale(.94); } 54%, 100% { transform: none; } }

/* ── Opinión pública: clasifica lo que se dice y marca cuentas sospechosas ─ */
.il-opinion-publica text.op-ini { font: 700 4px var(--f-sans); fill: #fff; letter-spacing: 0; }
.il-opinion-publica text.op-cifra { font: 600 7px var(--f-mono); fill: var(--ink); }
.il-opinion-publica .op-pista { stroke: oklch(0.27 0.04 258); stroke-width: 7; }
.il-opinion-publica .op-seg { stroke-width: 7; }
.il-opinion-publica .op-favor { stroke: oklch(0.72 0.17 145); stroke-dasharray: 45 100; }
.il-opinion-publica .op-neutral { stroke: var(--ink-3); stroke-dasharray: 27 100; stroke-dashoffset: -46; }
.il-opinion-publica .op-contra { stroke: var(--crit); stroke-dasharray: 25 100; stroke-dashoffset: -74; }
.il-opinion-publica .op-sospecha { fill: oklch(0.75 0.17 50 / .08); stroke: var(--crit); stroke-width: .9; stroke-dasharray: 2.5 2; }
.il-opinion-publica .op-alerta { fill: oklch(0.75 0.17 50 / .08); stroke: oklch(0.75 0.17 50 / .6); }

.ilus-marco.fuera .il, .ilus-marco.fuera .il * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .il, .il * { animation: none !important; }
  .il .rc-escaneo, .il .rc-dato, .il .rc-h1, .il .rc-h2, .il .pv-estela, .il .pv-haz, .il .transitorio { display: none; }
}
