/*
 * Lince — web. Mismos colores y tipografía que la app
 * (packages/ui-kit/src/tokens.ts).
 *
 * Responsive, de móvil a monitores grandes:
 *   < 640    móvil: una columna, menú desplegable
 *   640-959  tableta / ventana estrecha: portada en dos columnas, rejillas de 2
 *   960-1599 ordenador
 *   >= 1600  monitor grande: más ancho y texto algo mayor
 * Tamaños con clamp() para que no haya saltos entre tramos.
 */

@font-face {
  font-family: 'Public Sans';
  src: url('fonts/PublicSans_400Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('fonts/PublicSans_600SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('fonts/PublicSans_700Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('fonts/PublicSans_800ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}

:root {
  --primary: #1f4fa3;
  --primary-dark: #163a7a;
  --primary-soft: #eef3fc;
  --on-primary: #ffffff;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-variant: #f5f7fa;
  --banner: #0f1b2d;
  --on-banner: #ffffff;
  --text: #0f1b2d;
  --text-2: #5e6a7e;
  --border: #d5dce6;
  --border-light: #eef2f6;
  --success: #18703f;
  --success-soft: #e3f3ea;
  --shadow: 0 1px 2px rgba(15, 27, 45, 0.06), 0 12px 32px rgba(15, 27, 45, 0.1);

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 8vw, 112px);
  --radius: 16px;
  color-scheme: light;
}

@media (min-width: 1600px) {
  :root {
    --max: 1360px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #6e9bea;
    --primary-dark: #2f62c2;
    --primary-soft: #13254a;
    --on-primary: #0b1220;
    --bg: #0b1220;
    --surface: #121b2b;
    --surface-variant: #101828;
    --banner: #13254a;
    --on-banner: #e7ecf3;
    --text: #e7ecf3;
    --text-2: #9aa7ba;
    --border: #263247;
    --border-light: #1a2538;
    --success: #4cc08a;
    --success-soft: #12301f;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.4);
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    'Public Sans',
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: clamp(16px, 0.25vw + 15px, 19px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-underline-offset: 2px;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw + 0.6rem, 4.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.65rem, 2.4vw + 0.8rem, 2.9rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.08rem, 0.3vw + 1rem, 1.3rem);
  font-weight: 700;
  line-height: 1.3;
}

p {
  margin: 0 0 1em;
}

.contenedor {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.saltar {
  position: absolute;
  left: -9999px;
}
.saltar:focus {
  left: 16px;
  top: 16px;
  background: var(--surface);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 20;
}

/* ---------------------------------------------------------------- Cabecera */

.cabecera {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .cabecera {
    background: color-mix(in srgb, var(--bg) 85%, transparent);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
  }
}

.cabecera .contenedor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.marca {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  flex: none;
}

.marca img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.menu,
.menu-legal {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  font-weight: 600;
  font-size: 0.95rem;
}

.menu a,
.menu-legal a {
  color: var(--text-2);
  text-decoration: none;
  padding: 8px 0;
}

.menu a:hover,
.menu-legal a:hover,
.menu-legal a[aria-current='page'] {
  color: var(--text);
}

.menu-legal a[aria-current='page'] {
  box-shadow: inset 0 -2px 0 var(--primary);
}

/* Menú desplegable en móvil (sin JavaScript). */
.menu-movil {
  display: none;
  position: relative;
}

.menu-movil summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--text);
}

.menu-movil summary::-webkit-details-marker {
  display: none;
}

.menu-movil summary svg {
  width: 24px;
  height: 24px;
}

.menu-movil[open] summary {
  background: var(--surface-variant);
}

.menu-movil nav {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  display: grid;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow);
}

.menu-movil nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 10px;
}

.menu-movil nav a:hover {
  background: var(--surface-variant);
}

@media (max-width: 799px) {
  .menu {
    display: none;
  }
  .menu-movil {
    display: block;
  }
}

@media (max-width: 520px) {
  .menu-legal {
    gap: 14px;
    font-size: 0.85rem;
  }
}

/* ----------------------------------------------------------------- Botones */

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.boton-principal {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 4px 0 var(--primary-dark);
}

