/* ═══════════════════════════════════════════════════════════════════
   BIEN-SER LAB · sistema visual
   ───────────────────────────────────────────────────────────────────
   THESIS: la charla editorial CEIPA convertida en plataforma — una
   "publicación por tramos" que se recorre, no un LMS de tarjetas grises.
   Rechaza: grid de cards uniformes + sidebar + píldoras de progreso.
   OWN-WORLD: lienzo #FAFAFA con tinta profunda #160B6C; Ancizar Serif
   display apretado + Archivo UI; kickers uppercase con color de línea;
   números fantasma gigantes; chevrones ▸▸▸; inmersión full-bleed por
   segmento (login, héroes, divisores, celebración) con la paleta CEIPA.
   STORY: el estudiante entra, ve SU ruta, le da play a una sección
   corta, interactúa (quiz/demo/reto) y ve el tramo pintarse de su color.
   FIRST VIEWPORT (curso): héroe drenched del acento del curso con
   kicker + título serif de 64-96px + meta-row editorial + CTA único
   "Continuar donde ibas"; debajo arranca la ruta numerada.
   FORM: expansión del mundo pinneado del deck (sin torneo de conceptos:
   la marca la fijó el usuario); staging = "ruta editorial por líneas".
   ═══════════════════════════════════════════════════════════════════ */

