
:root {
  color-scheme: light;
--acento: #2563eb;
  --acento-fuerte: #1d4ed8;
--acento-texto: #1d4ed8;
  --acento-suave: rgba(37, 99, 235, 0.14);
--morado: #7c3aed;
  --morado-fuerte: #6d28d9;
  --morado-texto: #6d28d9;
  --morado-suave: rgba(124, 58, 237, 0.13);
  --sombra-morado: 0 2px 6px rgba(109, 40, 217, .26), 0 12px 28px -8px rgba(109, 40, 217, .42);
--texto: #1e293b;
  --texto-fuerte: #0f172a;
  --texto-suave: #475569;
--texto-tenue: #5b6a7f;
  --borde: rgba(15, 23, 42, 0.09);
  --codigo-fondo: #0f172a;
--cristal: rgba(255, 255, 255, 0.72);
  --cristal-borde: rgba(255, 255, 255, 0.55);
--cristal-denso: rgba(255, 255, 255, 0.95);
--vidrio-filtro: saturate(180%) blur(22px);
  --vidrio-canto: linear-gradient(150deg,
                    rgba(255, 255, 255, .85), rgba(255, 255, 255, .18) 42%,
                    rgba(255, 255, 255, .06));
  --vidrio-luz: inset 0 1px 0 rgba(255, 255, 255, .75);
--sombra-1: 0 1px 2px rgba(15, 23, 42, .06), 0 3px 8px -2px rgba(15, 23, 42, .08);
  --sombra-2: 0 2px 4px rgba(15, 23, 42, .05), 0 8px 20px -6px rgba(15, 23, 42, .12),
              0 24px 48px -20px rgba(15, 23, 42, .18);
  --sombra-3: 0 4px 8px rgba(15, 23, 42, .06), 0 16px 40px -12px rgba(15, 23, 42, .16),
              0 48px 96px -32px rgba(15, 23, 42, .28);
--sombra-acento: 0 2px 6px rgba(37, 99, 235, .24), 0 12px 28px -8px rgba(37, 99, 235, .38);
--t-h1: clamp(2.1rem, 1.1rem + 3.6vw, 3.6rem);
  --t-h2: clamp(1.45rem, 1rem + 1.8vw, 2.1rem);
  --t-h3: clamp(1.08rem, .95rem + .5vw, 1.3rem);
  --t-cuerpo: clamp(1rem, .96rem + .2vw, 1.08rem);
--aire-seccion: clamp(3.2rem, 7vw, 6rem);
  --radio: 16px;
  --radio-g: 24px;
--curva: cubic-bezier(.22, 1, .36, 1);
  --rapido: .18s;
  --medio: .32s;
}
[data-theme="dark"] {
  color-scheme: dark;
  --acento: #3b82f6;
  --acento-fuerte: #2563eb;
  --acento-texto: #93c5fd;
  --acento-suave: rgba(59, 130, 246, 0.25);
--morado-texto: #a78bfa;
  --morado-suave: rgba(139, 92, 246, 0.22);
  --sombra-morado: 0 2px 6px rgba(109, 40, 217, .4), 0 12px 28px -8px rgba(109, 40, 217, .55);
--texto: #cbd5e1;
  --texto-fuerte: #e2e8f0;
  --texto-suave: #94a3b8;
  --texto-tenue: #7c8aa0;
  --borde: rgba(148, 163, 184, 0.18);
  --codigo-fondo: #060b16;
--cristal: rgba(30, 41, 59, 0.6);
  --cristal-borde: rgba(148, 163, 184, 0.16);
  --cristal-denso: rgba(20, 29, 48, 0.95);
--vidrio-canto: linear-gradient(150deg,
                    rgba(255, 255, 255, .28), rgba(255, 255, 255, .06) 42%,
                    rgba(255, 255, 255, .02));
  --vidrio-luz: inset 0 1px 0 rgba(255, 255, 255, .10);
--sombra-1: 0 1px 2px rgba(0, 0, 0, .4), 0 3px 8px -2px rgba(0, 0, 0, .45);
  --sombra-2: 0 2px 4px rgba(0, 0, 0, .35), 0 8px 20px -6px rgba(0, 0, 0, .5),
              0 24px 48px -20px rgba(0, 0, 0, .6);
  --sombra-3: 0 4px 8px rgba(0, 0, 0, .4), 0 16px 40px -12px rgba(0, 0, 0, .55),
              0 48px 96px -32px rgba(0, 0, 0, .7);
  --sombra-acento: 0 2px 6px rgba(37, 99, 235, .35), 0 12px 28px -8px rgba(37, 99, 235, .5);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --acento: #3b82f6;
    --acento-fuerte: #2563eb;
    --acento-texto: #93c5fd;
    --acento-suave: rgba(59, 130, 246, 0.25);
    --morado-texto: #a78bfa;
    --morado-suave: rgba(139, 92, 246, 0.22);
    --sombra-morado: 0 2px 6px rgba(109, 40, 217, .4), 0 12px 28px -8px rgba(109, 40, 217, .55);
    --texto: #cbd5e1;
    --texto-fuerte: #e2e8f0;
    --texto-suave: #94a3b8;
    --texto-tenue: #7c8aa0;
    --borde: rgba(148, 163, 184, 0.18);
    --codigo-fondo: #060b16;
    --cristal: rgba(30, 41, 59, 0.6);
    --cristal-borde: rgba(148, 163, 184, 0.16);
    --cristal-denso: rgba(20, 29, 48, 0.95);
    --vidrio-canto: linear-gradient(150deg,
                      rgba(255, 255, 255, .28), rgba(255, 255, 255, .06) 42%,
                      rgba(255, 255, 255, .02));
    --vidrio-luz: inset 0 1px 0 rgba(255, 255, 255, .10);
    --sombra-1: 0 1px 2px rgba(0, 0, 0, .4), 0 3px 8px -2px rgba(0, 0, 0, .45);
    --sombra-2: 0 2px 4px rgba(0, 0, 0, .35), 0 8px 20px -6px rgba(0, 0, 0, .5),
                0 24px 48px -20px rgba(0, 0, 0, .6);
    --sombra-3: 0 4px 8px rgba(0, 0, 0, .4), 0 16px 40px -12px rgba(0, 0, 0, .55),
                0 48px 96px -32px rgba(0, 0, 0, .7);
    --sombra-acento: 0 2px 6px rgba(37, 99, 235, .35), 0 12px 28px -8px rgba(37, 99, 235, .5);
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--texto);
  font-family: "SF Pro Display", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--t-cuerpo);
  line-height: 1.65;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
