/* ─────────────────────────────────────────────────────────────────────
   T-Contrato Empleos · bolsa pública tipo Marketplace con la identidad
   oficial de Grupo T (contrato de diseño en views/empleos.html).
   Hoja propia: el candidato solo descarga esto.
   ───────────────────────────────────────────────────────────────────── */
:root {
  /* Marca (manual Grupo T oct-2026) */
  --magenta: #D946EF;          /* Magenta Acción: superficies y acentos */
  --magenta-tinta: #A21CAF;    /* texto, enlaces y botones (6.8:1 con blanco) */
  --magenta-hover: #86198F;
  --magenta-claro: #FDF4FF;
  --magenta-borde: #F5D0FE;
  --noche: #0F172A;
  --pizarra: #334155;
  --acero: #64748B;            /* texto secundario (4.8:1 sobre blanco) */
  --niebla: #F1F5F9;
  --blanco: #FFFFFF;
  --linea: #E2E8F0;
  --linea-2: #CBD5E1;
  --ok: #15803D;
  --ok-claro: #F0FDF4;
  --mal: #B91C1C;
  --r: 14px;
  --sombra: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --sombra-alta: 0 12px 32px -12px rgba(15, 23, 42, .35);
  --sale: cubic-bezier(.16, 1, .3, 1);
  --f: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ancho: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--linea-2) var(--niebla); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--niebla); color: var(--noche);
  font: 400 15.5px/1.55 var(--f); -webkit-font-smoothing: antialiased; caret-color: var(--magenta-tinta); }
::selection { background: var(--magenta-borde); color: var(--noche); }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 2px; border-radius: 6px; }
a { color: var(--magenta-tinta); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.2; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
img { display: block; max-width: 100%; }
svg { flex: none; }
.saltar { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--magenta-tinta); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.saltar:focus { top: 8px; }
.cargando { padding: 64px 16px; text-align: center; color: var(--acero); font-weight: 500; }
.envolver { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 16px; }

/* ── Barra superior ────────────────────────────────────────────────── */
.barra { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--linea); }
.barra-in { max-width: var(--ancho); margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.marca { display: flex; align-items: center; gap: 12px; color: var(--noche); text-decoration: none; min-width: 0; }
.marca img { height: 42px; width: auto; }
.marca-sep { width: 1px; height: 26px; background: var(--linea-2); }
.marca-txt { font-size: 17px; font-weight: 600; color: var(--pizarra); }
@media (max-width: 420px) { .marca img { height: 36px; } .marca-sep, .marca-txt { display: none; } }

/* ── Botones ───────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 10px; border: 0;
  font: 600 15px/1 var(--f); text-decoration: none; cursor: pointer; background: var(--niebla); color: var(--noche);
  transition: background .15s, box-shadow .15s, transform .1s; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { background: var(--linea); }
.btn:active { transform: scale(.98); }
.btn-primario { background: var(--magenta-tinta); color: #fff; }
.btn-primario:hover { background: var(--magenta-hover); }
.btn-borde { background: var(--blanco); color: var(--magenta-tinta); box-shadow: inset 0 0 0 1.5px var(--magenta-borde); }
.btn-borde:hover { background: var(--magenta-claro); box-shadow: inset 0 0 0 1.5px var(--magenta); }
.btn-chico { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-bloque { width: 100%; min-height: 52px; font-size: 16px; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ── Portada ───────────────────────────────────────────────────────── */
.portada { position: relative; overflow: hidden; background: var(--noche); color: #fff; isolation: isolate; }
.portada::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 90% at 88% 10%, rgba(217, 70, 239, .38), transparent 62%),
              radial-gradient(40% 70% at 0% 100%, rgba(217, 70, 239, .16), transparent 70%); }
/* Isotipo T-Contrato como marca de agua: el mismo trazo del logo, no una ilustración inventada */
.portada::after { content: ""; position: absolute; right: -40px; bottom: -70px; width: 340px; height: 340px; z-index: -1; opacity: .07;
  background: url("/logos/iso-t-contrato.svg") center / contain no-repeat; filter: brightness(0) invert(1); }
