/* El Factual · Especial Elecciones Generales 29-N · Pass 12: «El 29-N en seis claves»
   Seis láminas de infografía de prensa sobre la hoja de El Factual (#fcfbf9, tinta #141311, filetes #dfdbd3).
   Literata (tamaño óptico de cartel) para titulares y cifras gigantes; Archivo para etiquetas y controles.
   El color de partido vive solo en medallones y en las marcas de cada gráfico.
   Sin <select>, sin <table>, sin desbordamiento horizontal, texto ≥ 12 px, objetivos táctiles ≥ 44 px. */

:root { font-family: 'Archivo', system-ui, -apple-system, sans-serif; }

.e29 {
  --ink: #141311;
  --ink-2: #38342e;
  --muted: #625c53;
  --rule: #dfdbd3;
  --rule-soft: #ece9e2;
  --paper: #fcfbf9;
  --soft: #f4f1eb;
  --accent: #2c5982;
  --favor: #18633c;
  --matiz: #4f5b69;
  --contra: #9e1b2f;
  --serif: 'Literata', Georgia, serif;
  --sans: 'Archivo', system-ui, -apple-system, sans-serif;
  --bar-h: 95px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

html { scroll-behavior: smooth; scroll-padding-top: 108px; }
@media (min-width: 900px) { html { scroll-padding-top: 84px; } }
html, body { overflow-x: clip; margin: 0; padding: 0; background: #fcfbf9; color: #141311; }
*, *::before, *::after { box-sizing: border-box; }
::selection { background: #d6e2ee; color: #141311; }
body { --paper: #fcfbf9; }

.sr, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.e29 [hidden] { display: none !important; }
.muted { color: var(--muted); }

.e29-skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; border-radius: 4px; background: #141311; color: #fff; font: 700 13px 'Archivo', sans-serif; }
.e29-skip:focus { left: 8px; }

/* ---------- Cabecera y pie del sitio (perspectives.css) con mínimos de legibilidad ---------- */
.archive-banner { padding: 8px 14px; background: #141311; font-size: 12px; letter-spacing: .05em; }
.archive-banner .up { text-transform: none; }
.edition-label { font-size: 12px; }
.footer-ai-notice, footer, .footer { font-size: 12px; }
.site-header .toolbar { justify-content: center; }
/* Móvil: cabecera compacta del sitio en vivo (marca a la izquierda); el menú vive en la barra fija. */
@media (max-width: 700px) {
  .archive-banner { padding: 5px 12px; letter-spacing: .04em; }
  .site-header .site-navigation { display: none; }
  .masthead { display: flex; align-items: center; min-height: 44px; margin: 6px 0 0; font-size: clamp(30px, 8.6vw, 40px); line-height: 1; text-align: left; }
  .strapline { margin: 0 0 6px; text-align: left; font-size: 13px; }
  .site-header .toolbar { display: none; }
  .plate { margin-top: 24px; }
}

/* Botones: reinicio frente a perspectives.css */
.e29 button:not(:where(.subscribe-section *, .feedback-section *)) {
  font: inherit; color: inherit; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none;
  letter-spacing: normal; text-transform: none; cursor: pointer;
}
.e29 button[aria-pressed="true"]:not(:where(.subscribe-section *, .feedback-section *)) { color: inherit; background: none; border-color: transparent; }
.e29 :is(h1, h2, h3):not(:where(.subscribe-section *, .feedback-section *)) {
  margin: 0; font-family: var(--serif); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance;
}
.e29 p:not(:where(.subscribe-section *, .feedback-section *)) { margin: 0; }
.e29 a { color: inherit; text-underline-offset: 3px; }
.e29 img, .e29 svg { max-width: 100%; }
.e29 :focus-visible, .e29-bar :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.e29 ol, .e29 ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Logos: siempre el logotipo real en medallón redondo con fondo blanco opaco ---------- */
.e29 .logo { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; overflow: hidden; border-radius: 50%; background-color: #ffffff; border: 1.5px solid var(--pc, var(--rule)); }
.e29 .logo--text { background-color: #ffffff; }
.logo__txt { max-width: 92%; overflow: hidden; font: 800 calc(var(--lpx, 32px) * .26)/1 var(--sans); letter-spacing: -0.02em; color: var(--pc, var(--ink)); text-align: center; white-space: nowrap; text-overflow: clip; }
.e29 .logo--xs .logo__txt { font-size: 7px; }
.e29 .logo--sm .logo__txt { font-size: 9px; }
.e29 .logo--md .logo__txt { font-size: 11px; }
.e29 .logo--lg .logo__txt { font-size: 14px; }
.e29 .logo img { display: block; width: 78%; height: 78%; object-fit: contain; }
.e29 .logo--xs { width: 24px; height: 24px; border-width: 1px; }
.e29 .logo--sm { width: 32px; height: 32px; }
.e29 .logo--md { width: 44px; height: 44px; border-width: 2px; }
.e29 .logo--lg { width: 60px; height: 60px; border-width: 2.5px; }
.e29 .logo--wide { border-radius: 50%; width: auto; }
.e29 .logo--wide img { width: 78%; height: 78%; }
.e29 .logo--xs.logo--wide img { width: 78%; height: 78%; }
.e29 .logo--tile { border-radius: 50%; border: 1.5px solid var(--pc, var(--rule)); background-color: #ffffff; padding: 2px; }
.e29 .logo--tile img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ---------- Barra fija: marca · selector de partidos · suscripción · menú ---------- */
.e29-bar { position: sticky; top: 0; z-index: 60; background: rgba(252, 251, 249, 0.97); border-bottom: 1px solid var(--rule); -webkit-backdrop-filter: saturate(1.4) blur(6px); backdrop-filter: saturate(1.4) blur(6px); }
.e29-bar.is-stuck { box-shadow: 0 6px 18px -10px rgba(20, 19, 17, 0.35); }
.bar__row {
  width: min(1320px, calc(100% - 20px)); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-rows: 44px 50px;
  grid-template-areas: "brand cta menu" "strip strip strip"; column-gap: 6px; align-items: center;
}
.bar__brand, .bar__title { grid-area: brand; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; white-space: nowrap; }
.bar__brand { font: 900 20px/1 Georgia, 'Times New Roman', serif; letter-spacing: -0.045em; color: var(--ink); }
.bar__title { font: 700 14px/1 var(--sans); color: var(--ink-2); }
.e29-bar:not(.is-stuck) .bar__brand { display: none; }
.e29-bar.is-stuck .bar__title { display: none; }
.e29-bar .bar__cta { grid-area: cta; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 4px; background: var(--ink); color: #fff; font: 700 14px/1 var(--sans); text-decoration: none; white-space: nowrap; }
.e29-bar .bar__cta:hover { background: #38342e; color: #fff; }
.bar__menu, .bar__menu:last-child { grid-area: menu; position: relative; margin: 0; padding: 0; border: 0; }
.bar__menu > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 4px; background: #fff; font: 700 14px/1 var(--sans); list-style: none; cursor: pointer; }
.bar__menu > summary::-webkit-details-marker { display: none; }
.bar__menu[open] > summary { border-color: var(--ink); }
.bar__nav { position: absolute; top: calc(100% + 8px); right: 0; z-index: 2; display: flex; flex-direction: column; width: min(300px, calc(100vw - 20px)); padding: 6px 12px; background: #fff; border: 1px solid var(--rule); border-radius: 6px; box-shadow: 0 14px 34px -12px rgba(20, 19, 17, 0.35); }
.bar__nav a { display: flex; align-items: center; min-height: 44px; border-top: 1px solid var(--rule-soft); font: 700 14px/1.2 var(--sans); text-decoration: none; }
.bar__nav a:first-child { border-top: 0; }
.bar__nav a:hover { text-decoration: underline; }

.bar__sel { grid-area: strip; display: flex; align-items: center; gap: 4px; min-width: 0; }
.bar__strip { flex: 1 1 auto; min-width: 0; height: 50px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 18px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 18px), transparent); }
.bar__strip::-webkit-scrollbar { display: none; }
.strip { display: flex; align-items: center; gap: 2px; height: 50px; width: max-content; padding-right: 18px; }
.e29 .med { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 6px; border-radius: 22px; flex: 0 0 auto; transition: background-color .2s, box-shadow .2s; }
.e29 .med .logo { transition: transform .2s; }
.e29 .med__s { display: none; font: 800 14px/1 var(--sans); color: var(--ink); white-space: nowrap; }
.e29 .med[aria-pressed="true"] { padding: 0 12px 0 6px; background: #fff; box-shadow: inset 0 0 0 2px var(--pc); }
.e29 .med[aria-pressed="true"] .med__s { display: inline; }
@media (hover: hover) { .e29 .med:hover .logo { transform: scale(1.08); } }
.e29 .strip__edit { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--ink); border-radius: 22px; background: #fff; font: 700 13px/1 var(--sans); white-space: nowrap; }
.e29 .strip__more { display: inline-flex; align-items: center; gap: 6px; height: 44px; margin-left: 4px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 22px; background: #fff; font: 700 13px/1 var(--sans); color: var(--ink); white-space: nowrap; flex: 0 0 auto; }
.e29 .strip__edit[aria-expanded="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.e29 .strip__stack { display: inline-flex; }
.e29 .strip__stack .logo + .logo { margin-left: -8px; box-shadow: -2px 0 0 #fff; }
@media (hover: hover) { .e29 .strip__more:hover, .e29 .strip__edit:hover { border-color: var(--ink); } }

@media (min-width: 900px) {
  .bar__row { width: min(1320px, calc(100% - 36px)); grid-template-columns: auto auto minmax(0, 1fr) auto auto; grid-template-rows: 60px; grid-template-areas: "brand title strip cta menu"; column-gap: 14px; }
  .e29-bar .bar__brand { display: inline-flex; }
  .e29-bar .bar__title { display: inline-flex; grid-area: title; padding-left: 14px; border-left: 1px solid var(--rule); }
  .e29-bar:not(.is-stuck) :is(.bar__brand, .bar__cta, .bar__menu) { display: none; }
  .e29-bar:not(.is-stuck) .bar__title { padding-left: 0; border-left: 0; }
  .bar__strip { height: 60px; }
  .strip { height: 60px; }
}

/* Selector único de partidos (#tray, un <dialog> modal): el mismo para la barra (varios) y para cada vista de un
   partido (uno). Mismo aspecto, mismo orden (CIS) y mismo buscador en los dos modos. */
.tray { width: min(1320px, 100%); max-width: 100%; max-height: calc(100dvh - 16px); margin: 8px auto auto; padding: 0; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 28px 64px -18px rgba(20, 19, 17, 0.48); }
.tray::backdrop { background: rgba(20, 19, 17, 0.5); }
@media (max-width: 559px) { .tray { margin-top: 0; max-height: 100dvh; border-radius: 0 0 12px 12px; } }
.tray__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 8px 12px 6px 16px; background: var(--paper); }
.tray__title { margin: 0 auto 0 0; font: 800 18px/1.2 var(--serif); }
.tray__sub { margin: 0 16px 4px !important; font: 400 14px/1.4 var(--sans); color: var(--ink-2); }
.tray__find { position: sticky; top: 58px; z-index: 2; display: flex; align-items: center; gap: 8px; margin: 0 16px; padding: 0 12px; min-height: 44px; border: 1px solid var(--rule); border-radius: 22px; background: #fff; color: var(--muted); }
.tray__find:focus-within { border-color: var(--ink); color: var(--ink); }
.e29 .tray__q { flex: 1; min-width: 0; min-height: 42px; border: 0; background: transparent; font: 500 16px/1.2 var(--sans); color: var(--ink); outline: none; }
.e29 .tray__reset { min-height: 44px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 22px; background: #fff; font: 700 13px/1 var(--sans); }
.e29 .tray__close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.tray__body { padding: 0 16px 18px; }
.tray__body .empty { margin-top: 14px; }
.tray__tier-t { margin: 10px 0 6px; font: 700 13px/1.2 var(--sans); color: var(--muted); }
.tray__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.e29 .tchip { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 4px 10px 4px 6px; border: 1px solid var(--rule); border-radius: 30px; background: #fff; text-align: left; }
.e29 .tchip[aria-pressed="true"] { border-color: var(--pc); box-shadow: inset 0 0 0 1.5px var(--pc); background: #fff; }
.e29 .tchip[disabled] { opacity: .5; cursor: not-allowed; }
@media (hover: hover) { .e29 .tchip:not([disabled]):hover { border-color: var(--ink); } }
.tchip__n { display: flex; flex-direction: column; min-width: 0; flex: 1; font: 800 14px/1.15 var(--sans); }
.tchip__n small { font: 500 12px/1.2 var(--sans); color: var(--muted); }
.tchip__k { display: inline-flex; width: 22px; height: 22px; color: var(--muted); }
.tchip[aria-pressed="true"] .tchip__k { color: var(--pc); }
.tchip__k svg { width: 18px; height: 18px; }

/* Botón que abre el selector en modo «uno»: logo + nombre grandes de cada vista de un partido (ficha, programa,
   análisis detallado) y cada lado del cara a cara. */
.e29 .pkb { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; min-width: 0; min-height: 44px; padding: 4px 6px 4px 0; border: 0; border-radius: 12px; background: transparent; color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.pkb__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pkb__n { font: 800 clamp(22px, 4.2vw, 32px)/1.08 var(--serif); letter-spacing: -0.01em; overflow-wrap: break-word; }
.pkb__s { font: 400 14px/1.35 var(--sans); color: var(--muted); }
.pkb__chev { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--rule); border-radius: 50%; background: #fff; color: var(--ink-2); transition: transform .18s cubic-bezier(.16, 1, .3, 1), border-color .18s; }
.e29 .pkb[aria-expanded="true"] .pkb__chev { transform: rotate(180deg); border-color: var(--ink); }
@media (hover: hover) { .e29 .pkb:hover .pkb__chev { border-color: var(--ink); color: var(--ink); } .e29 .pkb:hover .pkb__n { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; } }
.e29 .pkb--lg .pkb__n { font-size: clamp(21px, 4vw, 30px); }
.e29 .pkb--xl .pkb__n { font: inherit; }
.e29 .pkb--slot { width: 100%; gap: 8px; min-height: 52px; padding: 6px 8px 6px 8px; border: 1.5px solid var(--pc, var(--rule)); border-radius: 28px; background: #fff; }
.e29 .pkb--slot .pkb__txt { flex: 1 1 auto; gap: 2px; }
.e29 .pkb--slot .pkb__n { font: 800 14.5px/1.15 var(--sans); letter-spacing: 0; }
.e29 .pkb--slot .pkb__s { font: 500 12px/1.2 var(--sans); font-variant-numeric: tabular-nums; }
.e29 .pkb--slot .pkb__chev { width: 24px; height: 24px; border: 0; background: transparent; }
@media (hover: hover) { .e29 .pkb--slot:hover { background: color-mix(in srgb, var(--pc) 6%, #fff); } .e29 .pkb--slot:hover .pkb__n { text-decoration: none; } }
@media (min-width: 640px) { .e29 .pkb--slot { min-height: 58px; padding: 8px 14px 8px 10px; gap: 10px; border-radius: 32px; } .e29 .pkb--slot .pkb__n { font-size: 17px; } }

/* ---------- Página ---------- */
.page.e29 { padding-top: 0; }
.hero { padding: 28px 0 8px; }
.hero__title { font-size: clamp(40px, 11vw, 88px); font-variation-settings: 'opsz' 72; letter-spacing: -0.035em !important; line-height: .98 !important; max-width: 12ch; }
.hero__dek { margin-top: 14px !important; max-width: 52ch; font: 400 18px/1.5 var(--serif); color: var(--ink-2); }
@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "t d" "t toc" "t sh"; column-gap: 48px; align-items: end; padding-top: 34px; }
  .hero__title { grid-area: t; font-size: clamp(56px, 6.4vw, 84px); align-self: center; }
  .hero__dek { grid-area: d; margin: 0 !important; }
  .hero__toc { grid-area: toc; margin: 16px 0 12px !important; }
  .hero__share { grid-area: sh; }
}
.hero__share-mini { display: none; align-items: center; gap: 8px; font: 700 14px/1 var(--sans); color: var(--ink-2); }
@media (max-width: 699px) {
  .hero { padding-top: 20px; }
  .hero__title { font-size: clamp(36px, 10.4vw, 46px); }
  .hero__dek { font-size: 16.5px; margin-top: 10px !important; }
  .hero__toc { display: none !important; }
  .hero__share-full { display: none; }
  .hero__share-mini { display: flex; margin-top: 8px !important; }
}
.hero__toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 16px; }
.hero__toc a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 6px; border: 1px solid var(--rule); border-radius: 22px; background: #fff; font: 700 14px/1 var(--sans); text-decoration: none; }
.hero__toc a:hover { border-color: var(--ink); }
.toc__n { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font: 800 14px/1 var(--serif); }
.e29 .share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

/* Lámina */
.plate { position: relative; margin-top: 36px; padding: 26px 0 8px; border-top: 2px solid var(--ink); }
.plate__head { padding-right: 52px; margin-bottom: 18px; }
.plate__head h2 { font-size: clamp(30px, 7.6vw, 54px); font-variation-settings: 'opsz' 72; letter-spacing: -0.03em !important; }
.section__dek { margin-top: 10px !important; max-width: 62ch; font: 400 16px/1.5 var(--sans); color: var(--ink-2); }
.plate__share { position: absolute; top: 24px; right: 0; }
.plate__fig { min-width: 0; }
.plate__lead { margin-bottom: 12px !important; font: 400 19px/1.4 var(--serif); }
.plate__lead b { font-weight: 800; }
/* Pass 37 · «Noticias con datos» en portada: tira entre la cabecera y «De qué habla cada partido».
   Móvil: lista vertical sin imágenes; desde 900 px, tres columnas. */
.dnews .plate__head { padding-right: 0; margin-bottom: 10px; }
.dnews .plate__head h2 { font-size: clamp(26px, 6vw, 36px); }
.dnews__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.dnews__item { min-width: 0; border-bottom: 1px solid var(--rule); }
.e29 .dnews__card { display: flex; flex-direction: column; gap: 4px; min-height: 44px; padding: 14px 0; color: var(--ink); text-decoration: none; }
.dnews__kicker { font: 700 12px/1.3 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.dnews__t { font: 700 19px/1.25 var(--serif); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.dnews__d { font: 400 15px/1.45 var(--sans); color: var(--ink-2); overflow-wrap: anywhere; }
@media (hover: hover) { .e29 .dnews__card:hover .dnews__t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; } }
.e29 .dnews__card:focus-visible .dnews__t { text-decoration: underline; text-underline-offset: 3px; }
.dnews__all, .dnews__fallback { margin: 6px 0 0 !important; }
@media (min-width: 900px) {
  .dnews__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; border-top: 0; }
  .dnews__item { border-bottom: 0; border-top: 1px solid var(--rule); }
  .dnews__t { font-size: 21px; }
}
.plate__note { margin-top: 10px !important; font: 400 13.5px/1.45 var(--sans); color: var(--muted); }
.fig__t { margin: 0 0 10px !important; font: 800 20px/1.2 var(--serif) !important; }
.empty { padding: 14px 0; color: var(--muted); font-size: 14.5px; }

.e29 .shm { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule); background: #fff; color: var(--ink-2); flex: 0 0 auto; }
.e29 .shm svg { width: 18px; height: 18px; }
.e29 .shm[aria-expanded="true"], .e29 .shm:hover { border-color: var(--ink); color: var(--ink); }
.e29 .srcb { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 6px; margin-left: 2px; font: 700 13px/1.1 var(--sans); color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; white-space: nowrap; vertical-align: middle; }
.e29 .srcb:hover { color: #16324f; text-decoration-thickness: 2px; }
.e29 .linkbtn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font: 700 14px/1 var(--sans); color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.e29 .linkbtn:disabled { color: var(--muted); opacity: .6; text-decoration: none; cursor: default; }
.e29 .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 4px; border: 1px solid var(--ink); background: #fff; font: 700 15px/1 var(--sans); }
.e29 .btn--primary { background: var(--ink); color: #fff; }
.e29 .btn--primary:hover { background: #38342e; }
.e29 .msrc { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto; }
.e29 .msrc .logo { transition: transform .15s; }
.e29 .msrc:hover .logo { transform: scale(1.1); }
.e29 .msrc.is-strong .logo { box-shadow: 0 0 0 2.5px var(--pc); }

/* ---------- 1 · Marcador del CIS ---------- */
.sb__axis { display: none; }
.sb__list { border-top: 1px solid var(--rule); }
.sb { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who pct" "seats src"; align-items: center; column-gap: 10px; padding: 8px 0 6px; border-bottom: 1px solid var(--rule); transition: background-color .25s; }
.sb.is-on { background: linear-gradient(90deg, color-mix(in srgb, var(--pc) 9%, transparent), transparent 85%); }
.e29 .sb__who { grid-area: who; display: flex; align-items: center; gap: 10px; min-height: 48px; min-width: 0; text-align: left; }
.sb__name { display: flex; flex-direction: column; min-width: 0; }
.sb__name b { font: 800 17px/1.1 var(--sans); }
.sb__name small { font: 400 13px/1.25 var(--sans); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb__pct { grid-area: pct; font: 800 clamp(34px, 10vw, 60px)/1 var(--serif); font-variation-settings: 'opsz' 72; font-variant-numeric: tabular-nums lining-nums; color: var(--pc); letter-spacing: -0.03em; text-align: right; }
.sb__pct small { margin-left: 2px; font-size: .45em; font-weight: 700; }
.sb__seats { grid-area: seats; display: flex; flex-direction: column; gap: 4px; padding-left: 54px; min-width: 0; }
.sb__track { position: relative; height: 10px; background: var(--rule-soft); border-radius: 5px; }
.sb__fill { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: var(--pc); transform-origin: left; animation: sbGrow .7s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--d, 0) * 45ms); }
.sb__maj { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--ink); }
.sb__st { font: 600 13px/1.2 var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sb__src { grid-area: src; justify-self: end; }
.sb__majkey { display: inline-block; width: 2px; height: 12px; margin: 0 4px -1px; background: var(--ink); }
@keyframes sbGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (min-width: 760px) {
  .sb__axis { display: grid; grid-template-columns: 260px 150px minmax(0, 1fr) 90px; padding: 0 0 6px; font: 700 13px/1.2 var(--sans); color: var(--muted); }
  .sb__axis span:first-child { grid-column: 2; text-align: right; }
  .sb__axis span:last-child { grid-column: 3; padding-left: 28px; }
  .sb { grid-template-columns: 260px 150px minmax(0, 1fr) 90px; grid-template-areas: "who pct seats src"; padding: 6px 0; }
  .sb__seats { padding-left: 28px; }
}

/* ---------- 2 · Quién coincide con quién ---------- */
.e29 .tpc { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px 0 8px; border: 1px solid var(--rule); border-radius: 22px; background: #fff; font: 700 14px/1 var(--sans); color: var(--ink-2); text-align: left; }
@media (hover: hover) { .e29 .tpc:hover { border-color: var(--ink); color: var(--ink); } }
.duel { margin-top: 6px; scroll-margin-top: 120px; }
.duel__head { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 8px; }
.duel__vs-sep { align-self: center; font: italic 400 14px/1 var(--serif); color: var(--muted); padding: 0 2px; white-space: nowrap; }
.duel__vs-long { display: none; }
.duel__vs-short { display: inline; }
@media (min-width: 480px) {
  .duel__vs-long { display: inline; }
  .duel__vs-short { display: none; }
}
@media (min-width: 640px) {
  .duel__head { gap: 14px; }
}
.duel__lead { margin-top: 14px !important; font: 400 15px/1.4 var(--sans); color: var(--ink-2); }
.duel__nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; margin-top: 8px; }
@media (min-width: 700px) { .duel__nums { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dn { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding-top: 8px; border-top: 3px solid var(--kc); }
.dn--ok, .dg--ok { --kc: var(--favor); }
.dn--alc, .dg--alc { --kc: #4c7d3a; }
.dn--mid, .dg--mid { --kc: var(--matiz); }
.dn--ko, .dg--ko { --kc: var(--contra); }
.dn__p { font: 800 clamp(34px, 10vw, 56px)/1 var(--serif); font-variation-settings: 'opsz' 72; color: var(--kc); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -0.03em; }
.dn__p small { font-size: .42em; letter-spacing: 0; }
.dn__t { font: 800 15px/1.2 var(--sans); color: var(--ink); }
.dn__n { font: 400 13px/1.3 var(--sans); color: var(--muted); }
.tri { display: flex; gap: 2px; height: 10px; margin-top: 12px; border-radius: 5px; overflow: hidden; background: var(--rule-soft); }
.tri i { display: block; height: 100%; }
.tri__ok { background: var(--favor); }
.tri__alc { background: #8fbf86; }
.tri__mid { background: #a3abb5; }
.tri__ko { background: var(--contra); }
.duel__share { display: flex; justify-content: flex-end; margin-top: 8px; }
.duel__groups { display: grid; gap: 26px; margin-top: 12px; }
@media (min-width: 900px) { .duel__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
@media (min-width: 1200px) { .duel__groups { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.dg__t { display: flex; align-items: baseline; gap: 8px; margin: 0; padding-bottom: 6px; border-bottom: 2px solid var(--kc); font: 800 19px/1.2 var(--sans); color: var(--kc); }
.dg__c { font: 700 15px/1 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.dg__d { margin-top: 6px !important; font: 400 13px/1.35 var(--sans); color: var(--muted); }
.dg__i { padding: 12px 0; border-bottom: 1px solid var(--rule-soft); }
.dg__m { font: 700 15px/1.3 var(--sans); color: var(--ink); }
.dq { margin-top: 8px !important; }
.dq__who { display: flex; align-items: center; gap: 6px; font: 400 13px/1.2 var(--sans); color: var(--muted); }
.dq__who b { font-weight: 800; color: var(--ink); }
.dq__q { quotes: '«' '»'; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font: italic 400 15px/1.45 var(--serif); color: var(--ink-2); }
.dg__i .srcb { margin-left: -6px; }
.dg__alc { margin-top: 4px !important; font: 700 13.5px/1.35 var(--sans); color: #4c7d3a; }
.dg__none { padding-top: 8px; font: 400 14px/1.4 var(--sans); color: var(--muted); }
.aff__ladders { margin-top: 34px; padding-top: 16px; border-top: 2px solid var(--ink); }
.aff__lt { font: 400 15px/1.4 var(--sans); color: var(--ink-2); }
.aff__grid { display: grid; gap: 24px; margin-top: 14px; }
@media (min-width: 900px) { .aff__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
.pairs { border-top: 1px solid var(--rule); }
.e29 .pair { display: grid; width: 100%; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "lg nm" "br br" "nu nu"; align-items: center; column-gap: 10px; row-gap: 6px; min-height: 56px; padding: 10px 6px; border-bottom: 1px solid var(--rule); text-align: left; transition: background-color .2s; }
.e29 .pair.is-on { background: var(--soft); box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: 4px; }
.pair__logos { grid-area: lg; display: inline-flex; align-items: center; }
.pair__logos .logo + .logo { margin-left: -5px; }
.pair__names { grid-area: nm; font: 700 15px/1.2 var(--sans); }
.pair .tri { grid-area: br; margin: 0; height: 8px; }
.trin { grid-area: nu; display: flex; flex-wrap: wrap; font: 400 13px/1.35 var(--sans); color: var(--ink-2); }
.trin b { font-weight: 800; font-variant-numeric: tabular-nums; }
.trin__ok b { color: var(--favor); }
.trin__alc b { color: #4c7d3a; }
.trin__mid b { color: var(--matiz); }
.trin__ko b { color: var(--contra); }
.trin__sep { white-space: pre; color: var(--muted); }
.trin__n { color: var(--muted); }
.aff__honest { max-width: 70ch; }

/* ---------- 3 · Temas y ficha ---------- */
.vol__grid { display: grid; gap: 28px; }
@media (min-width: 1040px) { .vol__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 44px; align-items: start; } }
.tg { min-width: 0; }
.e29 .tg__row { display: grid; width: 100%; grid-template-columns: 46px repeat(9, minmax(0, 1fr)) 0; align-items: center; column-gap: 2px; min-height: 44px; border-bottom: 1px solid var(--rule-soft); text-align: left; transition: background-color .2s; }
.tg__row--head { align-items: end; padding-bottom: 6px; border-bottom: 1px solid var(--ink); }
.e29 .tg__row.is-on { background: color-mix(in srgb, var(--pc) 10%, transparent); }
.tg__who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tg__s { display: none; font: 800 14px/1 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg__col { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--tc); min-width: 0; }
.tg__col svg { width: 22px; height: 22px; }
.tg__tn { display: none; font: 700 12px/1.1 var(--sans); color: var(--ink-2); text-align: center; }
.tg__cis { position: relative; width: 8px; height: 30px; background: var(--rule-soft); border-radius: 2px; overflow: hidden; }
.tg__cis span { position: absolute; left: 0; right: 0; bottom: 0; background: #8a847a; }
.tg__cisn { font: 600 12px/1 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.tg__cell { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; max-height: 44px; }
.tg__cell i { display: block; border-radius: 50%; background: var(--pc); opacity: .55; transition: opacity .2s, transform .2s; }
.tg__row.is-on .tg__cell i { opacity: 1; }
.tg__cell i.tg__zero { width: 4px; height: 4px; background: var(--rule); opacity: 1; }
.tg__n { display: none; font: 600 13px/1 var(--sans); color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.tg__key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px !important; font: 400 13px/1.3 var(--sans); color: var(--muted); }
.tg__key span { display: inline-flex; align-items: center; gap: 6px; }
.tg__keydot { width: 12px; height: 12px; border-radius: 50%; background: var(--ink-2); }
.tg__keybar { width: 6px; height: 14px; background: #8a847a; border-radius: 1px; }
.tg__key span:last-child { display: none; }
@media (min-width: 560px) {
  .e29 .tg__row { grid-template-columns: 112px repeat(9, minmax(0, 1fr)) 40px; column-gap: 4px; }
  .tg__s, .tg__n { display: block; }
  .tg__key span:last-child { display: inline-flex; }
}
@media (min-width: 760px) { .tg__tn { display: block; min-height: 2.2em; } .e29 .tg__row { grid-template-columns: 140px repeat(9, minmax(0, 1fr)) 40px; } }

.pcard { padding: 18px 18px 8px; background: #fff; border: 1px solid var(--rule); border-top: 4px solid var(--pc); border-radius: 0; }
.pcard__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.pcard__id { min-width: 0; }
.pcard__head .pcard__h { margin: 0; font-size: inherit !important; }
.pcard__head p { margin-top: 2px !important; font: 400 14px/1.35 var(--sans); color: var(--muted); }
.cloud { margin: 14px 0 6px !important; padding: 12px 0; text-align: center; line-height: 1.12; border-top: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft); }
.cloud__w { display: inline-block; margin: 0 5px; font-family: var(--serif); letter-spacing: -0.01em; }
.pcard__props li { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 10px; padding: 10px 0 4px; border-bottom: 1px solid var(--rule-soft); }
.pcard__props li:last-child { border-bottom: 0; }
.pcard__ti { grid-row: span 2; color: var(--tc); padding-top: 2px; }
.pcard__ti svg { width: 26px; height: 26px; }
.pcard__props p { font: 500 15px/1.4 var(--sans); }
.pcard__props .srcb { justify-self: start; padding-left: 0; margin-left: 0; }
@media (pointer: coarse) { .pcard__props .srcb { min-height: 44px; } }

/* ---------- Impuestos (en palabras) ---------- */
.segm { display: inline-flex; flex-wrap: wrap; padding: 3px; margin-bottom: 14px; border: 1px solid var(--ink); border-radius: 26px; background: #fff; }
.e29 .segm button { min-height: 44px; padding: 0 16px; border-radius: 22px; font: 700 14.5px/1 var(--sans); color: var(--ink-2); }
.e29 .segm button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.taxes { border-top: 1px solid var(--rule); }
.tax { padding: 16px 0 18px; border-bottom: 1px solid var(--rule); scroll-margin-top: 110px; }
.tax__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.e29 .tax__n { font-size: clamp(21px, 5.6vw, 26px) !important; }
.e29 .tax__share .shm { border-color: transparent; color: var(--muted); }
.tax__x { margin-top: 4px !important; max-width: 62ch; font: 400 15px/1.45 var(--sans); color: var(--ink-2); }
.tax__gs { display: grid; gap: 12px; margin-top: 12px; }
@media (min-width: 900px) { .tax__gs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
.txg { padding-top: 8px; border-top: 2px solid var(--tg); min-width: 0; }
.txg--menos { --tg: var(--accent); --tg-bg: #e8eff6; --tg-ink: #16324f; }
.txg--mas { --tg: var(--contra); --tg-bg: #f8e4e7; --tg-ink: #7a1423; }
.txg--igual { --tg: var(--matiz); --tg-bg: #e8edf2; --tg-ink: #2f3c49; }
.txg__t { padding-bottom: 8px; font: 800 14.5px/1.25 var(--sans); color: var(--tg); display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.txg__cnt { font: 600 13px/1 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.txg__who { display: grid; gap: 0; border-top: 1px solid var(--rule-soft); }
.txg__none { font: 400 13px/1.35 var(--sans); color: var(--muted); }
.txg.is-empty { display: none; }
@media (min-width: 900px) { .txg.is-empty { display: block; border-top-color: var(--rule); } .txg.is-empty .txg__t { color: var(--muted); } }
.taxsum { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin-bottom: 14px; padding: 10px 0 12px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
@media (min-width: 760px) { .taxsum { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.taxsum__k { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.taxsum__k b { font: 800 clamp(20px, 3.6vw, 26px)/1.08 var(--serif); font-variant-numeric: tabular-nums lining-nums; color: var(--ink); }
.taxsum__k span { font: 500 12.5px/1.3 var(--sans); color: var(--muted); }
.tax__scale { margin-top: 4px !important; font: 600 13px/1.35 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.txp { padding: 10px 0 6px; border-bottom: 1px solid var(--rule-soft); display: grid; gap: 5px; min-width: 0; }
.txp:last-child { border-bottom: 0; }
.txp__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.txp__head .logo--xs { width: 20px; height: 20px; }
.txp__sig { font: 800 13.5px/1.2 var(--sans); color: var(--ink); }
.txp__fig { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 3px; font: 700 12px/1.25 var(--sans); font-variant-numeric: tabular-nums; max-width: 100%; overflow-wrap: break-word; }
.txp__fig--on { background: var(--tg-bg, #e8eff6); color: var(--tg-ink, #16324f); }
.txp__fig--none { background: var(--soft); color: var(--muted); font-weight: 600; }
.txp__res { font: 400 14.5px/1.44 var(--sans); color: var(--ink-2); overflow-wrap: break-word; }
.txp__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.txp__foot .srcb { margin-left: -6px; min-height: 44px; }
.txp__who { font: 500 12.5px/1.25 var(--sans); color: var(--muted); }
.e29 .txp__more { margin-top: 2px; justify-self: start; font-size: 13px; }
.e29 .msrc { width: auto; min-width: 44px; padding: 0 4px; border-radius: 22px; }

/* ---------- 5 · Encuestas y test ---------- */
.pollwrap svg { display: block; width: 100%; height: auto; overflow: visible; }
.e29 .pollchart__grid { stroke: #e6e2da; stroke-width: 1; }
.e29 .pollchart__grid--v { stroke-dasharray: 2 3; }
.e29 .pollchart__conv { stroke: #8a8378; stroke-width: 1.2; stroke-dasharray: 5 4; }
.e29 .pollchart__ax { font: 400 12px/1 var(--sans); fill: #5d574f; }
.e29 .pollchart__lab { font: 800 12.5px/1 var(--sans); }
.e29 .pollchart path.fx { transition: stroke-width .2s; }
.e29 .pollchart path.fx.is-focus { stroke-width: 4.5; }
.e29 .pollchart circle.fx.is-focus { fill-opacity: .8; }
.e29 .pollchart__lab--muted { fill: var(--muted); font-weight: 600; }
.e29 .pollchart__lead { fill: none; stroke: #b8b2a7; stroke-width: 1; }
.poll__key { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 4px 0 8px !important; font: 400 13px/1.35 var(--sans); color: var(--ink-2); }
.poll__k::before { content: ''; display: inline-block; width: 20px; margin-right: 6px; vertical-align: middle; border-top: 3px solid var(--ink-2); }
.poll__k--off::before { border-top: 1.5px solid #a39d93; }
.subfig { position: relative; margin-top: 18px; }
.subfig + .subfig { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--rule); }
.e29 .subfig__t { padding-right: 52px; font-size: clamp(22px, 5.6vw, 30px) !important; }
.subfig__d { margin: 6px 0 12px !important; max-width: 62ch; font: 400 15px/1.45 var(--sans); color: var(--ink-2); }
.subfig .plate__share { top: 0; }
.quiz { margin-top: 22px; scroll-margin-top: 110px; }
body[data-standalone-test] .plate--standalone-test { border-top: 0; margin-top: 14px; padding-top: 10px; }
body[data-standalone-test] .quiz { margin-top: 18px; }
.plate--standalone-test h1 { font: 800 clamp(30px, 5vw, 44px)/1.08 var(--serif); letter-spacing: -0.025em; margin: 0 0 8px; }

.quiz__method { margin-top: 16px; font: 400 14px/1.5 var(--sans); color: var(--ink-2); }
.quiz__method summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; font-weight: 700; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.quiz__method p { margin-top: 6px !important; }

.rv__shared {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px;
  padding: 10px 14px; margin-bottom: 14px; background: #faf8f4; border: 1px solid var(--rule); border-radius: 8px;
  font: 600 14px/1.35 var(--sans); color: var(--ink);
}
.rv__shared .btn { min-height: 38px; padding: 0 14px; font-size: 13.5px; }

.rv__hero {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px;
  padding: 16px 18px; margin: 10px 0 16px; background: #faf8f4;
  border: 1px solid var(--rule); border-radius: 8px;
}
.rv__htxt { flex: 1 1 200px; min-width: 0; }
.rv__htxt small { display: block; font: 700 11.5px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.rv__htxt h4 { margin: 3px 0 2px; font: 800 clamp(18px, 3vw, 22px)/1.2 var(--serif); color: var(--ink); }
.rv__htxt p { margin: 0 !important; font: 500 13.5px/1.3 var(--sans); color: var(--ink-2); }
.rv__hpct { font: 800 clamp(32px, 6vw, 44px)/1 var(--serif); font-variant-numeric: tabular-nums; color: var(--pc, var(--ink)); margin-left: auto; }
.rv__scope { margin: 4px 0 12px; }
.rv li { display: grid; grid-template-columns: 34px 72px minmax(0, 1fr) 52px auto; align-items: center; column-gap: 8px; min-height: 48px; border-bottom: 1px solid var(--rule-soft); }
.rv__n { font: 800 14px/1.1 var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv__bar { height: 10px; background: var(--rule-soft); border-radius: 5px; overflow: hidden; }
.rv__bar span { display: block; height: 100%; background: var(--pc); border-radius: 5px; }
.rv__p { font: 800 18px/1 var(--serif); text-align: right; font-variant-numeric: tabular-nums; }
.rv__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 16px 0 4px; }

/* ---------- Ver todo ---------- */
.vertodo { padding: 0; margin-top: 44px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.vertodo > summary { display: grid; grid-template-columns: minmax(0, 1fr) 44px; grid-template-areas: "t i" "s i"; align-items: center; column-gap: 12px; padding: 18px 0; cursor: pointer; list-style: none; }
.vertodo > summary::-webkit-details-marker { display: none; }
.vertodo > summary::after { content: ''; grid-area: i; justify-self: center; width: 14px; height: 14px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s; }
.vertodo[open] > summary::after { transform: rotate(225deg); }
.vertodo__t { grid-area: t; font: 800 clamp(26px, 6vw, 38px)/1.05 var(--serif); letter-spacing: -0.02em; }
.vertodo__s { grid-area: s; margin-top: 4px; font: 400 15px/1.4 var(--sans); color: var(--ink-2); }
.vertodo__in { padding-bottom: 26px; }
.catalog h2, .metodo h2 { font-size: clamp(24px, 5vw, 32px) !important; }
.catalog__themes { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 6px; }
.e29 .tchip--tema { min-height: 44px; padding: 0 12px 0 8px; gap: 6px; color: var(--ink); font: 700 14px/1 var(--sans); border-radius: 22px; }
.e29 .tchip--tema svg { width: 20px; height: 20px; color: var(--tc); }
.e29 .tchip--tema[aria-pressed="true"] { background: var(--tc); border-color: var(--tc); color: #fff; box-shadow: none; }
.e29 .tchip--tema[aria-pressed="true"] svg { color: #fff; }
.meas { border-top: 1px solid var(--rule); margin-top: 8px; }
.meas__i { padding: 10px 0 6px; border-bottom: 1px solid var(--rule); scroll-margin-top: 110px; }
.meas__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.meas__t { padding-top: 10px; font: 700 16px/1.35 var(--sans); }
.meas__gs { display: flex; flex-wrap: wrap; gap: 2px 18px; }
.meas__g { display: inline-flex; flex-wrap: wrap; align-items: center; }
.meas__gl { margin-right: 4px; font: 700 13px/1 var(--sans); }
.meas__g--a_favor .meas__gl { color: var(--favor); }
.meas__g--matices .meas__gl { color: var(--matiz); }
.meas__g--en_contra .meas__gl { color: var(--contra); }
.metodo { margin-top: 30px; max-width: 74ch; }
.metodo p { margin-top: 10px !important; font: 400 15px/1.55 var(--sans); color: var(--ink-2); }
.metodo__meta { font-size: 13px !important; color: var(--muted) !important; }

/* ---------- Suscripción y buzón (estilos del sitio) ---------- */
.e29 .subscribe-section { margin-top: 40px; }
.feedback-kind { display: flex; flex-wrap: wrap; gap: 6px; }
.feedback-kind__opt { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 22px; background: #fff; font: 700 13px/1 'Archivo', sans-serif; cursor: pointer; }
.feedback-kind__opt:has(input:checked) { border-color: var(--ink); }
.e29 .feedback-input, .e29 .feedback-textarea { min-height: 44px; font-size: 15px; }
.e29 .subscribe-input { min-height: 44px; font-size: 15px; }
.e29 .subscribe-btn, .e29 .feedback-submit-btn { min-height: 44px; }
.e29 .subscribe-freq-opt { min-height: 44px; }

/* ---------- Diálogo de fuentes, menú de compartir, aviso y tooltip ---------- */
.srcdlg { width: calc(100vw - 24px); max-width: 640px; max-height: 86vh; padding: 0; border: 1px solid var(--rule); border-radius: 8px; background: #fff; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .45); }
.srcdlg::backdrop { background: rgba(20, 19, 17, .5); }
.srcdlg__in { display: flex; flex-direction: column; max-height: 86vh; }
.srcdlg__head { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 18px; border-bottom: 1px solid var(--rule); }
.srcdlg__head h2, .srcdlg__head h3 { flex: 1; font-size: 19px !important; margin: 0 !important; }
.e29 .srcdlg__x { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; }
.srcdlg__body { padding: 14px 18px 18px; overflow-y: auto; font-size: 15px; line-height: 1.5; }
.srcdlg__lead { margin-bottom: 10px !important; font-weight: 600; }
.srcdlg__how { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--rule-soft); color: var(--ink-2); font-size: 14px; }
.srcdlg__m { margin: 12px 0 0 !important; padding-top: 10px; border-top: 1px solid var(--rule-soft); font: 600 13.5px/1.4 var(--sans); }
.srcdlg__m a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.srci { padding: 10px 0; border-top: 1px solid var(--rule-soft); }
.srci:first-child { border-top: 0; }
.srci__p { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.srci__lab { margin-left: auto; font: 700 12px/1 var(--sans); color: var(--muted); }
.srci p { margin-top: 4px !important; }
.srci blockquote { margin: 8px 0 4px; padding-left: 12px; border-left: 1px solid var(--ink-2); font: italic 400 15px/1.5 var(--serif); color: var(--ink-2); }
.srci__src { font-size: 13px; color: var(--muted); }
.srci__src a { display: inline-flex; align-items: center; min-height: 32px; font-weight: 700; color: var(--accent); }
.e29 .sharepop { position: fixed; z-index: 90; width: 250px; padding: 6px; background: #fff; border: 1px solid var(--rule); border-radius: 8px; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .4); }
.e29 .sharepop__t { margin-bottom: 4px !important; padding: 4px 6px 6px; border-bottom: 1px solid var(--rule-soft); font-size: 13px; color: var(--muted); }

.e29-tooltip { position: fixed; z-index: 100; max-width: 280px; padding: 8px 10px; border-radius: 6px; background: #141311; color: #fff; font: 500 13px/1.35 'Archivo', sans-serif; pointer-events: none; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); }
.e29-tooltip b { font-weight: 800; }
.e29-tooltip small { display: block; margin-top: 4px; font-size: 12px; opacity: .8; }
.e29-toast { position: fixed; left: 50%; bottom: 20px; z-index: 100; transform: translateX(-50%); padding: 12px 16px; border-radius: 6px; background: #141311; color: #fff; font: 700 14px/1.3 'Archivo', sans-serif; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .5); animation: e29Toast .25s cubic-bezier(.16, 1, .3, 1); }
@keyframes e29Toast { from { opacity: 0; transform: translate(-50%, 8px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .e29 *, .e29-toast { animation: none !important; transition: none !important; }
}

/* Pass 12 · pestañas de grupos del cara a cara (solo móvil) y selector de test */
.e29 .dg__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; margin: 14px 0 0; border-radius: 12px; }
.e29 .dg__tabs button { padding: 6px 8px; border-radius: 9px; line-height: 1.2; text-align: center; }
.e29 .dg__tabs button { font-size: 13.5px; }
@media (max-width: 899px) {
  .duel__groups[data-show="ok"] .dg:not(.dg--ok), .duel__groups[data-show="alc"] .dg:not(.dg--alc), .duel__groups[data-show="mid"] .dg:not(.dg--mid), .duel__groups[data-show="ko"] .dg:not(.dg--ko) { display: none; }
}
@media (min-width: 900px) { .e29 .dg__tabs { display: none; } }

/* Pass 13 · De qué está hecho cada programa (barras apiladas, una fila por partido) */
.comp__key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0 12px; font: 400 13.5px/1.3 var(--sans); color: var(--ink-2); }
.comp__key li { display: inline-flex; align-items: center; gap: 6px; }
.comp__key i { width: 14px; height: 14px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(20, 19, 17, .12); }
.comp { border-top: 1px solid var(--rule); }
.e29 .comp__row { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr); row-gap: 6px; padding: 8px 4px 10px; border-bottom: 1px solid var(--rule-soft); text-align: left; transition: background-color .2s; }
/* Fuera de la selección: barra apagada sin cifras dentro, nombre en gris legible (AA) y logo atenuado. */
.e29 .comp__row:not(.is-sel) .comp__bar { opacity: .4; transition: opacity .2s; }
.e29 .comp__row:not(.is-sel) .comp__s b { visibility: hidden; }
.e29 .comp__row:not(.is-sel) .comp__n, .e29 .comp__row:not(.is-sel) .comp__m { color: var(--muted); font-weight: 600; }
.e29 .comp__row:not(.is-sel) .logo img, .e29 .comp__row:not(.is-sel) .logo__txt { opacity: .55; }
.e29 .comp__row.is-on { background: var(--soft); box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: 4px; }
@media (hover: hover) { .e29 .comp__row:hover .comp__bar, .e29 .comp__row:hover .logo img, .e29 .comp__row:hover .logo__txt { opacity: 1; } .e29 .comp__row:hover .comp__s b { visibility: visible; } }
.comp__who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.comp__n { font: 700 15px/1.2 var(--sans); color: var(--ink); }
.comp__row.is-sel .comp__n { font-weight: 800; }
.comp__m { margin-left: auto; font: 700 13px/1 var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.comp__bar { display: flex; width: 100%; height: 26px; overflow: hidden; border-radius: 3px; background: var(--rule-soft); }
.comp__s { display: flex; align-items: center; justify-content: center; min-width: 0; height: 100%; overflow: hidden; }
.comp__s + .comp__s { box-shadow: inset 1px 0 0 rgba(252, 251, 249, .7); }
.comp__s b { font: 700 12px/1 var(--sans); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (min-width: 760px) {
  .e29 .comp__row { grid-template-columns: 230px minmax(0, 1fr); column-gap: 14px; align-items: center; }
  .comp__who { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 8px; row-gap: 2px; align-items: center; }
  .comp__who > .logo { grid-row: 1 / span 2; }
  .comp__who .comp__n { grid-column: 2; grid-row: 1; }
  .comp__who .comp__m { grid-column: 2; grid-row: 2; margin-left: 0; white-space: normal; }
  .comp__bar { height: 28px; }
  .comp__s b { font-size: 12.5px; }
}
.tg__keydot--hollow { display: inline-block; width: 12px; height: 12px; margin-right: 4px; border-radius: 50%; border: 1.5px solid var(--ink-2); vertical-align: -1px; }
.e29 .tg__row--props .tg__cell i:not(.tg__zero) { background: transparent; box-shadow: inset 0 0 0 1.5px var(--pc); opacity: .9; }

/* Pass 14 · Entrada en ficha y dossier «Análisis del programa» */
.pcard__foot { margin-top: 12px; padding: 14px 0 10px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 6px; }
.e29 .pcard__cta { width: 100%; justify-content: space-between; min-height: 48px; padding: 0 16px; border-radius: 4px; background: var(--ink); color: #fff; font: 700 15px/1.2 var(--sans); }
.e29 .pcard__cta:hover { background: var(--ink-2); }
.pcard__cta-sub { font: 400 13px/1.35 var(--sans); color: var(--muted); }
.anl { position: fixed; inset: 0; z-index: 75; display: flex; justify-content: center; align-items: stretch; background: rgba(20, 19, 17, 0.56); padding: 0; overflow: hidden; animation: anlIn .2s cubic-bezier(.16, 1, .3, 1); }
@keyframes anlIn { from { opacity: 0; transform: translateY(8px); } }
.anl__sheet { width: min(1060px, 100%); max-width: 100%; min-width: 0; height: 100%; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); overflow: hidden; }
@media (min-width: 900px) {
  .anl { padding: 18px 20px; }
  .anl__sheet { border: 1px solid var(--rule); box-shadow: 0 28px 64px -18px rgba(20, 19, 17, 0.48); }
}
.anl__bar { flex: 0 0 auto; min-width: 0; border-bottom: 1px solid var(--rule); background: rgba(252, 251, 249, 0.98); padding: 8px 14px 4px; }
.anl__nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; }
.e29 .anl__back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px 0 6px; border: 1px solid var(--rule); border-radius: 22px; background: #fff; font: 700 14px/1 var(--sans); color: var(--ink); }
.e29 .anl__back:hover { border-color: var(--ink); }
.anl__jumps { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 2px; border-top: 1px solid var(--rule-soft); min-width: 0; }
.e29 .anl__jump { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; border-bottom: 2px solid transparent; font: 700 13px/1.2 var(--sans); color: var(--ink-2); }
.e29 .anl__jump:hover { color: var(--ink); border-bottom-color: var(--ink); }
.anl__scroll { flex: 1 1 auto; min-width: 0; overflow-y: auto; overflow-x: clip; overscroll-behavior: contain; padding: 16px 14px 48px; scrollbar-width: thin; scrollbar-color: #c7c0b4 var(--paper); }
.anl__scroll::-webkit-scrollbar { width: 8px; }
.anl__scroll::-webkit-scrollbar-thumb { background: #c7c0b4; border-radius: 4px; }
.anl__scroll::-webkit-scrollbar-track { background: var(--paper); }
@media (min-width: 760px) { .anl__scroll { padding: 24px 32px 56px; } }
.anl__hero { border-top: 4px solid var(--pc); padding-top: 16px; display: grid; gap: 14px; min-width: 0; }
.anl__title { font-size: clamp(22px, 5.4vw, 44px); font-variation-settings: 'opsz' 72; letter-spacing: -0.03em; line-height: 1.06; text-wrap: balance; overflow-wrap: break-word; }
.anl__meta { margin-top: 6px; font: 400 14.5px/1.45 var(--sans); color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; min-width: 0; }
.anl__doclink { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font: 700 14px/1 var(--sans); color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.anl__doclink:hover { color: #16324f; }
.anl__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); min-width: 0; }
@media (min-width: 760px) { .anl__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.anl__stat { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--rule-soft); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
@media (min-width: 760px) {
  .anl__stat { border-bottom: 0; padding: 14px 16px; border-left: 1px solid var(--rule-soft); }
  .anl__stat:first-child { padding-left: 0; border-left: 0; }
}
.anl__stat b { font: 800 clamp(22px, 4vw, 34px)/1 var(--serif); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -0.02em; color: var(--ink); }
.anl__stat span { font: 500 12.5px/1.3 var(--sans); color: var(--muted); }
.anl__sec { margin-top: 34px; padding-top: 18px; border-top: 2px solid var(--ink); scroll-margin-top: 16px; min-width: 0; }
.anl__sh { font-size: clamp(22px, 4.4vw, 34px); font-variation-settings: 'opsz' 72; letter-spacing: -0.025em; }
.anl__sdek { margin-top: 8px; max-width: 68ch; font: 400 15px/1.5 var(--sans); color: var(--ink-2); }
.anl__subh { margin-top: 22px; font: 800 19px/1.25 var(--serif); color: var(--ink); }
.anl__vis { margin-top: 16px; border-top: 1px solid var(--rule); min-width: 0; }
.e29 .anl__vrow { display: grid; width: 100%; grid-template-columns: minmax(96px, 175px) minmax(0, 1fr) auto; align-items: center; column-gap: 8px; min-height: 44px; padding: 6px 4px; border-bottom: 1px solid var(--rule-soft); text-align: left; }
@media (max-width: 480px) { .e29 .anl__vrow { grid-template-columns: 100px minmax(0, 1fr) auto; column-gap: 8px; } }
.e29 .anl__vrow[aria-pressed="true"] { background: var(--soft); }
@media (hover: hover) { .e29 .anl__vrow:hover { background: var(--soft); } }
.anl__vl { display: flex; align-items: center; gap: 6px; font: 700 13.5px/1.2 var(--sans); color: var(--ink); min-width: 0; }
.anl__vl svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--tc); }
.anl__vl span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.anl__vtrack { position: relative; height: 12px; background: var(--rule-soft); border-radius: 3px; }
.anl__vfill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--tc); }
.anl__vcis { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); }
.anl__vn { font: 700 13px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.anl__pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.e29 .anl__pill { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 22px; background: #fff; font: 700 13.5px/1 var(--sans); color: var(--ink-2); }
.e29 .anl__pill svg { width: 18px; height: 18px; color: var(--tc, var(--ink-2)); }
.e29 .anl__pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.e29 .anl__pill[aria-pressed="true"] svg { color: #fff; }
.anl__pill-c { font: 500 12px/1 var(--sans); opacity: .82; font-variant-numeric: tabular-nums; }
.anl__cat { margin-top: 22px; padding-top: 14px; border-top: 1.5px solid var(--ink); min-width: 0; }
.anl__ch { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.anl__ct { display: inline-flex; align-items: center; gap: 8px; font: 800 20px/1.2 var(--serif); color: var(--ink); }
.anl__ct svg { width: 22px; height: 22px; color: var(--tc); flex: 0 0 auto; }
.anl__cm { font: 600 13px/1.2 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.anl__list { margin-top: 8px; border-top: 1px solid var(--rule-soft); }
.anl__item { padding: 12px 0 8px; border-bottom: 1px solid var(--rule-soft); display: grid; gap: 6px; min-width: 0; }
.anl__item-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.anl__tag { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 3px; font: 700 12px/1.2 var(--sans); background: var(--soft); color: var(--ink-2); }
.anl__tag--a_favor { background: #e3f1e9; color: #124d2e; }
.anl__tag--matices { background: #e8edf2; color: #2f3c49; }
.anl__tag--en_contra { background: #f8e4e7; color: #7a1423; }
.anl__tag--cifra { background: #e8eff6; color: #16324f; }
.anl__item-t { font: 500 15.5px/1.48 var(--sans); color: var(--ink); max-width: 72ch; overflow-wrap: break-word; }
.anl__item-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.anl__item-foot .srcb { margin-left: -6px; }
.anl__meters { margin-top: 10px; display: grid; gap: 10px; max-width: 76ch; min-width: 0; }
.anl__met { display: grid; gap: 4px; min-width: 0; }
.anl__met-h { display: flex; justify-content: space-between; gap: 10px; font: 600 14px/1.3 var(--sans); color: var(--ink); }
.anl__met-h b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.anl__track { position: relative; height: 10px; background: var(--rule-soft); border-radius: 3px; }
.anl__fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--pc, var(--accent)); }
.anl__tick { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); }
.anl__macro { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 18px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule); min-width: 0; }
.anl__mcell { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.anl__mcell span { font: 700 13px/1.25 var(--sans); color: var(--ink-2); }
.anl__mcell b { font: 800 22px/1.1 var(--serif); font-variant-numeric: tabular-nums; color: var(--ink); }
.anl__mcell small { font: 400 12.5px/1.35 var(--sans); color: var(--muted); }
.anl__mcell a { font: 700 12.5px/1.2 var(--sans); color: var(--accent); min-height: 44px; display: inline-flex; align-items: center; }
.anl__comp { display: grid; gap: 10px; margin-top: 10px; min-width: 0; }
.anl__crow { display: grid; gap: 6px; min-width: 0; }
@media (min-width: 700px) { .anl__crow { grid-template-columns: 185px minmax(0, 1fr); gap: 14px; align-items: center; } }
.anl__crow span { font: 700 14px/1.2 var(--sans); color: var(--ink); }
.anl__blinds { margin-top: 12px; border-top: 1px solid var(--rule); }
.anl__blind { padding: 12px 0; border-bottom: 1px solid var(--rule-soft); }
.anl__blind h5 { margin: 4px 0 4px; font: 700 16px/1.3 var(--sans); color: var(--ink); }
.anl__blind p { font: 400 14.5px/1.45 var(--sans); color: var(--ink-2); max-width: 72ch; }
.anl__blind blockquote { margin: 6px 0; font: italic 400 14.5px/1.45 var(--serif); color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  .anl { animation: none; }
}

/* ==========================================================================
   Pass 13 · gramática visual común de las infografías (referencia: matriz de burbujas y líneas de encuestas)
   Logos como cabecera de fila, icono de línea por tema, tamaño y posición codifican el dato, etiquetas directas,
   una línea de leyenda y una nota «Cómo se calcula». Todo diseñado para 360–412 px, no un escritorio encogido.
   ========================================================================== */
.e29 [data-logo-party] { cursor: pointer; }

/* 1 · Matriz de temas: en móvil, cuatro temas cada vez con cabecera que se pasa con flechas o deslizando */
.tg__pager { display: none; }
@media (max-width: 559px) {
  .tg__pager { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 6px; margin: 0 0 8px; }
  .e29 .tg__pg { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 50%; background: #fff; color: var(--ink); }
  .e29 .tg__pg[disabled] { opacity: .35; }
  .tg__pgt { margin: 0 !important; text-align: center; font: 400 12.5px/1.3 var(--sans); color: var(--muted); }
  .tg__pgt b { display: block; font: 700 13px/1.3 var(--sans); color: var(--ink); }
  .tg__pgt span { display: block; }
  .tg__dots { display: flex !important; justify-content: center; gap: 5px; margin-top: 4px; }
  .tg__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--rule); }
  .tg__dots i.is-on { background: var(--ink); }
  .e29 .tg__off { display: none !important; }
  .e29 .tg__row { grid-template-columns: 40px repeat(4, minmax(0, 1fr)) 38px; column-gap: 4px; touch-action: pan-y; }
  .tg__tn { display: block; min-height: 2.3em; hyphens: auto; overflow-wrap: anywhere; }
  .tg__n { display: block; font-size: 12.5px; }
  .tg__cell { max-height: 56px; }
}

/* 1b · Composición: referencia común de la media de medidas */
.comp__bar { position: relative; }
.comp__avg { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px dashed #fcfbf9; box-shadow: -1px 0 0 rgba(20, 19, 17, .55), 1px 0 0 rgba(20, 19, 17, .55); pointer-events: none; }
.comp__key-avg i { display: inline-block; width: 0 !important; height: 14px; border-left: 2px dashed #141311; background: none !important; }
.comp__m b { font-weight: 800; color: var(--ink); }

/* 2 · Mapa de pares */
.pmx { margin: 4px 0 30px; }
.pmx__lead { margin: 2px 0 12px !important; font: 400 16px/1.45 var(--serif); color: var(--ink-2); }
.pmx__grid { display: grid; gap: 3px; max-width: calc(40px + var(--n) * 86px); }
.pmx__row { display: grid; grid-template-columns: 36px repeat(var(--n), minmax(0, 1fr)); gap: 3px; align-items: center; }
.pmx__row--head { align-items: end; }
.pmx__rh, .pmx__ch { display: flex; align-items: center; justify-content: center; min-width: 0; }
.pmx__ch { padding-bottom: 2px; }
.e29 .pmx__c { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 0; min-height: 44px; aspect-ratio: 1; padding: 2px; border: 0; border-radius: 4px; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; }
.e29 .pmx__c.is-dark { color: #fff; }
.pmx__c b { font: 800 clamp(15px, 3.6vw, 20px)/1 var(--serif); }
.pmx__c small { font: 600 12px/1.1 var(--sans); opacity: .85; text-align: center; }
.e29 .pmx__c--few { background: #ebe8e1; color: var(--muted); box-shadow: inset 0 0 0 1px #d6d1c7; }
.e29 .pmx__c.is-on { outline: 2.5px solid var(--ink); outline-offset: 1px; }
@media (hover: hover) { .e29 .pmx__c:hover { outline: 2px solid var(--ink-2); outline-offset: 1px; } }
.pmx__void { min-height: 44px; }
.pmx--dense .pmx__c, .pmx--dense .pmx__void { min-height: 0; }
.pmx__key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 12px !important; font: 400 13px/1.3 var(--sans); color: var(--ink-2); }
.pmx__ramp { width: 120px; height: 10px; border-radius: 2px; background: linear-gradient(90deg, #9e1b2f, #efece5 50%, #18633c); }
.pmx__keyfew { display: inline-flex; align-items: center; gap: 6px; }
.pmx__keyfew i { width: 14px; height: 14px; border-radius: 2px; background: #ebe8e1; box-shadow: inset 0 0 0 1px #d6d1c7; }
@media (max-width: 480px) { .pmx__c small { font-size: 12px; } }
.pmx__kr { display: inline-flex; align-items: center; gap: 8px; }

/* 2 · Grafo de cercanía («Cómo de cerca están») junto al mapa de pares */
.aff__top { display: grid; gap: 8px 40px; margin-bottom: 26px; }
@media (min-width: 1040px) { .aff__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } .aff__top .pmx { margin-bottom: 0; } }
.agr { min-width: 0; }
.agr__key { display: flex; align-items: center; gap: 8px; margin: 2px 0 10px !important; font: 400 13px/1.35 var(--sans); color: var(--ink-2); }
.agr__kl { flex: 0 0 auto; width: 26px; height: 4px; background: #8a847a; }
.agr__card {
  background: #ffffff; border: 1px solid var(--rule); border-radius: 8px;
  padding: 14px 16px 12px; box-shadow: 0 1px 3px rgba(20, 19, 17, .04);
}
.agr__fig {
  position: relative; width: 100%; margin: 0 auto;
  background: #faf8f4; border: 1px solid var(--rule-soft); border-radius: 6px; overflow: hidden;
}
.agr__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; pointer-events: none; }
.agr__e { cursor: pointer; outline: none; pointer-events: stroke; }
.agr__hit { stroke: transparent; stroke-width: 18; stroke-linecap: round; }
.agr__l { stroke: #8a847a; stroke-linecap: round; transition: stroke .2s, opacity .2s; }
.agr__e.is-dim .agr__l { opacity: .28; }
.agr__e.is-on .agr__l { stroke: var(--ec, var(--ink-2)); }
.agr__e.is-cur .agr__l { stroke: var(--ink); }
.agr__e:focus-visible .agr__l, .agr__e:hover .agr__l { stroke: var(--accent); opacity: 1; }
.e29 .agr__n { position: absolute; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 2px; width: max(44px, var(--r)); min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); transform: translate(-50%, calc(var(--r) / -2)); transition: opacity .2s; }
.e29 .agr__n.is-on, .e29 .agr__n:hover, .e29 .agr__n:focus-visible { z-index: 3; }
.e29 .agr__n .logo { width: var(--r); height: var(--r); background-color: #ffffff !important; box-shadow: 0 0 0 3px #ffffff, 0 1px 4px rgba(20, 19, 17, .12); }
.e29 .agr__n.is-on .logo { box-shadow: 0 0 0 3px #ffffff, 0 0 0 5px var(--ink); }
.e29 .agr__n.is-dim { opacity: 1; }
.e29 .agr__n.is-dim .logo { background-color: #ffffff !important; border-color: #d6d1c7; }
.e29 .agr__n.is-dim .logo img, .e29 .agr__n.is-dim .logo__txt { opacity: .45; filter: saturate(.65); }
.e29 .agr__n.is-dim .agr__nl { color: var(--muted); }
.agr__nl { position: relative; z-index: 2; font: 700 12px/1.1 var(--sans); white-space: nowrap; background: rgba(255, 255, 255, .94); padding: 1px 4px; border-radius: 3px; }
.agr__list { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--rule); }
.agr__lt { display: flex; align-items: center; gap: 8px; margin: 0 0 2px !important; font: 800 15px/1.2 var(--sans); }
.agr__lh { margin: 8px 0 2px !important; font: 700 12.5px/1.2 var(--sans); color: var(--muted); }
.agr__list ul { list-style: none; margin: 0; padding: 0; }
.e29 .agr__li { display: grid; grid-template-columns: 24px auto minmax(0, 1fr); align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 4px 0; border: 0; border-bottom: 1px solid var(--rule-soft); background: none; color: var(--ink); text-align: left; }
.agr__li b { font: 800 14px/1.2 var(--sans); }
.agr__li span { font: 400 13px/1.3 var(--sans); color: var(--ink-2); }
@media (hover: hover) { .e29 .agr__li:hover span { text-decoration: underline; text-underline-offset: 3px; } }
/* Botones «Cómo se calcula» dentro de una nota: conservan 44 px de objetivo sin abrir hueco en la línea */
.e29 .plate__note .srcb { margin-block: -12px; vertical-align: baseline; }

/* 2b · Grandes acuerdos */
.acu__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 10px; }
.e29 .acu__chips [data-acu-tema="todos"] { --tc: var(--ink); }
.e29 .acu__chips small { font: 600 12px/1 var(--sans); opacity: .75; font-variant-numeric: tabular-nums; }
.acu__key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 6px 0 4px !important; font: 400 13px/1.3 var(--sans); color: var(--ink-2); }
.acu__keyb { width: 28px; height: 10px; border-radius: 2px; background: linear-gradient(90deg, #2c5982 0 55%, #e2231a 55%); }
.acu__keyl { width: 2px; height: 16px; margin-left: 8px; background: var(--ink); }
.acu__axis { display: grid; grid-template-columns: minmax(0, 1fr); padding-right: 44px; margin-top: 8px; }
.acu__axq { display: none; }
.acu__axb { display: grid; grid-template-columns: minmax(0, 1fr) 52px; }
.acu__axt { position: relative; height: 18px; }
.acu__axt i { position: absolute; top: 0; font: 600 12px/1 var(--sans); font-style: normal; color: var(--muted); white-space: nowrap; transform: translateX(-50%); font-variant-numeric: tabular-nums; }
.acu__axt i:first-child { transform: none; }
.acu__axt i:last-child { transform: translateX(-100%); }
.acu__axt .acu__axmaj { color: var(--ink); font-weight: 700; }
.acu__axn { font: 600 12px/1 var(--sans); color: var(--muted); text-align: right; }
.acu { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.acu__i { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: start; border-bottom: 1px solid var(--rule); scroll-margin-top: 120px; }
.e29 .acu__main { display: grid; gap: 8px; width: 100%; min-width: 0; padding: 14px 0 12px; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; }
@media (hover: hover) { .e29 .acu__main:hover .acu__qt { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; } }
.acu__q { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.acu__ti { flex: 0 0 auto; color: var(--tc); margin-top: 1px; }
.acu__ti svg { width: 20px; height: 20px; }
.acu__qt { font: 700 16px/1.35 var(--sans); }
.acu__bar { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: 8px; }
.acu__track { position: relative; height: 30px; border-radius: 3px; background: #f1eee8; }
.acu__seg { position: absolute; top: 0; bottom: 0; background: var(--pc); opacity: .78; box-shadow: inset -1px 0 0 #fcfbf9; }
.acu__seg:first-child { border-radius: 3px 0 0 3px; }
.acu__maj { position: absolute; z-index: 2; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: var(--ink); }
.acu__logos { position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 3px; overflow: visible; }
.acu__lg { flex: 0 1 26px; min-width: 8px; display: flex; }
.acu__lg .logo { box-shadow: 0 0 0 2px #fcfbf9; }
.acu__n { font: 800 22px/1 var(--serif); text-align: right; font-variant-numeric: tabular-nums lining-nums; }
.acu__meta { display: flex; flex-wrap: wrap; gap: 2px 12px; font: 500 13px/1.35 var(--sans); color: var(--muted); }
.acu__pp { display: inline-flex; align-items: center; gap: 5px; color: var(--favor); font-weight: 700; }
.acu__pp::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--favor); }
.acu__share { padding-top: 12px; display: flex; justify-content: flex-end; }
.e29 .acu__share .shm { border-color: transparent; color: var(--muted); }
.acu__more { margin: 12px 0 0 !important; }
.acu__note { max-width: 74ch; }
@media (min-width: 900px) {
  .e29 .acu__main { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "q bar" "meta bar"; column-gap: 28px; align-items: center; }
  .acu__q { grid-area: q; } .acu__bar { grid-area: bar; } .acu__meta { grid-area: meta; padding-left: 30px; }
  .acu__axis { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 28px; }
  .acu__axq { display: block; }
}

/* 3 · Impuestos: matriz impuesto × intención con logos, y detalle con citas al tocar */
.tax__hint { margin: 8px 0 10px !important; max-width: 70ch; font: 400 14px/1.45 var(--sans); color: var(--ink-2); }
.tax__head-row { display: none; }
.e29 .tax { padding: 0; }
.tax__row { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: start; }
.e29 .tax__open { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 10px; width: 100%; min-width: 0; padding: 14px 0; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; }
.tax__name { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.e29 .tax__n { font: 800 20px/1.15 var(--serif) !important; }
.e29 .tax__x { margin: 0 !important; font: 400 14px/1.4 var(--sans); color: var(--ink-2); }
.tax__cnt { display: inline-flex; align-items: center; gap: 4px; font: 600 13px/1.3 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.tax__chev { transition: transform .2s; }
.tax.is-open .tax__chev { transform: rotate(180deg); }
.tax__cell { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding-top: 6px; border-top: 2px solid var(--tg); }
.tax__cell--menos, .tax__hc--menos { --tg: var(--accent); }
.tax__cell--mas, .tax__hc--mas { --tg: var(--contra); }
.tax__cell--igual, .tax__hc--igual { --tg: var(--matiz); }
.tax__cl { font: 700 12px/1.2 var(--sans); color: var(--tg); }
.tax__lg { display: flex; flex-wrap: wrap; gap: 6px 8px; min-height: 26px; }
.tax__w { position: relative; display: inline-flex; }
.tax__w small { position: absolute; right: -6px; bottom: -5px; min-width: 17px; height: 17px; padding: 0 3px; border-radius: 9px; background: var(--ink); color: #fff; font: 700 12px/17px var(--sans); text-align: center; font-variant-numeric: tabular-nums; }
.tax__dash { width: 14px; height: 2px; margin-top: 12px; background: var(--rule); }
.tax__share { padding-top: 14px; display: flex; justify-content: flex-end; }
.tax__detail { padding: 0 0 20px; }
@media (hover: hover) { .e29 .tax__open:hover .tax__n { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; } }
@media (min-width: 760px) {
  .tax__head-row { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)) 44px; column-gap: 16px; padding: 0 0 8px; font: 700 13px/1.25 var(--sans); color: var(--muted); }
  .tax__head-row span:last-child { grid-column: 4; }
  .tax__hc { color: var(--tg); }
  .e29 .tax__open { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); column-gap: 16px; align-items: start; }
  .tax__name { grid-column: 1; }
  .tax__cl { display: none; }
  .tax__cell { padding-top: 8px; border-top-width: 0; border-left: 0; }
  .tax__lg { gap: 8px 10px; }
}

/* 5 · Encuestas: línea agrupada «Sin escaño estimado» y tiras por empresa */
.poll__k--grp::before { border-top: 2px dashed #6b655c; }
.e29 .pollchart__lab--group { fill: #4f4a43; font-weight: 700; }
.poll__grp { max-width: 78ch; }
.poll__grpk { display: inline-block; width: 20px; margin-right: 6px; vertical-align: middle; border-top: 2px dashed #6b655c; }
.pst { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--rule); }
.pst__t { font: 800 19px/1.2 var(--serif) !important; }
.pst__key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0 8px !important; font: 600 13px/1.3 var(--sans); color: var(--ink-2); }
.pst__key span { display: inline-flex; align-items: center; gap: 6px; }
.pst__key i { width: 10px; height: 10px; border-radius: 50%; background: var(--pc); }
.pst__key .pst__key-avg i { width: 3px; height: 14px; border-radius: 0; background: var(--ink-2); }
.pst__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.pst__row { display: grid; grid-template-columns: 136px minmax(0, 1fr); align-items: center; column-gap: 12px; min-height: 36px; border-bottom: 1px solid var(--rule-soft); }
.pst__row--axis { min-height: 20px; border: 0; }
.pst__row--avg { background: var(--soft); }
.pst__who { min-width: 0; line-height: 1.15; }
.pst__who b { display: block; font: 700 13px/1.2 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pst__who small { display: block; font: 400 12px/1.2 var(--sans); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pst__track { position: relative; height: 24px; margin: 0 6px; background: linear-gradient(#dfdbd3, #dfdbd3) 0 50% / 100% 1px no-repeat; }
.pst__row--axis .pst__track { background: none; height: 16px; }
.pst__tick { position: absolute; top: 0; font: 600 12px/1 var(--sans); font-style: normal; color: var(--muted); transform: translateX(-50%); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pst__tick:first-child { transform: none; }
.pst__tick:last-child { transform: translateX(-100%); }
.pst__dot { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--pc); border: 1.5px solid #fcfbf9; opacity: .9; }
.pst__dot.is-focus { width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px; opacity: 1; z-index: 1; }
.pst__avg { position: absolute; top: 3px; bottom: 3px; width: 3px; margin-left: -1.5px; background: var(--pc); border-radius: 1px; }
@media (max-width: 559px) { .pst__row { grid-template-columns: 96px minmax(0, 1fr); column-gap: 8px; } }

/* 6 · Test: puntos sobre una escala común de 0 a 100 % */
.e29 .rv li { grid-template-columns: 34px 72px minmax(0, 1fr) 64px 64px; }
.rv__axis { display: grid; grid-template-columns: 34px 72px minmax(0, 1fr) 64px 64px; column-gap: 8px; margin-top: 6px; }
.e29 .rv__p { white-space: nowrap; }
.rv__axis > span:first-child { grid-column: 1 / 3; }
.rv__ticks { position: relative; height: 16px; }
.rv__ticks i { position: absolute; top: 0; font: 600 12px/1 var(--sans); font-style: normal; color: var(--muted); transform: translateX(-50%); white-space: nowrap; }
.rv__ticks i:first-child { transform: none; }
.rv__ticks i:last-child { transform: translateX(-100%); }
.e29 .rv__bar { position: relative; height: 14px; overflow: visible; border-radius: 0; background: linear-gradient(#dfdbd3, #dfdbd3) 0 50% / 100% 2px no-repeat, linear-gradient(#cfc9be, #cfc9be) 50% 50% / 1px 12px no-repeat; }
.e29 .rv__bar span { position: absolute; left: 0; top: 6px; height: 2px; border-radius: 0; background: var(--pc); }
.rv__dot { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--pc); box-shadow: 0 0 0 2px #fcfbf9; }
.rv__note { max-width: 74ch; }
@media (max-width: 440px) { .e29 .rv li, .rv__axis { grid-template-columns: 30px 52px minmax(0, 1fr) 58px 56px; column-gap: 6px; } .e29 .rv__p { font-size: 16px; } }

/* Ver todo: «No se pronuncia» dentro de la selección */
.meas__g--none .meas__gl { color: var(--muted); }
.meas__silent { display: inline-flex; }
.meas__silent .logo { background-color: #ffffff !important; border-color: #d6d1c7; }
.meas__silent .logo img, .meas__silent .logo__txt { opacity: .5; filter: grayscale(1); }
.meas__out { margin: 6px 0 0 !important; font: 400 12.5px/1.35 var(--sans); color: var(--muted); }

/* Compartir: lista monocroma, sin botones de marca */

.e29 .sharepop { width: 268px; max-height: calc(100vh - 16px); overflow-y: auto; }

/* Vista para captura (?snap=<id>): solo el bloque compartido, a todo el ancho, con marca y enlace */
html.is-snap body *:not([data-snap-keep]):not([data-snap-target]):not([data-snap-target] *):not(.snapbar *):not(.snapfoot *):not(#toast):not(#tooltip):not(#srcdlg):not(#srcdlg *):not(.snapstage):not(.snapstage *):not(.snapcard):not(iframe) { display: none !important; }
.snapcard { position: fixed; left: 0; top: 0; z-index: 99999; width: 1200px; height: 630px; display: block; }
html[data-card] body { overflow: hidden; }
html.is-snap .page { padding-top: 0; }
html.is-snap [data-snap-target] { max-width: 1120px; margin: 20px auto 8px !important; padding: 0 20px; }
html.is-snap [data-snap-target] .shm, html.is-snap [data-snap-target] .plate__share { display: none !important; }
.snapbar { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; max-width: 1120px; margin: 0 auto; padding: 16px 20px 12px; border-top: 4px solid #141311; border-bottom: 1px solid #dfdbd3; font: 600 13px/1.3 'Archivo', system-ui, sans-serif; color: #625c53; }
.snapbar b { font: 800 20px/1 'Literata', Georgia, serif; color: #141311; }
.snapbar a { margin-left: auto; color: #2c5982; font-weight: 700; }
.snapfoot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; max-width: 1120px; margin: 0 auto; padding: 12px 20px 28px; border-top: 1px solid #dfdbd3; font: 600 12px/1.4 'Archivo', system-ui, sans-serif; color: #625c53; overflow-wrap: anywhere; }

/* ==========================================================================
   Pass 14 · navegación por secciones en la barra, «Análisis del programa», matriz traspuesta en móvil,
   «Las cuentas de cada programa», listas largas plegadas y cartas para compartir
   ========================================================================== */
html { scroll-padding-top: 150px; }
@media (min-width: 900px) { html { scroll-padding-top: 122px; } }
.e29 { --bar-h: 139px; }
.bar__row { grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-rows: 44px 44px 50px; grid-template-areas: "brand title cta menu" "secs secs secs secs" "strip strip strip strip"; }
/* Cabecera compacta (fija): «EL FACTUAL» y, al lado, «Especial 29-N», que lleva al principio del especial. */
.e29-bar .bar__title { grid-area: title; justify-self: start; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.e29-bar.is-stuck .bar__title { display: inline-flex; padding-left: 8px; margin-left: 2px; border-left: 1px solid var(--rule); }
.e29-bar:not(.is-stuck) .bar__title { padding-left: 0; }
@media (max-width: 479px) {
  .bar__menu-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .bar__menu > summary { padding: 0 12px; }
  .e29-bar.is-stuck .bar__brand { font-size: 18px; }
  .e29-bar.is-stuck .bar__title { font-size: 13px; padding-left: 7px; }
  .e29-bar .bar__cta { padding: 0 11px; font-size: 13.5px; }
}
/* En móviles estrechos, en la cabecera compacta «Suscribirme» pasa al menú para que quepan marca y título. */
.e29 .bar__nav .bar__nav-sub { display: none; }
@media (max-width: 419px) {
  .e29-bar.is-stuck .bar__cta { display: none; }
  .e29-bar.is-stuck .bar__row { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand title menu" "secs secs secs" "strip strip strip"; }
  .e29-bar.is-stuck .bar__nav .bar__nav-sub { display: flex; }
}
.bar__secs { grid-area: secs; display: flex; align-items: stretch; gap: 0; min-width: 0; height: 44px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; border-top: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 22px), transparent); }
.bar__secs::-webkit-scrollbar { display: none; }
.e29-bar .bar__secs a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px; border-bottom: 3px solid transparent; font: 700 13.5px/1 var(--sans); color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.e29-bar .bar__secs a:last-child { margin-right: 22px; }
.e29-bar .bar__secs a.is-on { color: var(--ink); border-bottom-color: var(--ink); }
@media (hover: hover) { .e29-bar .bar__secs a:hover { color: var(--ink); background: var(--soft); } }
@media (min-width: 900px) {
  .bar__row { grid-template-columns: auto auto minmax(0, 1fr) auto auto; grid-template-rows: 52px 56px; grid-template-areas: "brand title secs cta menu" "strip strip strip strip strip"; }
  .e29-bar.is-stuck .bar__title { padding-left: 14px; margin-left: 0; }
  .bar__secs { height: 52px; border: 0; justify-content: flex-start; }
  .e29-bar .bar__secs a { min-height: 52px; padding: 0 12px; font-size: 14px; }
  .bar__strip, .strip { height: 56px; }
  .e29 { --bar-h: 109px; }
}
/* El menú se abre hacia abajo desde la primera fila, por encima de la navegación y de la tira. */
.bar__menu .bar__nav { z-index: 70; }

/* 1 · Análisis del programa */
/* «Análisis del programa» como infografía: cabecera con cuatro cifras y seis baldosas por tema */
.asec__head { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; align-items: start; padding-bottom: 10px; }
.asec__h { margin: 0; font-size: inherit !important; min-width: 0; }
.asec__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 3px solid var(--pc); border-bottom: 1px solid var(--rule); }
@media (min-width: 760px) { .asec__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.asec__st { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule-soft); }
@media (min-width: 760px) { .asec__st { padding: 14px 16px; border-bottom: 0; border-left: 1px solid var(--rule-soft); } .asec__st:first-child { padding-left: 0; border-left: 0; } }
.asec__st b { font: 800 clamp(30px, 8vw, 46px)/1 var(--serif); font-variation-settings: 'opsz' 72; letter-spacing: -0.03em; font-variant-numeric: tabular-nums lining-nums; color: var(--ink); }
.asec__st span { font: 500 13px/1.3 var(--sans); color: var(--ink-2); }
.asec__lt { margin: 22px 0 10px !important; font: 800 clamp(19px, 4.6vw, 24px)/1.2 var(--serif); color: var(--ink); }
.asec__list { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; }
@media (min-width: 760px) { .asec__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
.asec__i { display: flex; flex-direction: column; min-width: 0; padding: 14px 16px 8px; background: #fff; border: 1px solid var(--rule); border-top: 4px solid var(--tc); }
.asec__t { display: flex; align-items: center; gap: 8px; margin: 0 !important; font: 800 13.5px/1.2 var(--sans); color: var(--tc); text-transform: uppercase; letter-spacing: .03em; }
.asec__ti svg { width: 22px; height: 22px; display: block; }
.asec__tn { min-width: 0; }
.asec__cis { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font: 600 12px/1.2 var(--sans); color: var(--muted); white-space: nowrap; text-transform: none; letter-spacing: 0; }
.asec__cis > i { position: relative; display: inline-block; width: 40px; height: 6px; border-radius: 3px; background: var(--rule-soft); overflow: hidden; }
.asec__cis > i > i { position: absolute; inset: 0 auto 0 0; background: var(--tc); }
.asec__fig { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 12px 0 4px !important; min-width: 0; }
.asec__fig b { font: 800 clamp(38px, 11vw, 56px)/.95 var(--serif); font-variation-settings: 'opsz' 72; letter-spacing: -0.035em; font-variant-numeric: tabular-nums lining-nums; color: var(--tc); overflow-wrap: anywhere; }
.asec__fig span { font: 700 15px/1.25 var(--sans); color: var(--ink); min-width: 0; }
.asec__fig--txt { flex-direction: column; align-items: flex-start; }
.asec__fig--txt span:last-child { font: 800 19px/1.25 var(--serif); }
.asec__fk { font: 700 12px/1.2 var(--sans) !important; color: var(--muted) !important; text-transform: uppercase; letter-spacing: .04em; }
.asec__fig--none { font: 600 13px/1.2 var(--sans); color: var(--muted); }
.asec__p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 6px 0 6px !important; font: 500 15px/1.4 var(--sans); color: var(--ink-2); }
.asec__tags { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0 0 4px !important; }
.asec__tag { padding: 3px 8px; border-radius: 3px; background: #ebe7df; font: 500 12.5px/1.3 var(--sans); color: var(--ink); }
.asec__i .srcb { align-self: flex-start; margin: auto 0 0 -6px; }
.asec__foot { margin-top: 24px; }
.e29 .asec__cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 60px; padding: 0 22px; font: 800 18px/1.2 var(--sans); }
@media (min-width: 760px) { .e29 .asec__cta { width: auto; min-width: 440px; display: inline-flex; } }
.asec__sub { margin-top: 8px !important; font: 400 13.5px/1.4 var(--sans); color: var(--muted); }

/* 2 · Matriz de temas traspuesta en móvil: los nueve temas a la vez */
.tgm { display: none; }
@media (max-width: 559px) {
  .e29 .tg .tg__row { display: none !important; }
  .tg__pager { display: none !important; }
  .tgm { display: block; }
}
.tgm__row { display: grid; grid-template-columns: 98px repeat(var(--n), minmax(0, 1fr)); column-gap: 1px; align-items: center; min-height: 40px; border-bottom: 1px solid var(--rule-soft); }
.tgm__row--head { min-height: 48px; border-bottom: 1px solid var(--ink); }
.tgm__row--tot { min-height: 30px; border-bottom: 0; }
.tgm__th { font: 700 12px/1.15 var(--sans); color: var(--muted); }
.e29 .tgm__p { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 44px; padding: 0; border: 0; border-radius: 6px; background: none; }
.e29 .tgm__p.is-on { background: color-mix(in srgb, var(--pc) 16%, transparent); box-shadow: inset 0 -3px 0 var(--pc); }
.tgm__t { display: grid; grid-template-columns: 20px 30px minmax(0, 1fr); grid-template-areas: "i n n" "i c v"; column-gap: 4px; row-gap: 2px; align-items: center; min-width: 0; color: var(--tc); }
.tgm__ti { grid-area: i; } .tgm__ti svg { width: 18px; height: 18px; display: block; }
.tgm__tn { grid-area: n; font: 700 12.5px/1.1 var(--sans); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tgm__cis { grid-area: c; position: relative; height: 4px; border-radius: 2px; background: var(--rule-soft); overflow: hidden; }
.tgm__cis i { position: absolute; left: 0; top: 0; bottom: 0; background: #8a847a; }
.tgm__cisn { grid-area: v; font: 600 12px/1 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.tgm__c { display: flex; align-items: center; justify-content: center; min-width: 0; aspect-ratio: 1; max-height: 40px; }
.tgm__c i { display: block; border-radius: 50%; background: var(--pc); opacity: .55; }
.tgm__c.is-on { background: color-mix(in srgb, var(--pc) 9%, transparent); }
.tgm__c.is-on i { opacity: 1; }
.tgm__c--props i:not(.tgm__zero) { background: transparent; box-shadow: inset 0 0 0 1.5px var(--pc); opacity: .9; }
.tgm__c i.tgm__zero { width: 4px; height: 4px; background: var(--rule); opacity: 1; }
.tgm__n { font: 600 12px/1 var(--sans); color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }

/* 5 · Las cuentas de cada programa */
.cta__lead b { font-variant-numeric: tabular-nums lining-nums; }
.cta__key { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 10px 0 8px !important; font: 400 13px/1.35 var(--sans); color: var(--ink-2); }
.cta__key span { display: inline-flex; align-items: center; gap: 6px; }
.cta__k { width: 14px; height: 10px; border-radius: 2px; }
.cta__k--l { background: #e0a693; } .cta__k--r { background: #a7cbbd; } .cta__k--g { background: linear-gradient(90deg, #9c3f28 50%, #2a6653 50%); }
.cta__axis { display: grid; grid-template-columns: 170px minmax(0, 1fr) 190px; column-gap: 16px; margin-top: 8px; font: 600 12px/1.2 var(--sans); color: var(--muted); }
.cta__axb { display: flex; justify-content: space-between; gap: 8px; }
.cta__axf { text-align: left; }
.cta { list-style: none; margin: 0; padding: 0; }
.cta__i { list-style: none; }
.e29 .cta__row { display: grid; grid-template-columns: 170px minmax(0, 1fr) 190px; column-gap: 16px; align-items: center; width: 100%; min-height: 56px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--rule); background: none; color: var(--ink); text-align: left; cursor: pointer; }
.cta__i--all .cta__row { cursor: default; border-top: 1px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--soft); padding: 12px 8px; }
.cta__who { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "l b" "l s"; column-gap: 8px; align-items: center; min-width: 0; }
.cta__who > .logo { grid-area: l; }
.cta__who b { grid-area: b; font: 800 14.5px/1.15 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cta__who small { grid-area: s; font: 400 12px/1.2 var(--sans); color: var(--muted); }
.cta__i--all .cta__who { grid-template-columns: minmax(0, 1fr); grid-template-areas: "b" "s"; }
.cta__bar { position: relative; display: grid; grid-template-columns: 1fr 1fr; height: 28px; }
.cta__bar::after { content: ''; position: absolute; left: 50%; top: -4px; bottom: -4px; width: 1px; background: var(--ink); }
.cta__half { position: relative; height: 100%; background: #f1eee8; }
.cta__s { position: absolute; top: 0; bottom: 0; }
.cta__half--l .cta__s { right: 0; } .cta__half--r .cta__s { left: 0; }
.cta__s--l { background: #e0a693; } .cta__s--lg { background: #9c3f28; }
.cta__s--r { background: #a7cbbd; } .cta__s--rg { background: #2a6653; }
.cta__v { position: absolute; top: 50%; transform: translateY(-50%); font: 800 12.5px/1 var(--sans); color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; z-index: 1; }
.cta__v.is-in { color: #fff; text-shadow: 0 0 3px rgba(20, 19, 17, .55); }
.cta__figs { display: flex; flex-direction: column; gap: 2px; font: 400 13px/1.3 var(--sans); color: var(--ink-2); }
.cta__figs b { display: inline-block; min-width: 44px; font: 800 16px/1.1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.cta__i.is-few .cta__bar { opacity: .5; }
.cta__i.is-few .cta__who small { color: var(--contra); }
@media (hover: hover) { .e29 .cta__row:hover .cta__who b { text-decoration: underline; text-underline-offset: 3px; } }
.cta__restt { margin: 18px 0 4px !important; font: 700 13px/1.2 var(--sans); color: var(--muted); }
.cta__note { max-width: 78ch; }
@media (max-width: 759px) {
  .cta__axis { grid-template-columns: minmax(0, 1fr); } .cta__axis > span:first-child, .cta__axf { display: none; }
  .e29 .cta__row { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .cta__figs { flex-direction: row; flex-wrap: wrap; gap: 2px 18px; }
}

/* Listas largas plegadas: botón para abrir en el sitio y «Cerrar» fijo abajo mientras están abiertas (móvil) */
.xopen { margin: 14px 0 0 !important; }
.e29 .xopen__b { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 22px; background: #fff; color: var(--ink); font: 700 14.5px/1.2 var(--sans); text-align: left; }
.e29 .xopen__b::after { content: ''; width: 7px; height: 7px; margin-left: 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.e29 .xopen__b[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
@media (hover: hover) { .e29 .xopen__b:hover { background: var(--ink); color: #fff; } }
.xclose { display: none; }
@media (max-width: 899px) {
  .xclose { position: sticky; bottom: 14px; z-index: 6; display: flex; justify-content: center; margin-top: 12px; pointer-events: none; }
  .e29 .xclose__b { pointer-events: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 22px; background: var(--ink); color: #fff; font: 700 14px/1 var(--sans); box-shadow: 0 10px 22px -10px rgba(20, 19, 17, .55); }
}
.pcard__cta { text-decoration: none; }
.chart__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.chart__head .shm { margin-top: -4px; }
.tgm__row { grid-template-columns: 104px repeat(var(--n), minmax(0, 1fr)); }
.tgm__tn { white-space: normal; line-height: 1.05; }

/* 5 · Las cuentas de cada programa: libro de cuentas por partido (medidas, no euros) */
.e29 .cta__lead { margin: 6px 0 14px !important; max-width: 34ch; font: 800 clamp(22px, 3.4vw, 34px)/1.18 var(--serif); color: var(--ink); }
.cta__lead b { font-variant-numeric: tabular-nums lining-nums; }
.ldg__key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 4px 0 !important; font: 400 13px/1.35 var(--sans); color: var(--ink-2); }
.ldg__key span { display: inline-flex; align-items: center; gap: 6px; }
.ldg__key i { width: 14px; height: 10px; border-radius: 2px; }
.ldg__key .ldg__ksin { background: #e5e1d9; box-shadow: inset 0 0 0 1px #cfc9be; }
.ldg__key-m { font-weight: 700; color: var(--ink); }
.ldg { list-style: none; margin: 0; padding: 0; }
.ldg__i { list-style: none; display: grid; grid-template-columns: 170px minmax(0, 1fr); column-gap: 20px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.ldg__i--all { margin-top: 12px; padding: 14px 10px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--soft); }
.ldg__i.is-on { background: color-mix(in srgb, var(--pc) 7%, transparent); }
.e29 .ldg__who { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "l b" "l s"; column-gap: 8px; align-items: center; min-height: 44px; margin: 0; padding: 0; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; }
.e29 .ldg__who > .logo { grid-area: l; }
.ldg__who b { grid-area: b; font: 800 15px/1.15 var(--sans); }
.ldg__who small { grid-area: s; font: 400 12px/1.25 var(--sans); color: var(--muted); }
.e29 .ldg__who--all { cursor: default; grid-template-columns: minmax(0, 1fr); grid-template-areas: "b" "s"; }
.ldg__i.is-on .ldg__who b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--pc); }
.ldg__i.is-few .ldg__rows { opacity: .55; }
.ldg__rows { display: grid; gap: 8px; min-width: 0; }
.ldg__r { display: grid; grid-template-columns: 196px minmax(0, 1fr); grid-template-areas: "l b" ". d"; column-gap: 12px; row-gap: 2px; align-items: center; margin: 0 !important; }
.ldg__l { grid-area: l; display: inline-flex; align-items: center; gap: 6px; font: 700 13.5px/1.2 var(--sans); color: var(--ink); }
.ldg__l svg { flex: 0 0 auto; color: var(--ink-2); }
.ldg__bar { grid-area: b; position: relative; display: flex; align-items: center; height: 18px; min-width: 0; }
.ldg__s { height: 100%; flex: 0 0 auto; }
.ldg__s--g { background: #9c3f28; } .ldg__s--m { background: #e0a693; }
.ldg__s--i { background: #2a6653; } .ldg__s--a { background: #a7cbbd; }
.ldg__n { margin-left: 8px; font: 800 15px/1 var(--serif); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.ldg__pay { grid-area: b; min-width: 0; }
.ldg__strip { display: flex; height: 18px; border-radius: 2px; overflow: hidden; }
.ldg__v { display: block; height: 100%; flex: 0 0 auto; min-width: 0; }
.ldg__v--sin { position: relative; flex: 1 1 auto; background: #e5e1d9; box-shadow: inset 0 0 0 1px #cfc9be; overflow: hidden; }
.ldg__v--sin em { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); font: italic 600 12px/1 var(--sans); color: var(--muted); white-space: nowrap; }
.ldg__d { grid-area: d; font: 400 12.5px/1.3 var(--sans); color: var(--muted); }
.ldg__d b { color: var(--ink); font-weight: 800; }
@media (max-width: 759px) {
  .ldg__i { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .ldg__r { grid-template-columns: minmax(0, 1fr); grid-template-areas: "l" "b" "d"; }
}
.cte { margin-top: 22px; padding-top: 14px; border-top: 2px solid var(--pc); }
.cte__t { display: flex; align-items: center; gap: 8px; font: 800 19px/1.2 var(--serif) !important; }
.cte__d { margin: 6px 0 4px !important; max-width: 70ch; font: 400 13.5px/1.4 var(--sans); color: var(--ink-2); }
.cte__l { list-style: none; margin: 0; padding: 0; display: grid; column-gap: 28px; }
@media (min-width: 900px) { .cte__l { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cte__i { min-width: 0; padding: 12px 0; border-bottom: 1px solid var(--rule-soft); }
.cte__k { margin: 0 !important; font: 700 12.5px/1.2 var(--sans); color: var(--muted); }
.cte__p { margin: 4px 0 !important; font: 700 15.5px/1.35 var(--sans); }
.cte__q { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin: 4px 0; font: italic 400 14.5px/1.45 var(--serif); color: var(--ink-2); }

/* =====================================================================================================
   Pass 15 · selector único, porcentajes con su base, análisis detallado con los gráficos primero y
   navegación enlazada (cara a cara → medidas de ese par y ese tipo, con vuelta).
   ===================================================================================================== */
.anl__nav > .shm { margin-left: auto; }

/* Cara a cara: cada cifra es un enlace a esas medidas */
.e29 a.dn { color: inherit; text-decoration: none; border-radius: 2px; }
.e29 a.dn .dn__n { color: var(--ink-2); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--kc) 55%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
@media (hover: hover) { .e29 a.dn:hover .dn__n { color: var(--ink); text-decoration-color: var(--kc); } .e29 a.dn:hover { background: color-mix(in srgb, var(--kc) 5%, transparent); } }
.e29 a.dn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.dn__go { color: var(--kc); font-weight: 700; }
.e29 .dg__t a { color: inherit; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.e29 .dg__go { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; }
.dg__tema { margin: 0 0 2px !important; }
.e29 .tlink { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; font: 700 12.5px/1.2 var(--sans); color: var(--tc); text-decoration: none; }
.e29 .tlink svg { width: 16px; height: 16px; }
.e29 .tlink span { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--tc) 40%, transparent); text-underline-offset: 3px; }
@media (hover: hover) { .e29 .tlink:hover span { text-decoration-color: currentColor; } }
@media (pointer: coarse) { .e29 .tlink { min-height: 44px; } }
.e29 .dq__pn { font-weight: 800; color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
@media (hover: hover) { .e29 .dq__pn:hover { text-decoration-color: currentColor; } }

/* Vuelta al sitio desde el que se saltó */
.backlnk-wrap { margin: 0 0 10px !important; }
.e29 .backlnk { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 22px; background: #fff; font: 700 14px/1 var(--sans); color: var(--ink); text-decoration: none; }
@media (hover: hover) { .e29 .backlnk:hover { background: var(--ink); color: #fff; } }

/* Catálogo filtrado por par y tipo */
.catp { min-width: 0; }
.catp__t { margin: 4px 0 0; font: 800 clamp(22px, 5vw, 30px)/1.12 var(--serif); outline: none; }
.catp__n { margin: 6px 0 10px !important; max-width: 68ch; font: 400 15px/1.45 var(--sans); color: var(--ink-2); }
.catp__n b { color: var(--ink); font-variant-numeric: tabular-nums; }
.e29 .catp__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; margin: 4px 0 6px; border-radius: 12px; }
.e29 .catp__tabs button { padding: 6px 8px; border-radius: 9px; font-size: 13.5px; line-height: 1.2; text-align: center; }
@media (min-width: 760px) { .e29 .catp__tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.e29 .pcard .pkb--lg .pkb__n { font-size: clamp(21px, 2.2vw, 24px); }
.tray__body > .tray__tier:first-child .tray__tier-t { margin-top: 14px; }
.e29 .catp__tabs button[disabled] { opacity: .45; }
.catp__g { margin-top: 18px; }
.catp__gt { display: flex; align-items: center; gap: 8px; margin: 0; padding-bottom: 4px; border-bottom: 1.5px solid var(--ink); }
.catp__gt .tlink { font-size: 15px; }
.catp__gn { font: 700 13px/1 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.catp__clear { margin-top: 16px !important; }

/* Mapa de pares: la base en cada casilla, cabeceras enlazadas y por qué los pares se parecen */
.e29 .pmx__hl { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 32px; border-radius: 50%; }
@media (hover: hover) { .e29 .pmx__hl:hover { box-shadow: 0 0 0 2px var(--ink); } }
.pmx__kn { display: inline-flex; align-items: baseline; gap: 4px; }
.pmx__kn b { font: 800 15px/1 var(--serif); color: var(--ink); }
.pmx__kn small { font: 600 12px/1 var(--sans); color: var(--ink-2); margin-right: 4px; }
.pmx--dense .pmx__c b { font-size: 13px; }
.pmx__why { margin: 14px 0 0 !important; padding: 10px 0 0; max-width: 68ch; border-top: 1.5px solid var(--ink); font: 400 14.5px/1.45 var(--sans); color: var(--ink-2); }
.pmx__why b { color: var(--ink); }
.e29 .pmx__why a { font-weight: 700; color: var(--accent); }
.e29 .agr__lt a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.agr__li span b { color: var(--ink); }

/* Análisis detallado: los gráficos primero */
.anl__hero .anl__title { margin: 0; }
.anl__figs { display: grid; gap: 14px; min-width: 0; }
@media (min-width: 860px) { .anl__figs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; } .anl__fig--wide { grid-column: 1 / -1; } }
.anl__fig { margin: 0; min-width: 0; padding: 14px 0 12px; border-top: 1.5px solid var(--ink); }
.anl__figt { margin: 0 0 6px; font: 800 18px/1.25 var(--serif); color: var(--ink); }
.anl__fignote { margin: 8px 0 0 !important; font: 400 13px/1.4 var(--sans); color: var(--muted); }
.e29 .anl__fignote a { color: var(--accent); font-weight: 700; }
.anl__sec--figs { border-top: 0; padding-top: 0; margin-top: 22px; }
.anl__fig .anl__vis { margin-top: 6px; }
.anl__fig .cloud { margin-top: 4px !important; }
.ldg--one .ldg__rows { gap: 10px; }
.anl__more { margin-top: 8px !important; }
.anl__q { font-size: 13px; }
.anl__txs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0 6px !important; }
.anl__txn { display: inline-flex; align-items: baseline; gap: 6px; font: 600 13.5px/1.3 var(--sans); color: var(--ink-2); }
.anl__txn b { font: 800 22px/1 var(--serif); color: var(--tc); font-variant-numeric: tabular-nums; }
.anl__tag--tx { background: color-mix(in srgb, var(--tc) 12%, #fff); color: var(--ink); }
.anl__taxli .anl__item-top { margin: 0 !important; }

/* Base de cada comparación: en cuántas medidas del catálogo se pronuncia cada uno, y qué queda fuera */
.pbase { margin-top: 14px; }
.pbase__t { margin: 0 !important; max-width: 68ch; font: 400 15px/1.45 var(--sans); color: var(--ink-2); }
.pbase__l { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; margin: 2px 0 0 !important; font: 500 14px/1.3 var(--sans); color: var(--muted); }
.e29 .pbase__l a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.e29 .pbase__l a b, .pbase__l span b { margin-left: 3px; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .e29 .pbase__l a:hover { color: var(--ink); text-decoration-color: currentColor; } }
.agr__base { display: block; margin-top: 2px; font: 400 12.5px/1.3 var(--sans); color: var(--muted); }
.catp__b { margin: 6px 0 0 !important; max-width: 68ch; font: 400 14.5px/1.45 var(--sans); color: var(--muted); }

/* =====================================================================================================
   Pass 17 · cercanía en el conjunto del programa: dos cifras por par, ejes del cara a cara y
   «Hacia dónde empuja cada programa».
   ===================================================================================================== */
.dtwo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.dtwo__i { display: flex; flex-direction: column; gap: 3px; min-width: 0; margin: 0 !important; padding-top: 8px; border-top: 2px solid var(--ink); }
.dtwo__k { font: 700 12.5px/1.25 var(--sans); color: var(--ink-2); }
.dtwo__i b { font: 800 clamp(30px, 8vw, 44px)/1 var(--serif); font-variation-settings: 'opsz' 72; letter-spacing: -0.03em; font-variant-numeric: tabular-nums lining-nums; color: var(--ink); }
.dtwo__i b small { font-size: .45em; letter-spacing: 0; color: var(--ink-2); }
.dtwo__i > small { font: 400 13px/1.3 var(--sans); color: var(--muted); }
.e29 .agr__li > span { display: flex; flex-direction: column; gap: 1px; }
.agr__two { display: block; }

/* Hacia dónde empuja cada programa */
.axc { margin: 26px 0 30px; }
.axc__lead { margin: 2px 0 10px !important; max-width: 68ch; font: 400 15px/1.45 var(--sans); color: var(--ink-2); }
.axc__r { padding: 10px 0 6px; border-top: 1px solid var(--rule); min-width: 0; }
.axc__t { margin: 0 0 4px !important; font: 800 15px/1.25 var(--sans); color: var(--ink); }
.axc__line { position: relative; margin: 0 18px; min-width: 0; }
.axc__line::before { content: ''; position: absolute; left: 0; right: 0; top: 21px; height: 2px; background: var(--rule); }
.axc__mid { position: absolute; left: 50%; top: 8px; bottom: 4px; width: 0; border-left: 1px dashed #b8b2a7; }
.axc__d { position: absolute; transform: translateX(-50%); width: var(--sz, 28px); height: var(--sz, 28px); display: inline-flex; align-items: center; justify-content: center; }
.e29 .axc__d .logo { width: 100%; height: 100%; box-shadow: 0 0 0 2px var(--paper); }
.axc__poles { display: flex; justify-content: space-between; gap: 12px; margin: 2px 0 0 !important; font: 600 12.5px/1.25 var(--sans); color: var(--muted); }
.axc__poles span:last-child { text-align: right; }
.axc__few { margin: 4px 0 0 !important; font: 400 12.5px/1.3 var(--sans); color: var(--muted); }

/* Cara a cara, eje a eje: cada eje en su propia cajita editorial */
.dax { margin-top: 26px; padding-top: 14px; border-top: 2px solid var(--ink); }
.dax__h { margin: 0; font: 800 19px/1.25 var(--serif); color: var(--ink); }
.dax__key { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 6px 0 8px !important; font: 400 13px/1.3 var(--sans); color: var(--ink-2); }
.dax__key > span { display: inline-flex; align-items: center; gap: 6px; }
.dax__list { display: grid; gap: 10px; margin-top: 8px; }
.dax__r {
  background: #ffffff; border: 1px solid var(--rule); border-radius: 8px;
  padding: 0 16px; box-shadow: 0 1px 2px rgba(20, 19, 17, .03); transition: border-color .15s;
}
.dax__r:hover { border-color: #bfb8ab; }
.dax__r[open] { border-color: var(--ink-2); }
.dax__r.is-na { background: #faf8f4; }
.dax__r > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t v" "l l" "p p" "n n"; align-items: center; column-gap: 10px; row-gap: 7px; min-height: 44px; padding: 13px 0 12px; cursor: pointer; list-style: none; }
.dax__r > summary::-webkit-details-marker { display: none; }
.dax__t { grid-area: t; font: 800 15px/1.25 var(--sans); color: var(--ink); }
.dax__t::after { content: ' ›'; color: var(--muted); }
.dax__r[open] .dax__t::after { content: ' ⌄'; }
.dax__v { grid-area: v; font: 700 12px/1.2 var(--sans); white-space: nowrap; padding: 3px 9px; border-radius: 999px; }
.dax__v--cerca { background: #e8f3ec; color: var(--favor); }
.dax__v--medias { background: #f7efe2; color: var(--matiz); }
.dax__v--lejos { background: #f9eaec; color: var(--contra); }
.dax__v--na { background: #efece5; color: var(--muted); font-weight: 600; }
.dax__line { grid-area: l; position: relative; height: 20px; margin: 0 8px; }
.dax__line::before { content: ''; position: absolute; left: 0; right: 0; top: 8px; height: 4px; border-radius: 2px; background: #ece8df; }
.dax__span { position: absolute; top: 8px; height: 4px; border-radius: 2px; background: rgba(20, 19, 17, .2); }
.dax__mid { position: absolute; left: 50%; top: 2px; bottom: 2px; border-left: 1px dashed #b8b2a7; }
.dax__d { position: absolute; top: 2px; width: 15px; height: 15px; margin-left: -7.5px; border-radius: 50%; border: 2.5px solid #ffffff; box-shadow: 0 0 0 1px rgba(20, 19, 17, .25); }
.dax__d--a { background: var(--pa); }
.dax__d--b { background: var(--pb); }
.dax__key .dax__d, .dax__np .dax__d { position: static; display: inline-block; margin: 0; width: 10px; height: 10px; border-width: 1.5px; flex: 0 0 auto; }
.dax__poles { grid-area: p; display: flex; justify-content: space-between; gap: 10px; font: 600 12px/1.2 var(--sans); color: var(--muted); }
.dax__n { grid-area: n; display: flex; flex-wrap: wrap; gap: 4px 16px; font: 400 12.5px/1.3 var(--sans); color: var(--ink-2); }
.dax__np { display: inline-flex; align-items: center; gap: 6px; }
.dax__body { display: grid; gap: 14px; padding: 12px 0 16px; margin-top: 2px; border-top: 1px solid var(--rule-soft); }
@media (min-width: 760px) { .dax__body { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.dax__exh { display: flex; align-items: center; gap: 6px; margin: 0 0 4px !important; font: 800 14px/1.2 var(--sans); }
.dax__ex ul { list-style: none; margin: 0; padding: 0; }
.dax__ex li { padding: 8px 0 4px; border-top: 1px solid var(--rule-soft); }
.dax__ex li p { margin: 2px 0 !important; font: 500 14.5px/1.4 var(--sans); color: var(--ink); }
.dax__ex .srcb { margin-left: -6px; }
.dax__pol { font: 700 12px/1.2 var(--sans); color: var(--muted); }
.dax__none { margin: 0 !important; font: 400 13px/1.35 var(--sans); color: var(--muted); }

/* Pass 17b · perfil en 15 ejes: «pocos datos» atenuado y filas compactas en móvil */
.e29 .axc__d.is-few .logo { background-color: #ffffff !important; border-color: #b8b2a7; box-shadow: 0 0 0 2px #ffffff, 0 0 0 3.5px #b8b2a7; }
.e29 .axc__d.is-few .logo img, .e29 .axc__d.is-few .logo__txt { opacity: .45; filter: grayscale(.6); }
.dax__d.is-few { opacity: .4; box-shadow: 0 0 0 1px rgba(20, 19, 17, .25), inset 0 0 0 2px var(--paper); }
.axc__out { margin: 10px 0 0 !important; font: 400 13px/1.35 var(--sans); color: var(--muted); }
@media (max-width: 559px) {
  .axc__r { padding: 8px 0 4px; display: grid; grid-template-columns: minmax(0, 1fr); }
  .axc__t { font-size: 14px; margin-bottom: 0 !important; }
  .axc__poles { font-size: 12px; }
  .axc__few { font-size: 12px; }
  .axc__line { margin: 0 12px; }
  .axc__line::before { top: 15px; }
  .axc__mid { top: 4px; }
}

/* =====================================================================================================
   Pass 18 · Asterisco (*), notas tras clic, KPIs en bolitas, 2 cols analisis, cercania lineal,
             arana interactiva y catalogo en 4 columnas de cajas
   ===================================================================================================== */

/* Asterisco editorial (*) en medallones de candidaturas sin programa oficial completo del 29-N */
.e29 .logo--ast { overflow: visible; }
.e29 .logo--ast img { border-radius: 50%; }
.e29 .logo--tile.logo--ast img { border-radius: 50%; clip-path: circle(50%); }
.e29 .logo__ast {
  position: absolute; top: -4px; right: -4px; z-index: 3;
  display: inline-flex; align-items: center; justify-content: center;
  width: 15px; height: 15px; padding-top: 2px; border-radius: 50%;
  background: #22201d; color: #fff; border: 1.5px solid #fcfbf9;
  font: 800 13px/1 var(--sans); font-style: normal; pointer-events: none;
  box-shadow: 0 1px 2px rgba(20, 19, 17, .22);
}
.e29 .logo--xs .logo__ast { width: 12px; height: 12px; font-size: 11px; top: -3px; right: -3px; padding-top: 1px; }
.e29 .logo--lg .logo__ast, .e29 .logo--xl .logo__ast { width: 18px; height: 18px; font-size: 15px; top: -2px; right: -2px; padding-top: 3px; }

/* Pie de lamina: nota de asterisco (*) + boton discreto «De donde sale · Metodo» */
.sec-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 16px; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--rule-soft);
}
.ast-foot {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
  font: 400 12.5px/1.35 var(--sans); color: var(--muted);
}
.ast-foot b { color: var(--ink); font-weight: 800; }
.ast-foot .srcb, .sec-foot__m .srcb,
.e29 .ast-foot button.srcb, .e29 .sec-foot__m button.srcb {
  min-height: 36px; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--rule); background: #fff; color: var(--ink-2);
  font: 600 12.5px/1.2 var(--sans); text-decoration: none;
}
.e29 .ast-foot button.srcb:hover, .e29 .sec-foot__m button.srcb:hover { border-color: var(--ink-2); color: var(--ink); }
.sec-foot__m { margin-left: auto; }
.sec-cta { margin-top: 12px; }

/* Analisis del programa: KPIs en bolitas circulares y medidas en 2 columnas */
.asec__kpis, .anl__kpis {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px; padding: 16px 0; border-top: 3px solid var(--pc, var(--ink));
  border-bottom: 1px solid var(--rule); margin-bottom: 6px;
}
@media (min-width: 640px) {
  .asec__kpis, .anl__kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 18px 0; }
}
.kpi-ring {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 8px; min-width: 0; padding: 8px 6px;
}
.kpi-ring__g { position: relative; width: 84px; height: 84px; flex: 0 0 auto; }
.kpi-ring__g svg { display: block; width: 100%; height: 100%; }
.kpi-ring__bg { fill: #fff; stroke: var(--rule-soft); stroke-width: 6; }
.kpi-ring__fg { fill: none; stroke: var(--pc, var(--ink)); stroke-width: 6; stroke-linecap: round; }
.kpi-ring__val {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 0 6px; font: 800 18px/1 var(--serif); font-variation-settings: 'opsz' 36;
  font-variant-numeric: tabular-nums lining-nums; letter-spacing: -0.025em; color: var(--ink);
  white-space: nowrap;
}
.kpi-ring__val small { font-size: .68em; font-weight: 700; color: var(--muted); }
.kpi-ring__lbl { font: 500 12.5px/1.3 var(--sans); color: var(--ink-2); max-width: 22ch; }

/* 2 columnas en Medidas del analisis (desde 520 px) */
@media (min-width: 520px) {
  .asec__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .anl__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; border-top: 0; }
  .anl__list .anl__item { padding: 12px 14px; background: #fff; border: 1px solid var(--rule); border-radius: 6px; border-top-width: 1px; }
}

/* Seccion #afinidad: mapa de pares junto al grafo 2D de cercania en escritorio (>= 1040 px) */
.aff__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: 30px; }
@media (min-width: 1040px) {
  .aff__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 40px; align-items: start; }
  .aff__top .pmx { margin-bottom: 0; }
}

/* Cercania lineal 0..100 («Como de cerca estan») */
.cerc { padding-top: 4px; }
.cerc__pick {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin: 10px 0 14px;
}
.cerc__plbl { font: 700 12.5px/1.2 var(--sans); color: var(--muted); margin-right: 4px; }
.e29 button.cerc__pbtn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 10px;
  border-radius: 999px; border: 1px solid var(--rule); background: #fff; color: var(--ink);
  font: 600 13px/1.2 var(--sans); cursor: pointer;
}
.e29 button.cerc__pbtn:hover { border-color: var(--ink-2); }
.e29 button.cerc__pbtn.is-on,
.e29 button.cerc__pbtn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.cerc__box { padding: 12px 14px 10px; background: #fff; border: 1px solid var(--rule); border-radius: 8px; }
.cerc__ends {
  display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px;
  font: 700 12.5px/1.2 var(--sans); color: var(--ink-2);
}
.cerc__ends span:first-child { color: #8b1e2f; }
.cerc__ends span:last-child { color: #18633c; text-align: right; }
.cerc__track { position: relative; margin: 0 54px; min-height: 82px; }
@media (max-width: 559px) { .cerc__track { margin: 0 42px; } }
.cerc__rail {
  position: absolute; left: 0; right: 0; bottom: 20px; height: 8px; border-radius: 999px;
  background: linear-gradient(90deg, #9e1b2f 0%, #efece5 50%, #18633c 100%);
  border: 1px solid rgba(20, 19, 17, .1);
}
.cerc__tick {
  position: absolute; bottom: 2px; transform: translateX(-50%);
  font: 600 11px/1 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums;
}
.cerc__tick i {
  display: block; width: 1px; height: 10px; margin: 0 auto 2px; background: #b8b2a7;
}
.cerc__node, .e29 button.cerc__node {
  position: absolute; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 3px 8px 3px 4px;
  border-radius: 999px; border: 1.5px solid var(--pc, var(--ink)); background: #fff; color: var(--ink);
  font: 700 12.5px/1 var(--sans); white-space: nowrap; cursor: pointer;
  box-shadow: 0 2px 6px rgba(20, 19, 17, .1);
}
.cerc__node b { font-variant-numeric: tabular-nums; color: var(--ink); }
.cerc__node::after {
  content: ''; position: absolute; left: 50%; top: 100%; width: 1px; height: 10px;
  background: rgba(20, 19, 17, .22); pointer-events: none;
}
.cerc__node--ref { border-width: 2px; background: #f4f1ea; cursor: default; z-index: 2; }
.cerc__node.is-cur, .e29 button.cerc__node.is-cur { box-shadow: 0 0 0 2px var(--ink), 0 3px 8px rgba(20, 19, 17, .16); z-index: 3; }
@media (hover: hover) { .e29 button.cerc__node:hover { z-index: 4; transform: translateX(-50%) translateY(-1px); } }
.cerc__sum { margin: 10px 0 0 !important; font: 500 14px/1.4 var(--sans); color: var(--ink-2); }

/* Grafico de arana interactivo («Los ejes en arana») */
.radar { margin: 28px 0 30px; }
.rax__sel {
  margin: 12px 0 14px; padding: 12px 14px; background: #f4f1ea;
  border: 1px solid var(--rule); border-radius: 8px;
}
.rax__top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 6px 12px; margin-bottom: 10px; font: 600 13.5px/1.3 var(--sans); color: var(--ink);
}
.rax__top small { font-weight: 400; color: var(--muted); }
.rax__chips { display: flex; flex-wrap: wrap; gap: 7px; }
.e29 button.rax__btn {
  display: inline-flex; align-items: center; min-height: 36px; padding: 6px 13px;
  border-radius: 999px; border: 1px solid var(--rule); background: #fff; color: var(--ink);
  font: 600 13px/1.2 var(--sans); cursor: pointer; transition: background-color .12s, color .12s, border-color .12s;
}
.e29 button.rax__btn:hover { border-color: var(--ink-2); }
.e29 button.rax__btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.e29 button.rax__btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.radar__svgwrap { display: flex; justify-content: center; overflow-x: auto; padding: 6px 0; }
.radar__svg { display: block; max-width: 100%; height: auto; overflow: visible; }
.grid-line { fill: none; stroke: var(--rule); }
.grid-line--zero { stroke: #cfc9bd; stroke-dasharray: 2 3; }
.spoke { stroke: var(--rule); stroke-width: 1; }
.axis-label { font: 700 12.5px/1.2 var(--sans); fill: var(--ink); }
.axis-pole { font: 500 10px/1.15 var(--sans); fill: var(--muted); }
.axis-num circle { fill: var(--ink); }
.axis-num text { font: 800 11.5px/1 var(--sans); fill: #fff; }
.radar__tick { font: 600 10.5px/1 var(--sans); fill: var(--muted); font-variant-numeric: tabular-nums; }
.radar__vertex { transition: r .12s; cursor: pointer; }
@media (hover: hover) { .radar__vertex:hover { r: 7; } }
.radar__key {
  list-style: none; display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 8px; margin: 10px 0 12px; padding: 0;
}
@media (min-width: 440px) { .radar__key { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.radar__key li { display: flex; align-items: flex-start; gap: 8px; font: 600 13px/1.3 var(--sans); color: var(--ink); }
.radar__key li b {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font: 800 11px/1 var(--sans);
}
.radar__key li small { display: block; font-weight: 400; color: var(--muted); margin-top: 2px; }
.rax__psel {
  margin: 12px 0 0; padding: 11px 14px; background: #f4f1ea;
  border: 1px solid var(--rule); border-radius: 8px;
}
.rax__pacts { display: inline-flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.radar__parties { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.rpleg {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px 8px 3px 4px;
  background: #fff; border: 1px solid var(--rule); border-radius: 999px;
}
.rpleg.is-on { border-color: var(--ink-2); }
.rpleg.is-off { background: #ede9df; border-style: dashed; border-color: #c5bfb2; }
.e29 button.rpleg__btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 2px 6px;
  border: 0; background: transparent; color: var(--ink); font: 700 13px/1.2 var(--sans); cursor: pointer;
}
.e29 .rpleg.is-off button.rpleg__btn { opacity: .62; }
.rpleg__sw { width: 10px; height: 10px; border-radius: 50%; background: var(--pc, var(--ink)); flex: 0 0 auto; }
.rpleg__x {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; margin-left: 2px; border-radius: 50%;
  background: #efece5; color: var(--ink); font: 700 13px/1 var(--sans);
}
.rpleg.is-off .rpleg__x { background: #fff; color: var(--ink-2); }
.e29 .rpleg button.srcb { min-height: 30px; padding: 2px 8px; border-radius: 999px; font-size: 12px; color: var(--muted); }

/* Catalogo de medidas: 4 columnas de cajas (A favor · Con matices · En contra · No se pronuncia) */
.meas__gs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px; margin-top: 10px;
}
@media (min-width: 720px) {
  .meas__gs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
}
.meas__col {
  display: flex; flex-direction: column; gap: 8px; min-width: 0;
  padding: 10px; background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--rule);
}
.meas__col--a_favor { border-top-color: var(--favor); }
.meas__col--matices { border-top-color: var(--matiz); }
.meas__col--en_contra { border-top-color: var(--contra); }
.meas__col--none { background: #f8f6f1; border-top-color: #b8b2a7; }
.meas__ch {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  margin: 0 !important; padding-bottom: 6px; border-bottom: 1px solid var(--rule-soft);
}
.meas__col--a_favor .meas__gl { color: var(--favor); }
.meas__col--matices .meas__gl { color: var(--matiz); }
.meas__col--en_contra .meas__gl { color: var(--contra); }
.meas__col--none .meas__gl { color: var(--muted); }
.meas__cnt { font: 800 12px/1 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.meas__logos { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; }
.meas__p, .e29 button.meas__p {
  display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 3px 9px 3px 4px;
  border-radius: 999px; border: 1px solid var(--rule); background: #fff; color: var(--ink);
  font: 700 12px/1.15 var(--sans); cursor: pointer; text-align: left;
}
.e29 button.meas__p:hover { border-color: var(--pc, var(--ink)); background: #f8f6f1; }
.e29 .meas__p--silent { cursor: default; background: #f4f1ea; color: var(--muted); border-color: var(--rule-soft); }
.e29 .meas__p--silent .logo { background-color: #ffffff !important; border-color: #d6d1c7; }
.e29 .meas__p--silent .logo img, .e29 .meas__p--silent .logo__txt { opacity: .55; filter: grayscale(1); }
.meas__empty { font: 600 13px/1.2 var(--sans); color: #b8b2a7; }

/* Pass 18 · una sola cifra por par: cercanía en el conjunto del programa */
.dclose { margin-top: 14px; padding-top: 10px; border-top: 2px solid var(--ink); max-width: 560px; }
.dclose__n { margin: 0 !important; font: 800 clamp(44px, 12vw, 64px)/1 var(--serif); font-variation-settings: 'opsz' 72; letter-spacing: -0.03em; font-variant-numeric: tabular-nums lining-nums; color: var(--ink); }
.dclose__n small { font-size: .4em; letter-spacing: 0; color: var(--ink-2); }
.dclose__n--na { font-size: clamp(24px, 6vw, 30px); }
.dclose__l { margin: 4px 0 0 !important; max-width: 60ch; font: 400 15px/1.45 var(--sans); color: var(--ink-2); }
.dclose__l b { font-weight: 700; color: var(--ink); }
.dclose__bar { position: relative; display: block; height: 10px; margin-top: 10px; border-radius: 5px; background: var(--rule-soft); overflow: hidden; }
.dclose__bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; }
.dclose__ends { display: flex; justify-content: space-between; margin-top: 4px; font: 600 12px/1.2 var(--sans); color: var(--muted); }
.radar__vertex--few { opacity: .45; stroke-dasharray: 2 2; }
.radar__note { margin: 6px 0 0 !important; max-width: 68ch; font: 400 13px/1.4 var(--sans); color: var(--muted); }

/* Pass 19 · araña: una línea cerrada por partido, objetivos táctiles de 44 px y panel por eje */
.radar__svg .radar__vertex, .radar__svg .radar__seg, .radar__svg polygon, .radar__svg .radar__tick, .radar__svg .spoke { pointer-events: none; }
.radar__vertex { transition: none; cursor: default; }
.radar__vertex--few { opacity: .7; stroke-dasharray: none; }
.radar__vertex--nd { opacity: .75; }
.radar__hit { fill: transparent; stroke: none; cursor: pointer; pointer-events: all; }
.radar__hit:focus { outline: none; }
.radar__hit:focus-visible { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 3 3; }
@media (hover: hover) { .radar__svg .radar__hit:hover { fill: rgba(20, 19, 17, .08); stroke: var(--hc, var(--ink)); stroke-width: 1.6; } }
.radar__svg [data-radar-axis] { cursor: pointer; }
.radar__svg .axis-label:focus-visible, .radar__svg .axis-num:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.rpan { margin: 10px 0 14px; padding: 12px 14px 6px; border: 1px solid var(--rule); border-top: 2px solid var(--ink); background: #fff; }
.rpan__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.e29 .rpan__h { margin: 0 !important; font: 800 17px/1.25 var(--sans); color: var(--ink); }
.rpan__h:focus { outline: none; }
.e29 .rpan__x { flex: 0 0 auto; width: 44px; height: 44px; margin: -10px -10px 0 0; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; }
.e29 .rpan__axh { margin: 10px 0 0 !important; font: 700 14px/1.3 var(--sans); color: var(--ink); }
.rpan__poles { margin: 4px 0 6px !important; font: 400 13px/1.35 var(--sans); color: var(--muted); }
.rpan__l { list-style: none; margin: 0; padding: 0; }
.rpan__r { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; grid-template-areas: "l w v" ". s s"; align-items: center; column-gap: 8px; row-gap: 2px; padding: 8px 0; border-top: 1px solid var(--rule-soft); }
.rpan__r > .logo { grid-area: l; }
.rpan__who { grid-area: w; min-width: 0; display: flex; flex-direction: column; font: 400 12.5px/1.3 var(--sans); color: var(--muted); }
.rpan__who b { font: 700 14px/1.25 var(--sans); color: var(--ink); }
.rpan__v { grid-area: v; font: 800 20px/1 var(--serif); font-variant-numeric: tabular-nums lining-nums; color: var(--pc, var(--ink)); }
.rpan__r--none .rpan__v, .rpan__r--few .rpan__v { font: 700 14px/1.2 var(--sans); color: var(--muted); }
.rpan__r > .srcb, .rpan__noex { grid-area: s; justify-self: start; }
.rpan__noex { font: 400 12.5px/1.3 var(--sans); color: var(--muted); }

/* Pass 19 · mapa de pares: matriz cuadrada completa; en pantallas estrechas se desliza dentro de su caja */
.pmx__scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
.pmx__scroll:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.pmx__grid { max-width: calc(40px + var(--n) * 86px); }
.pmx--scroll .pmx__grid { min-width: calc(40px + var(--n) * 47px); max-width: none; width: calc(40px + var(--n) * 47px); }
.pmx__rh { position: sticky; left: 0; z-index: 2; align-self: stretch; background: var(--paper); }
.pmx__corner { background: var(--paper); }
.pmx__self { display: flex; align-items: center; justify-content: center; min-height: 44px; aspect-ratio: 1; border-radius: 4px; background: var(--rule-soft); }
.pmx--dense .pmx__self { min-height: 0; }
.pmx__hint { display: none; margin: 0 0 6px !important; font: 600 12.5px/1.3 var(--sans); color: var(--muted); }
.pmx--scroll .pmx__hint { display: block; }

/* Pass 20 · compartir el resultado del test: imagen propia y enlace con vista previa */
.rv__actions .btn { display: inline-flex; align-items: center; gap: 8px; }
.rv__actions .btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.rv__actions .btn--primary svg { fill: none; stroke: currentColor; }
.rv__imgnote { margin: 6px 0 0 !important; max-width: 62ch; font: 400 13.5px/1.45 var(--sans); color: var(--muted); }
.rv__imgnote .linkbtn { font-size: 13.5px; }
@media (max-width: 479px) { .rv__actions .btn { flex: 1 1 100%; justify-content: center; } }

/* Pass 21 · mapa de pares: cabeceras con logo grande y siglas debajo (fila de arriba y columna fija) */
.pmx__row { grid-template-columns: 82px repeat(var(--n), minmax(0, 1fr)); }
.pmx__grid { max-width: calc(82px + var(--n) * 86px); }
.pmx--scroll .pmx__grid { min-width: calc(82px + var(--n) * 70px); width: calc(82px + var(--n) * 70px); }
.e29 .pmx__hl { flex-direction: column; gap: 3px; min-width: 44px; min-height: 44px; max-width: 100%; padding: 2px 0; border-radius: 6px; color: var(--ink); text-decoration: none; }
.e29 .pmx__hl .logo { width: 38px; height: 38px; }
.pmx__nm { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 12px/1.15 var(--sans); letter-spacing: -0.02em; color: var(--ink-2); text-align: center; }
@media (hover: hover) { .e29 .pmx__hl:hover { box-shadow: none; } .e29 .pmx__hl:hover .pmx__nm { color: var(--ink); text-decoration: underline; } }
.pmx__ch { padding-bottom: 4px; min-width: 0; }
.pmx__rh { padding-right: 2px; }
@media (max-width: 559px) { .e29 .pmx__hl .logo { width: 32px; height: 32px; } }
.pmx--dense .pmx__hl .logo { width: 30px; height: 30px; }
.pmx__kn small { white-space: nowrap; }

/* Pass 22 · mapa de pares en el móvil: cabe en el ancho, sin desplazamiento (la clase la pone app.js si cabe con
   casillas de 26 px o más). Cifra sola en la casilla; «N ejes» en la ayuda y en el cara a cara. */
.pmx--fit .pmx__scroll { overflow: visible; padding-bottom: 0; }
.pmx--fit .pmx__hint { display: none; }
.pmx--fit .pmx__grid { width: 100%; min-width: 0; max-width: none; gap: 2px; }
.pmx--fit .pmx__row { grid-template-columns: 36px repeat(var(--n), minmax(0, 1fr)); gap: 2px; }
.e29 .pmx--fit .pmx__c { min-height: 26px; aspect-ratio: 1; padding: 0; border-radius: 3px; }
.pmx--fit .pmx__c b { font: 800 15px/1 var(--serif); }
.pmx--fit.pmx--dense .pmx__c b { font-size: 13px; }
.pmx--fit .pmx__c small { display: none; }
.pmx--fit .pmx__self, .pmx--fit .pmx__void { min-height: 26px; }
.e29 .pmx--fit .pmx__self .logo { width: 70%; height: 70%; max-width: 24px; max-height: 24px; }
/* Columna fija: solo el logo (28 px); el nombre va en la fila de arriba y en la ayuda. */
.pmx--fit .pmx__rh { padding-right: 0; }
.pmx--fit .pmx__rh .pmx__nm { display: none; }
.e29 .pmx--fit .pmx__rh .pmx__hl { min-width: 0; min-height: 26px; }
.e29 .pmx--fit .pmx__hl .logo { width: 28px; height: 28px; }
/* Fila de arriba: logo y siglas en vertical encima, nunca cortadas. */
.e29 .pmx--fit .pmx__ch .pmx__hl { min-width: 0; min-height: 26px; flex-direction: column-reverse; justify-content: flex-start; gap: 4px; }
/* Los logos quedan en una sola línea pegada a la matriz; las siglas suben en vertical por encima. */
.pmx--fit .pmx__row--head { align-items: end; }
.e29 .pmx--fit.pmx--dense .pmx__ch .logo { width: 24px; height: 24px; }
.pmx--fit .pmx__ch .pmx__nm { writing-mode: vertical-rl; transform: rotate(180deg); max-width: none; max-height: none; overflow: visible; font-size: 11px; line-height: 1; letter-spacing: 0; }

/* Pass 25 · móvil: los ejes como líneas de −100 a +100 con el logo de cada partido (en lugar de la araña) */
.axl { display: grid; gap: 14px; margin: 6px 0 4px; }
.axl__r { padding-top: 10px; border-top: 1px solid var(--rule); min-width: 0; }
.e29 .axl__t { display: inline-flex; align-items: center; min-height: 44px; margin: -6px 0 0; padding: 0; border: 0; background: none; font: 800 15px/1.2 var(--sans); color: var(--ink); text-align: left; cursor: pointer; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.axl__line { position: relative; margin: 2px 18px 0; min-width: 0; }
.axl__rail { position: absolute; left: -10px; right: -10px; height: 2px; background: var(--rule); border-radius: 1px; }
.axl__zero { position: absolute; left: 50%; top: 0; bottom: 0; width: 0; border-left: 1.5px dashed #a39d93; }
.e29 .axl__pin { position: absolute; transform: translateX(-50%); width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; z-index: 1; }
.e29 .axl__pin .logo { width: 28px; height: 28px; box-shadow: 0 0 0 2px var(--paper), 0 1px 3px rgba(20, 19, 17, .2); }
.e29 .axl__pin:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.axl__poles { display: flex; justify-content: space-between; gap: 12px; margin: 2px 0 0 !important; font: 600 12px/1.25 var(--sans); color: var(--muted); }
.axl__poles span:last-child { text-align: right; }
.axl__none { margin: 4px 0 0 !important; font: 400 12px/1.3 var(--sans); color: var(--muted); }

/* Pass 23 · conmutador con la sección hermana «¿Cumplieron lo de 2023?» (mismo aspecto que en la hermana;
   objetivos de 44 px). En el móvil, la cabecera del sitio se oculta: el conmutador va arriba de la portada y en la
   barra fija solo como un enlace más de las secciones (la barra no crece). */
.sister-switch { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--rule, #dfdbd3); border-radius: 999px; background: #f4f1eb; }
.sister-switch__tab { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 999px; font: 700 13.5px/1.15 var(--sans); color: #38342e; text-decoration: none; white-space: nowrap; }
.sister-switch__tab:hover { color: #141311; }
.sister-switch__tab.is-active { background: #141311; color: #fff; }
.sister-switch__tab:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.site-header .toolbar { flex-wrap: wrap; gap: 8px 16px; }
.hero__sister-bar { margin: 0 0 14px; }
@media (min-width: 701px) { .sister-switch--mobile { display: none; } .hero__sister-bar { display: none; } }
@media (max-width: 700px) {
  .sister-switch--mobile { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; border-radius: 26px; }
  .sister-switch--mobile .sister-switch__tab { white-space: normal; text-align: center; padding: 6px 10px; border-radius: 22px; }
}
.e29-bar .bar__sister-link { color: var(--accent) !important; font-weight: 800 !important; }
.e29 .bar__nav .bar__nav-sister { color: var(--accent); font-weight: 800; }
.hero__sister-bar--test { margin: 14px 0 0; }

/* Pass 27 · añadir partidos a la vista: «+ Añadir partido» en la barra fija (siempre a la derecha de la tira,
   fuera del desplazamiento), un control compartido en cada gráfico comparativo y un aviso la primera vez. */
.e29 .strip__edit { position: relative; gap: 4px; padding: 0 14px 0 10px; border: 0; background: var(--ink); color: #fff; font: 800 13.5px/1 var(--sans); box-shadow: 0 1px 2px rgba(20, 19, 17, .2); }
.e29 .strip__edit svg { width: 16px; height: 16px; flex: 0 0 auto; }
.e29 .strip__edit-t { display: inline; }
.e29 .strip__edit-x { display: none; }
@media (min-width: 900px) { .e29 .strip__edit-x { display: inline; } }
.e29 .strip__edit[aria-expanded="true"] { background: var(--accent); }
@media (hover: hover) { .e29 .strip__edit:hover { background: #38342e; } }
.e29 .strip__edit:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.bar__sel { position: relative; }
.e29 .addhint { position: absolute; top: calc(100% + 4px); right: 0; z-index: 5; display: inline-flex; align-items: center; gap: 8px; max-width: min(280px, calc(100vw - 24px)); min-height: 44px; padding: 8px 12px; border: 0; border-radius: 10px; background: var(--ink); color: #fff; font: 600 13.5px/1.3 var(--sans); text-align: left; box-shadow: 0 8px 20px -8px rgba(20, 19, 17, .45); cursor: pointer; animation: addhintIn .25s ease-out; }
.e29 .addhint::before { content: ''; position: absolute; top: -6px; right: 22px; border: 6px solid transparent; border-top: 0; border-bottom-color: var(--ink); }
.e29 .addhint svg { flex: 0 0 auto; opacity: .8; }
@keyframes addhintIn { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .e29 .addhint { animation: none; } }
.e29 .addp { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 8px 0 12px; }
.e29 .addp__b { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px 0 12px; border: 1.5px solid var(--ink); border-radius: 22px; background: #fff; color: var(--ink); font: 800 14px/1 var(--sans); cursor: pointer; }
.e29 .addp__b:focus-visible, .e29 .addp__r:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) { .e29 .addp__b:hover { background: var(--ink); color: #fff; } .e29 .addp__r:hover { color: var(--ink); } }
.e29 .addp__n { font: 400 13px/1.3 var(--sans); color: var(--muted); }
.e29 .addp__r { min-height: 44px; padding: 0 4px; border: 0; background: none; font: 700 13.5px/1 var(--sans); color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.selempty .addp { margin-top: 10px; }
html.is-snap .addp, html.is-snap .addhint, html[data-card] .addp { display: none !important; }

/* Pass 28 · test a ciegas a todo el ancho (inicio, pregunta, resultado) y fila de compartir común.
   Una columna en el móvil; desde 1040 px, la pregunta a la izquierda y un panel vivo a la derecha. */
.qz { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 22px; border-top: 2px solid var(--ink); }
@media (min-width: 1040px) { .qz { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: 56px; align-items: start; } }
.qz__main { min-width: 0; }
.qz__side { min-width: 0; padding: 20px 22px 22px; background: var(--soft); border-radius: 6px; }
@media (min-width: 1040px) { .qz--run .qz__side, .qz--start .qz__side { position: sticky; top: calc(var(--bar-h, 110px) + 24px); } }
.qz__kicker { margin: 0 0 10px !important; font: 700 12.5px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.e29 .qz__title { margin: 0 !important; max-width: 20ch; font: 800 clamp(30px, 6.4vw, 56px)/1.04 var(--serif) !important; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
.e29 .qz__title--res { max-width: 22ch; font-size: clamp(30px, 5.6vw, 48px) !important; }
.qz__lead { margin: 16px 0 26px !important; max-width: 58ch; font: 400 clamp(17px, 2vw, 19px)/1.55 var(--serif); color: var(--ink-2); }
.qz__sh { margin: 0 0 12px !important; font: 800 13px/1.2 var(--sans) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
/* Inicio: longitud y botón de empezar */
.qz__len { margin: 0 0 24px; }
.qz__lenl { margin: 0 0 8px !important; font: 700 13px/1.2 var(--sans); color: var(--ink-2); }
.qz__seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border: 1px solid var(--ink); border-radius: 26px; background: #fff; }
.e29 .qz__seg button { display: inline-flex; align-items: center; gap: 4px; min-width: 52px; min-height: 44px; padding: 0 14px; justify-content: center; border-radius: 22px; font: 800 16px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink-2); }
.e29 .qz__seg button small { font: 600 12px/1 var(--sans); }
.e29 .qz__seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
@media (hover: hover) { .e29 .qz__seg button:not([aria-pressed="true"]):hover { background: var(--soft); color: var(--ink); } }
.qz__lent { margin: 8px 0 0 !important; font: 500 13.5px/1.3 var(--sans); color: var(--muted); }
.qz__go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.e29 .qz__start { min-height: 56px; padding: 0 26px 0 30px; border-radius: 28px; font-size: 17px; gap: 12px; }
.e29 .qz__start svg { transition: transform .2s cubic-bezier(.16, 1, .3, 1); }
@media (hover: hover) { .e29 .qz__start:hover svg { transform: translateX(4px); } }
.e29 .qz__ext { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; font: 700 14px/1.2 var(--sans); color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.e29 .qz__how { margin: 0; padding: 0; list-style: none; counter-reset: qzh; display: grid; gap: 14px; }
.qz__how li { position: relative; padding-left: 40px; font: 400 15px/1.45 var(--sans); color: var(--ink-2); counter-increment: qzh; }
.qz__how li::before { content: counter(qzh); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font: 800 14px/1 var(--serif); }
.qz__how b { color: var(--ink); }
/* Pregunta */
.qz__prog { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; margin-bottom: 22px; }
.qz__step { margin: 0 !important; font: 600 14px/1 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.qz__step b { color: var(--ink); font-weight: 800; }
.qz__bar { height: 6px; border-radius: 3px; background: var(--rule-soft); overflow: hidden; }
.qz__bar span { display: block; height: 100%; border-radius: 3px; background: var(--ink); transition: width .35s cubic-bezier(.16, 1, .3, 1); }
.qz__theme { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 8px; border-radius: 999px; background: color-mix(in srgb, var(--tc, #38342e) 12%, #fff); font: 700 13.5px/1.15 var(--sans); color: var(--ink); }
.qz__theme svg { width: 18px; height: 18px; color: var(--tc, var(--ink)); flex: 0 0 auto; }
.qz__mtheme { margin-bottom: 14px; }
@media (min-width: 1040px) { .qz__mtheme { display: none; } }
.e29 .qz__q { margin: 0 0 14px !important; max-width: 30ch; font: 800 clamp(26px, 5.4vw, 44px)/1.12 var(--serif) !important; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.qz__ctx { margin: 0 0 26px !important; max-width: 62ch; font: 400 clamp(16px, 1.8vw, 18px)/1.55 var(--serif); color: var(--ink-2); }
.qz__answers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 8px; }
@media (min-width: 640px) { .qz__answers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
.e29 .qz__a { --ac: var(--ink); --abg: var(--soft); position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 76px; padding: 14px 16px; border: 1.5px solid var(--rule); border-radius: 10px; background: #fff; color: var(--ink); text-align: left; cursor: pointer; transition: border-color .15s, background-color .15s, transform .15s cubic-bezier(.16, 1, .3, 1), box-shadow .15s; }
@media (min-width: 640px) { .e29 .qz__a { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: start; min-height: 128px; padding: 18px; } .qz__ai { grid-column: 1; grid-row: 1; } .qz__k { grid-column: 2; grid-row: 1; } .qz__at { grid-column: 1 / -1; grid-row: 2; align-self: end; } }
.qz__a--favor { --ac: var(--favor); --abg: #eaf4ee; }
.qz__a--contra { --ac: var(--contra); --abg: #faecef; }
.qz__a--neutral { --ac: #38342e; --abg: #f2eee6; }
.qz__ai { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--abg); color: var(--ac); }
.qz__ai svg { width: 20px; height: 20px; }
.qz__at { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.qz__at b { font: 800 clamp(19px, 2vw, 22px)/1.1 var(--sans); color: var(--ink); }
.qz__at small { font: 500 13.5px/1.25 var(--sans); color: var(--muted); }
.e29 .qz__k, .qz__keys kbd { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: 5px; background: #fff; font: 700 12px/1 var(--sans); color: var(--muted); }
@media (pointer: coarse) { .e29 .qz__k { display: none; } }
@media (hover: hover) { .e29 .qz__a:hover { border-color: var(--ac); transform: translateY(-2px); box-shadow: 0 10px 22px -16px rgba(20, 19, 17, .5); } }
.e29 .qz__a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.e29 .qz__a[aria-pressed="true"] { border-color: var(--ac); background: var(--abg); box-shadow: inset 0 0 0 1.5px var(--ac); }
.e29 .qz__a[aria-pressed="true"] .qz__ai { background: var(--ac); color: #fff; }
.qz__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--rule-soft); }
.e29 .qz__navb { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px; font: 700 14.5px/1 var(--sans); color: var(--ink); }
.e29 .qz__navb:disabled { color: var(--muted); opacity: .5; cursor: default; }
.e29 .qz__navb--quiet { margin-left: auto; color: var(--muted); font-weight: 600; }
@media (hover: hover) { .e29 .qz__navb:not(:disabled):hover { text-decoration: underline; text-underline-offset: 3px; } }
/* Panel lateral del test */
.qz__big { margin: 0 0 12px !important; font: 800 64px/0.9 var(--serif); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -0.03em; color: var(--ink); }
.qz__big span { font-size: 26px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.e29 .qz__dots { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 20px; padding: 0; list-style: none; }
.qz__dots li { flex: 0 0 auto; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--rule); }
.qz__dots .is-f { background: var(--favor); box-shadow: none; }
.qz__dots .is-c { background: var(--contra); box-shadow: none; }
.qz__dots .is-n { background: #a39d93; box-shadow: none; }
.qz__dots .is-cur { box-shadow: 0 0 0 2px var(--soft), 0 0 0 4px var(--ink); }
.qz__sl { margin: 0 0 8px !important; font: 700 12px/1.2 var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.qz__stheme { margin-bottom: 20px; }
.e29 .qz__tally { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.qz__tally li { display: flex; flex-direction: column; gap: 2px; padding: 10px 10px 8px; background: #fff; border-top: 3px solid var(--tc); font: 500 12.5px/1.2 var(--sans); color: var(--ink-2); }
.qz__tally b { font: 800 26px/1 var(--serif); font-variant-numeric: tabular-nums; color: var(--ink); }
.qz__tally .is-f { --tc: var(--favor); } .qz__tally .is-c { --tc: var(--contra); } .qz__tally .is-n { --tc: #a39d93; }
.qz__blind { margin: 0 0 10px !important; font: 600 14px/1.4 var(--sans); color: var(--ink); }
.qz__keys { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 6px; margin: 0 !important; font: 500 12.5px/1.6 var(--sans); color: var(--muted); }
.qz__keys span { display: inline-flex; align-items: center; gap: 5px; margin-right: 8px; white-space: nowrap; }
@media (pointer: coarse) { .qz__keys { display: none; } }
@media (max-width: 1039px) {
  .qz--run .qz__side { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: center; padding: 14px 16px; }
  .qz--run .qz__big { grid-row: span 2; margin: 0 !important; font-size: 44px; }
  .qz--run .qz__big span { font-size: 18px; }
  .qz--run .qz__dots { margin: 0; }
  .qz--run .qz__stheme, .qz--run .qz__keys { display: none; }
  .qz--run .qz__side > .qz__sl { display: none; }
  .qz--run .qz__tally { grid-column: 1 / -1; margin: 8px 0 0; }
  .qz--run .qz__blind { grid-column: 1 / -1; margin: 6px 0 0 !important; font-size: 13px; color: var(--muted); }
}
/* Resultado */
.qz--res .rv__hero { position: relative; margin: 22px 0 12px; padding: 28px 24px 22px; background: #fff; border: 0; border-radius: 0; box-shadow: inset 0 6px 0 var(--pc, var(--ink)), 0 1px 0 var(--rule), 0 18px 40px -28px rgba(20, 19, 17, .45); }
.qz--res .rv__hero .logo { width: 72px; height: 72px; }
.qz--res .rv__htxt h4 { font-size: clamp(20px, 2.6vw, 26px); }
.qz--res .rv__hpct { font-size: clamp(48px, 8vw, 76px); letter-spacing: -0.03em; }
.e29 .rv__pod { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.rv__pod li { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 12px 14px; background: #fff; border-top: 3px solid var(--pc); box-shadow: 0 1px 0 var(--rule); }
.rv__pos { font: 700 13px/1 var(--sans); color: var(--muted); }
.rv__pn { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 800 15px/1.1 var(--sans); }
.rv__pp { font: 800 22px/1 var(--serif); font-variant-numeric: tabular-nums; color: var(--pc); white-space: nowrap; }
.qz--res .rv__actions { margin-top: 14px; }
.qz__side--res { background: transparent; padding: 0; }
@media (min-width: 1040px) { .qz__side--res { padding-left: 32px; border-left: 1px solid var(--rule); } .qz.qz--res { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.qz--res .rv__shared { grid-column: 1 / -1; }
/* Fila de compartir (especial, test y menú de cada gráfico) */
.shr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 6px 0 0; }
.shr__l { font: 800 12.5px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.shr__btns { display: flex; flex-wrap: wrap; gap: 6px; }
.e29 .shr__b { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); transition: background-color .15s, color .15s; }
.e29 .shr__b svg { width: 19px; height: 19px; }
.e29 .shr__b--whatsapp svg, .e29 .shr__b--telegram svg, .e29 .shr__b--x svg, .e29 .shr__b--facebook svg { fill: currentColor; }
.e29 .shr__b--copy svg, .e29 .shr__b--native svg, .e29 .shr__b--image svg { fill: none; }
@media (hover: hover) { .e29 .shr__b:hover { background: var(--ink); color: #fff; } }
.e29 .shr__b:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.e29 .sharepop .shr { margin: 0; padding: 4px 6px 6px; }
.e29 .sharepop .shr__l { display: none; }
.e29 .sharepop { width: auto; max-width: calc(100vw - 16px); }
.e29 .sharepop__t { max-width: 320px; }
.hero__share-full .shr { margin: 0; }
html.is-snap .shr { display: none !important; }
@media (min-width: 1040px) { .e29 .qz__side--res .rv li, .qz__side--res .rv__axis { grid-template-columns: 34px 104px minmax(0, 1fr) 60px auto; } }
@media (max-width: 559px) { .e29 .rv__pod { grid-template-columns: minmax(0, 1fr); gap: 8px; } .qz--res .rv__hero { padding: 18px; } }
html.is-snap .qz__len, html.is-snap .qz__go, html.is-snap .qz__ext, html.is-snap .qz__nav, html.is-snap .qz__keys, html.is-snap .qz--res .rv__actions, html.is-snap .rv__imgnote { display: none !important; }

/* Pass 30 · análisis del programa: primero sus 6 medidas más concretas; las cifras y gráficos, plegados debajo. */
.anl__sec--top { margin-top: 22px; }
.e29 .anl__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 14px 0 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .e29 .anl__top { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; } }
.anl__ti { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--rule); min-width: 0; }
.anl__tn { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font: 800 15px/1 var(--serif); }
.anl__tb { min-width: 0; }
.e29 .anl__tt { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 6px !important; }
.anl__tchip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 6px; border-radius: 999px; background: color-mix(in srgb, var(--tc) 12%, #fff); font: 700 13px/1.2 var(--sans); color: var(--ink); }
.anl__tchip svg { width: 16px; height: 16px; color: var(--tc); flex: 0 0 auto; }
.anl__tcis { font: 500 12.5px/1.2 var(--sans); color: var(--muted); }
.e29 .anl__tp { margin: 0 0 8px !important; font: 700 clamp(16.5px, 1.9vw, 18px)/1.38 var(--sans); color: var(--ink); overflow-wrap: anywhere; }
.e29 .anl__tmk { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 !important; }
.anl__mk { max-width: 100%; padding: 3px 8px; border-radius: 3px; background: #ebe7df; font: 500 12.5px/1.3 var(--sans); color: var(--ink); overflow-wrap: anywhere; }
.anl__mk b { font-weight: 800; }
.anl__tmk .srcb { margin-left: 2px; }
.e29 .anl__tfew { margin: 10px 0 0 !important; padding: 10px 12px; max-width: 68ch; background: var(--soft); font: 600 14.5px/1.4 var(--sans); color: var(--ink); }
.e29 .anl__trule { margin: 12px 0 0 !important; max-width: 72ch; font: 400 13.5px/1.45 var(--sans); color: var(--muted); }
.anl__cifras { margin-top: 34px; border-top: 2px solid var(--ink); scroll-margin-top: 16px; min-width: 0; }
.anl__cifras-s { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 14px; min-height: 56px; padding: 14px 0 12px; cursor: pointer; list-style: none; }
.anl__cifras-s::-webkit-details-marker { display: none; }
.anl__cifras-s::after { content: ''; grid-column: 2; grid-row: 1 / span 2; width: 12px; height: 12px; margin-right: 6px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.anl__cifras[open] > .anl__cifras-s::after { transform: rotate(-135deg) translate(-3px, -3px); }
.anl__cifras-s .anl__sh { grid-column: 1; font-size: clamp(20px, 3.6vw, 28px); }
.anl__cifras-s small { grid-column: 1; font: 400 14px/1.4 var(--sans); color: var(--muted); }
.anl__cifras-s:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.anl__cifras > .anl__kpis { margin-top: 6px; }

/* Pass 31 · «Quién compite»: media de la última encuesta de cada empresa; horquilla de empresas y marca del CIS. */
.sb__pct { display: flex; flex-direction: column; align-items: flex-end; }
.sb__pct small { display: inline; }
.sb__rng { margin-top: 3px; font: 600 12.5px/1 var(--sans); color: var(--muted); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.sb__track { overflow: visible; }
.sb__band { position: absolute; top: -3px; bottom: -3px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--pc); background: color-mix(in srgb, var(--pc) 16%, transparent); }
.sb__cisdot { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2.5px var(--ink); z-index: 2; }
.sb__cis { display: inline-flex; align-items: center; gap: 6px; font: 500 12.5px/1.2 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.sb__cis i { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink); flex: 0 0 auto; }
.e29 .sb__key { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 4px 0 10px !important; font: 500 13px/1.35 var(--sans); color: var(--ink-2); }
.sb__key span { display: inline-flex; align-items: center; gap: 6px; }
.sb__key-m { width: 18px; height: 8px; border-radius: 4px; background: var(--ink-2); }
.sb__key-b { width: 22px; height: 12px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--ink-2); background: color-mix(in srgb, var(--ink-2) 14%, transparent); }
.sb__key-c { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 2.5px var(--ink); }
.sb__key .sb__majkey { margin: 0; }
.e29 .sb__cisnote { margin: 12px 0 0 !important; padding: 10px 12px; max-width: 72ch; background: var(--soft); font: 500 14.5px/1.45 var(--sans); color: var(--ink); }
.sb__pn { white-space: nowrap; }
/* Pass 32 · leyenda de «Quién compite»: cada elemento en una sola línea (se reparte entre líneas, nunca dentro). */
.sb__key span { white-space: nowrap; }
.sb__rng { white-space: nowrap; }

/* Pass 33 · test: los partidos que no puntúan, con su motivo */
.rv__noscore { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--rule); }
.e29 .rv__noscore ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rv__noscore li { display: grid; grid-template-columns: 24px auto minmax(0, 1fr); align-items: center; gap: 8px; font: 400 13.5px/1.35 var(--sans); color: var(--muted); }
.rv__noscore li b { font-weight: 800; color: var(--ink); white-space: nowrap; }
.rv__noscore li span { overflow-wrap: anywhere; }
html.is-snap .rv__noscore { display: none !important; }


/* Conmutador superior simetrico de 3 secciones del especial (escritorio + movil sin desbordamiento) */
.ss-short { display: none; }
@media (max-width: 700px) {
  .ss-full { display: none; }
  .ss-short { display: inline; }
  .sister-switch--mobile {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 3px;
    width: 100%;
    max-width: 100%;
    border-radius: 26px;
  }
  .sister-switch--mobile .sister-switch__tab {
    min-height: 40px;
    padding: 4px 10px;
    font-size: 12.5px;
    white-space: nowrap;
    text-align: center;
    border-radius: 22px;
  }
}
@media (max-width: 340px) {
  .sister-switch--mobile { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sister-switch--mobile .sister-switch__tab { white-space: normal; padding: 5px 6px; font-size: 11.5px; }
}