background: #e8ecf5;
  position: relative;
}
[data-theme="dark"] body { background: #0d1424; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body { background: #0d1424; }
}
html, body { overflow-x: clip; }
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(46vw 46vw at 12% 4%, color-mix(in srgb, var(--acento) 11%, transparent), transparent 70%),
    radial-gradient(38vw 38vw at 92% 18%, color-mix(in srgb, #8b5cf6 9%, transparent), transparent 70%),
    radial-gradient(ellipse 90% 70% at 12% 0%, rgba(99, 132, 199, 0.22), transparent 62%),
    radial-gradient(ellipse 80% 60% at 88% 8%, rgba(129, 140, 202, 0.18), transparent 62%),
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(100, 150, 170, 0.16), transparent 68%),
    linear-gradient(165deg, #eef2f8 0%, #e8ecf5 45%, #e6eef1 100%);
}
[data-theme="dark"] body::before {
  background:
    radial-gradient(46vw 46vw at 12% 4%, color-mix(in srgb, var(--acento) 13%, transparent), transparent 70%),
    radial-gradient(38vw 38vw at 92% 18%, color-mix(in srgb, #8b5cf6 10%, transparent), transparent 70%),
    radial-gradient(ellipse 90% 70% at 12% 0%, rgba(37, 99, 235, 0.18), transparent 62%),
    radial-gradient(ellipse 80% 60% at 88% 8%, rgba(99, 102, 241, 0.14), transparent 62%),
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(13, 148, 136, 0.12), transparent 68%),
    linear-gradient(165deg, #0b1220 0%, #111827 50%, #0f1a1f 100%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body::before {
    background:
      radial-gradient(46vw 46vw at 12% 4%, color-mix(in srgb, var(--acento) 13%, transparent), transparent 70%),
      radial-gradient(38vw 38vw at 92% 18%, color-mix(in srgb, #8b5cf6 10%, transparent), transparent 70%),
      radial-gradient(ellipse 90% 70% at 12% 0%, rgba(37, 99, 235, 0.18), transparent 62%),
      radial-gradient(ellipse 80% 60% at 88% 8%, rgba(99, 102, 241, 0.14), transparent 62%),
      radial-gradient(ellipse 100% 60% at 50% 100%, rgba(13, 148, 136, 0.12), transparent 68%),
      linear-gradient(165deg, #0b1220 0%, #111827 50%, #0f1a1f 100%);
  }
}
h1, h2, h3, h4 { color: var(--texto-fuerte); letter-spacing: -0.018em; }
table, td, th, time, code, .tabular { font-variant-numeric: tabular-nums; }
.envoltorio { max-width: 1040px; margin: 0 auto; padding: 0 20px 72px; }
a { color: var(--acento-texto); text-decoration-color: color-mix(in srgb, var(--acento-texto) 40%, transparent); }
a:hover { color: var(--acento-texto); text-decoration-color: currentColor; }
::selection { background: color-mix(in srgb, var(--acento) 30%, transparent); }
a[href]:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
  outline: 2px solid var(--acento);
  outline-offset: 2px;
}
[hidden] { display: none !important; }
[id] { scroll-margin-top: 5.5rem; }
.glass {
  background:
    linear-gradient(var(--cristal), var(--cristal)) padding-box,
    var(--vidrio-canto) border-box;
  border: 1px solid transparent;
  border-radius: var(--radio-g);
  -webkit-backdrop-filter: var(--vidrio-filtro);
  backdrop-filter: var(--vidrio-filtro);
  box-shadow: var(--sombra-2), var(--vidrio-luz);
}
.panel { padding: 20px 24px; margin-bottom: 14px; }
.panel > :first-child { margin-top: 0; }
.panel > :last-child { margin-bottom: 0; }
.barra {
  position: sticky; top: .75rem; z-index: 50;
  display: flex; align-items: center; gap: .5rem;
margin: .75rem auto 0; max-width: min(1180px, calc(100% - 1.5rem));
  padding: .55rem clamp(.9rem, 2vw, 1.3rem);
  border-radius: 999px;
  background:
    linear-gradient(var(--cristal), var(--cristal)) padding-box,
    var(--vidrio-canto) border-box;
  border: 1px solid transparent;
  -webkit-backdrop-filter: var(--vidrio-filtro);
  backdrop-filter: var(--vidrio-filtro);
  box-shadow: var(--sombra-2), var(--vidrio-luz);
  transition: box-shadow var(--medio) var(--curva), transform var(--medio) var(--curva);
  transform-origin: 50% 0;
}
html.rodando .barra { transform: scale(.982); box-shadow: var(--sombra-3), var(--vidrio-luz); }
.marca {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em;
  color: var(--texto-fuerte); text-decoration: none; white-space: nowrap;
}
.marca:hover { text-decoration: none; }
.marca-tile { width: 26px; height: 26px; border-radius: 8px; box-shadow: var(--sombra-1); }
.marca-os { color: var(--acento); }
.barra nav { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.nav-enlace {
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: .42rem .6rem; border-radius: 9px;
  font-size: .9rem; font-weight: 500;
  color: var(--texto-suave); text-decoration: none;
  transition: background-color var(--rapido) var(--curva), color var(--rapido) var(--curva);
}
.nav-enlace:hover {
  text-decoration: none; color: var(--texto-fuerte);
  background: color-mix(in srgb, var(--texto-fuerte) 7%, transparent);
}
.nav-enlace[aria-current="page"] {
  color: var(--texto-fuerte); font-weight: 650;
  background: color-mix(in srgb, var(--acento) 12%, transparent);
}
.nav-fijo { display: flex; align-items: center; gap: .5rem; margin-left: .6rem; }
.nav-preferencias { display: flex; align-items: center; gap: .5rem; margin-left: .5rem; }
.nav-entrar { font-weight: 600; }
.usuario { position: relative; display: flex; align-items: center; }
.usuario-btn {
  display: inline-flex; align-items: center; gap: .15rem;
  padding: 0; border: 0; background: none; color: var(--texto-suave); cursor: pointer;
  border-radius: 999px;
}
.usuario-btn:focus-visible { outline: 2px solid var(--acento); outline-offset: 3px; }
.usuario-punta { width: 16px; height: 16px; transition: rotate .15s ease; }
.usuario-btn[aria-expanded="true"] .usuario-punta { rotate: 180deg; }
.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 999px;
  background: linear-gradient(180deg, var(--acento), var(--acento-fuerte));
  color: #fff; font-weight: 700; font-size: .9rem; line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
}
.avatar.peq { width: 30px; height: 30px; font-size: .82rem; }
.usuario-menu {
  position: absolute; top: calc(100% + .45rem); right: 0; z-index: 60;
  min-width: 11rem; padding: .3rem; border-radius: 12px;
  background: var(--cristal-denso, var(--cristal));
  border: 1px solid color-mix(in srgb, var(--texto-fuerte) 12%, transparent);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--texto-fuerte) 22%, transparent);
  backdrop-filter: blur(14px);
}
.usuario-menu[hidden] { display: none; }
.usuario-opcion {
  display: block; width: 100%; box-sizing: border-box; text-align: left;
  padding: .45rem .55rem; border: 0; border-radius: 8px; background: none;
  color: var(--texto-fuerte); text-decoration: none; font: inherit; font-size: .85rem;
  cursor: pointer; white-space: nowrap;
}
.usuario-opcion:hover { background: color-mix(in srgb, var(--texto-fuerte) 8%, transparent); }
.usuario-opcion:focus-visible { outline: 2px solid var(--acento); outline-offset: -2px; }
.usuario-salir { color: var(--texto-suave); }
.usuario-quien {
  padding: .5rem .55rem .45rem; margin-bottom: .2rem;
  border-bottom: 1px solid color-mix(in srgb, var(--texto-fuerte) 10%, transparent);
  display: flex; flex-direction: column; gap: .3rem; align-items: flex-start;
}
.usuario-quien[hidden] { display: none; }
.usuario-correo { font-size: .82rem; color: var(--texto-suave); word-break: break-all; }
.marca-equipo {
  display: inline-block; padding: .1rem .45rem; border-radius: 999px;
  font-size: .68rem; font-weight: 700; letter-spacing: .02em;
  background: color-mix(in srgb, #8b5cf6 20%, transparent); color: #7c3aed;
}
:root[data-theme="dark"] .marca-equipo { color: #c4b5fd; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .marca-equipo { color: #c4b5fd; }
}
.nav-cta {
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: .45rem .95rem; border-radius: 999px;
  font-size: .9rem; font-weight: 650; color: #fff; text-decoration: none;
  background: linear-gradient(180deg, var(--acento), var(--acento-fuerte));
  box-shadow: 0 1px 2px rgba(15, 23, 42, .18), inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: transform var(--rapido) var(--curva), box-shadow var(--rapido) var(--curva),
              filter var(--rapido) var(--curva);
}
.nav-cta:hover {
  text-decoration: none; color: #fff; filter: brightness(1.06);
  box-shadow: 0 4px 12px -2px color-mix(in srgb, var(--acento) 55%, transparent),
              inset 0 1px 0 rgba(255, 255, 255, .22);
}
.nav-cta:active { transform: translateY(1px); }
.tema-btn {
  width: 34px; height: 34px; padding: 0;
  display: grid; place-items: center;
  border-radius: 10px; border: 0; background: none;
  color: var(--texto-suave); cursor: pointer;
  transition: background-color var(--rapido) var(--curva), color var(--rapido) var(--curva);
}
.tema-btn:hover { background: color-mix(in srgb, var(--texto-fuerte) 8%, transparent); color: var(--texto-fuerte); }
.tema-btn:active { transform: translateY(1px); }
.tema-btn svg { width: 17px; height: 17px; }
.tema-luna { display: block; }
.tema-sol { display: none; }
[data-theme="dark"] .tema-luna { display: none; }
[data-theme="dark"] .tema-sol { display: block; }
.idioma-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  height: 34px; padding: 0 .5rem; border-radius: 10px;
  border: 0; background: none; color: var(--texto-suave); cursor: pointer;
  font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--rapido) var(--curva), color var(--rapido) var(--curva);
}
.idioma-btn:hover { background: color-mix(in srgb, var(--texto-fuerte) 8%, transparent); color: var(--texto-fuerte); }
.idioma-btn:active { transform: translateY(1px); }
.idioma-bandera {
  width: 20px; height: 14px; border-radius: 3px; display: block; flex: 0 0 auto;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--texto-fuerte) 18%, transparent);
}
.idioma-menu { position: relative; }
.idioma-menu > summary { list-style: none; }
.idioma-menu > summary::-webkit-details-marker { display: none; }
.idioma-menu > summary::after {
  content: ''; width: 0; height: 0; margin-left: .1rem;
  border: 3px solid transparent; border-top-color: currentColor; translate: 0 1.5px;
  transition: rotate .15s ease;
}
.idioma-menu[open] > summary::after { rotate: 180deg; translate: 0 -1.5px; }
.idioma-lista {
  position: absolute; top: calc(100% + .35rem); right: 0; z-index: 60;
  margin: 0; padding: .3rem; list-style: none; min-width: 10.5rem;
  border-radius: 12px; background: var(--cristal-denso, var(--cristal));
  border: 1px solid color-mix(in srgb, var(--texto-fuerte) 12%, transparent);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--texto-fuerte) 22%, transparent);
  backdrop-filter: blur(14px);
}
.idioma-lista a {
  display: flex; align-items: center; gap: .5rem;
  padding: .45rem .55rem; border-radius: 8px;
  color: var(--texto-fuerte); text-decoration: none; font-size: .82rem; white-space: nowrap;
}
.idioma-lista a:hover { background: color-mix(in srgb, var(--texto-fuerte) 8%, transparent); }
.idioma-lista a:focus-visible { outline: 2px solid var(--acento); outline-offset: -2px; }
.idioma-lista span { display: inline !important; }
.nav-sep {
  width: 1px; height: 18px; margin: 0 .35rem;
  background: color-mix(in srgb, var(--texto-fuerte) 14%, transparent);
}
.barra-progreso {
  position: absolute; bottom: 6px;
  left: clamp(.9rem, 2vw, 1.4rem); right: clamp(.9rem, 2vw, 1.4rem);
  height: 2px; border-radius: 999px;
  background: linear-gradient(90deg, var(--acento), #8b5cf6 60%, #06b6d4);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .12s linear;
  pointer-events: none;
}
.modo {
  display: inline-flex; align-items: center; gap: 2px;
  margin-left: .55rem; padding: 3px; border-radius: 999px;
  border: 1px solid var(--borde);
  background: color-mix(in srgb, var(--texto-fuerte) 5%, transparent);
}
.modo-op {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .55rem; border-radius: 999px;
  font-size: .82rem; font-weight: 600; white-space: nowrap; color: var(--texto-tenue);
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.modo-op svg {
  width: 15px; height: 15px; fill: none; stroke: currentColor;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.modo-op:hover { text-decoration: none; color: var(--texto-fuerte); }
.modo-op:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }
html[data-modo="casa"] .modo-op[data-modo="casa"],
html[data-modo="empresa"] .modo-op[data-modo="empresa"] {
  color: var(--texto-fuerte); background: var(--cristal);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .14), inset 0 1px 0 rgba(255, 255, 255, .35),
              0 0 0 1px color-mix(in srgb, var(--acento) 40%, transparent);
}
.marca-modo {
  display: none; align-items: center; margin-left: .2rem; padding: .22rem .55rem .22rem .62rem;
  border-radius: 999px; font-size: .62rem; font-weight: 800; letter-spacing: .16em;
  line-height: 1; text-transform: uppercase; color: #fff;
  background: linear-gradient(180deg, color-mix(in srgb, #2563eb 78%, #fff),
              #2563eb 55%, color-mix(in srgb, #2563eb 86%, #000));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(0, 0, 0, .14),
              0 0 0 1px color-mix(in srgb, #2563eb 55%, #fff),
              0 0 16px -2px color-mix(in srgb, #2563eb 80%, transparent);
}
html[data-modo="empresa"] .marca-modo {
  display: inline-flex; animation: marca-modo-entra .35s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes marca-modo-entra { from { opacity: 0; transform: translateX(-6px) scale(.92); } }
@media (min-width: 1101px) and (max-width: 1280px) {
  .modo-op { padding: .32rem .5rem; }
  .modo-op span {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
  }
}
@media (max-width: 540px) { html[data-modo="empresa"] .marca-modo { display: none; } }
@media (max-width: 1100px) {
  .modo { order: 4; display: none; width: 100%; margin: .35rem 0 0; }
  .barra.menu-abierto .modo { display: flex; }
  .modo-op { flex: 1; justify-content: center; padding: .5rem .7rem; font-size: .92rem; }
}
.nav-abrir { display: none; }
@media (max-width: 1100px) {
  .barra { flex-wrap: wrap; border-radius: var(--radio-g); }
.idioma-btn { padding: 0 .35rem; }
  .idioma-btn span { display: none; }
.nav-abrir {
    display: inline-flex; align-items: center; justify-content: center;
    order: 3;
    width: 38px; height: 38px; padding: 0; border-radius: 10px;
    background: none; border: 1px solid var(--cristal-borde); color: var(--texto-fuerte);
    cursor: pointer;
  }
  .nav-abrir svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
  .nav-fijo { order: 2; margin-left: auto; }
.nav-preferencias {
    order: 5; display: none; width: 100%; margin: 0;
    padding-top: .5rem; border-top: 1px solid var(--borde);
  }
  .barra.menu-abierto .nav-preferencias { display: flex; }
  .barra nav {
    order: 4; display: none; width: 100%;
    flex-direction: column; align-items: stretch; gap: .1rem;
    margin: .35rem 0 .15rem; padding-top: .5rem;
    border-top: 1px solid var(--borde);
  }
  .barra.menu-abierto nav { display: flex; }
  .nav-enlace { width: 100%; justify-content: flex-start; padding: .6rem .7rem; font-size: .95rem; }
  .nav-sep { display: none; }
}
@media (max-width: 430px) {
  .barra { gap: .25rem; padding-inline: .6rem; }
  .marca { font-size: 1rem; gap: .4rem; }
  .marca-tile { width: 22px; height: 22px; }
  .nav-cta { padding-left: .7rem; padding-right: .7rem; }
  .nav-fijo { gap: .25rem; }
.barra .nav-entrar { display: inline-flex; align-items: center; font-size: 0; gap: 0; width: 40px; padding: 0; justify-content: center; }
  .barra .nav-entrar::before {
    content: ""; width: 20px; height: 20px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 20c1.4-3.4 4.3-5 7.5-5s6.1 1.6 7.5 5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 20c1.4-3.4 4.3-5 7.5-5s6.1 1.6 7.5 5'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}
@media (max-width: 349px) {
  .marca > span {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
}
.hero {
  text-align: center;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(1.8rem, 4vw, 3rem);
margin-bottom: 0;
}
.hero h1 {
  margin: .9rem 0 .6rem;
  font-size: var(--t-h1); font-weight: 750; line-height: 1.04; letter-spacing: -.035em;
}
.hero .entradilla {
  margin: 0 auto;
  max-width: 62ch;
  font-size: clamp(1.02rem, .95rem + .5vw, 1.2rem);
  line-height: 1.55;
  color: var(--texto-suave);
}
.hero nav.principal {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem;
  margin-top: 1.5rem;
}
@keyframes asomar {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.hero.compacta { text-align: left; padding: clamp(1.4rem, 3vw, 2rem) 0 1.1rem; }
.hero.compacta .hero-texto { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .8rem; }
.hero.compacta nav.principal { order: -1; margin: 0; }
.hero.compacta nav.principal .btn-secondary { padding: .45rem .95rem; font-size: .9rem; }
.hero.compacta .entradilla { margin: 0; max-width: none; flex: 1 1 18rem; font-size: .95rem; color: var(--texto-tenue); }
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  border-radius: 999px; padding: 3px 10px;
  font-size: 11.5px; font-weight: 600; line-height: 1.15rem;
  letter-spacing: .01em; white-space: nowrap;
}
.chip-blue  { color: #1d4ed8; background: rgba(37, 99, 235, 0.12); }
.chip-amber { color: #b45309; background: rgba(217, 119, 6, 0.14); }
.chip-slate { color: #475569; background: rgba(71, 85, 105, 0.12); }
[data-theme="dark"] .chip-blue  { color: #93c5fd; background: rgba(59, 130, 246, 0.18); }
[data-theme="dark"] .chip-amber { color: #fcd34d; background: rgba(245, 158, 11, 0.18); }
[data-theme="dark"] .chip-slate { color: #cbd5e1; background: rgba(148, 163, 184, 0.18); }
.btn-primary, .btn-secondary, .btn-morado {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: 999px; padding: 10px 20px;
  font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform var(--rapido) var(--curva), box-shadow var(--medio) var(--curva),
              background-color var(--rapido) var(--curva), border-color var(--rapido) var(--curva),
              color var(--rapido) var(--curva);
  will-change: transform;
}
.btn-primary svg, .btn-secondary svg, .btn-morado svg { width: 1.1em; height: 1.1em; }
.btn-primary {
  background: linear-gradient(180deg, var(--acento), var(--acento-fuerte));
  color: #fff;
  box-shadow: var(--sombra-acento), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-primary:hover {
  color: #fff; transform: translateY(-2px);
  box-shadow: var(--sombra-acento), 0 20px 40px -12px rgba(37, 99, 235, .45),
              inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-secondary {
  color: var(--texto-suave);
  background: color-mix(in srgb, var(--cristal) 80%, transparent);
  border-color: var(--borde);
  box-shadow: var(--sombra-1);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  color: var(--texto-fuerte); border-color: color-mix(in srgb, var(--texto-fuerte) 16%, transparent);
  box-shadow: var(--sombra-2);
}
.btn-morado {
  background: linear-gradient(180deg, var(--morado), var(--morado-fuerte));
  color: #fff;
  box-shadow: var(--sombra-morado), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-morado:hover {
  color: #fff; transform: translateY(-2px);
  box-shadow: var(--sombra-morado), 0 20px 40px -12px rgba(109, 40, 217, .5),
              inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-morado:focus-visible { outline: 2px solid var(--morado); outline-offset: 3px; }
.btn-primary:active, .btn-secondary:active, .btn-morado:active {
  transform: translateY(0) scale(.985); transition-duration: .06s;
}
.btn-primary:disabled, .btn-secondary:disabled,
.btn-primary[aria-disabled="true"], .btn-secondary[aria-disabled="true"] {
  opacity: .5; cursor: not-allowed; transform: none;
  box-shadow: none; filter: none; pointer-events: none;
}
.btn-primary:focus-visible, .btn-secondary:focus-visible {
  outline: 2px solid var(--acento); outline-offset: 3px;
}
.acciones { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
section { margin-bottom: var(--aire-seccion); }
h2 { font-size: var(--t-h2); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 4px; }
h3 { font-size: var(--t-h3); letter-spacing: -.015em; }
h2 + .sub { margin: 0 0 18px; color: var(--texto-tenue); font-size: 15.5px; }
.sub.aparte { margin-top: 1rem; color: var(--texto-tenue); font-size: 15.5px; }
.rejilla { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.rejilla.dos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rejilla.tres { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
@media (max-width: 700px) {
  .rejilla.dos { grid-template-columns: minmax(0, 1fr); }
}
.dato { font-size: 15px; margin: 0; }
.dato dt { font-weight: 600; color: var(--texto-fuerte); margin-bottom: 2px; }
.dato dd { margin: 0; color: var(--texto-suave); }
.destacado h3 { margin: 0 0 6px; font-size: 16px; }
.destacado p { margin: 0; color: var(--texto-suave); font-size: 15px; }
pre, code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
pre {
  background: var(--codigo-fondo);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  padding: 14px 16px;
  overflow-x: auto;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 12px 0;
  box-shadow: var(--sombra-1);
}
pre code { background: none; padding: 0; color: inherit; font-size: inherit; white-space: pre; }
code {
  background: var(--acento-suave);
  color: var(--acento-texto);
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 0.88em;
  font-variant-ligatures: none;
overflow-wrap: anywhere;
max-width: 100%;
}
[data-theme="dark"] code { color: #93c5fd; }
.aviso, .peligro {
  border-radius: 12px;
  padding: 13px 16px;
  margin: 16px 0;
  font-size: 15px;
  border: 1px solid;
}
.aviso {
  color: #92400e;   
  background: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.28);
}
.peligro {
  color: #b91c1c;
  background: rgba(220, 38, 38, 0.09);
  border-color: rgba(220, 38, 38, 0.28);
}
[data-theme="dark"] .aviso {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.3);
}
[data-theme="dark"] .peligro {
  color: #fecaca;
  background: rgba(248, 113, 113, 0.14);
  border-color: rgba(248, 113, 113, 0.32);
}
.version { padding: 18px 22px; margin-bottom: 14px; transition: box-shadow var(--medio) var(--curva); }
.version:hover { box-shadow: var(--sombra-3), var(--vidrio-luz); }
.version h3 {
  display: inline-flex; align-items: baseline; gap: 10px; white-space: nowrap;
  margin: 0; font-size: 18px;
}
.version .num { font-variant-numeric: tabular-nums; }
.version .fecha { font-size: 12px; font-weight: 400; color: var(--texto-tenue); }
.version h4 { margin: 18px 0 6px; font-size: 14px; font-weight: 600; color: var(--acento-texto); }
[data-theme="dark"] .version h4 { color: #93c5fd; }
.version .entradilla-version { margin: 10px 0 4px; color: var(--texto-suave); font-size: 15px; }
.version ul { margin: 0; padding-left: 20px; }
.version li { margin-bottom: 8px; color: var(--texto-suave); }
.version li strong { color: var(--texto-fuerte); font-weight: 600; }
details.version summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; gap: 8px; padding: 2px 0;
}
details.version summary::-webkit-details-marker { display: none; }
details.version summary::before {
  content: "▸"; color: var(--texto-tenue); font-size: 12px;
  transition: transform var(--rapido) var(--curva);
}
details.version[open] summary::before { transform: rotate(90deg); }
details.version summary:hover { color: var(--acento-texto); }
.version-resumen {
  margin: .3rem 0 0; min-width: 0;
  font-size: 13.5px; line-height: 1.45; color: var(--texto-tenue);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
details.version summary .version-resumen { margin: 0; flex: 1 1 auto; }
@media (max-width: 560px) {
  details.version summary { flex-wrap: wrap; row-gap: 2px; }
  details.version summary h3 { white-space: nowrap; }
  details.version summary .version-resumen {
    flex: 1 0 100%; white-space: normal; padding-left: 20px;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
  }
}
details.version[open] summary .version-resumen { display: none; }   
article.version .version-resumen { display: none; }                 
.version-ancla {
  margin-left: .1rem; padding: 0 .25rem;
  color: var(--texto-tenue); text-decoration: none; font-weight: 600;
  opacity: 0; transition: opacity var(--rapido) var(--curva), color var(--rapido) var(--curva);
}
.version:hover .version-ancla, .version-ancla:focus-visible { opacity: 1; }
.version-ancla:hover { color: var(--acento-texto); }
.version:target { box-shadow: var(--sombra-3), 0 0 0 2px var(--acento-suave), var(--vidrio-luz); }
#novedades .doc-buscador { margin-block: 1rem 1.4rem; }
#novedades { --nov-papel: #e8ecf5; }
[data-theme="dark"] #novedades { --nov-papel: #0d1424; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #novedades { --nov-papel: #0d1424; }
}
@media (min-width: 64rem) {
  .linea-versiones { position: relative; }
.linea-versiones::before {
    content: ''; position: absolute; left: -2.1rem; top: 0; bottom: 0; width: 2px;
    border-radius: 2px;
    background: color-mix(in srgb, var(--texto-tenue) 28%, transparent);
  }
  .linea-versiones::after {
    content: ''; position: absolute; left: -2.1rem; top: 0; bottom: 0; width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--acento), color-mix(in srgb, var(--acento) 35%, transparent));
    transform-origin: 50% 0; transform: scaleY(1);
  }
  @supports (animation-timeline: view()) {
    :where(html:not([data-movimiento="reducido"])) .linea-versiones::after { animation: hilo-que-se-dibuja linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
  .version { position: relative; }
.version::after {
    content: ''; position: absolute; left: calc(-2.1rem - 5px); top: 26px; width: 12px; height: 12px;
    border-radius: 50%; background: var(--acento); border: 2px solid var(--acento);
    box-shadow: 0 0 0 4px var(--nov-papel);
  }
  @supports (animation-timeline: view()) {
    :where(html:not([data-movimiento="reducido"])) .version::after { animation: punto-que-se-enciende linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
}
@keyframes hilo-que-se-dibuja { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes punto-que-se-enciende {
  from { border-color: var(--texto-tenue); background: var(--nov-papel); }
  to { border-color: var(--acento); background: var(--acento); }
}
.credito {
  display: grid; grid-template-columns: minmax(10rem, 13.5rem) minmax(0, 1fr);
  align-items: center; gap: clamp(1.1rem, 3vw, 2rem);
  padding: clamp(18px, 2.6vw, 26px); margin-bottom: 14px;
}
.credito-placa {
  display: grid; place-items: center; align-self: stretch;
  min-height: 7.5rem; padding: 1.2rem 1.1rem;
  border-radius: calc(var(--radio-g) - 8px);
  border: 1px solid var(--borde);
  background:
    radial-gradient(120% 90% at 15% 0%, color-mix(in srgb, var(--acento) 14%, transparent), transparent 62%),
    rgba(15, 23, 42, .045);
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, .08), var(--vidrio-luz);
}
[data-theme="dark"] .credito-placa {
  background:
    radial-gradient(120% 90% at 15% 0%, color-mix(in srgb, var(--acento) 20%, transparent), transparent 62%),
    rgba(2, 6, 23, .38);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .35), var(--vidrio-luz);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .credito-placa {
    background:
      radial-gradient(120% 90% at 15% 0%, color-mix(in srgb, var(--acento) 20%, transparent), transparent 62%),
      rgba(2, 6, 23, .38);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .35), var(--vidrio-luz);
  }
}
.credito-logo { display: block; width: auto; max-width: min(100%, 12rem); max-height: 8.5rem; height: auto; filter: brightness(0); opacity: .84; }
[data-theme="dark"] .credito-logo { filter: none; opacity: 1; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .credito-logo { filter: none; opacity: 1; }
}
.credito-nombre {
  margin: 0; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.65rem); line-height: 1.15; letter-spacing: -.022em;
}
.credito-quien { margin: .3rem 0 0; font-size: 14px; letter-spacing: .006em; color: var(--texto-tenue); }
.credito-web { font-weight: 600; text-decoration: none; }
.credito-web:hover { text-decoration: underline; text-underline-offset: .18em; }
.credito-fuera { width: .9em; height: .9em; margin-left: .2em; vertical-align: -.08em; }
.credito-aporte { margin: .7rem 0 0; max-width: 62ch; color: var(--texto-suave); font-size: 15.5px; }
.credito-acciones { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }
.credito-versiones { position: relative; }
.credito-versiones > summary { list-style: none; cursor: pointer; }
.credito-versiones > summary::-webkit-details-marker { display: none; }
.credito-versiones > summary::after {
  content: ''; width: 0; height: 0; margin-left: .15rem;
  border: 3px solid transparent; border-top-color: currentColor; translate: 0 1.5px;
  transition: rotate .15s ease;
}
.credito-versiones[open] > summary::after { rotate: 180deg; translate: 0 -1.5px; }
.credito-cuantas {
  margin-left: .45rem; padding: .05rem .4rem; border-radius: 999px;
  background: color-mix(in srgb, var(--texto-fuerte) 10%, transparent);
  font-size: .78em; font-variant-numeric: tabular-nums;
}
.credito-lista {
  position: absolute; top: calc(100% + .35rem); left: 0; z-index: 60;
  margin: 0; padding: .3rem; list-style: none; min-width: 9rem; max-height: 15rem;
  overflow-y: auto;
  border-radius: 12px; background: var(--cristal-denso, var(--cristal));
  border: 1px solid color-mix(in srgb, var(--texto-fuerte) 12%, transparent);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--texto-fuerte) 22%, transparent);
  backdrop-filter: blur(14px);
}
.credito-lista a {
  display: block; padding: .45rem .55rem; border-radius: 8px;
  color: var(--texto-fuerte); text-decoration: none; font-size: .86rem; white-space: nowrap;
}
.credito-lista a:hover { background: color-mix(in srgb, var(--texto-fuerte) 8%, transparent); }
.credito-lista a:focus-visible { outline: 2px solid var(--acento); outline-offset: -2px; }
.solo-lector {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.con-carrusel .creditos-pista { display: grid; touch-action: pan-y; }
.con-carrusel .credito {
  grid-area: 1 / 1; margin-bottom: 0;
  visibility: hidden; opacity: 0; transform: translateX(1.5rem);
  transition: opacity .38s var(--curva), transform .38s var(--curva), visibility 0s linear .38s;
}
.con-carrusel .credito.credito-visible {
  visibility: visible; opacity: 1; transform: none; z-index: 1;
  transition: opacity .38s var(--curva), transform .38s var(--curva), visibility 0s;
}
:where(html[data-movimiento="reducido"]) .con-carrusel .credito { transform: none; transition: none; }
.creditos-mandos { display: flex; align-items: center; justify-content: center; gap: .7rem; margin-top: 16px; }
.creditos-mandos[hidden] { display: none; }
.creditos-nombres { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; }
.creditos-flecha, .creditos-nombre {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border-radius: 999px; border: 1px solid var(--borde); cursor: pointer;
  color: var(--texto-suave); background: color-mix(in srgb, var(--cristal) 80%, transparent);
  box-shadow: var(--sombra-1); font: inherit;
  transition: transform var(--rapido) var(--curva), color var(--rapido) var(--curva),
              border-color var(--rapido) var(--curva), background-color var(--rapido) var(--curva);
}
.creditos-flecha { width: 2.6rem; height: 2.6rem; flex: none; padding: 0; }
.creditos-flecha svg { width: 1.2rem; height: 1.2rem; }
.creditos-nombre { padding: .4rem .9rem .4rem .55rem; font-size: 13.5px; font-weight: 600; letter-spacing: -.005em; }
.creditos-flecha:hover, .creditos-nombre:hover {
  transform: translateY(-1px); color: var(--texto-fuerte);
  border-color: color-mix(in srgb, var(--texto-fuerte) 16%, transparent);
}
.creditos-flecha:active, .creditos-nombre:active { transform: translateY(1px); }
.creditos-flecha:focus-visible, .creditos-nombre:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }
.creditos-nombre[aria-current="true"] {
  color: var(--texto-fuerte);
  border-color: color-mix(in srgb, var(--acento) 55%, transparent);
  background: color-mix(in srgb, var(--acento) 16%, var(--cristal));
}
.credito-mini { width: auto; height: 1.35rem; max-width: 3.2rem; filter: brightness(0); opacity: .8; }
[data-theme="dark"] .credito-mini { filter: none; opacity: 1; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .credito-mini { filter: none; opacity: 1; }
}
@media (max-width: 480px) {
  .credito-mini { display: none; }
  .creditos-mandos { gap: .45rem; }
  .creditos-nombre { padding: .4rem .75rem; }
}
.credito-entradas .version::after { content: none; }
@media (max-width: 640px) {
  .credito { grid-template-columns: minmax(0, 1fr); }
  .credito-placa { min-height: 0; padding: 1rem; }
  .credito-logo { max-width: 11rem; }
  .credito-acciones a,
  .credito-acciones > .credito-versiones { flex: 1 1 auto; }
  .credito-versiones > summary { width: 100%; justify-content: center; }
  .credito-lista { left: 0; right: 0; min-width: 0; }
}
ol.pasos { counter-reset: paso; list-style: none; padding: 0; margin: 0; }
ol.pasos > li {
  counter-increment: paso;
  position: relative;
  padding: 0 0 18px 40px;
  border-left: 2px solid var(--borde);
  margin-left: 13px;
}
ol.pasos > li:last-child { border-left-color: transparent; padding-bottom: 0; }
ol.pasos > li::before {
  content: counter(paso);
  position: absolute; left: -14px; top: -1px;
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(160deg, #60a5fa, var(--acento));
  color: #fff; font-size: 12px; font-weight: 700;
  display: grid; place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), var(--sombra-1);
}
ol.pasos h3 { margin: 0 0 4px; font-size: 16px; }
ol.pasos p { margin: 0 0 8px; color: var(--texto-suave); font-size: 15px; }
.tabla-envuelta { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 460px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--borde); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--texto-tenue); font-weight: 600;
}
td { color: var(--texto-suave); }
td:first-child { font-weight: 600; color: var(--texto-fuerte); white-space: nowrap; }
.captura { margin: 0 0 16px; padding: 12px; }
.captura img {
  display: block; width: 100%; height: auto;
  border-radius: 12px; border: 1px solid var(--borde);
}
.captura figcaption {
  margin-top: 12px; font-size: 14.5px; color: var(--texto-suave); line-height: 1.6;
}
.captura figcaption strong { color: var(--texto-fuerte); }
[data-theme="light"] .captura .oscuro,
[data-theme="light"] .captura-movil .oscuro,
[data-theme="dark"] .captura .claro,
[data-theme="dark"] .captura-movil .claro { display: none; }
.moviles { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.captura-movil { margin: 0; max-width: 240px; }
.captura-movil img {
  display: block; width: 100%; height: auto;
border-radius: 26px;
  border: 1px solid var(--borde);
  box-shadow: var(--sombra-3);
}
.captura-movil figcaption {
  margin-top: 10px; text-align: center; font-size: 13.5px; color: var(--texto-tenue);
}
.pie-movil { margin: 20px 0 0; font-size: 14.5px; color: var(--texto-suave); }
.area { padding: 18px 22px; margin-bottom: 14px; }
.area h3 { margin: 0 0 10px; font-size: 17px; }
.area ul { margin: 0; padding-left: 20px; }
.area li { margin-bottom: 7px; color: var(--texto-suave); font-size: 15px; }
.area li strong { color: var(--texto-fuerte); }
.doc-buscar { margin: 0 0 clamp(2rem, 4.5vw, 2.8rem); }
.doc-buscador {
  display: flex; align-items: center; gap: .7rem;
  max-width: 34rem; margin: 0 auto; padding: .1rem .3rem .1rem 1.1rem;
  border-radius: 999px;
  background:
    linear-gradient(var(--cristal), var(--cristal)) padding-box,
    var(--vidrio-canto) border-box;
  border: 1px solid transparent;
  -webkit-backdrop-filter: var(--vidrio-filtro);
  backdrop-filter: var(--vidrio-filtro);
  box-shadow: var(--sombra-2), var(--vidrio-luz);
  transition: box-shadow var(--rapido) var(--curva);
}
.doc-buscador:focus-within { box-shadow: var(--sombra-3), 0 0 0 3px var(--acento-suave); }
.doc-lupa { width: 17px; height: 17px; flex: 0 0 auto; color: var(--texto-tenue); }
.doc-buscador input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  color: inherit; font: inherit; padding: .8rem .4rem .8rem 0;
}
.doc-buscador input::placeholder { color: var(--texto-tenue); }
.doc-nada { text-align: center; margin-top: 1.2rem; color: var(--texto-tenue); font-size: .95rem; }
.doc-grupo { margin-bottom: clamp(2rem, 4.5vw, 2.8rem); }
.doc-grupo > h2 { font-size: 1.28rem; letter-spacing: -.015em; margin-bottom: .15rem; }
.doc-grupo > .sub { margin-top: 0; margin-bottom: 12px; font-size: 14.5px; }
.guia {
  position: relative; display: flex; align-items: flex-start; gap: .95rem;
  padding: 1.05rem 1.1rem;
  border-radius: 18px;
  text-decoration: none;
  transition: transform var(--medio) var(--curva), box-shadow var(--medio) var(--curva);
}
.rejilla.dos > .guia:only-child { grid-column: 1 / -1; }
.guia-ico {
  flex: 0 0 auto; width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
}
.guia-ico svg { width: 22px; height: 22px; }
.t-azul    { background: color-mix(in srgb, var(--acento) 12%, transparent); color: var(--acento); }
.t-ambar   { background: rgba(217, 119, 6, 0.14); color: #b45309; }
.t-pizarra { background: rgba(71, 85, 105, 0.12); color: #475569; }
[data-theme="dark"] .t-azul    { color: #93c5fd; }
[data-theme="dark"] .t-ambar   { background: rgba(245, 158, 11, 0.16); color: #fcd34d; }
[data-theme="dark"] .t-pizarra { background: rgba(148, 163, 184, 0.16); color: #cbd5e1; }
.guia-cuerpo { flex: 1 1 auto; min-width: 0; }
.guia h3 { margin: 0 0 .15rem; font-size: 1.02rem; letter-spacing: -.012em; color: var(--texto-fuerte); }
.guia p { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--texto-suave); }
.guia-cuando {
  display: block; margin-top: .4rem;
  font-size: .8rem; line-height: 1.4; font-weight: 550;
  color: var(--acento-texto);   
}
[data-theme="dark"] .guia-cuando { color: #93c5fd; }
.guia-flecha {
  flex: 0 0 auto; align-self: center;
  width: 17px; height: 17px;
  color: var(--texto-tenue); opacity: .55;
  transition: transform var(--rapido) var(--curva), opacity var(--rapido) var(--curva),
              color var(--rapido) var(--curva);
}
.guia:hover, .guia:focus-visible { transform: translateY(-2px); box-shadow: var(--sombra-3), var(--vidrio-luz); }
.guia:hover h3 { color: var(--acento-texto); }
.guia:hover .guia-flecha, .guia:focus-visible .guia-flecha {
  color: var(--acento); opacity: 1; transform: translateX(3px);
}
.con-lateral {
  display: grid; gap: 18px;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
}
.lateral { position: sticky; top: 5.2rem; align-self: start; max-height: calc(100vh - 6.5rem); overflow-y: auto; }
.lateral h4 { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--texto-tenue); }
.lateral ul { margin: 0; padding: 0; list-style: none; }
.lateral li { margin-bottom: 2px; }
.lateral a {
  display: block; padding: 6px 10px; border-radius: 10px;
  font-size: 14px; text-decoration: none; color: var(--texto-suave);
  transition: background-color var(--rapido) var(--curva), color var(--rapido) var(--curva);
}
.lateral a:hover { background: rgba(37, 99, 235, 0.1); color: var(--acento-texto); }
[data-theme="dark"] .lateral a:hover { background: rgba(59, 130, 246, 0.22); color: #dbeafe; }
.lateral a[aria-current="page"] {
  color: var(--texto-fuerte); font-weight: 650;
  background: color-mix(in srgb, var(--acento) 12%, transparent);
}
.lateral h4 + .doc-indice { margin-top: 0; }
.doc-indice + h4 { margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid var(--borde); }
.lateral .lat-grupo {
  margin: .9rem 0 .25rem; padding: 0 10px;
  font-size: 11.5px; font-weight: 650; text-transform: uppercase; letter-spacing: .06em;
  color: var(--texto-tenue); opacity: .85;
}
.lateral .lat-grupo:first-child { margin-top: .2rem; }
.lat-guias a { font-size: 13.5px; padding: 5px 10px; }
.doc-indice { position: relative; border-left: 2px solid var(--borde); padding-left: .35rem; }
.doc-indice a {
  font-size: 13px; line-height: 1.35; padding: .34rem .55rem;
  color: var(--texto-tenue);
}
.doc-indice a.activo {
  color: var(--acento-texto); font-weight: 600;
  background: color-mix(in srgb, var(--acento) 10%, transparent);
}
[data-theme="dark"] .doc-indice a.activo { color: #93c5fd; }
.doc-pasos {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--borde);
}
.doc-paso {
  flex: 1 1 12rem; min-width: 0;
  padding: .7rem .9rem; border-radius: 14px;
  border: 1px solid var(--borde); text-decoration: none;
  transition: transform var(--rapido) var(--curva), border-color var(--rapido) var(--curva),
              box-shadow var(--rapido) var(--curva);
}
.doc-paso:hover {
  text-decoration: none; transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--acento) 40%, transparent);
  box-shadow: var(--sombra-2);
}
.doc-paso span { display: block; font-size: .74rem; color: var(--texto-tenue); }
.doc-paso b { display: block; margin-top: .15rem; color: var(--texto-fuerte); font-size: .95rem; }
.doc-paso.siguiente { text-align: right; }
.documento { padding: 26px 30px; --medida: 72ch; }
.documento p, .documento li { max-width: var(--medida); line-height: 1.7; color: var(--texto-suave); }
.documento h1 { font-size: clamp(1.9rem, 1.1rem + 2.6vw, 2.9rem); line-height: 1.06; letter-spacing: -.035em; margin: 0 0 14px; }
.documento h2 {
  font-size: clamp(1.35rem, 1rem + 1.4vw, 1.9rem); line-height: 1.15; letter-spacing: -.025em;
  margin: 2.4em 0 8px; padding-top: .9em; border-top: 1px solid var(--borde);
}
.documento h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 1.4em; }
.documento h3 { font-size: 16.5px; margin: 1.9em 0 6px; letter-spacing: -.015em; }
.documento h4 { font-size: 15px; margin: 18px 0 6px; color: var(--acento-texto); }
[data-theme="dark"] .documento h4 { color: #93c5fd; }
.documento li { margin-bottom: 6px; }
.documento li strong, .documento p strong { color: var(--texto-fuerte); }
.documento ul, .documento ol { padding-left: 22px; }
.documento blockquote {
  margin: 14px 0; padding: 10px 16px;
  border-left: 3px solid var(--acento);
  background: var(--acento-suave);
  border-radius: 0 10px 10px 0;
  color: var(--texto-suave);
}
.documento hr { border: 0; border-top: 1px solid var(--borde); margin: 26px 0; }
.documento pre { max-width: none; }
.documento a {
  text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  text-decoration-color: color-mix(in srgb, var(--acento) 45%, transparent);
  transition: text-decoration-color var(--rapido) var(--curva);
}
.documento a:hover { text-decoration-color: var(--acento); }
.documento h2, .documento h3 { position: relative; }
.doc-grafo {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.1rem, 2.6vw, 1.6rem) clamp(1.2rem, 3vw, 1.8rem);
  margin: 0 0 clamp(2rem, 4.5vw, 2.8rem);
  border-radius: var(--radio-g);
background-image: radial-gradient(28rem 14rem at 8% 0%, var(--morado-suave), transparent 72%);
}
.doc-grafo {
  transition: transform var(--medio) var(--curva), box-shadow var(--medio) var(--curva);
}
.doc-grafo:hover { transform: translateY(-2px); box-shadow: var(--sombra-3), var(--vidrio-luz); }
.doc-grafo-cuerpo { flex: 1 1 auto; min-width: 0; }
.doc-grafo h2 { font-size: 1.28rem; letter-spacing: -.015em; margin: 0 0 .3rem; }
.doc-grafo p { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--texto-suave); }
.doc-grafo .doc-grafo-cifras {
  margin-top: .5rem; font-size: .82rem; font-weight: 550; color: var(--morado-texto);
}
.doc-grafo-ico {
  flex: 0 0 auto; width: 52px; height: 52px;
  display: grid; place-items: center; border-radius: 15px;
  background: var(--morado-suave); color: var(--morado-texto);
}
.doc-grafo-ico svg { width: 27px; height: 27px; }
.doc-grafo .btn-morado { flex: 0 0 auto; }
.grafo-marco { position: relative; padding: 0; overflow: hidden; }
.grafo-barra {
  display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
  padding: .8rem .9rem; border-bottom: 1px solid var(--borde);
}
.grafo-buscar {
  display: flex; align-items: center; gap: .55rem;
  flex: 1 1 16rem; min-width: 0;
  padding: .1rem .3rem .1rem .9rem; border-radius: 999px;
  border: 1px solid var(--borde);
  background: color-mix(in srgb, var(--cristal) 70%, transparent);
}
.grafo-buscar:focus-within { box-shadow: 0 0 0 3px var(--morado-suave); }
.grafo-buscar svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--texto-tenue); }
.grafo-buscar input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  color: inherit; font: inherit; padding: .55rem .4rem .55rem 0;
}
.grafo-buscar input::placeholder { color: var(--texto-tenue); }
.grafo-contador { font-size: .82rem; color: var(--texto-tenue); font-variant-numeric: tabular-nums; }
.grafo-lienzo {
  position: relative;
  height: clamp(26rem, 68vh, 46rem);
touch-action: none;
}
.grafo-lienzo canvas { display: block; width: 100%; height: 100%; outline: 0; }
.grafo-lienzo canvas:focus-visible { box-shadow: inset 0 0 0 2px var(--morado); }
.grafo-estado {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  padding: 2rem; color: var(--texto-suave); font-size: .95rem;
}
.grafo-globo {
  position: absolute; top: 0; left: 0; pointer-events: none; z-index: 3;
  max-width: 20rem; padding: .5rem .7rem; border-radius: 12px;
  background: var(--cristal-solido, rgba(15, 23, 42, .92)); color: #f1f5f9;
  box-shadow: var(--sombra-2);
  font-size: .8rem; line-height: 1.35;
}
.grafo-globo b { display: block; font-weight: 650; overflow-wrap: anywhere; }
.grafo-globo span { display: block; margin-top: .15rem; opacity: .78; overflow-wrap: anywhere; }
.grafo-ficha {
  position: absolute; top: .8rem; right: .8rem; z-index: 4;
  width: min(21rem, calc(100% - 1.6rem)); max-height: calc(100% - 1.6rem);
  overflow-y: auto; padding: .9rem 1rem 1rem;
  border-radius: 16px;
  background:
    linear-gradient(var(--cristal-denso), var(--cristal-denso)) padding-box,
    var(--vidrio-canto) border-box;
  border: 1px solid transparent;
  -webkit-backdrop-filter: var(--vidrio-filtro);
  backdrop-filter: var(--vidrio-filtro);
  box-shadow: var(--sombra-3), var(--vidrio-luz);
}
.grafo-ficha h3 { margin: 0 1.4rem .35rem 0; font-size: 1rem; overflow-wrap: anywhere; }
.grafo-meta { margin: 0 0 .3rem; font-size: .8rem; color: var(--texto-suave); }
.grafo-ruta {
  margin: 0 0 .5rem; font-size: .78rem; color: var(--texto-tenue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow-wrap: anywhere;
}
.grafo-cifra { margin: 0 0 .6rem; font-size: .8rem; font-weight: 600; color: var(--morado-texto); }
.grafo-punto {
  display: inline-block; width: .55rem; height: .55rem; border-radius: 50%;
  margin-right: .35rem; vertical-align: baseline;
}
.grafo-rel { margin-top: .7rem; }
.grafo-rel h4 {
  margin: 0 0 .3rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--texto-tenue);
}
.grafo-vecinos { display: flex; flex-wrap: wrap; gap: .3rem; }
.grafo-vecinos button {
  max-width: 100%; padding: .22rem .55rem; border-radius: 999px;
  border: 1px solid var(--borde); background: transparent;
  color: var(--texto-suave); font: inherit; font-size: .78rem; cursor: pointer;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: color var(--rapido) var(--curva), border-color var(--rapido) var(--curva);
}
.grafo-vecinos button:hover { color: var(--morado-texto); border-color: var(--morado); }
.grafo-mas { align-self: center; font-size: .75rem; color: var(--texto-tenue); }
.grafo-cerrar {
  position: absolute; top: .5rem; right: .55rem;
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  border: 0; background: transparent; color: var(--texto-tenue);
  font-size: 1.2rem; line-height: 1; cursor: pointer;
}
.grafo-cerrar:hover { color: var(--texto-fuerte); }
.grafo-leyenda {
  display: flex; flex-wrap: wrap; gap: .4rem;
  padding: .8rem .9rem; border-top: 1px solid var(--borde);
}
.grafo-chip {
  display: inline-flex; align-items: center; gap: .1rem;
  padding: .25rem .65rem; border-radius: 999px;
  border: 1px solid var(--borde); background: transparent;
  color: var(--texto-suave); font: inherit; font-size: .78rem; cursor: pointer;
  transition: color var(--rapido) var(--curva), border-color var(--rapido) var(--curva),
              background-color var(--rapido) var(--curva);
}
.grafo-chip:hover { color: var(--texto-fuerte); border-color: color-mix(in srgb, var(--texto-fuerte) 20%, transparent); }
.grafo-chip.activo { background: var(--morado-suave); border-color: var(--morado); color: var(--morado-texto); }
.grafo-ayuda { margin: 1rem 0 0; font-size: .85rem; color: var(--texto-tenue); }
.grafo-numeros { display: flex; flex-wrap: wrap; gap: 1.6rem; margin: 1.2rem 0 0; }
.grafo-numeros div { min-width: 6rem; }
.grafo-numeros b {
  display: block; font-size: 1.5rem; letter-spacing: -.02em; color: var(--texto-fuerte);
  font-variant-numeric: tabular-nums;
}
.grafo-numeros span { font-size: .82rem; color: var(--texto-tenue); }
footer.pie {
  border-top: 1px solid var(--borde);
  padding-top: 22px;
  text-align: center;
  color: var(--texto-tenue);
  font-size: 14px;
}
.pie-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-bottom: .5rem; }
.pie-links a { color: var(--texto-tenue); text-decoration: none; }
.pie-links a:hover { color: var(--texto-fuerte); text-decoration: underline; }
.pie-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin-bottom: .5rem; font-size: .78rem; }
.pie-legal a { color: var(--texto-tenue); text-decoration: none; }
.pie-legal a:hover { color: var(--texto-fuerte); text-decoration: underline; }
@media (pointer: coarse) {
  .pie-legal a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .5rem; }
}
footer.pie p { margin: 0; }
footer.pie p.pie-movimiento-fila { margin: 0 0 .5rem; }
.pie-movimiento {
  font: inherit; font-size: .78rem; color: var(--texto-tenue); background: none; cursor: pointer;
  border: 1px solid var(--borde, rgba(148, 163, 184, .35)); border-radius: 999px; padding: .3rem .8rem;
}
.pie-movimiento:hover { color: var(--texto-fuerte); }
@media (pointer: coarse) { .pie-movimiento { min-height: 44px; padding-inline: 1.1rem; } }
.aviso-movimiento-voz {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.aviso-movimiento {
  position: fixed; z-index: 1001; left: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem);
  max-width: 27rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem;
padding: .8rem 2.9rem .8rem 1rem; border-radius: var(--radio-g); border: 1px solid var(--borde);
  background: var(--cristal); -webkit-backdrop-filter: var(--vidrio-filtro); backdrop-filter: var(--vidrio-filtro);
  box-shadow: var(--sombra-2); font-size: .88rem; color: var(--texto-fuerte);
}
.aviso-movimiento[hidden] { display: none; }
.aviso-movimiento span { flex: 1 1 11rem; }
.aviso-movimiento-si {
  font: inherit; font-weight: 600; font-size: .85rem; cursor: pointer; color: #fff; border: 0;
  border-radius: 999px; padding: .45rem 1rem; background: linear-gradient(115deg, #0e7490, #2b50e6 55%, #7a3df0);
}
.aviso-movimiento-no {
  font: inherit; font-size: 1.2rem; line-height: 1; cursor: pointer; color: var(--texto-tenue); background: none; border: 0;
  padding: .2rem .5rem; border-radius: 8px; position: absolute; top: .25rem; right: .25rem;
}
.aviso-movimiento-no:hover { color: var(--texto-fuerte); }
@media (pointer: coarse) { .aviso-movimiento-si, .aviso-movimiento-no { min-height: 44px; min-width: 44px; } }
@media (max-width: 430px) { .aviso-movimiento { left: .75rem; right: .75rem; bottom: .75rem; max-width: none; } }
@media (pointer: coarse) {
  .pie-links { gap: .15rem .35rem; }
  .pie-links a {
    display: inline-flex; align-items: center;
    min-height: 44px; padding-inline: .5rem; border-radius: 10px;
  }
}
.aparece { transition: opacity .55s var(--curva), transform .55s var(--curva); }
.aparece.armada { opacity: 0; transform: translateY(14px); }
.aparece.armada.visible { opacity: 1; transform: none; }
.guia, .version, .doc-grafo {
  --mx: 50%; --my: 0%;
  isolation: isolate;
}
.version, .doc-grafo { position: relative; }
.guia::before, .version::before, .doc-grafo::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
background: radial-gradient(16rem 16rem at var(--mx) var(--my),
              color-mix(in srgb, var(--acento) 13%, transparent), transparent 70%);
  opacity: 0; transition: opacity .35s var(--curva);
}
[data-theme="dark"] .guia::before, [data-theme="dark"] .version::before,
[data-theme="dark"] .doc-grafo::before {
  background: radial-gradient(16rem 16rem at var(--mx) var(--my),
              rgba(255, 255, 255, .07), transparent 70%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .guia::before,
  :root:not([data-theme="light"]) .version::before,
  :root:not([data-theme="light"]) .doc-grafo::before {
    background: radial-gradient(16rem 16rem at var(--mx) var(--my),
                rgba(255, 255, 255, .07), transparent 70%);
  }
}
.guia:hover::before, .version:hover::before, .doc-grafo:hover::before { opacity: 1; }
@media (max-width: 900px) {
.con-lateral { grid-template-columns: minmax(0, 1fr); }
  .lateral { max-height: none; overflow: visible; }
  .lateral h4 { margin: 0 0 .55rem; font-size: .72rem; letter-spacing: .06em; opacity: .7; }
  .lateral ul {
    display: flex; gap: .45rem; margin: 0; padding: 0 .2rem .3rem;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;                 
    scroll-snap-type: x proximity;
  }
  .lateral ul::-webkit-scrollbar { display: none; }
  .lateral li { flex: 0 0 auto; scroll-snap-align: start; margin: 0; }
  .lateral a {
    white-space: nowrap; padding: .42rem .8rem; border-radius: 999px;
    border: 1px solid var(--borde); font-size: .85rem;
  }
  .documento { padding-left: 1rem; padding-right: 1rem; }
  .documento h2 { margin-top: 1.8em; }
}
@media (max-width: 700px) {
table { min-width: 0; width: 100%; table-layout: fixed; }
  td, th { overflow-wrap: break-word; hyphens: auto; }
  td:first-child { white-space: normal; width: 28%; }
.doc-grafo { flex-wrap: wrap; }
  .doc-grafo-cuerpo { flex: 1 1 12rem; }
  .doc-grafo .btn-morado { width: 100%; }
.grafo-ficha {
    top: auto; left: .6rem; right: .6rem; bottom: .6rem;
    width: auto; max-height: 52%;
  }
  .grafo-lienzo { height: clamp(22rem, 62vh, 34rem); }
  .grafo-globo { max-width: 14rem; }
.grafo-buscar { flex: 1 1 100%; }
  .grafo-contador { flex: 1 1 auto; font-size: .74rem; }
  .grafo-barra .btn-secondary { padding: 8px 14px; font-size: 13.5px; }
.grafo-leyenda {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; scroll-snap-type: x proximity;
  }
  .grafo-leyenda::-webkit-scrollbar { display: none; }
  .grafo-chip { flex: 0 0 auto; scroll-snap-align: start; }
}
@media (max-width: 560px) {
  .panel, .version { padding: 16px; }
  .hero { padding-top: 2.2rem; }
  .hero nav.principal .btn-primary, .hero nav.principal .btn-secondary { flex: 1 1 auto; }
.rejilla.dos { gap: 12px; }
  .guia { padding: .9rem .95rem; gap: .8rem; }
  .guia-ico { width: 38px; height: 38px; border-radius: 11px; }
  .guia-ico svg { width: 20px; height: 20px; }
  .doc-buscador input { padding-block: .72rem; }
code { white-space: normal; overflow-wrap: anywhere; }
  pre code { white-space: pre; overflow-wrap: normal; }
}
:where(html[data-movimiento="reducido"]) *, :where(html[data-movimiento="reducido"]) *::before, :where(html[data-movimiento="reducido"]) *::after {
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
}
:where(html[data-movimiento="reducido"]) .aparece.armada { opacity: 1 !important; transform: none !important; }
:where(html[data-movimiento="reducido"]) .guia::before, :where(html[data-movimiento="reducido"]) .version::before, :where(html[data-movimiento="reducido"]) .doc-grafo::before { display: none; }
:where(html[data-movimiento="reducido"]) .guia:hover, :where(html[data-movimiento="reducido"]) .doc-grafo:hover, :where(html[data-movimiento="reducido"]) .btn-primary:hover, :where(html[data-movimiento="reducido"]) .btn-secondary:hover,
:where(html[data-movimiento="reducido"]) .btn-morado:hover, :where(html[data-movimiento="reducido"]) .nav-cta:active,
:where(html[data-movimiento="reducido"]) .btn-primary:active, :where(html[data-movimiento="reducido"]) .btn-secondary:active, :where(html[data-movimiento="reducido"]) .btn-morado:active { transform: none !important; }
.saltar {
  position: absolute; left: .75rem; top: 0; z-index: 100;
  padding: .55rem 1rem; border-radius: 0 0 var(--radio) var(--radio);
  background: var(--azul); color: #fff; font-weight: 600; text-decoration: none;
transform: translateY(-200%);
  transition: transform .18s var(--curva, ease);
}
.saltar:focus { transform: translateY(0); }
.kofi-flota {
  position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem); z-index: 60;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.05rem; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: .95rem; color: #fff;
  background: #d1413f; border: 1px solid #b5322f; box-shadow: var(--sombra-2, 0 10px 30px -12px rgba(0,0,0,.4));
}
.kofi-flota:hover { background: #b5322f; }
.kofi-flota svg { width: 1.3em; height: 1.3em; }
@media (max-width: 60rem) {
  .kofi-flota-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .kofi-flota { padding: .7rem .8rem; }
}
@media (pointer: coarse) {
  .marca, .idioma-btn, .version-ancla { position: relative; }
  .marca::after, .idioma-btn::after, .version-ancla::after {
    content: ''; position: absolute; left: 50%; top: 50%;
    width: max(100%, 44px); height: max(100%, 44px);
    transform: translate(-50%, -50%);
  }
.tema-btn, .nav-abrir, .nav-cta, .nav-entrar { position: relative; }
  .tema-btn::after, .nav-abrir::after, .nav-cta::after, .nav-entrar::after {
    content: ''; position: absolute; left: 50%; top: 50%;
    width: max(100%, 44px); height: max(100%, 44px);
    transform: translate(-50%, -50%);
  }
summary, .btn { min-height: 44px; }
}
@media print {
.barra, .pie, .saltar, .motas, .lp-cta, .doc-nav, .buscador, nav,
  .lateral, .barra-progreso, .comunidad, .comunidad-btn, .kofi-flota { display: none !important; }
.con-lateral { display: block !important; }
  .con-lateral > article { max-width: none !important; width: auto !important; }
  * { background: #fff !important; color: #000 !important; box-shadow: none !important; }
  a { text-decoration: underline; }
  main a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; word-break: break-all; }
  details { display: block !important; }
  details > summary { display: none; }
  h1, h2, h3 { page-break-after: avoid; }
  pre, table, figure { page-break-inside: avoid; }
}
@view-transition { navigation: auto; }
:where(html:not([data-movimiento="reducido"])) .barra { view-transition-name: barra; }
:where(html:not([data-movimiento="reducido"])) .pie { view-transition-name: pie; }
:where(html:not([data-movimiento="reducido"]))::view-transition-old(root) { animation-duration: .18s; }
:where(html:not([data-movimiento="reducido"]))::view-transition-new(root) { animation-duration: .26s; }
:where(html[data-movimiento="reducido"])::view-transition-group(*), :where(html[data-movimiento="reducido"])::view-transition-old(*), :where(html[data-movimiento="reducido"])::view-transition-new(*) {
  animation: none !important;
}
h1, h2, h3, .lp-h2, .lp-ficha-txt h3, summary { text-wrap: balance; }
p, li, figcaption, .lp-sub { text-wrap: pretty; }
main p a:not(.btn):not(.btn-primary):not(.btn-secondary),
main li a:not(.btn):not(.btn-primary):not(.btn-secondary) {
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  transition: text-decoration-color .18s var(--curva, ease);
}
main p a:hover, main li a:hover { text-decoration-color: currentColor; }
:root { accent-color: var(--azul); }
:root {
  --cb-fondo: rgba(15, 23, 42, 0.06);
  --cb-fondo-sobre: rgba(15, 23, 42, 0.1);
  --cb-borde: rgba(15, 23, 42, 0.28);
  --cb-brillo: rgba(255, 255, 255, 0.9);
}
:root[data-theme="dark"] {
  --cb-fondo: rgba(255, 255, 255, 0.12);
  --cb-fondo-sobre: rgba(255, 255, 255, 0.2);
  --cb-borde: rgba(255, 255, 255, 0.25);
  --cb-brillo: rgba(255, 255, 255, 0.5);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --cb-fondo: rgba(255, 255, 255, 0.12);
    --cb-fondo-sobre: rgba(255, 255, 255, 0.2);
    --cb-borde: rgba(255, 255, 255, 0.25);
    --cb-brillo: rgba(255, 255, 255, 0.5);
  }
}
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: inline-block;
  flex: none;
  box-sizing: border-box;
  width: 1.15em;
  height: 1.15em;
  margin: 0;
  vertical-align: middle;
  cursor: pointer;
  border-radius: 38%;
  background: var(--cb-fondo);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--cb-borde);
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.08),
    inset 0 1px 2px var(--cb-brillo),
    inset 0 -1px 2px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}
input[type="checkbox"]:hover:not(:checked):not(:disabled) {
  background: var(--cb-fondo-sobre);
  transform: translateY(-1px);
}
input[type="checkbox"]:checked {
  transform: scale(1.12);
  background: linear-gradient(145deg, #004cff 0%, #0e34b3 50%, hsl(217, 100%, 25%) 100%);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow:
    0 6px 14px rgba(0, 81, 255, 0.45),
    inset 0 1px 2px rgba(255, 255, 255, 0.6),
    inset 0 -1px 3px rgba(255, 255, 255, 0.35);
}
input[type="checkbox"]::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: 0.28em;
  height: 0.56em;
  border: solid #fff;
  border-width: 0 0.14em 0.14em 0;
  border-radius: 2px;
  transform: translate(-50%, -55%) rotate(45deg) scale(0.3);
  opacity: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
input[type="checkbox"]:checked::after {
  opacity: 1;
  transform: translate(-50%, -55%) rotate(45deg) scale(1);
}
input[type="checkbox"]:active:not(:disabled) {
  transform: scale(0.92);
  transition: transform 0.15s ease-out;
}
input[type="checkbox"]:disabled { opacity: 0.5; cursor: not-allowed; }
:where(html[data-movimiento="reducido"]) input[type="checkbox"],
:where(html[data-movimiento="reducido"]) input[type="checkbox"]::after { transition: none; }
:where(html:not([data-movimiento="reducido"])) .btn:active, :where(html:not([data-movimiento="reducido"])) .btn-primary:active, :where(html:not([data-movimiento="reducido"])) .btn-secondary:active {
  transform: translateY(1px) scale(.985);
}
:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--azul);
  outline-offset: 3px;
  border-radius: var(--radio, 10px);
}
::selection { background: color-mix(in srgb, var(--azul) 28%, transparent); }
.captura-guia {
  display: block;
  max-width: min(100%, 560px);
  height: auto;
  margin: 1.4rem auto;
  border: 1px solid var(--borde, rgba(148, 163, 184, .3));
  border-radius: 14px;
  background: #0f172a;
  box-shadow: 0 6px 24px rgba(2, 6, 23, .12);
}
.hero.con-escena .vineta { margin: clamp(1.6rem, 4vw, 2.4rem) auto 0; max-width: 34rem; text-align: left; }
@media (min-width: 900px) {
  .hero.con-escena {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
    column-gap: clamp(2rem, 5vw, 5rem); text-align: left;
    --medio-heroe: min(36rem, 50vw - 1.25rem); margin-inline: calc(50% - var(--medio-heroe));
  }
  .hero.con-escena h1 { font-size: clamp(2.4rem, 1.2rem + 3.6vw, 4.2rem); line-height: 1.02; letter-spacing: -.04em; }
  .hero.con-escena .entradilla { margin: 0; max-width: 46ch; }
  .hero.con-escena nav.principal { justify-content: flex-start; }
  .hero.con-escena .vineta { margin: 0; max-width: none; }
}
.hero .credito-placa {
  margin: clamp(1.6rem, 4vw, 2.4rem) auto 0; max-width: 26rem; aspect-ratio: 5 / 2;
  min-height: 0; padding: 2rem; border-radius: clamp(18px, 2.4vw, 28px);
}
.hero .credito-logo { max-width: min(100%, 17rem); max-height: 13rem; }
@media (min-width: 900px) {
  .hero.con-escena .credito-placa { margin: 0; max-width: none; aspect-ratio: 16 / 10; }
}
.hero > .hero-texto > .chip { animation: asomar .5s var(--curva) both; }
.hero > .hero-texto > h1 { animation: asomar .55s var(--curva) .07s both; }
.hero > .hero-texto > .entradilla { animation: asomar .55s var(--curva) .14s both; }
.hero > .hero-texto > nav.principal { animation: asomar .55s var(--curva) .21s both; }
.hero > .vineta { animation: vineta-construir 2.4s cubic-bezier(.3, .6, .25, 1) .3s both, asomar .7s var(--curva) .2s both; }
:where(html[data-movimiento="reducido"]) .hero > .hero-texto > *, :where(html[data-movimiento="reducido"]) .hero > .vineta { animation: none !important; }
.hero > .credito-placa { animation: asomar .7s var(--curva) .2s both; }
:where(html[data-movimiento="reducido"]) .hero > .credito-placa { animation: none !important; }
@media (max-width: 1100px) {
.idioma-lista { right: auto; left: 0; }
}
.nov-barra {
  position: sticky; top: 4.9rem; z-index: 20;
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem;
  padding: .65rem .8rem .7rem; margin: 1.1rem 0 1.8rem;
}
.nov-barra > .doc-buscador { flex: 1 1 15rem; max-width: 20rem; width: auto; }
#novedades .version, #novedades .dia { scroll-margin-top: var(--nov-tapa, 5.5rem); }
#novedades .nov-barra > .doc-buscador { max-width: 20rem; }
.nov-barra > .nov-filtros { flex: 0 1 auto; }
.nov-barra > .nov-pie { flex: 1 0 100%; }
.nov-barra .doc-buscador,
#novedades .nov-barra .doc-buscador {
  max-width: none; margin: 0;
  background: color-mix(in srgb, var(--texto-fuerte) 6%, transparent);
  border: 1px solid var(--borde);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .1);
}
.nov-barra .doc-buscador:focus-within {
  border-color: color-mix(in srgb, var(--acento) 55%, transparent);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .1), 0 0 0 3px var(--acento-suave);
}
.doc-tecla {
  flex: 0 0 auto; margin-right: .75rem; padding: .08rem .5rem;
  border: 1px solid var(--borde); border-bottom-width: 2px; border-radius: 7px;
  font: 600 .74rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--texto-tenue); background: color-mix(in srgb, var(--texto-fuerte) 5%, transparent);
  transition: opacity var(--rapido) var(--curva);
}
.doc-buscador:focus-within .doc-tecla { opacity: 0; }
@media (hover: none) { .doc-tecla { display: none; } }
.nov-filtros { display: flex; flex-wrap: wrap; gap: .45rem; }
.doc-chips { justify-content: center; margin-top: 1.1rem; }
.filtro {
  --tono: #2563eb;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .5rem .4rem .85rem; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: .86rem; font-weight: 600; letter-spacing: .005em;
  color: var(--texto-suave);
  background: color-mix(in srgb, var(--texto-fuerte) 5%, transparent);
  border: 1px solid var(--borde);
  transition: transform .3s var(--curva), background-color .2s var(--curva), color .2s var(--curva),
              border-color .2s var(--curva), box-shadow .3s var(--curva);
}
.filtro i {
  font-style: normal; font-size: .74rem; font-variant-numeric: tabular-nums;
  padding: .04rem .5rem; border-radius: 999px;
  background: color-mix(in srgb, currentColor 14%, transparent);
}
.filtro:hover {
  transform: translateY(-1px); color: var(--texto-fuerte);
  border-color: color-mix(in srgb, var(--tono) 50%, transparent);
}
.filtro:active { transform: scale(.96); }
.filtro:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }
.filtro.activo {
  color: #fff; background: var(--tono); border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35),
              0 6px 18px -6px color-mix(in srgb, var(--tono) 75%, transparent);
}
.filtro.activo i { background: rgba(255, 255, 255, .24); }
.filtro[data-tipo="todo"], .filtro[data-grupo-filtro] { --tono: #2563eb; }
.v-nov { --tono: #2563eb; }
.v-cam { --tono: #475569; }
.v-fix { --tono: #047857; }
.v-seg { --tono: #b45309; }
.nov-pie { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.nov-meses {
  display: flex; gap: .25rem; flex: 1 1 auto; min-width: 0;
  overflow-x: auto; scrollbar-width: none; padding: .1rem 0;
}
.nov-meses::-webkit-scrollbar { display: none; }
.nov-meses a {
  flex: 0 0 auto; padding: .26rem .75rem; border-radius: 999px;
  font-size: .82rem; font-weight: 600; text-decoration: none; color: var(--texto-tenue);
  transition: background-color .2s var(--curva), color .2s var(--curva);
}
.nov-meses a:hover { color: var(--texto-fuerte); background: color-mix(in srgb, var(--texto-fuerte) 7%, transparent); }
.nov-meses a.activo { color: var(--acento-texto); background: var(--acento-suave); }
.nov-cuenta {
  flex: 0 0 auto; margin: 0; font-size: .82rem; color: var(--texto-tenue);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.doc-chips + .nov-cuenta { text-align: center; margin-top: .7rem; min-height: 1.2em; }
.chip-texto {
  flex: 0 0 auto; padding: .26rem .7rem; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: .82rem; font-weight: 650; color: var(--acento-texto);
  background: transparent; white-space: nowrap;
  transition: background-color .2s var(--curva);
}
.chip-texto:hover { background: var(--acento-suave); }
.chip-texto:focus-visible { outline: 2px solid var(--acento); outline-offset: 1px; }
@media (min-width: 1000px) {
  .nov-dos { display: grid; grid-template-columns: 16.5rem minmax(0, 1fr); gap: 3.2rem; align-items: start; }
  .nov-dos > .nov-barra {
    position: sticky; top: 5.6rem; margin: 0;
    flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 1rem;
    padding: .85rem .7rem; border-radius: 22px;
    max-height: calc(100vh - 6.6rem); overflow-y: auto; scrollbar-width: thin;
  }
  .nov-dos > .nov-barra > .doc-buscador { flex: 0 0 auto; max-width: none; }
  #novedades .nov-dos > .nov-barra > .doc-buscador { max-width: none; }
  .nov-dos .nov-filtros, .nov-dos .nov-meses { display: flex; flex-direction: column; gap: 2px; overflow: visible; }
  .nov-dos .nov-filtros::before, .nov-dos .nov-meses::before {
    content: attr(aria-label); padding: 0 .7rem .35rem;
    font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--texto-tenue);
  }
  .nov-dos .filtro {
    justify-content: flex-start; width: 100%; padding: .48rem .6rem; border-radius: 12px;
    background: transparent; border-color: transparent; color: var(--texto-suave);
  }
  .nov-dos .filtro::before {
    content: ""; flex: 0 0 auto; width: .62rem; height: .62rem; border-radius: 4px; background: var(--tono);
  }
  .nov-dos .filtro i { margin-left: auto; }
  .nov-dos .filtro:hover { transform: none; background: color-mix(in srgb, var(--texto-fuerte) 7%, transparent); }
  .nov-dos .filtro.activo { color: var(--texto-fuerte); background: color-mix(in srgb, var(--tono) 18%, transparent); box-shadow: none; }
  .nov-dos .filtro.activo i { background: color-mix(in srgb, var(--tono) 30%, transparent); }
  .nov-dos .nov-pie { flex-direction: column; align-items: stretch; gap: .6rem; }
  .nov-dos .nov-meses a { padding: .42rem .7rem; border-radius: 10px; }
  .nov-dos .nov-cuenta { padding: 0 .7rem; white-space: normal; }
  .nov-dos .chip-texto { align-self: flex-start; margin-left: .3rem; }
}
@media (max-width: 700px) {
  .nov-barra { position: static; }
  .nov-pie { flex-wrap: wrap; row-gap: .4rem; }
  .nov-meses { flex: 1 0 100%; order: 3; }
}
.dia { margin-bottom: 1.5rem; scroll-margin-top: 11.5rem; }
.dia-titulo {
  position: relative; display: flex; align-items: center; gap: .6rem;
  margin: 0 0 .75rem .25rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--texto-tenue);
}
.dia-n {
  padding: .05rem .55rem; border-radius: 999px; letter-spacing: 0;
  font-size: .7rem; font-variant-numeric: tabular-nums;
  color: var(--acento-texto); background: var(--acento-suave);
}
@media (min-width: 64rem) {
  .dia-titulo::before {
    content: ''; position: absolute; left: calc(-2.1rem - 4px); top: 50%;
    width: 10px; height: 10px; margin-top: -5px; border-radius: 50%;
    background: var(--nov-papel); border: 2px solid var(--texto-tenue);
  }
}
.version { scroll-margin-top: 11.5rem; }
.v-tipos { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .3rem; margin-left: .35rem; vertical-align: middle; }
.v-tipo {
  padding: .1rem .55rem; border-radius: 999px;
  font-size: .66rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; line-height: 1.35;
  color: var(--tono);
  background: color-mix(in srgb, var(--tono) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--tono) 26%, transparent);
}
[data-theme="dark"] .v-tipo { color: color-mix(in srgb, var(--tono) 45%, #fff); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .v-tipo { color: color-mix(in srgb, var(--tono) 45%, #fff); }
}
details.version summary .v-tipos { flex: 0 0 auto; }
details.version summary h3 { flex: 0 0 auto; }
@supports (selector(::details-content)) {
  :root { interpolate-size: allow-keywords; }
  :where(html:not([data-movimiento="reducido"])) details.version::details-content {
    block-size: 0; overflow: clip;
    transition: block-size .4s var(--curva), content-visibility .4s allow-discrete;
  }
  :where(html:not([data-movimiento="reducido"])) details.version[open]::details-content { block-size: auto; }
}
.documento hr + h2 { border-top: 0; padding-top: 0; margin-top: 1.6em; }
.doc-miga {
  display: flex; align-items: center; gap: .5rem; margin: 0 0 .9rem;
  font-size: .82rem; font-weight: 550; color: var(--texto-tenue);
}
.documento .doc-miga a { color: var(--texto-tenue); text-decoration: none; }
.documento .doc-miga a:hover { color: var(--acento-texto); }
.documento .ancla-btn {
  position: absolute; left: -1.45em; bottom: .08em;
  width: 1.3em; height: 1.3em; padding: 0; border: 0; border-radius: 6px; cursor: pointer;
  font: 600 .8em/1.3 inherit; color: var(--acento); background: transparent;
  opacity: 0; transition: opacity var(--rapido) var(--curva), background-color var(--rapido) var(--curva);
}
.documento h2:hover .ancla-btn, .documento h3:hover .ancla-btn, .ancla-btn:focus-visible { opacity: .85; }
.documento .ancla-btn:hover { opacity: 1; background: var(--acento-suave); }
.ancla-btn:focus-visible { outline: 2px solid var(--acento); }
@media (max-width: 900px) {
  .documento .ancla-btn { position: static; margin-left: .35em; width: 1.5em; height: 1.5em; opacity: .55; }
}
.codigo {
  margin: 16px 0; border-radius: 14px; overflow: hidden;
  background: var(--codigo-fondo);
  border: 1px solid rgba(148, 163, 184, .22);
  box-shadow: var(--sombra-2), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.codigo-cab {
  display: flex; align-items: center; gap: .75rem; padding: .45rem .6rem .45rem .9rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
  border-bottom: 1px solid rgba(148, 163, 184, .16);
}
.codigo-puntos { display: inline-flex; gap: 6px; }
.codigo-puntos i { width: 9px; height: 9px; border-radius: 50%; background: rgba(148, 163, 184, .38); }
.codigo-puntos i:nth-child(1) { background: rgba(248, 113, 113, .75); }
.codigo-puntos i:nth-child(2) { background: rgba(251, 191, 36, .75); }
.codigo-puntos i:nth-child(3) { background: rgba(52, 211, 153, .75); }
.codigo-rotulo { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; }
.codigo-copiar {
  margin-left: auto; padding: .22rem .75rem; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: .76rem; font-weight: 650; color: #cbd5e1;
  background: rgba(148, 163, 184, .14); border: 1px solid rgba(148, 163, 184, .25);
  transition: background-color .2s var(--curva), color .2s var(--curva), transform .2s var(--curva);
}
.codigo-copiar:hover { background: rgba(148, 163, 184, .26); color: #fff; }
.codigo-copiar:active { transform: scale(.95); }
.codigo-copiar:focus-visible { outline: 2px solid #93c5fd; outline-offset: 2px; }
.codigo-copiar.hecho { color: #6ee7b7; border-color: rgba(52, 211, 153, .5); background: rgba(52, 211, 153, .14); }
.codigo pre { margin: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.documento blockquote.aviso-doc {
  --tono: var(--acento);
  margin: 18px 0; padding: .8rem 1.05rem .85rem 1.15rem;
  border: 1px solid color-mix(in srgb, var(--tono) 28%, transparent);
  border-left: 3px solid var(--tono); border-radius: 14px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--tono) 12%, transparent),
                                       color-mix(in srgb, var(--tono) 3%, transparent));
  box-shadow: var(--vidrio-luz), var(--sombra-1);
}
.documento blockquote.aviso-ojo { --tono: #d97706; }
.documento blockquote.aviso-doc > :last-child { margin-bottom: 0; }
.aviso-rotulo {
  display: block; margin-bottom: .2rem;
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tono);
}
.aviso-ojo .aviso-rotulo { color: #b45309; }
[data-theme="dark"] .aviso-nota .aviso-rotulo { color: #93c5fd; }
[data-theme="dark"] .aviso-ojo .aviso-rotulo { color: #fcd34d; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .aviso-nota .aviso-rotulo { color: #93c5fd; }
  :root:not([data-theme="light"]) .aviso-ojo .aviso-rotulo { color: #fcd34d; }
}
.doc-pastilla {
  position: absolute; left: .35rem; top: 0; width: 0; height: 0; z-index: 0;
  border-radius: 10px; pointer-events: none; opacity: 0;
  background: color-mix(in srgb, var(--acento) 14%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acento) 30%, transparent), var(--vidrio-luz);
  transition: transform .45s var(--curva), height .45s var(--curva), width .45s var(--curva), opacity .2s;
}
.doc-indice a { position: relative; z-index: 1; }
.doc-indice:has(.doc-pastilla) a.activo { background: transparent; }
@media (max-width: 900px) {
.lateral { position: sticky; top: 5.3rem; z-index: 15; padding: .5rem .65rem; }
  .lateral h4, .lateral .lat-guias { display: none; }
  .lateral:not(:has(.doc-indice)) { display: none; }
  .doc-indice { border-left: 0; padding-left: 0; }
  .doc-indice a.activo { background: color-mix(in srgb, var(--acento) 14%, transparent); border-color: color-mix(in srgb, var(--acento) 35%, transparent); }
}
.guia-ico { transition: transform .4s var(--curva); }
.guia:hover .guia-ico, .guia:focus-visible .guia-ico { transform: scale(1.08) rotate(-3deg); }
.documento img.ampliable { cursor: zoom-in; transition: transform .35s var(--curva), box-shadow .35s var(--curva); }
.documento img.ampliable:hover { transform: scale(1.006); box-shadow: var(--sombra-3); }
.documento img.ampliable:focus-visible { outline: 2px solid var(--acento); outline-offset: 3px; }
.visor {
  position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center;
  padding: clamp(1rem, 4vw, 3rem); cursor: zoom-out;
  background: rgba(2, 6, 23, .62);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  opacity: 0; transition: opacity .28s var(--curva);
}
.visor.visible { opacity: 1; }
.visor img {
  max-width: min(100%, 1400px); max-height: 100%; border-radius: 16px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
  transform: scale(.94); transition: transform .42s var(--curva);
}
.visor.visible img { transform: none; }
.visor-cerrar {
  position: absolute; top: 1rem; right: 1rem; width: 2.7rem; height: 2.7rem;
  display: grid; place-items: center; border-radius: 50%; cursor: pointer; color: #fff;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3);
}
.visor-cerrar:hover { background: rgba(255, 255, 255, .24); }
.visor-cerrar:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.visor-cerrar svg { width: 1.2rem; height: 1.2rem; }
.subir {
  position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem); z-index: 60;
  width: 2.9rem; height: 2.9rem; display: grid; place-items: center; cursor: pointer;
  border-radius: 50%; color: var(--texto-fuerte);
  background: linear-gradient(var(--cristal), var(--cristal)) padding-box, var(--vidrio-canto) border-box;
  border: 1px solid transparent;
  -webkit-backdrop-filter: var(--vidrio-filtro); backdrop-filter: var(--vidrio-filtro);
  box-shadow: var(--sombra-2), var(--vidrio-luz);
  opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none;
  transition: opacity .3s var(--curva), transform .4s var(--curva);
}
.subir.visible { opacity: 1; transform: none; pointer-events: auto; }
.subir:hover { transform: translateY(-2px); }
.subir:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }
.subir svg { width: 1.25rem; height: 1.25rem; }
body:has(.kofi-flota) .subir { bottom: 5rem; }
.aviso-flota {
  position: fixed; left: 50%; bottom: 1.6rem; z-index: 2100;
  padding: .6rem 1.15rem; border-radius: 999px; pointer-events: none;
  font-size: .9rem; font-weight: 650; color: var(--texto-fuerte);
  background: linear-gradient(var(--cristal-denso), var(--cristal-denso)) padding-box, var(--vidrio-canto) border-box;
  border: 1px solid transparent;
  -webkit-backdrop-filter: var(--vidrio-filtro); backdrop-filter: var(--vidrio-filtro);
  box-shadow: var(--sombra-3), var(--vidrio-luz);
  opacity: 0; transform: translate(-50%, 16px);
  transition: opacity .25s var(--curva), transform .4s var(--curva);
}
.aviso-flota.visible { opacity: 1; transform: translate(-50%, 0); }
.rev { transition: opacity .65s var(--curva), transform .65s var(--curva); }
:where(html:not([data-movimiento="reducido"])) .rev:not(.rev-ok) { opacity: 0; transform: translateY(18px) scale(.985); }
:where(html[data-movimiento="reducido"]) .filtro,
:where(html[data-movimiento="reducido"]) .doc-pastilla,
:where(html[data-movimiento="reducido"]) .visor,
:where(html[data-movimiento="reducido"]) .visor img,
:where(html[data-movimiento="reducido"]) .subir,
:where(html[data-movimiento="reducido"]) .aviso-flota,
:where(html[data-movimiento="reducido"]) .guia-ico,
:where(html[data-movimiento="reducido"]) .rev { transition: none; }
@media (prefers-reduced-transparency: reduce) {
  .nov-barra, .subir, .aviso-flota {
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: linear-gradient(var(--cristal-denso), var(--cristal-denso)) padding-box, var(--vidrio-canto) border-box;
  }
  .visor { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(2, 6, 23, .92); }
}
@media print {
  .nov-barra, .subir, .aviso-flota, .visor, .ancla-btn, .codigo-copiar, .doc-pastilla { display: none !important; }
}
html.cristal-refracta { --cristal-fino: rgba(255, 255, 255, .55); }
html.cristal-refracta[data-theme="dark"] { --cristal-fino: rgba(30, 41, 59, .42); }
@media (prefers-color-scheme: dark) {
  html.cristal-refracta:not([data-theme="light"]) { --cristal-fino: rgba(30, 41, 59, .42); }
}
html.cristal-refracta :is(.barra, .nov-barra, .subir, .aviso-flota, .foco-caja, .vidrio-vivo) { --cristal: var(--cristal-fino); }
.version.destacada {
  padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.3rem, 3vw, 2.4rem);
  margin-bottom: 1.4rem;
  background:
    radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--acento) 16%, transparent), transparent 55%),
    radial-gradient(90% 120% at 100% 100%, color-mix(in srgb, #8b5cf6 14%, transparent), transparent 60%),
    linear-gradient(var(--cristal), var(--cristal)) padding-box,
    linear-gradient(135deg, color-mix(in srgb, var(--acento) 70%, #fff), rgba(167, 139, 250, .55) 45%, rgba(255, 255, 255, .08)) border-box;
  box-shadow: var(--sombra-3), var(--vidrio-luz), 0 0 0 1px color-mix(in srgb, var(--acento) 18%, transparent);
}
.destacada-rotulo {
  margin: 0 0 .35rem; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--acento-texto);
}
.version.destacada h3 { font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.6rem); gap: 14px; letter-spacing: -.03em; }
.version.destacada .num { color: var(--acento-texto); }
.version.destacada .fecha { font-size: .9rem; }
.version.destacada .v-tipos { margin-left: 0; margin-top: .55rem; display: flex; }
.destacada-areas {
  margin: .9rem 0 .4rem; font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); font-weight: 600;
  color: var(--texto-fuerte); letter-spacing: -.01em;
}
.version.destacada > h4:first-of-type { margin-top: 1.4rem; }
@media (min-width: 64rem) {
  .version.hito::after, .version.destacada::after {
    width: 18px; height: 18px; left: calc(-2.1rem - 8px); top: 22px;
    box-shadow: 0 0 0 4px var(--nov-papel), 0 0 0 7px color-mix(in srgb, var(--acento) 35%, transparent),
                0 0 18px color-mix(in srgb, var(--acento) 60%, transparent);
  }
}
details.version { padding: 12px 18px; margin-bottom: 8px; }
details.version[open] { padding-bottom: 18px; }
.foco-lista { display: grid; gap: 2px; max-height: min(26rem, 60vh); overflow-y: auto; padding: .35rem; }
.foco-en-linea {
  max-width: 40rem; margin: .7rem auto 0; position: relative; z-index: 5;
  border-radius: 18px;
  background: linear-gradient(var(--cristal-denso), var(--cristal-denso)) padding-box, var(--vidrio-canto) border-box;
  border: 1px solid transparent;
  -webkit-backdrop-filter: var(--vidrio-filtro); backdrop-filter: var(--vidrio-filtro);
  box-shadow: var(--sombra-3), var(--vidrio-luz);
}
.foco-item {
  display: grid; gap: .2rem; padding: .65rem .85rem; border-radius: 12px;
  text-decoration: none; color: var(--texto-suave);
  transition: background-color .15s var(--curva);
}
.foco-item:hover, .foco-item.activo { background: color-mix(in srgb, var(--acento) 13%, transparent); text-decoration: none; }
.foco-item.activo { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acento) 35%, transparent); }
.foco-cab { display: flex; align-items: baseline; gap: .6rem; min-width: 0; }
.foco-cab b { color: var(--texto-fuerte); font-size: .95rem; font-weight: 650; }
.foco-guia {
  font-size: .74rem; font-weight: 600; color: var(--acento-texto); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.foco-texto { font-size: .84rem; line-height: 1.5; color: var(--texto-suave); }
.foco-texto mark {
  color: var(--texto-fuerte); background: color-mix(in srgb, var(--acento) 26%, transparent);
  border-radius: 4px; padding: 0 .12em;
}
.foco-nada { margin: .8rem; text-align: center; color: var(--texto-tenue); font-size: .9rem; }
:where(html:not([data-movimiento="reducido"])) .foco-item { animation: foco-entra .32s var(--curva) both; animation-delay: calc(var(--i, 0) * 28ms); }
@keyframes foco-entra { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.foco {
  position: fixed; inset: 0; z-index: 1900;
  display: flex; justify-content: center; align-items: flex-start;
  padding: clamp(4rem, 14vh, 9rem) 1rem 1rem;
  background: rgba(2, 6, 23, .45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .22s var(--curva);
}
.foco.visible { opacity: 1; }
.foco-caja {
  width: min(40rem, 100%); overflow: hidden; border-radius: 22px;
  background: linear-gradient(var(--cristal-denso), var(--cristal-denso)) padding-box, var(--vidrio-canto) border-box;
  border: 1px solid transparent;
  -webkit-backdrop-filter: var(--vidrio-filtro); backdrop-filter: var(--vidrio-filtro);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6), var(--vidrio-luz);
  transform: translateY(-10px) scale(.97); transition: transform .32s var(--curva);
}
.foco.visible .foco-caja { transform: none; }
.foco-linea {
  display: flex; align-items: center; gap: .75rem; padding: .95rem 1.1rem;
  border-bottom: 1px solid var(--borde);
}
.foco-linea svg { width: 20px; height: 20px; color: var(--texto-tenue); flex: 0 0 auto; }
.foco-campo {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 1.08rem; color: var(--texto-fuerte);
}
.foco-campo::placeholder { color: var(--texto-tenue); }
.foco-campo:focus, .foco-campo:focus-visible { outline: none; box-shadow: none; }
.foco-linea:focus-within { background: color-mix(in srgb, var(--acento) 5%, transparent); }
.foco kbd, .doc-abrir-foco kbd {
  font: 600 .7rem/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  padding: 0 .4rem; border-radius: 6px; color: var(--texto-tenue);
  border: 1px solid var(--borde); border-bottom-width: 2px;
  background: color-mix(in srgb, var(--texto-fuerte) 5%, transparent);
}
.foco .foco-lista:not([hidden]) { border-bottom: 1px solid var(--borde); }
.foco-pie {
  display: flex; gap: 1.1rem; margin: 0; padding: .6rem 1.1rem;
  font-size: .76rem; color: var(--texto-tenue);
}
.foco-pie kbd { margin-right: .2rem; }
@media (hover: none) { .foco-pie { display: none; } }
.doc-abrir-foco {
  display: flex; align-items: center; gap: .55rem; width: 100%; margin: 0 0 1rem;
  padding: .55rem .7rem; border-radius: 12px; cursor: pointer;
  font: inherit; font-size: .86rem; color: var(--texto-tenue);
  background: color-mix(in srgb, var(--texto-fuerte) 5%, transparent);
  border: 1px solid var(--borde);
  transition: border-color .2s var(--curva), color .2s var(--curva);
}
.doc-abrir-foco:hover { color: var(--texto-fuerte); border-color: color-mix(in srgb, var(--acento) 45%, transparent); }
.doc-abrir-foco svg { width: 16px; height: 16px; flex: 0 0 auto; }
.doc-abrir-foco span { flex: 1; text-align: left; }
@media (max-width: 900px) { .doc-abrir-foco { display: none; } }
.doc-bento-seccion { margin: 0 0 clamp(2.2rem, 5vw, 3.4rem); }
.doc-bento {
  display: grid; gap: 14px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.cat {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; text-align: left; cursor: pointer;
  grid-column: span 3; padding: 0;
  font: inherit; color: inherit;
  border-radius: var(--radio-g);
  background: linear-gradient(var(--cristal), var(--cristal)) padding-box, var(--vidrio-canto) border-box;
  border: 1px solid transparent;
  -webkit-backdrop-filter: var(--vidrio-filtro); backdrop-filter: var(--vidrio-filtro);
  box-shadow: var(--sombra-2), var(--vidrio-luz);
  transition: transform .45s var(--curva), box-shadow .45s var(--curva);
}
.cat-empezar { grid-column: span 4; }
.cat-tema { grid-column: span 2; }
.cat-apuro { grid-column: span 3; }
.cat-ref { grid-column: span 3; }
.cat-dibujo { display: block; flex: 0 0 auto; height: clamp(8rem, 13vw, 10.5rem); }
.cat-dibujo .vineta { width: 100%; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; }
.cat-txt {
  display: grid; gap: .15rem; padding: .95rem 1.15rem 1.05rem;
  border-top: 1px solid var(--borde);
}
.cat-txt b { font-size: 1.12rem; letter-spacing: -.015em; color: var(--texto-fuerte); }
.cat-txt small { font-size: .86rem; line-height: 1.45; color: var(--texto-suave); }
.cat-txt i { margin-top: .3rem; font-style: normal; font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--acento-texto); }
.cat:hover { transform: translateY(-3px); box-shadow: var(--sombra-3), var(--vidrio-luz); }
.cat:focus-visible { outline: 2px solid var(--acento); outline-offset: 3px; }
.cat.activo { box-shadow: var(--sombra-3), var(--vidrio-luz), 0 0 0 2px var(--acento); }
.cat::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: radial-gradient(18rem 18rem at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--acento) 14%, transparent), transparent 70%);
  opacity: 0; transition: opacity .35s var(--curva);
}
.cat:hover::after { opacity: 1; }
@media (max-width: 760px) {
  .doc-bento { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .cat, .cat-tema, .cat-apuro, .cat-ref { grid-column: span 1; min-height: 0; }
  .cat-empezar { grid-column: span 2; }
  .cat-dibujo { min-height: 6.5rem; max-height: 7.5rem; }
  .cat-txt small { display: none; }
}
:where(html[data-movimiento="reducido"]) .cat { transition: none; }
.documento { --medida: 68ch; }
.documento h1 { font-size: clamp(2.1rem, 1.2rem + 3vw, 3.3rem); letter-spacing: -.04em; line-height: 1.02; }
.documento .doc-ficha + p {
  font-size: clamp(1.08rem, 1rem + .35vw, 1.24rem); line-height: 1.6; color: var(--texto-fuerte);
  letter-spacing: -.005em; margin-bottom: 1.4rem;
}
.documento p, .documento li { font-size: clamp(1rem, .97rem + .15vw, 1.06rem); line-height: 1.75; }
.documento h2 { letter-spacing: -.03em; }
.documento .doc-ficha {
  display: inline-flex; gap: .5rem; align-items: center; line-height: 1.5; margin: .2rem 0 1.2rem;
  padding: .2rem .75rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
  color: var(--acento-texto); background: var(--acento-suave);
}
.dia { content-visibility: auto; contain-intrinsic-size: auto 700px; }
@media (min-width: 64rem) { .dia { margin-left: -3rem; padding-left: 3rem; } }
