:root {
  --navy: #0e2340;
  --navy-2: #16345c;
  --ink: #122033;
  --muted: #5b6b7c;
  --line: #e3eaf2;
  --paper: #f4f7fb;
  --white: #ffffff;
  --accent: #2f6fed;
  --accent-2: #1f4fb8;
  --ok: #1f8a5b;
  --warn: #c56a16;
  --shadow: 0 10px 30px rgba(14, 35, 64, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  display: grid;
  grid-template-columns: 280px 1fr;
}

.sidebar {
  background: linear-gradient(180deg, var(--navy) 0%, #0a1b33 100%);
  color: #d7e3f4;
  padding: 22px 16px 28px;
  min-height: 100vh;
  position: sticky;
  top: 0;
  max-height: 100vh;
  overflow-y: auto;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: white;
  text-decoration: none;
  padding: 6px 10px 18px;
}
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: #1d4ed8;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand strong { display: block; font-size: 1.05rem; }
.brand small { color: #9db0c9; }
.sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.sidebar nav a {
  color: #c9d7ea;
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.95rem;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.sidebar nav a:hover, .sidebar nav a.activo {
  background: #1b3a66;
  color: white;
}
.nav-label {
  margin: 18px 12px 6px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7f93ad;
}
.num {
  color: #8eb4ff;
  font-variant-numeric: tabular-nums;
  min-width: 1.6em;
}
.sidebar-foot {
  margin: 28px 12px 0;
  color: #7f93ad;
  font-style: italic;
  font-size: 0.88rem;
}
.nav-grupo {
  margin: 4px 0;
}
.nav-grupo summary {
  cursor: pointer;
  padding: 9px 12px;
  border-radius: 10px;
  color: #c9d7ea;
  list-style: none;
}
.nav-grupo summary::-webkit-details-marker { display: none; }
.nav-grupo summary::after {
  content: "+";
  float: right;
  color: #8eb4ff;
}
.nav-grupo[open] summary::after { content: "–"; }
.nav-grupo summary:hover { background: #1b3a66; color: white; }
.nav-grupo a { padding-left: 22px; font-size: 0.88rem; }

.shell { min-width: 0; }
.topbar {
  padding: 18px 28px 0;
}
.topbar input {
  width: min(560px, 100%);
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  outline: none;
}
.topbar input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47,111,237,.15); }
main { padding: 22px 28px 48px; }

.hero {
  background:
    linear-gradient(90deg, rgba(14,35,64,.88), rgba(14,35,64,.35)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='240'%3E%3Crect fill='%23123355' width='800' height='240'/%3E%3Ccircle cx='620' cy='80' r='90' fill='%232f6fed' opacity='.25'/%3E%3Crect x='480' y='40' width='90' height='140' fill='%23cbd5e1' opacity='.2'/%3E%3C/svg%3E");
  color: white;
  border-radius: 24px;
  padding: 42px 40px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  min-height: 230px;
  margin-bottom: 28px;
}
.hero h1 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  margin: 8px 0 12px;
}
.lead { color: inherit; opacity: .92; max-width: 52ch; }
.kicker {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .75rem;
  margin: 0;
  color: #9ec0ff;
}
.hero-quote {
  font-family: "Source Serif 4", Georgia, serif;
  font-style: italic;
  max-width: 16ch;
  margin: 0;
}

.bloque-titulo { margin: 8px 0 4px; font-size: 1.25rem; }
.muted { color: var(--muted); margin-top: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 16px 0 32px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.pad { padding: 22px 24px; }
.grupo { padding: 22px; }
.grupo h3 { margin-top: 0; }
.lista-secciones { list-style: none; padding: 0; margin: 0; }
.lista-secciones a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.lista-secciones a span { color: var(--accent); font-size: .8rem; font-weight: 600; }
.prueba { overflow: hidden; color: inherit; text-decoration: none; display: flex; flex-direction: column; }
.prueba:hover { transform: translateY(-2px); transition: .2s ease; }
.card-body { padding: 14px 16px 18px; }
.card-body h3 { margin: 6px 0 8px; font-size: 1.05rem; }
.card-body p { color: var(--muted); margin: 0 0 10px; font-size: .92rem; }
.badge {
  display: inline-block;
  background: #e8f0ff;
  color: var(--accent-2);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: .75rem;
  font-weight: 600;
}
.thumb { height: 110px; width: 100%; display: block; object-fit: cover; }
.t1 { background: linear-gradient(135deg, #94a3b8, #334155); }
.t2 { background: linear-gradient(135deg, #fb923c, #ea580c); }
.t3 { background: linear-gradient(135deg, #38bdf8, #0369a1); }
.t4 { background: linear-gradient(135deg, #a3e635, #3f6212); }
.t5 { background: linear-gradient(135deg, #818cf8, #3730a3); }
.t6 { background: linear-gradient(135deg, #22d3ee, #0f766e); }
.t7 { background: linear-gradient(135deg, #f472b6, #9d174d); }

.seccion-head { margin-bottom: 18px; }
.seccion-head h1 { margin: 6px 0 8px; font-family: "Source Serif 4", Georgia, serif; }
.norma { color: var(--muted); }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.spec-grid h3 { margin: 0 0 6px; font-size: .9rem; color: var(--accent-2); }
.spec-grid p { margin: 0; color: var(--muted); }

.tabs {
  display: flex;
  gap: 8px;
  margin: 18px 0;
}
.tabs a {
  text-decoration: none;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
}
.tabs a.activo { background: var(--navy); color: white; border-color: var(--navy); }

.prosa h1, .prosa h2 { font-family: "Source Serif 4", Georgia, serif; }
.prosa img {
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: block;
  margin: 12px 0;
}
.prosa table { width: 100%; border-collapse: collapse; }
.prosa th, .prosa td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.aviso {
  background: #fff7ed;
  border: 1px dashed #fdba74;
  padding: 14px;
  border-radius: 12px;
}
.img-faltante {
  background: repeating-linear-gradient(45deg, #eef2f7, #eef2f7 10px, #e4ebf3 10px, #e4ebf3 20px);
  color: var(--muted);
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  margin: 12px 0;
}

.checklist { list-style: none; padding: 0; }
.checklist label { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; }
.checklist input { margin-top: 4px; accent-color: var(--ok); }
.felicitacion { background: #ecfdf3; border-color: #bbf7d0; margin-top: 16px; }
.pager {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.btn {
  background: var(--navy);
  color: white;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
}
.btn.ghost { background: white; color: var(--ink); border: 1px solid var(--line); }

.resultados {
  position: fixed;
  top: 70px;
  left: 310px;
  width: min(520px, calc(100% - 340px));
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 20;
  overflow: hidden;
}
.resultados a {
  display: block;
  padding: 10px 14px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.resultados a:hover { background: #f8fafc; }

@media (max-width: 900px) {
  body { grid-template-columns: 1fr; }
  .sidebar { position: relative; min-height: auto; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero { flex-direction: column; align-items: start; gap: 16px; }
  .resultados { left: 16px; width: calc(100% - 32px); }
}

/* ------------------------------------------------------------------ utilidades */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.saltar {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 60;
  background: white;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-decoration: none;
}
.saltar:focus { top: 12px; }
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.buscador-caja { flex: 1 1 320px; min-width: 0; }
.topbar input { width: 100%; }

/* ------------------------------------------------------------------ progreso */
.progreso {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px 7px 14px;
  box-shadow: 0 4px 14px rgba(14, 35, 64, .05);
}
.progreso-texto {
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.progreso-barra {
  display: block;
  width: 110px;
  height: 7px;
  border-radius: 999px;
  background: #e6edf7;
  overflow: hidden;
}
.progreso-barra > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--ok));
  transition: width .25s ease;
}
.btn-mini {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 12px;
  font: inherit;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.btn-mini:hover { border-color: var(--accent); color: var(--accent-2); }
.btn-mini:focus-visible, .btn:focus-visible, .tabs a:focus-visible {
  outline: 3px solid rgba(47, 111, 237, .35);
  outline-offset: 2px;
}

/* ------------------------------------------------------------------ inicio */
.hero-acciones { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.hero .btn.hero-btn { background: white; color: var(--navy); }
.hero .btn.hero-btn.ghost {
  background: rgba(255, 255, 255, .08);
  color: white;
  border: 1px solid rgba(255, 255, 255, .55);
}
.grid-recursos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin: 16px 0 26px;
}
.recurso {
  padding: 18px 20px;
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .18s ease, border-color .18s ease;
}
.recurso:hover { transform: translateY(-2px); border-color: #b9cdf0; }
.recurso-marca {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 700;
}
.recurso h3 { margin: 0; font-size: 1.05rem; }
.recurso p { margin: 0; color: var(--muted); font-size: .9rem; }
.recurso-enlace { margin-top: auto; padding-top: 8px; color: var(--accent-2); font-weight: 600; font-size: .86rem; }

/* ------------------------------------------------------------------ secciones y páginas */
.seccion-head .kicker, .recurso-head .kicker { color: var(--accent-2); }
.recurso-head { margin: 4px 0 20px; }
.recurso-head h1 { margin: 6px 0 8px; font-family: "Source Serif 4", Georgia, serif; }
.quiz-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 0; }
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.toolbar .tabs { margin: 0; flex-wrap: wrap; }
.page-tools { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.checklist-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}
.checklist-head h2 { margin-top: 0; }
.checklist-contador {
  background: #eef4ff;
  color: var(--accent-2);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
}
.checklist-box .btn-mini { margin-top: 8px; }

/* ------------------------------------------------------------------ buscador */
.resultados { max-height: min(70vh, 560px); overflow-y: auto; }
.resultado {
  display: block;
  padding: 12px 15px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.resultado:last-child { border-bottom: 0; }
.resultado:hover, .resultado:focus-visible { background: #f5f8fd; }
.resultado strong { display: block; font-size: .93rem; line-height: 1.3; }
.resultado small {
  display: inline-block;
  margin: 3px 0 4px;
  color: var(--accent-2);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.resultado p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.sin-resultados { margin: 0; padding: 16px; color: var(--muted); font-size: .9rem; }

/* ------------------------------------------------------------------ aviso flotante */
.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  background: var(--navy);
  color: white;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(14, 35, 64, .25);
  font-size: .9rem;
  max-width: min(360px, calc(100% - 44px));
}

/* ------------------------------------------------------------------ autoevaluación */
.quiz { display: flex; flex-direction: column; gap: 16px; }
.pregunta { margin: 0; }
.pregunta legend {
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.45;
  padding: 0 6px;
  margin-bottom: 8px;
}
.pregunta-num {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-size: .8rem;
}
.pregunta-tema {
  display: inline-block;
  margin-right: 8px;
  color: var(--accent-2);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.opciones { display: grid; gap: 8px; margin-top: 8px; }
.opciones label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.opciones label:hover { border-color: #b9cdf0; background: #f8fbff; }
.opciones input { margin-top: 4px; accent-color: var(--accent); }
.opciones label.opcion-correcta {
  border-color: #86d3ac;
  background: #effbf4;
}
.opciones label.opcion-elegida {
  border-color: #f0a6a6;
  background: #fff3f3;
}
.pregunta.correcta { border-left: 5px solid var(--ok); }
.pregunta.incorrecta, .pregunta.sin-responder { border-left: 5px solid #d35454; }
.explicacion {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f4f7fb;
  border: 1px dashed #c8d6ea;
  font-size: .92rem;
}
.explicacion p { margin: 0 0 6px; }
.explicacion p:last-child { margin-bottom: 0; }
.quiz-acciones { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 0; }
.quiz-resultado { border-left: 6px solid var(--accent); margin-top: 18px; }
.quiz-resultado h2 { margin-top: 0; font-family: "Source Serif 4", Georgia, serif; }
.quiz-puntaje {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-2);
  margin: 4px 0 8px;
  font-variant-numeric: tabular-nums;
}
.quiz-recomendacion { margin-bottom: 0; }
.quiz-aviso { margin-top: 18px; }

/* ------------------------------------------------------------------ calculadoras */
.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
  align-items: start;
}
.calc-card h2 { margin: 0 0 4px; font-size: 1.15rem; font-family: "Source Serif 4", Georgia, serif; }
.calc-norma {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.campos { display: grid; gap: 10px; margin-bottom: 14px; }
.campos label {
  display: grid;
  gap: 5px;
  font-size: .84rem;
  font-weight: 600;
  color: #31445a;
}
.campos input, .campos select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 400;
  background: white;
  color: var(--ink);
}
.campos input:focus, .campos select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47, 111, 237, .14);
}
.opcional { color: var(--muted); font-weight: 400; font-size: .76rem; }
.calc-card > .btn { width: 100%; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.calc-resultado {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.lista-resultados {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 14px;
  margin: 0;
}
.lista-resultados dt { color: var(--muted); font-size: .84rem; }
.lista-resultados dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: .9rem;
}
.lista-resultados dd.principal { color: var(--accent-2); font-size: 1.02rem; }
.calc-formula {
  margin: 14px 0 0;
  padding: 8px 10px;
  background: #f4f7fb;
  border-radius: 8px;
  color: #3d5168;
  font-family: "Cambria", Georgia, serif;
  font-size: .84rem;
  overflow-wrap: anywhere;
}
.calc-nota { margin: 10px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.calc-extra { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 10px; }
.calc-extra summary { cursor: pointer; color: var(--accent-2); font-weight: 600; font-size: .84rem; }
.calc-extra .campos { margin-top: 12px; }
.calc-error { margin: 0; color: #b42318; font-size: .88rem; font-weight: 600; }

/* ------------------------------------------------------------------ 404 */
.error-404 { max-width: 760px; margin: 6vh auto 0; }
.error-404 h1 { font-family: "Source Serif 4", Georgia, serif; margin: 6px 0 10px; }
.error-acciones { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* ------------------------------------------------------------------ impresión */
.salto-impresion { height: 1px; }

@media (max-width: 900px) {
  .sidebar { max-height: none; }
  .progreso { width: 100%; justify-content: space-between; }
  .progreso-barra { flex: 1; }
  .calc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  main { padding: 18px 16px 40px; }
  .topbar { padding: 14px 16px 0; }
  .hero { padding: 28px 22px; border-radius: 18px; }
  .hero-quote { max-width: none; }
  .tabs a { padding: 8px 12px; font-size: .88rem; }
  .resultados { top: 64px; }
  .lista-resultados { grid-template-columns: 1fr; gap: 2px; }
  .lista-resultados dd { text-align: left; margin-bottom: 6px; }
}

@media print {
  @page { margin: 15mm; }
  body {
    display: block;
    background: white;
    color: black;
    font-size: 11pt;
  }
  .sidebar, .topbar, .tabs, .pager, .no-print, .resultados, .toast,
  .saltar, .hero-acciones, .recurso-enlace, .quiz-acciones,
  .calc-card > .btn, .checklist-box > .btn-mini, .page-tools,
  .progreso {
    display: none !important;
  }
  .shell, main { display: block; padding: 0; }
  .card {
    box-shadow: none;
    border: 1px solid #c9d1db;
    break-inside: avoid;
  }
  .hero {
    background: #eef2f7 !important;
    color: black;
    border-radius: 0;
    min-height: 0;
    padding: 18px;
  }
  .hero .kicker, .hero-quote { color: #333; }
  a { color: inherit; text-decoration: none; }
  .prosa h1, .prosa h2, .prosa h3 { break-after: avoid; }
  .prosa table, .prosa img, .pregunta { break-inside: avoid; }
  .salto-impresion { break-after: page; }
  .checklist input { display: none; }
  .checklist label { padding: 4px 0; }
  .checklist label span::before {
    content: "☐ ";
    color: #555;
  }
  .calc-grid { display: block; }
  .calc-card { margin-bottom: 12px; }
  .calc-resultado { display: block !important; }
}


/* ------------------------------------------------------------------ recursos relacionados */
.recursos-relacionados h2 { margin-top: 0; }
.recursos-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.recursos-mini a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--accent-2);
  text-decoration: none;
  font-size: .84rem;
  font-weight: 600;
}
.recursos-mini a:hover { background: #eef4ff; border-color: #b9cdf0; }

/* ------------------------------------------------------------------ continuar */
.continuar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  padding: 14px 18px;
  border: 1px dashed #b9cdf0;
  border-radius: 14px;
  background: #f4f8ff;
}

/* ------------------------------------------------------------------ modo examen */
.exam-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.exam-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
}
.tiempo-examen {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--accent-2);
  background: #eef4ff;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: .86rem;
}
.tiempo-examen.tiempo-critico {
  background: #fdecea;
  color: #b42318;
}

@media print {
  .recursos-relacionados, .continuar, .exam-controls { display: none !important; }
}