.boton-principal:hover {
  filter: brightness(1.06);
}

.tiendas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.tienda {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--banner);
  color: var(--on-banner);
  text-decoration: none;
  line-height: 1.2;
}

.tienda svg {
  width: 24px;
  height: 24px;
  flex: none;
}

.tienda small {
  display: block;
  font-size: 0.72rem;
  opacity: 0.8;
}

.tienda strong {
  font-size: 1.05rem;
}

.tienda[aria-disabled='true'] {
  cursor: default;
}

@media (max-width: 359px) {
  .tiendas {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (min-width: 360px) and (max-width: 420px) {
  .tiendas {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .tienda {
    padding: 10px 12px;
    gap: 8px;
  }
  .tienda strong {
    font-size: 0.95rem;
  }
}

.nota {
  font-size: 0.9rem;
  color: var(--text-2);
  margin-top: 14px;
}

/* ----------------------------------------------------------------- Portada */

.portada {
  padding: clamp(32px, 6vw, 96px) 0 clamp(48px, 7vw, 112px);
}

.portada .contenedor {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
}

.etiqueta {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.entradilla {
  font-size: clamp(1.05rem, 0.6vw + 0.95rem, 1.35rem);
  color: var(--text-2);
  max-width: 34em;
  margin-bottom: 28px;
}

.escena {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding-bottom: 24px;
}

.escena .lince {
  position: absolute;
  width: 38%;
  max-width: 240px;
  left: -4%;
  bottom: 0;
  z-index: 2;
  filter: drop-shadow(0 10px 18px rgba(15, 27, 45, 0.18));
}

/* Por debajo de 900: una columna; el ejercicio de muestra debajo, centrado,
   con el lince a su izquierda sin taparlo. */
@media (max-width: 899px) {
  .portada .contenedor {
    grid-template-columns: 1fr;
  }
  .portada .contenedor > div:first-child {
    max-width: 640px;
  }
  .escena {
    justify-content: center;
    padding-left: min(22%, 150px);
  }
  .escena .lince {
    width: min(30%, 200px);
    left: max(0px, calc(50% - 300px));
    bottom: 0;
  }
}

/* ------------------------------------------------------- Móvil de muestra */

.movil {
  width: clamp(240px, 26vw, 360px);
  max-width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: clamp(28px, 3vw, 44px);
  padding: clamp(10px, 1vw, 16px);
  box-shadow: var(--shadow);
}

@media (max-width: 899px) {
  .movil {
    width: min(320px, 100%);
  }
}

.pantalla {
  background: var(--bg);
  border-radius: clamp(20px, 2.2vw, 32px);
  padding: clamp(16px, 1.6vw, 24px) clamp(14px, 1.4vw, 20px);
  border: 1px solid var(--border-light);
  font-size: clamp(14px, 0.4vw + 12px, 17px);
}

.barra {
  height: 10px;
  border-radius: 99px;
  background: var(--border-light);
  overflow: hidden;
  margin-bottom: 1.3em;
}

.barra span {
  display: block;
  height: 100%;
  width: 62%;
  background: var(--success);
  border-radius: inherit;
}

.tipo {
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 0.4em;
}

.enunciado {
  font-weight: 700;
  font-size: 1.05em;
  line-height: 1.45;
  margin-bottom: 1.1em;
}

.hueco {
  display: inline-block;
  min-width: 4em;
  border-bottom: 3px solid var(--success);
  color: var(--success);
  text-align: center;
}

.fichas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-bottom: 1.1em;
}

.ficha {
  padding: 0.45em 0.85em;
  border: 2px solid var(--border);
  border-bottom-width: 4px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95em;
  background: var(--surface);
}

.ficha.usada {
  color: transparent;
  background: var(--border-light);
  border-color: var(--border-light);
}

.acierto {
  background: var(--success-soft);
  color: var(--success);
  border-radius: 14px;
  padding: 0.8em 0.9em;
  font-size: 0.9em;
}

.acierto strong {
  display: block;
  font-size: 1.05em;
}

/* --------------------------------------------------------------- Secciones */

.seccion {
  padding: var(--section) 0;
}

.seccion-alterna {
  background: var(--surface-variant);
}

.cabeza-seccion {
  max-width: 44em;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.cabeza-seccion p,
.texto-secundario {
  color: var(--text-2);
  font-size: clamp(1.02rem, 0.4vw + 0.95rem, 1.2rem);
}

.rejilla {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
}

.rejilla-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1099px) {
  .rejilla-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 559px) {
  .rejilla-4 {
    grid-template-columns: 1fr;
  }
}

.tarjeta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(20px, 2vw, 32px);
}

.tarjeta p {
  color: var(--text-2);
  margin: 0;
}

.paso {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 800;
  margin-bottom: 14px;
}

/* ------------------------------------------------------------------- Ritmo */

.ritmo {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
}

.ritmo img {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
}

@media (max-width: 759px) {
  .ritmo {
    grid-template-columns: 1fr;
  }
  .ritmo img {
    max-width: 220px;
  }
}

.ritmos {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.ritmo-fila {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.ritmo-fila.destacada {
  border: 2px solid var(--primary);
  background: var(--primary-soft);
}

.ritmo-fila span {
  color: var(--text-2);
  font-size: 0.95rem;
}

.ritmo-fila > b {
  font-size: 1.05rem;
  text-align: right;
}

/* ----------------------------------------------------------------- Temario */

.temario {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(20px, 3vw, 48px);
  counter-reset: unidad -1;
}

@media (min-width: 1400px) {
  .temario {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 699px) {
  .temario {
    grid-template-columns: 1fr;
  }
}

.temario li {
  counter-increment: unidad;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.temario li::before {
  content: counter(unidad);
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-2);
}

.temario li.gratis::before {
  border-color: var(--success);
  color: var(--success);
}

.temario li > div {
  min-width: 0;
}

.temario .titulo {
  font-weight: 700;
  display: block;
  line-height: 1.3;
}

.temario .sub {
  font-size: 0.88rem;
  color: var(--text-2);
}

.sello {
  margin-left: auto;
  flex: none;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--success);
  background: var(--success-soft);
  padding: 3px 9px;
  border-radius: 999px;
}

/* ------------------------------------------------------------------ Precio */

.planes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  max-width: 920px;
}

@media (max-width: 679px) {
  .planes {
    grid-template-columns: 1fr;
  }
}

.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(22px, 2.4vw, 36px);
}

.plan.completo {
  border: 2px solid var(--primary);
}

.plan .precio {
  font-size: clamp(1.7rem, 1.4vw + 1.2rem, 2.3rem);
  font-weight: 800;
  margin: 4px 0 16px;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.plan li {
  display: flex;
  gap: 10px;
}

.plan li::before {
  content: '';
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 0.2em;
  border-radius: 50%;
  background: var(--success-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2318703F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 20px no-repeat;
}

/* ------------------------------------------------------------- Compromisos */

.compromisos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 48px);
}

@media (max-width: 899px) {
  .compromisos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 559px) {
  .compromisos {
    grid-template-columns: 1fr;
  }
}

.compromiso svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
  margin-bottom: 10px;
}

.compromiso p {
  color: var(--text-2);
  margin: 0;
}

/* --------------------------------------------------------------- Academias */

.academias {
  background: var(--banner);
  color: var(--on-banner);
  border-radius: clamp(20px, 2.4vw, 32px);
  padding: clamp(28px, 4.5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}

.academias p {
  opacity: 0.85;
  max-width: 38em;
}

.academias img {
  width: 100%;
  max-width: 260px;
  justify-self: center;
}

.academias .boton {
  background: #fff;
  color: #0f1b2d;
}

@media (max-width: 679px) {
  .academias {
    grid-template-columns: 1fr;
  }
  .academias img {
    max-width: 160px;
    grid-row: 1;
  }
}

/* --------------------------------------------------------------- Preguntas */

.preguntas {
  max-width: 820px;
}

.preguntas details {
  border-bottom: 1px solid var(--border);
}

.preguntas summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: clamp(1.02rem, 0.3vw + 0.98rem, 1.18rem);
  padding: 18px 40px 18px 0;
  position: relative;
}

.preguntas summary::-webkit-details-marker {
  display: none;
}

.preguntas summary::after {
  content: '+';
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-2);
}