@media (max-width: 760px) { .portada::after { display: none; } }
.portada-in { max-width: var(--ancho); margin: 0 auto; padding: 40px 16px 36px; }
.antetitulo { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #F0ABFC; }
.antetitulo::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--magenta); }
.portada h1 { margin-top: 12px; font-size: clamp(30px, 6.4vw, 50px); font-weight: 700; line-height: 1.08; max-width: 17ch; }
.portada h1 em { font-style: normal; color: var(--magenta); }
.portada-sub { margin-top: 12px; max-width: 54ch; color: #CBD5E1; font-size: clamp(15.5px, 2.2vw, 17.5px); }
.buscar { position: relative; display: block; margin-top: 24px; max-width: 640px; }
.buscar span { position: absolute; left: -9999px; }
.buscar svg { position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--acero); pointer-events: none; }
.buscar input { width: 100%; min-height: 56px; border-radius: 14px; border: 0; background: var(--blanco); color: var(--noche); box-shadow: var(--sombra-alta);
  font: 500 16px var(--f); padding: 0 18px 0 50px; }
.buscar input::placeholder { color: var(--acero); font-weight: 400; }
.buscar input:focus { outline: none; box-shadow: 0 0 0 3px var(--magenta), var(--sombra-alta); }
.garantias { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.garantias li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #E2E8F0; }
.garantias svg { width: 18px; height: 18px; color: var(--magenta); }

/* ── Contenido ─────────────────────────────────────────────────────── */
.contenido { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 22px 16px 56px; flex: 1; }
.encabezado { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.encabezado h2 { font-size: 22px; font-weight: 700; }
.encabezado h2 small { margin-left: 8px; font-size: 14px; font-weight: 500; color: var(--acero); }
.pildoras { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.pildoras::-webkit-scrollbar { display: none; }
.pildora { flex: none; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--linea); background: var(--blanco); color: var(--pizarra);
  font: 500 14px var(--f); cursor: pointer; transition: border-color .15s, background .15s; }
.pildora:hover { border-color: var(--linea-2); }
.pildora[aria-pressed="true"] { background: var(--magenta-claro); color: var(--magenta-tinta); border-color: var(--magenta); font-weight: 600; }

/* Rejilla de publicaciones: 2 columnas en celular, como Marketplace */
.rejilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .rejilla { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1040px) { .rejilla { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pub { display: flex; flex-direction: column; min-width: 0; background: var(--blanco); border-radius: var(--r); box-shadow: var(--sombra); overflow: hidden;
  color: var(--noche); text-decoration: none; transition: box-shadow .2s var(--sale), translate .2s var(--sale); }
.pub:hover { box-shadow: var(--sombra-alta); translate: 0 -2px; }
.pub:hover .pub-puesto { color: var(--magenta-tinta); }

/* La "foto" de la publicación: isotipo oficial de la empresa sobre su color suave; sin logo, su color con el nombre;
   confidencial, Noche con maletín (no hay fotos reales y no se inventan). */
.pub-foto, .det-foto { --c: var(--magenta); --sobre: #fff; position: relative; display: flex; flex-direction: column; padding: 12px; overflow: hidden;
  background: var(--c); color: var(--sobre); }
.pub-foto { aspect-ratio: 4 / 3; }
.con-logo { background: color-mix(in srgb, var(--c) 9%, #fff); color: var(--noche); }
.con-logo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--c); }
.conf { background: var(--noche); color: #fff; }
.pub-marca { position: relative; flex: 1; display: grid; place-items: center; text-align: center; font-size: clamp(19px, 5vw, 26px); font-weight: 700;
  letter-spacing: -.02em; line-height: 1.1; overflow-wrap: anywhere; padding: 4px; }
.pub-marca img { width: auto; height: clamp(52px, 13vw, 74px); object-fit: contain; }
.pub-marca .emp-nombre { display: block; margin-top: 8px; font-size: 13.5px; font-weight: 600; letter-spacing: 0; color: var(--pizarra); }
.pub-marca.confi { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 600; }
.pub-marca.confi svg { width: clamp(30px, 8vw, 38px); height: auto; color: var(--magenta); }
.etiquetas { position: relative; z-index: 1; display: flex; gap: 6px; flex-wrap: wrap; }
.etq { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(15, 23, 42, .72); color: #fff; }
.etq-nueva { background: var(--magenta-tinta); }
.pub-info { padding: 12px 14px 14px; display: grid; gap: 4px; }
.pub-puesto { font-size: 15.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; transition: color .15s; }
.pub-salario { font-size: 17px; font-weight: 700; color: var(--magenta-tinta); font-variant-numeric: tabular-nums; }
.pub-salario small { font-size: 12.5px; font-weight: 500; color: var(--acero); margin-left: 2px; }
.pub-salario.convenir { font-size: 14px; font-weight: 500; color: var(--acero); }
.pub-meta { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--acero); min-width: 0; }
.pub-meta svg { width: 14px; height: 14px; }
.pub-meta span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 480px) { .pub-info { padding: 10px 11px 12px; } .pub-puesto { font-size: 14.5px; } .pub-salario { font-size: 15.5px; } }

/* ── Bloques blancos ───────────────────────────────────────────────── */
.bloque { background: var(--blanco); border-radius: var(--r); box-shadow: var(--sombra); padding: 20px; }
.seccion { margin-top: 28px; }
.bloque h2, .seccion > h2 { font-size: 21px; font-weight: 700; }
.bloque > p { margin-top: 6px; color: var(--pizarra); }
.empresas { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.empresas li { display: flex; align-items: center; gap: 10px; border: 1px solid var(--linea); border-radius: 12px; padding: 10px 12px; font-weight: 600; font-size: 14.5px; }
.empresas img { width: 30px; height: 30px; object-fit: contain; }
.empresas i { width: 30px; height: 30px; border-radius: 8px; background: var(--c); color: #fff; display: grid; place-items: center; font: 700 12px/1 var(--f); font-style: normal; flex: none; }
.vacio { text-align: center; padding: 36px 18px; }
.vacio svg { width: 44px; height: 44px; color: var(--linea-2); }
.vacio h2 { margin-top: 10px; }
.vacio p { margin: 6px auto 0; max-width: 44ch; color: var(--pizarra); }
.vacio .btn { margin-top: 16px; }

/* Dejar perfil: explicación a la izquierda, formulario a la derecha en escritorio */
.perfil { display: grid; gap: 22px; }
@media (min-width: 900px) { .perfil { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; padding: 32px; } }
.perfil-intro h2 { font-size: 24px; }
.perfil-intro > p { margin-top: 8px; color: var(--pizarra); }
.pasos { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; counter-reset: paso; }
.pasos li { position: relative; padding-left: 44px; color: var(--pizarra); font-size: 14.5px; }
.pasos li b { display: block; color: var(--noche); font-size: 15px; }
.pasos li::before { counter-increment: paso; content: counter(paso); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--magenta-claro); color: var(--magenta-tinta); display: grid; place-items: center; font-weight: 700; font-size: 14px; }

/* ── Detalle ───────────────────────────────────────────────────────── */
.volver { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 14px; color: var(--pizarra); font-weight: 500; text-decoration: none; }
.volver:hover { color: var(--magenta-tinta); }
.volver svg { width: 20px; height: 20px; }
.detalle { display: grid; gap: 18px; align-items: start; }
.detalle > * { min-width: 0; }
@media (min-width: 960px) { .detalle { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; } .detalle .lateral { position: sticky; top: 84px; } }
.detalle > article { padding: 0; overflow: hidden; }
.det-foto { min-height: 210px; padding: 16px; }
.det-foto .pub-marca img { height: 96px; }
.det-foto .pub-marca { font-size: clamp(26px, 5vw, 36px); }
.det-foto .pub-marca.confi svg { width: 52px; }
.det-cuerpo { padding: 20px 22px 0; display: grid; gap: 6px; }
.det-cuerpo h1 { font-size: clamp(24px, 4vw, 30px); font-weight: 700; }
.det-salario { font-size: 22px; font-weight: 700; color: var(--magenta-tinta); font-variant-numeric: tabular-nums; }
.det-salario small { font-size: 14px; color: var(--acero); font-weight: 500; }
.det-salario.convenir { font-size: 16px; color: var(--acero); font-weight: 500; }
.det-meta { color: var(--acero); font-size: 14px; }
.acciones { display: flex; gap: 8px; padding: 16px 22px 0; }
.acciones .btn-primario { flex: 1; }
@media (max-width: 700px) { .txt-compartir { display: none; } .acciones .btn:not(.btn-primario) { width: 46px; padding: 0; } }
.det-sec { margin: 20px 22px 0; padding-top: 18px; border-top: 1px solid var(--linea); }
.det-sec:last-child { padding-bottom: 22px; }
.det-sec h2 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.det-sec p { white-space: pre-line; color: var(--pizarra); max-width: 68ch; }
.datos { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; font-size: 14.5px; }
.datos dt { color: var(--acero); }
.datos dd { margin: 0; font-weight: 500; }
.publicador { display: flex; align-items: center; gap: 14px; }
.publicador img { width: 48px; height: 48px; flex: none; }
.publicador b { display: block; }
.publicador p { font-size: 14px; color: var(--acero); }
.sello-ok { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; background: var(--ok-claro); color: var(--ok); border-radius: 8px; padding: 5px 10px; font-size: 13.5px; font-weight: 600; }
.sello-ok svg { width: 17px; height: 17px; }
.lateral .bloque > p { font-size: 14.5px; }

/* ── Formulario ────────────────────────────────────────────────────── */
.form { display: grid; gap: 14px; margin-top: 14px; }
.perfil .form { margin-top: 0; }
.campos { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .campos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.campo { display: grid; gap: 5px; font-size: 13.5px; font-weight: 500; color: var(--pizarra); }
.campo.ancho { grid-column: 1 / -1; }
.campo input, .campo select { width: 100%; min-height: 48px; border-radius: 10px; border: 1px solid var(--linea-2); background: var(--blanco); color: var(--noche);
  font: 400 16px var(--f); padding: 0 12px; transition: border-color .15s, box-shadow .15s; }
.campo input::placeholder { color: #94A3B8; }
.campo input:hover, .campo select:hover { border-color: var(--acero); }
.campo input:focus, .campo select:focus { outline: none; border-color: var(--magenta-tinta); box-shadow: 0 0 0 3px rgba(217, 70, 239, .22); }
.check input[aria-invalid="true"] { outline: 2px solid var(--mal); outline-offset: 2px; }
.campo input[aria-invalid="true"] { border-color: var(--mal); box-shadow: 0 0 0 3px rgba(185, 28, 28, .15); }
.archivo { position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1.5px dashed var(--linea-2);
  background: var(--niebla); color: var(--pizarra); font-weight: 500; cursor: pointer; overflow: hidden; }
.archivo:hover { border-color: var(--magenta); background: var(--magenta-claro); }
.archivo svg { width: 18px; height: 18px; color: var(--magenta-tinta); }
.archivo span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.archivo.lleno { border-style: solid; border-color: var(--ok); background: var(--ok-claro); color: var(--ok); }
.archivo.lleno svg { color: var(--ok); }
.archivo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.archivo:focus-within { outline: 3px solid var(--magenta); outline-offset: 2px; }
.grupo { border: 1px solid var(--linea); border-radius: 12px; padding: 12px 14px 14px; margin: 0; min-width: 0; }
.grupo legend { padding: 0 6px; font-weight: 600; font-size: 14.5px; }
.checks { display: grid; gap: 10px; margin-top: 10px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.4; cursor: pointer; color: var(--pizarra); }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--magenta-tinta); }
.dpi summary { cursor: pointer; font-weight: 500; font-size: 14.5px; color: var(--magenta-tinta); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.dpi summary::-webkit-details-marker { display: none; }
.dpi summary::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: -45deg; transition: rotate .2s; }
.dpi[open] summary::before { rotate: 45deg; }
.dpi .campo { margin-top: 8px; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { color: var(--mal); font-weight: 500; font-size: 14px; min-height: 1.2em; }
.listo { text-align: center; padding: 20px 6px 6px; display: grid; justify-items: center; gap: 8px; }
.listo-ico { width: 60px; height: 60px; border-radius: 50%; background: var(--ok-claro); color: var(--ok); display: grid; place-items: center; animation: aparecer .5s var(--sale) both; }
.listo-ico svg { width: 30px; height: 30px; }
.listo h2 { font-size: 22px; font-weight: 700; }
.listo p { color: var(--pizarra); max-width: 40ch; }
.listo .aviso { color: var(--acero); font-size: 13.5px; }
@keyframes aparecer { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.codigo { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Botón fijo en celular */
.cta-fija { display: none; }
@media (max-width: 700px) {
  .cta-fija { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; min-height: 52px; box-shadow: var(--sombra-alta);
    transition: translate .3s var(--sale), opacity .3s; }
  .cta-fija.oculta { translate: 0 140%; opacity: 0; pointer-events: none; }
  body:has(.cta-fija:not(.oculta)) .pie { padding-bottom: 86px; }
}

/* ── Pie ───────────────────────────────────────────────────────────── */
.pie { background: var(--noche); color: #CBD5E1; }
.pie-in { max-width: var(--ancho); margin: 0 auto; padding: 36px 16px 28px; display: grid; gap: 28px; }
@media (min-width: 860px) { .pie-in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; } }
.pie-marca img { height: 56px; width: auto; }
.pie-marca p { margin-top: 14px; font-size: 14px; max-width: 36ch; }
.pie h2 { font-size: 16px; font-weight: 600; color: #fff; }
.pie ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.pie li { position: relative; padding-left: 28px; font-size: 14px; }
.pie li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: rgba(217, 70, 239, .2); }
.pie li::after { content: ""; position: absolute; left: 5px; top: 8px; width: 8px; height: 4px; border-left: 2px solid #F0ABFC; border-bottom: 2px solid #F0ABFC; rotate: -45deg; }
.pie b { color: #fff; font-weight: 600; }
.pie a { color: #F0ABFC; }
.contacto { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 500; color: #fff; }
.pie-legal { border-top: 1px solid rgba(255, 255, 255, .1); }
.pie-legal p { max-width: var(--ancho); margin: 0 auto; padding: 14px 16px 18px; font-size: 13px; color: #94A3B8; }

.toast { position: fixed; bottom: 76px; left: 50%; translate: -50% 0; background: var(--noche); color: #fff; padding: 12px 16px; border-radius: 10px; font-weight: 500;
  z-index: 60; box-shadow: var(--sombra-alta); max-width: calc(100% - 32px); }
.toast.err { background: var(--mal); }

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

/* ── Evaluación psicométrica del candidato (/evaluacion) ───────────── */
.ev-main { width: 100%; max-width: 760px; margin: 0 auto; padding: 22px 16px 64px; flex: 1; }
.ev-tarjeta { display: grid; gap: 14px; padding: 24px; }
.ev-tarjeta h1 { font-size: clamp(22px, 4.6vw, 28px); font-weight: 700; }
.ev-tarjeta h2 { font-size: 17px; font-weight: 600; margin-top: 4px; }
.ev-tarjeta > p { color: var(--pizarra); }
.ev-tarjeta .antetitulo { color: var(--magenta-tinta); }
.ev-centro { text-align: center; padding: 44px 22px; display: grid; justify-items: center; gap: 10px; }
.ev-centro h1 { font-size: 24px; }
.ev-centro p { color: var(--pizarra); max-width: 44ch; }
.ev-lista { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--pizarra); }
.ev-nota { font-size: 14px; color: var(--acero) !important; background: var(--niebla); border-radius: 10px; padding: 10px 12px; }
.ev-instr { background: var(--magenta-claro); border: 1px solid var(--magenta-borde); border-radius: 12px; padding: 12px 14px; color: var(--noche) !important; font-size: 14.5px; }
.ev-progreso { height: 8px; border-radius: 99px; background: var(--niebla); overflow: hidden; }
.ev-progreso span { display: block; height: 100%; background: var(--magenta); border-radius: inherit; transform-origin: left; transition: transform .4s var(--sale); }
.ev-pruebas { display: grid; gap: 10px; }
.ev-prueba { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--linea); border-radius: 12px; padding: 14px 16px; }
.ev-prueba b { display: block; font-weight: 600; }
.ev-prueba span { font-size: 13.5px; color: var(--acero); }
.ev-prueba.hecha { background: var(--ok-claro); border-color: #BBF7D0; }
.ev-lista-ok { display: inline-flex; align-items: center; gap: 6px; color: var(--ok) !important; font-weight: 600; font-size: 14px !important; }
.ev-lista-ok svg { width: 18px; height: 18px; }
.ev-item { border: 0; border-top: 1px solid var(--linea); padding: 16px 0 4px; margin: 0; min-width: 0; }
.ev-item legend { display: flex; gap: 10px; align-items: flex-start; padding: 0; font-weight: 600; font-size: 15.5px; line-height: 1.4; }
.ev-num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--niebla); color: var(--pizarra); display: grid; place-items: center; font-size: 12.5px; font-weight: 600; margin-top: -1px; }
.ev-par { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.ev-par span { background: var(--niebla); border-radius: 10px; padding: 10px 12px; font: 500 15px ui-monospace, "Cascadia Mono", Consolas, monospace; overflow-wrap: anywhere; }
.ev-ops { display: grid; gap: 8px; margin-top: 12px; }
.ev-ops.likert { grid-template-columns: repeat(5, 1fr); }
.ev-op { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; border: 1.5px solid var(--linea); border-radius: 12px; font-size: 14.5px; cursor: pointer;
  transition: border-color .15s, background .15s; }
.ev-op:hover { border-color: var(--linea-2); }
.ev-op input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--magenta-tinta); }
.ev-op:has(input:checked) { border-color: var(--magenta-tinta); background: var(--magenta-claro); font-weight: 500; }
.ev-op:has(input:focus-visible) { outline: 3px solid var(--magenta); outline-offset: 2px; }
.ev-ops.likert .ev-op { flex-direction: column; justify-content: center; text-align: center; font-size: 12.5px; line-height: 1.25; gap: 6px; padding: 10px 6px; }
@media (max-width: 600px) {
  .ev-ops.likert { grid-template-columns: 1fr; }
  .ev-ops.likert .ev-op { flex-direction: row; justify-content: flex-start; text-align: left; font-size: 14.5px; padding: 8px 12px; }
  .ev-par { grid-template-columns: 1fr; }
  .ev-tarjeta { padding: 20px 16px; }
}
.ev-forzada { width: 100%; margin-top: 10px; border-collapse: collapse; }
.ev-forzada th { text-align: center; width: 72px; padding: 6px; font-size: 13px; font-weight: 600; color: var(--acero); }
.ev-forzada td { padding: 8px; font-size: 15px; border-top: 1px solid var(--niebla); }
.ev-forzada td:not(:first-child) { text-align: center; }
.ev-forzada input { width: 22px; height: 22px; accent-color: var(--magenta-tinta); cursor: pointer; }
.ev-forzada tr:has(input:checked) td:first-child { font-weight: 600; color: var(--magenta-tinta); }
.ev-reloj { font: 600 18px ui-monospace, "Cascadia Mono", Consolas, monospace; background: var(--noche); color: #fff; padding: 6px 12px; border-radius: 10px; font-variant-numeric: tabular-nums; }
.ev-reloj.urgente { background: var(--mal); }