/* ── Fuentes de marca (extraídas del deck) ── */
@font-face {
  font-family: "Ancizar Serif";
  src: url("/static/fonts/ancizar-serif-var.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ancizar Serif";
  src: url("/static/fonts/ancizar-serif-var-italic.ttf") format("truetype");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/static/fonts/archivo-var.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── Tokens ── */
:root {
  --azul: #354EE7;
  --profundo: #160B6C;
  --verde: #95FFF5;
  --naranja: #FF5A1D;
  --lienzo: #FAFAFA;
  --limon: #C4FF00;
  --guayaba: #FF2E57;
  --salmon: #FF9186;
  --agua: #1DAEA8;
  --tinta: #160B6C;
  --tinta-suave: #5b5f77;
  --tinta-08: rgba(22, 11, 108, .08);
  --tinta-15: rgba(22, 11, 108, .15);
  --blanco: #fff;

  --serif: "Ancizar Serif", Georgia, serif;
  --sans: "Archivo", "Segoe UI", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-move: cubic-bezier(0.77, 0, 0.175, 1);
  --t-press: 120ms;
  --t-hover: 150ms;
  --t-enter: 220ms;

  --r-card: 14px;
  --r-ctrl: 10px;
  --pagew: 1080px;
  --colw: 760px;

  /* acento activo de la vista (lo fija cada página) */
  --acento: var(--azul);
  --acento-tinta: #fff;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--lienzo);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--azul); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
::selection { background: var(--limon); color: var(--profundo); }

:focus-visible {
  outline: 2.5px solid var(--azul);
  outline-offset: 2px;
  border-radius: 4px;
}
/* en superficies inmersas/oscuras el anillo azul desaparece: usa el color del texto */
.login-hero :focus-visible, .curso-hero :focus-visible, .curso-card:focus-visible,
.sec-hero :focus-visible, .demo-marco :focus-visible, .escenario :focus-visible,
.sec-fin :focus-visible, .final-lienzo :focus-visible {
  outline-color: currentColor;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ── Tipografía editorial ── */
.display {
  font-family: var(--serif);
  font-weight: 640;
  line-height: 1.0;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
.display em, .accent-w {
  font-style: italic;
  font-weight: 560;
  color: var(--acento-canvas, var(--acento));
}
.kicker {
  font: 700 11.5px/1.3 var(--sans);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--acento-canvas, var(--acento));
  margin: 0 0 14px;
}
.lead {
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--tinta-suave);
  max-width: 46em;
}
.chevrons { display: inline-flex; gap: 7px; }
.chevrons i {
  width: 13px; height: 20px;
  background: currentColor;
  clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%, 45% 50%);
}

/* meta-row editorial (deck .ml/.mv) */
.meta-row {
  display: flex; flex-wrap: wrap;
  gap: 28px 52px;
  padding-top: 20px;
  border-top: 1px solid currentColor;
}
.meta-row .ml {
  font: 700 10.5px/1 var(--sans);
  letter-spacing: .14em; text-transform: uppercase;
  opacity: .62; margin-bottom: 7px;
}
.meta-row .mv { font: 560 17px/1.25 var(--serif); }

/* ── Controles ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: 620 15.5px/1 var(--sans);
  padding: 14px 24px;
  border-radius: var(--r-ctrl);
  border: none; cursor: pointer;
  background: var(--azul); color: #fff;
  text-decoration: none;
  transition: transform var(--t-press) var(--ease-out),
              background var(--t-hover) ease,
              box-shadow var(--t-hover) ease;
}
.btn:hover { text-decoration: none; background: #2c42d4; }
.btn:active { transform: scale(.97); }
.btn.grande { padding: 17px 30px; font-size: 16.5px; }
.btn.blanco { background: #fff; color: var(--profundo); }
.btn.blanco:hover { background: #f0f0ff; }
.btn.linea {
  background: transparent; color: var(--tinta);
  box-shadow: inset 0 0 0 1.5px var(--tinta-15);
}
.btn.linea:hover { box-shadow: inset 0 0 0 1.5px var(--tinta); background: transparent; }
.btn.peligro { background: transparent; color: var(--guayaba); box-shadow: inset 0 0 0 1.5px rgba(255,46,87,.3); }
.btn.peligro:hover { box-shadow: inset 0 0 0 1.5px var(--guayaba); background: transparent; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn .chev { width: 8px; height: 13px; background: currentColor;
  clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%, 45% 50%); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font: 640 12px/1 var(--sans);
  letter-spacing: .02em;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--tinta-08); color: var(--tinta);
  white-space: nowrap;
}
.chip.ok { background: var(--acento-canvas, var(--acento)); color: #fff; }
.chip.pendiente { background: transparent; box-shadow: inset 0 0 0 1.5px var(--tinta-15); color: var(--tinta-suave); }
.chip.aviso { background: rgba(255,90,29,.12); color: #c23e0e; }

label { display: block; font: 620 13px/1.3 var(--sans); margin: 0 0 7px; }
input[type=text], input[type=email], textarea, select {
  width: 100%;
  font: 500 15.5px/1.5 var(--sans);
  color: var(--tinta);
  background: #fff;
  border: 1.5px solid var(--tinta-15);
  border-radius: var(--r-ctrl);
  padding: 12px 14px;
  transition: border-color var(--t-hover) ease, box-shadow var(--t-hover) ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--azul);
  box-shadow: 0 0 0 3.5px rgba(53, 78, 231, .14);
}
textarea { resize: vertical; min-height: 88px; }
input::placeholder, textarea::placeholder { color: #9a9db4; }

/* ── Barra superior ── */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 250, 250, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--tinta-08);
}
.topbar-in {
  max-width: var(--pagew);
  margin: 0 auto;
  padding: 0 22px;
  height: 62px;
  display: flex; align-items: center; gap: 18px;
}
.wordmark {
  display: inline-flex; align-items: baseline; gap: 8px;
  color: var(--tinta); text-decoration: none;
}
.wordmark:hover { text-decoration: none; }
.wordmark .ws { font: italic 700 21px/1 var(--serif); letter-spacing: -0.01em; }
.wordmark .wl {
  font: 800 10.5px/1 var(--sans); letter-spacing: .18em;
  padding: 4px 7px 3px; border-radius: 4px;
  background: var(--limon); color: var(--profundo);
  transform: translateY(-2px);
}
.topbar .quien { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.topbar .quien .n { font: 620 14px/1.2 var(--sans); }
.topbar .quien .c { font: 500 12px/1.2 var(--sans); color: var(--tinta-suave); }
.topbar .salir {
  font: 620 13px/1 var(--sans); color: var(--tinta-suave);
  padding: 8px 10px; border-radius: 8px;
}
.topbar .salir:hover { color: var(--tinta); background: var(--tinta-08); text-decoration: none; }

.page { max-width: var(--pagew); margin: 0 auto; padding: 0 22px; }

/* ── Progreso ── */
.progreso {
  height: 7px; border-radius: 999px;
  background: var(--tinta-08);
  overflow: hidden;
}
.progreso > i {
  display: block; height: 100%; width: 100%;
  background: var(--acento-canvas, var(--acento));
  border-radius: 999px;
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  transition: transform 500ms var(--ease-out);
}
.progreso-top {
  position: fixed; inset: 0 0 auto 0;
  height: 4px; z-index: 60;
  background: transparent;
  pointer-events: none;
  overflow: hidden;
}
.progreso-top i {
  display: block; height: 100%; width: 100%;
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  background: var(--acento-canvas, var(--acento));
  transition: transform 500ms var(--ease-out);
}

/* ═══════════════════════════════ LOGIN ═══════════════════════════ */
.login-grid {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}
.login-hero {
  position: relative;
  background:
    linear-gradient(152deg, var(--profundo) 0%, #1e1487 55%, #2a2fb0 100%);
  color: #fff;
  padding: clamp(28px, 5vw, 64px);
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.login-hero .ghost {
  position: absolute; right: -40px; bottom: -90px;
  font: italic 700 30rem/1 var(--serif);
  color: rgba(255, 255, 255, .05);
  user-select: none; pointer-events: none;
}
.login-hero .chevrons { color: var(--limon); }
.login-hero .display { font-size: clamp(44px, 5vw, 74px); font-weight: 560; color: #fff; }
.login-hero .display em { color: var(--limon); }
.login-hero .lead { color: rgba(255, 255, 255, .78); }
.login-hero .meta-row { border-color: rgba(255, 255, 255, .25); position: relative; }
.login-panel {
  display: flex; align-items: center; justify-content: center;
  padding: clamp(28px, 5vw, 64px) clamp(22px, 4vw, 56px);
}
.login-card { width: 100%; max-width: 400px; }
.login-card h1 { font: 640 34px/1.05 var(--serif); margin: 0 0 8px; }
.login-card .sub { color: var(--tinta-suave); margin: 0 0 30px; }
.btn-ms {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font: 620 15.5px/1 var(--sans);
  background: var(--profundo); color: #fff;
  border: none; border-radius: var(--r-ctrl);
  padding: 16px 20px; cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background var(--t-hover) ease;
}
.btn-ms:hover { background: #221394; }
.btn-ms:active { transform: scale(.97); }
.login-error {
  background: rgba(255, 46, 87, .1);
  color: #c11f42;
  font: 560 14px/1.45 var(--sans);
  border-radius: 10px;
  padding: 12px 15px;
  margin-bottom: 18px;
}
.login-nota { font-size: 13.5px; color: var(--tinta-suave); margin-top: 22px; }
.dev-tag {
  display: inline-block;
  font: 700 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  background: var(--verde); color: var(--profundo);
  padding: 5px 9px; border-radius: 5px;
  margin-bottom: 16px;
}

/* ═══════════════════════════════ HOME ════════════════════════════ */
.saludo { padding: 54px 0 30px; }
.saludo h1 {
  font: 560 clamp(34px, 4.5vw, 52px)/1.02 var(--serif);
  margin: 6px 0 0;
}
.saludo h1 em { font-weight: 640; color: var(--azul); }

.curso-card {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: var(--profundo);
  margin-bottom: 26px;
  transition: transform var(--t-hover) var(--ease-out), box-shadow var(--t-hover) ease;
}
.curso-card:hover { text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .curso-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px -18px rgba(22, 11, 108, .45);
  }
  .curso-card:hover .curso-cta .btn { background: #f0f0ff; }
}
.curso-card .fondo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.curso-card .velo {
  position: absolute; inset: 0;
  background: linear-gradient(76deg, rgba(13, 7, 74, .95) 30%, rgba(13, 7, 74, .55) 68%, rgba(13, 7, 74, .28));
}
.curso-card .contenido {
  position: relative;
  padding: clamp(26px, 4vw, 46px);
  display: flex; flex-direction: column; gap: 0;
  min-height: 340px;
  justify-content: flex-end;
}
.curso-card .kicker { color: var(--verde); }
.curso-card h2 {
  font: 620 clamp(30px, 3.6vw, 46px)/1.02 var(--serif);
  margin: 0 0 10px; max-width: 17em;
}
.curso-card .sub { color: rgba(255, 255, 255, .8); max-width: 42em; margin: 0 0 24px; font-size: 16px; }
.curso-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.curso-cta .datos { font: 620 13px/1.4 var(--sans); color: rgba(255, 255, 255, .75); }
.curso-avance { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.curso-avance .progreso { flex: 1; background: rgba(255, 255, 255, .18); }
.curso-avance .pct { font: 640 13px/1 var(--sans); min-width: 38px; text-align: right; }

.vacio {
  border: 1.5px dashed var(--tinta-15);
  border-radius: var(--r-card);
  padding: 60px 30px;
  text-align: center;
  color: var(--tinta-suave);
}

/* ═══════════════════════════ PÁGINA DE CURSO ═════════════════════ */
.curso-hero {
  position: relative;
  color: #fff;
  background: var(--profundo);
  overflow: hidden;
}
.curso-hero .fondo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .38;
}
.curso-hero .velo {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(13, 7, 74, .92), rgba(22, 11, 108, .72) 55%,
    color-mix(in srgb, var(--acento, var(--azul)) 48%, transparent));
}
.curso-hero .in {
  position: relative;
  max-width: var(--pagew);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) 22px clamp(34px, 5vw, 60px);
}
.curso-hero .display { font-size: clamp(40px, 6vw, 84px); color: #fff; max-width: 13em; }
.curso-hero .display em { color: var(--verde); }
.curso-hero .lead { color: rgba(255, 255, 255, .82); margin: 18px 0 34px; }
.curso-hero .meta-row { border-color: rgba(255, 255, 255, .3); margin-bottom: 38px; max-width: 720px; }
.curso-hero .kicker { color: var(--verde); }

.ruta { padding: 56px 0 90px; }
.ruta-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.ruta-head h2 { font: 620 30px/1.1 var(--serif); margin: 0; }
.ruta-head .cuenta { font: 620 13.5px/1 var(--sans); color: var(--tinta-suave); }

.tramo {
  --acento: var(--azul);
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 10px 26px;
  align-items: center;
  padding: 30px 22px 30px 8px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--tinta);
  border-bottom: 1px solid var(--tinta-08);
  transition: background var(--t-hover) ease, transform var(--t-hover) var(--ease-out);
}
.tramo:hover { text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .tramo:hover { background: #fff; transform: translateX(4px); }
  .tramo:hover .tramo-num { opacity: .55; }
}
.tramo-num {
  font: italic 640 84px/0.8 var(--serif);
  color: var(--acento-canvas, var(--acento));
  opacity: .38;
  text-align: center;
  transition: opacity var(--t-hover) ease;
  user-select: none;
}
.tramo.hecho .tramo-num { opacity: .85; }
.tramo-cuerpo .kicker { margin-bottom: 6px; }
.tramo-cuerpo h3 { font: 620 25px/1.12 var(--serif); margin: 0 0 6px; }
.tramo-cuerpo p { margin: 0; color: var(--tinta-suave); font-size: 15px; max-width: 52em; }
.tramo-lado { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.tramo-estado {
  width: 34px; height: 34px; border-radius: 999px;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px var(--tinta-15);
  color: transparent;
}
.tramo.hecho .tramo-estado { background: var(--acento-canvas, var(--acento)); box-shadow: none; color: #fff; }
.tramo.actual .tramo-estado {
  box-shadow: inset 0 0 0 2px var(--acento-canvas, var(--acento));
  color: var(--acento-canvas, var(--acento));
}
.tramo-estado svg { width: 16px; height: 16px; }
.tramo .dur { font: 620 12.5px/1 var(--sans); color: var(--tinta-suave); }

/* ═══════════════════════════ PLAYER DE SECCIÓN ═══════════════════ */
.sec-top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 250, 250, .9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--tinta-08);
}
.sec-top .in {
  max-width: var(--pagew); margin: 0 auto; padding: 0 22px;
  height: 58px; display: flex; align-items: center; gap: 16px;
}
.sec-top .volver {
  display: inline-flex; align-items: center; gap: 8px;
  font: 620 13.5px/1 var(--sans); color: var(--tinta-suave);
  padding: 8px 10px; margin-left: -10px; border-radius: 8px;
}
.sec-top .volver:hover { color: var(--tinta); background: var(--tinta-08); text-decoration: none; }
.sec-top .donde { margin-left: auto; font: 640 12.5px/1 var(--sans); color: var(--tinta-suave); letter-spacing: .06em; }

.sec-hero {
  color: var(--acento-tinta);
  background: var(--acento);
  position: relative;
  overflow: hidden;
}
.sec-hero .ghost {
  position: absolute; right: 8px; bottom: -52px;
  font: italic 700 17rem/1 var(--serif);
  color: currentColor; opacity: .13;
  user-select: none; pointer-events: none;
}
.sec-hero .in {
  position: relative;
  max-width: var(--pagew); margin: 0 auto;
  padding: clamp(30px, 5vw, 56px) 22px;
}
.sec-hero .kicker { color: currentColor; opacity: 1; }
.sec-hero .display { font-size: clamp(34px, 5vw, 62px); color: currentColor; max-width: 14em; }
.sec-hero .lead { color: currentColor; opacity: 1; margin: 12px 0 0; font-size: 17.5px; font-weight: 500; }

.sec-cuerpo { max-width: var(--colw); margin: 0 auto; padding: 0 22px 40px; }

/* escenario del video */
.escenario {
  background: var(--profundo);
  border-radius: 18px;
  overflow: hidden;
  margin: 34px 0 14px;
  box-shadow: 0 24px 60px -30px rgba(22, 11, 108, .55);
}
.escenario video { width: 100%; aspect-ratio: 16 / 9; background: #0d074a; }
.escenario .pordentro {
  aspect-ratio: 16 / 9;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px;
  color: #fff; text-align: center; padding: 30px;
}
.escenario .pordentro .chevrons { color: var(--limon); }
.escenario .pordentro h3 { font: 620 26px/1.15 var(--serif); margin: 0; max-width: 20em; }
.escenario .pordentro p { margin: 0; color: rgba(255,255,255,.72); font-size: 15px; max-width: 34em; }
.video-pie {
  display: flex; align-items: center; gap: 12px;
  font: 560 13px/1.4 var(--sans); color: var(--tinta-suave);
  margin-bottom: 8px; flex-wrap: wrap;
}
.video-pie .visto { color: var(--acento-canvas, var(--acento)); font-weight: 700; display: none; align-items: center; gap: 6px; }
.video-pie.hecho .visto { display: inline-flex; }

/* bloques */
.bloque { padding: 34px 0; border-bottom: 1px solid var(--tinta-08); }
.bloque:last-of-type { border-bottom: none; }
.bloque .b-kicker { margin-bottom: 10px; }
.bloque h3.b-titulo { font: 620 clamp(24px, 3vw, 31px)/1.1 var(--serif); margin: 0 0 12px; text-wrap: balance; }
.bloque .b-lead { color: var(--tinta-suave); margin: 0 0 8px; }

.b-items { display: grid; gap: 14px; margin-top: 22px; }
.b-item {
  display: grid; grid-template-columns: 52px 1fr; gap: 16px;
  background: #fff;
  border: 1px solid var(--tinta-08);
  border-radius: var(--r-card);
  padding: 18px 20px;
}
.b-item .n {
  font: italic 640 34px/1 var(--serif);
  color: var(--acento-canvas, var(--acento));
  padding-top: 2px;
}
.b-item h4 { font: 700 15.5px/1.3 var(--sans); margin: 0 0 4px; }
.b-item p { margin: 0; font-size: 14.5px; color: var(--tinta-suave); }

.b-callout {
  margin-top: 20px;
  border-radius: var(--r-card);
  background: color-mix(in srgb, var(--acento) 12%, #fff);
  padding: 20px 24px;
  font: 560 17px/1.5 var(--serif);
}
.b-meta { margin-top: 24px; color: var(--tinta); }
.b-meta .meta-row { border-color: var(--tinta-15); }
.b-meta .mv { color: var(--acento-canvas, var(--acento)); font-weight: 640; font-size: 21px; }

/* quiz */
.quiz {
  background: #fff;
  border: 1px solid var(--tinta-08);
  border-radius: 18px;
  padding: clamp(20px, 3.5vw, 32px);
}
.quiz .pregunta { font: 620 21px/1.3 var(--serif); margin: 4px 0 20px; }
.quiz-ops { display: grid; gap: 10px; }
.quiz-op {
  display: flex; align-items: flex-start; gap: 13px;
  text-align: left;
  font: 500 15.5px/1.45 var(--sans);
  color: var(--tinta);
  background: var(--lienzo);
  border: 1.5px solid var(--tinta-15);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color var(--t-hover) ease, background var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.quiz-op:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) {
  .quiz-op:hover:not([disabled]) { border-color: var(--tinta); background: #fff; }
}
.quiz-op .marca {
  flex: 0 0 auto;
  width: 22px; height: 22px; margin-top: 1px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--tinta-15);
  display: grid; place-items: center;
  font: 700 11px/1 var(--sans);
  color: var(--tinta-suave);
  text-transform: uppercase;
  transition: background var(--t-hover) ease, color var(--t-hover) ease, box-shadow var(--t-hover) ease;
}
.quiz-op[data-sel="1"] { border-color: var(--acento-canvas, var(--acento)); background: #fff; }
.quiz-op[data-sel="1"] .marca { background: var(--acento-canvas, var(--acento)); color: #fff; box-shadow: none; }
.quiz-op.es-correcta { border-color: var(--acento-canvas, var(--acento)); background: color-mix(in srgb, var(--acento) 10%, #fff); }
.quiz-op.es-correcta .marca { background: var(--acento-canvas, var(--acento)); color: #fff; box-shadow: none; }
.quiz-op.es-error { border-color: var(--guayaba); background: rgba(255, 46, 87, .06); }
.quiz-op.es-error .marca { background: var(--guayaba); color: #fff; box-shadow: none; }
.quiz-op[disabled] { cursor: default; }
.quiz-pie { margin-top: 18px; display: flex; gap: 12px; align-items: center; }
.quiz-resultado {
  margin-top: 18px;
  border-radius: 12px;
  padding: 16px 19px;
  font-size: 15px; line-height: 1.55;
  background: color-mix(in srgb, var(--acento) 11%, #fff);
}
.quiz-resultado b { font: 700 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: 7px; color: var(--acento-canvas, var(--acento)); }
.quiz-resultado.mal { background: rgba(255, 46, 87, .07); }
.quiz-resultado.mal b { color: var(--guayaba); }

/* demo (escenario oscuro tipo deck) */
.demo-marco {
  background: var(--profundo);
  color: #fff;
  border-radius: 18px;
  padding: clamp(20px, 3.5vw, 32px);
  overflow: hidden;
  position: relative;
}
.demo-marco .kicker { color: var(--verde); }
.demo-marco h3 { color: #fff; }
.demo-marco .b-lead { color: rgba(255, 255, 255, .75); }

/* tablero */
.ajedrez { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 26px; margin-top: 22px; }
.tablero {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  user-select: none;
}
/* casillas con el estilo del deck; piezas SVG (set cburnett) */
.tablero .sq { position: relative; display: grid; place-items: center; }
.tablero .sq.l { background: #E7E9FA; }
.tablero .sq.d { background: #4457C9; }
.tablero .sq.hl::before { content: ""; position: absolute; inset: 0; background: rgba(196, 255, 0, .55); }
.tablero .sq span { position: relative; z-index: 2; width: 88%; height: 88%; display: block; }
.tablero .pieza { width: 100%; height: 100%; display: block; filter: drop-shadow(0 1px 1px rgba(11, 8, 50, .35)); }
.ajedrez-lado { display: flex; flex-direction: column; gap: 10px; min-width: 0; align-self: center; }
.ajedrez-conteo { font: 700 11px/1.3 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--verde); }
.ajedrez-mov { font: 640 34px/1 var(--serif); color: var(--limon); min-height: 38px; }
.ajedrez-nota { font: 560 14.5px/1.45 var(--sans); color: rgba(255, 255, 255, .8); min-height: 42px; }
.ajedrez-ctl { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

/* demo tokens */
.pred-frase {
  font: 620 clamp(24px, 4vw, 34px)/1.2 var(--serif);
  margin: 18px 0 4px;
}
.pred-frase u { text-decoration: none; border-bottom: 3px solid var(--limon); }
.pred-cursor { display: inline-block; width: 3px; height: 1em; background: var(--limon); margin-left: 4px; vertical-align: -0.12em; animation: parpadeo 1.1s steps(2) infinite; }
@keyframes parpadeo { 50% { opacity: 0; } }
.barras-label {
  font: 700 11px/1.3 var(--sans); letter-spacing: .13em; text-transform: uppercase;
  color: var(--verde); margin: 24px 0 12px; min-height: 14px;
}
.pred-barras { display: grid; gap: 9px; margin: 0 0 14px; }
.pred-fila { display: grid; grid-template-columns: 150px 1fr 48px; gap: 12px; align-items: center; }
.pred-fila .w { display: flex; justify-content: flex-end; min-width: 0; }
.pred-fila .tok {
  font: 640 13.5px/1 var(--sans);
  padding: 7px 11px; border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pred-fila .track { height: 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.pred-fila .fill { display: block; height: 100%; width: 100%; border-radius: 999px; transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform 700ms var(--ease-out); }
.pred-fila .v { font: 700 13px/1 var(--sans); opacity: .9; font-variant-numeric: tabular-nums; text-align: right; }
.pred-nota { font: 560 13.5px/1.5 var(--sans); color: rgba(255, 255, 255, .7); min-height: 40px; margin: 0; }
.demo-tabs { display: inline-flex; gap: 6px; background: rgba(255,255,255,.1); border-radius: 999px; padding: 4px; margin-top: 18px; }
.demo-tab {
  border: none; cursor: pointer;
  font: 640 13px/1 var(--sans);
  color: rgba(255,255,255,.7);
  background: transparent;
  padding: 9px 16px; border-radius: 999px;
  transition: background var(--t-hover) ease, color var(--t-hover) ease;
}
.demo-tab[aria-selected="true"] { background: var(--limon); color: var(--profundo); }
.gen-out { font: 560 clamp(20px, 3.4vw, 28px)/1.35 var(--serif); min-height: 120px; margin: 18px 0 4px; }
.gen-out b { color: var(--limon); }
.gen-out u { text-decoration: none; opacity: .85; }

/* toolmap */
.mapa { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.mapa-item {
  text-align: left;
  border: 1.5px solid var(--tinta-15);
  background: #fff;
  border-radius: var(--r-card);
  padding: 18px;
  cursor: pointer;
  font-family: var(--sans);
  transition: border-color var(--t-hover) ease, transform var(--t-press) var(--ease-out), background var(--t-hover) ease;
}
.mapa-item:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .mapa-item:hover { border-color: var(--tinta); }
}
.mapa-item .ic { font-size: 26px; line-height: 1; color: var(--acento-canvas, var(--acento)); display: block; margin-bottom: 12px; }
.mapa-item h4 { font: 700 15px/1.25 var(--sans); margin: 0; color: var(--tinta); }
.mapa-item.visto { border-color: var(--acento-canvas, var(--acento)); background: color-mix(in srgb, var(--acento) 9%, #fff); }
.mapa-detalle {
  margin-top: 16px;
  background: #fff;
  border: 1px solid var(--tinta-08);
  border-left: none;
  border-radius: var(--r-card);
  padding: 20px 22px;
  display: none;
}
.mapa-detalle.on { display: block; animation: sube 240ms var(--ease-out); }
.mapa-detalle .herr { font: 640 17px/1.3 var(--serif); color: var(--acento-canvas, var(--acento)); margin: 2px 0 6px; }
.mapa-detalle p { margin: 0; font-size: 14.5px; color: var(--tinta-suave); }
.mapa-cuenta { font: 620 12.5px/1 var(--sans); color: var(--tinta-suave); margin-top: 14px; }
@keyframes sube { from { opacity: 0; transform: translateY(6px); } }

/* builder */
.builder { background: #fff; border: 1px solid var(--tinta-08); border-radius: 18px; padding: clamp(20px, 3.5vw, 32px); }
.builder .campo { margin-bottom: 18px; }
.builder .hint { font: 500 12.5px/1.45 var(--sans); color: var(--tinta-suave); margin-top: 6px; }
.builder-out {
  background: var(--profundo);
  color: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  margin-top: 6px;
  font: 500 15px/1.65 var(--sans);
  white-space: pre-wrap;
  position: relative;
}
.builder-out .copiar { position: absolute; top: 12px; right: 12px; }
.builder-nota { font: 560 13.5px/1.5 var(--sans); color: var(--tinta-suave); margin-top: 16px; }

/* reto */
.reto-nivel { margin-top: 26px; }
.reto-nivel > h4 {
  font: 700 12px/1 var(--sans); letter-spacing: .13em; text-transform: uppercase;
  color: var(--tinta-suave); margin: 0 0 12px;
}
.reto-lista { display: grid; gap: 10px; }
.reto-item {
  display: grid; grid-template-columns: 26px 1fr; gap: 14px;
  background: #fff;
  border: 1.5px solid var(--tinta-15);
  border-radius: var(--r-card);
  padding: 16px 18px;
  cursor: pointer;
  transition: border-color var(--t-hover) ease, background var(--t-hover) ease;
}
@media (hover: hover) and (pointer: fine) {
  .reto-item:hover { border-color: var(--tinta); }
}
.reto-item .caja {
  width: 22px; height: 22px; margin-top: 2px;
  border-radius: 7px;
  box-shadow: inset 0 0 0 1.5px var(--tinta-15);
  display: grid; place-items: center;
  color: transparent;
  transition: background var(--t-hover) ease, box-shadow var(--t-hover) ease, color var(--t-hover) ease;
}
.reto-item.sel { border-color: var(--acento-canvas, var(--acento)); background: color-mix(in srgb, var(--acento) 8%, #fff); }
.reto-item.sel .caja { background: var(--acento-canvas, var(--acento)); box-shadow: none; color: #fff; }
.reto-item .caja svg { width: 13px; height: 13px; }
.reto-item h5 { font: 700 15px/1.3 var(--sans); margin: 0 0 5px; }
.reto-item p { margin: 0 0 7px; font-size: 14px; color: var(--tinta-suave); }
.reto-item .donde { font: 640 11.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--acento-canvas, var(--acento)); }
.reto-reflexion { margin-top: 26px; }

/* barra de sección (inferior) */
.sec-barra {
  position: sticky; bottom: 0; z-index: 30;
  background: rgba(250, 250, 250, .92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--tinta-08);
  margin-top: 20px;
}
.sec-barra .in {
  max-width: var(--colw); margin: 0 auto;
  padding: 13px 22px;
  display: flex; align-items: center; gap: 16px;
}
.sec-barra .estado { font: 620 13.5px/1.3 var(--sans); color: var(--tinta-suave); }
.sec-barra .estado b { color: var(--tinta); }
.sec-barra .siguiente { margin-left: auto; }
.sec-barra .btn { padding: 12px 20px; font-size: 14.5px; }

/* celebración de sección */
.sec-fin {
  margin: 40px 0 10px;
  border-radius: 18px;
  background: var(--acento);
  color: var(--acento-tinta);
  padding: clamp(26px, 4vw, 40px);
  display: none;
  position: relative; overflow: hidden;
}
.sec-fin.on { display: block; }
.sec-fin .chevrons { color: currentColor; }
.sec-fin h3 { font: 620 clamp(26px, 3.6vw, 36px)/1.05 var(--serif); margin: 14px 0 6px; }
.sec-fin p { margin: 0 0 22px; opacity: .85; }
.sec-fin .ghost {
  position: absolute; right: -10px; bottom: -60px;
  font: italic 700 13rem/1 var(--serif);
  opacity: .12; user-select: none; pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .sec-fin.on { animation: fin-entra 500ms var(--ease-out); }
  .sec-fin.on .chevrons i { animation: chev-baila 600ms var(--ease-out) backwards; }
  .sec-fin.on .chevrons i:nth-child(2) { animation-delay: 70ms; }
  .sec-fin.on .chevrons i:nth-child(3) { animation-delay: 140ms; }
}
@keyframes fin-entra { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes chev-baila { from { opacity: 0; transform: translateX(-14px); } }

/* ═══════════════════════════ CIERRE DE CURSO ═════════════════════ */
.final-lienzo {
  min-height: 100dvh;
  background: linear-gradient(150deg, var(--profundo) 0%, #241a96 50%, var(--azul) 120%);
  color: #fff;
  display: flex; flex-direction: column;
}
.final-in {
  max-width: 880px; margin: auto;
  padding: 70px 24px 60px;
  width: 100%;
}
.final-in .chevrons { color: var(--limon); }
.final-in .kicker { color: var(--verde); margin-top: 22px; }
.final-in .display { color: #fff; font-size: clamp(40px, 6.5vw, 78px); }
.final-in .display em { color: var(--limon); }
.final-in .lead { color: rgba(255, 255, 255, .8); margin: 20px 0 40px; }
.final-datos { margin: 4px 0 38px; }
.final-datos .meta-row { border-color: rgba(255, 255, 255, .35); }
.final-datos .mv { color: var(--limon); }
.final-nota { font: 500 14px/1.5 var(--sans); color: rgba(255, 255, 255, .78); margin: 16px 0 0; max-width: 46em; }
.final-retos { margin: 26px 0 0; padding: 0; list-style: none; }
.final-retos li { display: flex; gap: 10px; align-items: baseline; margin-bottom: 8px; font-size: 15.5px; }
.final-retos li::before { content: "▸"; color: var(--limon); }
.final-quote {
  position: relative;
  padding: 6px 0 0 40px;
  font: italic 560 18px/1.55 var(--serif);
  color: rgba(255, 255, 255, .88);
  margin: 20px 0 0;
}
.final-quote::before {
  content: "“";
  position: absolute; left: 0; top: -6px;
  font: 700 52px/1 var(--serif);
  color: var(--limon);
}
@media (prefers-reduced-motion: no-preference) {
  .final-in > * { animation: sube 600ms var(--ease-out) backwards; }
  .final-in > *:nth-child(2) { animation-delay: 90ms; }
  .final-in > *:nth-child(3) { animation-delay: 180ms; }
  .final-in > *:nth-child(4) { animation-delay: 270ms; }
  .final-in > *:nth-child(5) { animation-delay: 360ms; }
  .final-in > *:nth-child(6) { animation-delay: 450ms; }
}

/* ═══════════════════════════ ADMIN (Operate) ═════════════════════ */
.admin-main { padding: 40px 0 90px; }
.admin-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 30px; }
.admin-head h1 { font: 620 clamp(28px, 3.6vw, 38px)/1.05 var(--serif); margin: 0; }
.admin-head .acciones { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.admin-miga { font: 620 13px/1 var(--sans); color: var(--tinta-suave); margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }
.admin-miga a { color: var(--tinta-suave); }
.admin-miga a:hover { color: var(--tinta); }

.panel {
  background: #fff;
  border: 1px solid var(--tinta-08);
  border-radius: var(--r-card);
  padding: 24px;
  margin-bottom: 22px;
}
.panel > h2 { font: 620 21px/1.2 var(--serif); margin: 0 0 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .ancho { grid-column: 1 / -1; }
.form-pie { display: flex; align-items: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.form-pie .nota { font: 500 13px/1.4 var(--sans); color: var(--tinta-suave); }
.guardado { font: 640 13px/1 var(--sans); color: var(--agua); }

.tabla { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tabla th {
  text-align: left;
  font: 700 11px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  color: var(--tinta-suave);
  padding: 10px 12px;
  border-bottom: 1.5px solid var(--tinta-15);
}
.tabla td { padding: 13px 12px; border-bottom: 1px solid var(--tinta-08); vertical-align: middle; }
.tabla tr:last-child td { border-bottom: none; }
.tabla .titulo-c { font: 640 15.5px/1.3 var(--sans); color: var(--tinta); }
.tabla a.titulo-c:hover { color: var(--azul); }
.punto { width: 12px; height: 12px; border-radius: 999px; display: inline-block; box-shadow: inset 0 0 0 1.5px var(--tinta-15); }
.punto.si { background: var(--agua); box-shadow: none; }

.lista-secciones { display: grid; gap: 10px; }
.fila-seccion {
  display: flex; align-items: center; gap: 14px;
  background: var(--lienzo);
  border: 1px solid var(--tinta-08);
  border-radius: 12px;
  padding: 12px 14px;
}
.fila-seccion .orden { display: flex; flex-direction: column; gap: 2px; }
.fila-seccion .orden button {
  border: none; background: transparent; cursor: pointer;
  color: var(--tinta-suave); padding: 2px 6px; border-radius: 6px;
  font-size: 11px; line-height: 1;
}
.fila-seccion .orden button:hover { background: var(--tinta-08); color: var(--tinta); }
.fila-seccion .num { font: italic 640 24px/1 var(--serif); color: var(--tinta-suave); min-width: 30px; text-align: center; }
.fila-seccion .quef { flex: 1; min-width: 0; }
.fila-seccion .quef a { font: 640 15.5px/1.3 var(--sans); color: var(--tinta); }
.fila-seccion .quef a:hover { color: var(--azul); }
.fila-seccion .quef .mini { font-size: 12.5px; color: var(--tinta-suave); }

/* editor de bloques */
.bloque-adm {
  border: 1px solid var(--tinta-08);
  border-radius: var(--r-card);
  background: #fff;
  margin-bottom: 14px;
  overflow: hidden;
}
.bloque-adm > summary {
  list-style: none;
  display: flex; align-items: center; gap: 12px;
  padding: 15px 18px;
  cursor: pointer;
  user-select: none;
}
.bloque-adm > summary::-webkit-details-marker { display: none; }
.bloque-adm > summary .flecha { transition: transform 200ms var(--ease-out); color: var(--tinta-suave); }
.bloque-adm[open] > summary .flecha { transform: rotate(90deg); }
.bloque-adm > summary:hover { background: var(--lienzo); }
.tipo-chip {
  font: 800 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 9px; border-radius: 6px;
  background: var(--tinta-08); color: var(--tinta);
}
.tipo-chip.video { background: var(--profundo); color: #fff; }
.tipo-chip.quiz { background: var(--azul); color: #fff; }
.tipo-chip.texto { background: var(--verde); color: var(--profundo); }
.tipo-chip.demo { background: var(--agua); color: #fff; }
.tipo-chip.builder { background: var(--naranja); color: var(--profundo); }
.tipo-chip.reto { background: var(--limon); color: var(--profundo); }
.bloque-adm .resumen { flex: 1; min-width: 0; font: 560 14.5px/1.35 var(--sans); color: var(--tinta-suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bloque-adm .b-cuerpo { padding: 6px 18px 20px; border-top: 1px solid var(--tinta-08); }
.b-cuerpo .campo { margin-top: 14px; }
.repetidor { display: grid; gap: 10px; margin-top: 8px; }
.repetidor .item-r {
  display: grid; gap: 8px;
  border: 1px dashed var(--tinta-15);
  border-radius: 10px; padding: 12px;
  position: relative;
}
.item-r .quitar {
  position: absolute; top: 8px; right: 8px;
  border: none; background: transparent; cursor: pointer;
  color: var(--tinta-suave); font-size: 15px; line-height: 1;
  padding: 4px 7px; border-radius: 6px;
}
.item-r .quitar:hover { color: var(--guayaba); background: rgba(255,46,87,.08); }
.mini-btn {
  border: none; cursor: pointer;
  font: 640 13px/1 var(--sans);
  color: var(--azul); background: rgba(53, 78, 231, .09);
  padding: 9px 13px; border-radius: 8px;
  transition: background var(--t-hover) ease;
}
.mini-btn:hover { background: rgba(53, 78, 231, .16); }

/* zona de subida */
.subida {
  border: 2px dashed var(--tinta-15);
  border-radius: var(--r-card);
  padding: 26px;
  text-align: center;
  color: var(--tinta-suave);
  cursor: pointer;
  transition: border-color var(--t-hover) ease, background var(--t-hover) ease;
}
.subida:hover, .subida.arrastrando { border-color: var(--azul); background: rgba(53, 78, 231, .04); }
.subida b { color: var(--tinta); }
.subida-prog { margin-top: 14px; display: none; }
.subida-prog.on { display: block; }
.video-actual {
  display: flex; align-items: center; gap: 14px;
  background: var(--lienzo); border-radius: 12px; padding: 12px 14px;
  margin-bottom: 12px;
}
.video-actual video { width: 150px; border-radius: 8px; }

.json-editor textarea { font: 500 13px/1.55 ui-monospace, "Cascadia Code", Consolas, monospace; min-height: 200px; }
.json-error { color: var(--guayaba); font: 620 13px/1.4 var(--sans); margin-top: 8px; display: none; }
.json-error.on { display: block; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 100;
  transform: translateX(-50%) translateY(16px);
  background: var(--profundo); color: #fff;
  font: 620 14px/1.4 var(--sans);
  padding: 13px 20px; border-radius: 12px;
  box-shadow: 0 14px 40px -12px rgba(22, 11, 108, .5);
  opacity: 0; pointer-events: none;
  transition: opacity 200ms ease, transform 250ms var(--ease-out);
  max-width: min(92vw, 480px); text-align: center;
}
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: var(--guayaba); }

/* ── Entradas suaves (una vez, no en cada scroll) ── */
@media (prefers-reduced-motion: no-preference) {
  .entra { animation: sube 420ms var(--ease-out) backwards; }
  .entra:nth-child(2) { animation-delay: 50ms; }
  .entra:nth-child(3) { animation-delay: 100ms; }
  .entra:nth-child(4) { animation-delay: 150ms; }
  .entra:nth-child(5) { animation-delay: 200ms; }
  .entra:nth-child(6) { animation-delay: 250ms; }
  .entra:nth-child(7) { animation-delay: 300ms; }
  .entra:nth-child(8) { animation-delay: 350ms; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── Responsive ── */
@media (max-width: 940px) {
  .login-grid { grid-template-columns: 1fr; }
  .login-hero { min-height: 44vh; }
  .login-hero .ghost { font-size: 18rem; bottom: -60px; }
  .ajedrez { grid-template-columns: 1fr; }
  .mapa { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar .quien .c { display: none; }
  .tramo { grid-template-columns: 64px 1fr; padding: 24px 10px 24px 0; }
  .tramo-num { font-size: 56px; }
  .tramo-lado { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; }
  .mapa { grid-template-columns: 1fr; }
  .meta-row { gap: 18px 32px; }
  .sec-barra .estado .detalle { display: none; }
  .pred-fila { grid-template-columns: 104px 1fr 42px; }
  .pred-fila .tok { font-size: 12.5px; padding: 6px 9px; }
}