.preguntas details[open] summary::after {
  content: '–';
}

.preguntas details p {
  color: var(--text-2);
  padding-right: 40px;
}

/* ------------------------------------------------------------ Llamada final */

.final {
  text-align: center;
  padding: var(--section) 0;
}

.final img {
  width: clamp(140px, 14vw, 220px);
  margin: 0 auto 16px;
}

.final .entradilla {
  margin-inline: auto;
}

.final .tiendas {
  justify-content: center;
  margin-top: 24px;
}

/* -------------------------------------------------------------------- Pie */

.pie {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  font-size: 0.92rem;
  color: var(--text-2);
}

.pie .contenedor {
  display: grid;
  gap: 16px;
}

.pie nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.pie a {
  color: var(--text-2);
  padding: 4px 0;
}

.pie a:hover {
  color: var(--text);
}

.pie p {
  margin: 0;
  max-width: 60em;
}

/* --------------------------------------------------------- Páginas legales */

.legal {
  width: min(100% - 2 * var(--gutter), 800px);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 72px) 0 clamp(56px, 7vw, 96px);
  overflow-wrap: break-word;
}

.legal h1 {
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
}

.legal h2 {
  font-size: clamp(1.3rem, 0.8vw + 1.1rem, 1.6rem);
  margin-top: 2.2em;
}

.legal h3 {
  font-size: 1.1rem;
  margin-top: 1.6em;
}

.legal .actualizada {
  color: var(--text-2);
}

.legal ul,
.legal ol {
  padding-left: 1.3em;
}

.legal li {
  margin-bottom: 0.4em;
}

.resumen {
  background: var(--primary-soft);
  border-radius: var(--radius);
  padding: clamp(16px, 2vw, 24px) clamp(18px, 2.4vw, 28px);
  margin: 24px 0 8px;
}

.resumen ul {
  margin: 0;
}

.indice {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px 12px;
  margin: 32px 0;
  background: var(--surface);
}

.indice ol {
  margin: 0;
  columns: 2;
  column-gap: 32px;
}

.indice li {
  break-inside: avoid;
}

@media (max-width: 639px) {
  .indice ol {
    columns: 1;
  }
}

.ficha-datos {
  list-style: none;
  padding: 0 !important;
}

.tabla {
  overflow-x: auto;
  margin: 16px 0 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  -webkit-overflow-scrolling: touch;
}

.tabla table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.92rem;
}

.tabla th,
.tabla td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

.tabla thead th,
.tabla tbody th {
  background: var(--surface-variant);
  font-weight: 700;
}

.tabla tbody th {
  width: 30%;
}

.tabla tr:last-child td,
.tabla tr:last-child th {
  border-bottom: 0;
}

/* En pantallas estrechas, las tablas de varias columnas pasan a fichas. */
@media (max-width: 639px) {
  .tabla:not(.tabla-basica) {
    border: 0;
    overflow: visible;
  }
  .tabla:not(.tabla-basica) thead {
    display: none;
  }
  .tabla:not(.tabla-basica) tr {
    display: block;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 10px;
    padding: 4px 0;
  }
  .tabla:not(.tabla-basica) td {
    display: block;
    border: 0;
    padding: 6px 14px;
  }
  .tabla:not(.tabla-basica) td:first-child {
    font-weight: 700;
  }
  .tabla-basica th,
  .tabla-basica td {
    display: block;
    width: auto !important;
  }
  .tabla-basica th {
    border-bottom: 0;
    padding-bottom: 4px;
  }
}

/* Datos que faltan por rellenar antes de publicar (ver web/README.md). */
.pendiente {
  background: #fff3c4;
  color: #5c4300;
  border-radius: 4px;
  padding: 0 4px;
}

@media (prefers-color-scheme: dark) {
  .pendiente {
    background: #4a3a10;
    color: #ffe08a;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .cabecera,
  .pie,
  .indice {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
}
