/* Tendencias (Radar) · Cuaderno de laboratorio editorial.
   Índice de publicación en cuatro escalas (principal · ahora · últimos · archivo) y artículo en tres capas
   (entender · profundizar · verificar). Se carga detrás de editorial.css en /tendencias-cosmetica/ y en la 404;
   en la portada y en fichas/problemas solo trabaja el bloque .rd-home y el aviso .rd-nota (por eso todo va con «html body»).
   Reglas de la casa: ninguna caja y NINGÚN bloque de color liso: una foto que no ha cargado deja papel, no un color.
   Un artículo sin foto real se enseña solo con tipografía. */
html body .rd{max-width:calc(var(--a-amplio,1320px) + 2 * var(--gutter,20px));margin-inline:auto;padding-inline:var(--gutter,20px);--rd-off:calc(var(--rd-top,68px) + 28px)}
@media (max-width:1079px){html body .rd{--rd-off:calc(var(--rd-top,120px) + 64px)}}

/* Voz técnica común */
html body :is(.rd-sello,.rd-num,.rd-meta,.rd-it .mt,.rd-ln .mt,.rd-ahora .mt,.rd-arch-g h3,.rd-arch-g time,.rd-arch-g .min,.rd-pn .k,.rd-fu summary,.rd-fu-g,.rd-caja-t,.rd-firma-l,.rd-nota-t,.rd-filtros button,.rd-indice summary){font-family:var(--ed-mono);font-size:var(--t-meta);font-weight:500;letter-spacing:.06em;text-transform:uppercase;line-height:1.4;font-variant-numeric:tabular-nums}
html body .rd-sello{display:inline-block;color:var(--d-ink)}
html body .rd-sello::before{content:none}
html body .rd-num{color:var(--d-ink-2)}
html body .rd-meta{display:flex;flex-wrap:wrap;gap:2px 0;color:var(--d-ink-2);margin:0}
html body .rd-meta>span+span::before{content:"/";margin-inline:.7em;color:var(--d-ink-3)}
html body .rd-ir{display:inline-block;padding-block:10px}
html body .rd-ir>span[aria-hidden]{display:inline-block;margin-left:.15em}
html body .rd picture,html body .rd-home picture{display:block;height:100%}
html body .rd img,html body .rd-home img{display:block;width:100%;height:100%;object-fit:cover}

/* ───────── Índice ─────────
   Cuatro escalas, de mayor a menor: 1 principal (foto a todo el ancho) · 2 ahora (fotos medianas) ·
   3 últimos (una línea por análisis) · 4 archivo (lista tipográfica por categoría). */
/* Mancheta: discreta, para que mande la historia principal */
html body .rd-hero{padding-block:clamp(22px,3vw,44px) clamp(14px,1.8vw,22px);row-gap:8px;align-items:end}
html body .rd-hero h1{font-size:clamp(1.9rem,1.35rem + 2.1vw,3.1rem);line-height:1.02;max-width:none;margin:0}
html body .rd-hero .sub{font-size:clamp(1rem,.95rem + .3vw,1.15rem);line-height:1.4;color:var(--d-ink-2);max-width:30ch;margin:0}
@media (min-width:900px){html body .rd-hero>div:last-child{padding-bottom:.35rem}}

/* 1 · Principal: foto a todo el ancho, titular a la mayor escala de la página */
html body .rd-dest{text-decoration:none;color:var(--d-ink);row-gap:clamp(16px,2vw,26px);align-items:start;background:none}
html body .rd-dest .im{display:block;aspect-ratio:3/2;overflow:hidden;margin-inline:calc(-1 * var(--gutter))}
html body .rd-dest .ti{display:block}
html body .rd-dest .rd-meta{margin-bottom:clamp(10px,1.2vw,16px)}
html body .rd-dest h2{font-size:clamp(2.35rem,1.2rem + 4.6vw,5rem);line-height:.98;letter-spacing:-.03em;margin:0;text-wrap:balance}
html body .rd-dest .tx{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
html body .rd-dest .en{display:block;font-size:var(--t-lead,1.2rem);line-height:1.4;color:var(--d-ink-2);max-width:34ch}
html body .rd-dest:hover h2{text-decoration:underline;text-decoration-color:var(--d-acc);text-decoration-thickness:1px;text-underline-offset:.1em}
html body .rd-dest:hover .rd-ir{color:var(--d-acc)}
html body .rd-dest:focus-visible{outline:2px solid var(--d-acc);outline-offset:6px}
@media (min-width:700px){html body .rd-dest .im{aspect-ratio:2/1;margin-inline:0}}
@media (min-width:900px){
  html body .rd-dest .ti{grid-column:1/9}
  html body .rd-dest .tx{grid-column:9/13;padding-top:calc(var(--t-meta) * 1.4 + clamp(10px,1.2vw,16px) + .35rem)}
}

/* Secciones */
html body .rd-sec{padding-top:var(--sp-sec)}
html body .rd-sec[hidden]{display:none}
html body .rd-sec-cab h2{font-size:var(--t-h2);margin:0}
html body .rd-sec-cab p{color:var(--d-ink-2);max-width:30ch;margin:14px 0 0}

/* 2 · Ahora: una foto mediana y dos menores. Sin miniaturas cuadradas, sin número */
html body .rd-ahora-s .rd-sec-cab{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 32px;border-top:1px solid var(--ed-regla);padding-top:12px;margin-bottom:clamp(18px,2.4vw,30px)}
html body .rd-ahora-s .rd-sec-cab h2{font-size:clamp(1.5rem,1.3rem + .8vw,2rem)}
html body .rd-ahora-s .rd-sec-cab p{margin:0;max-width:none;font-size:.95rem}
html body .rd-ahora{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:0}
html body .rd-ahora li{margin:0;min-width:0}
html body .rd-ahora a{display:block;text-decoration:none;color:var(--d-ink)}
html body .rd-ahora .im{display:block;aspect-ratio:3/2;overflow:hidden}
html body .rd-ahora .mt{display:flex;flex-wrap:wrap;gap:0 .9em;color:var(--d-ink-2);margin:12px 0 6px}
html body .rd-ahora .et{color:var(--d-ink)}
html body .rd-ahora h3{font-family:var(--ed-serif);font-weight:400;font-size:clamp(1.9rem,1.5rem + 1.6vw,2.7rem);line-height:1.03;letter-spacing:-.024em;margin:0;text-wrap:balance;transition:color .2s}
html body .rd-ahora a:hover h3{color:var(--d-acc)}
html body .rd-ahora a:focus-visible{outline:2px solid var(--d-acc);outline-offset:4px}
@media (max-width:699px){
  /* móvil: la primera a sangre; las otras dos, foto pequeña a la izquierda y titular a la derecha */
  html body .rd-ahora li:first-child .im{margin-inline:calc(-1 * var(--gutter))}
  html body .rd-ahora li+li{border-top:1px solid var(--d-line);margin-top:22px}
  html body .rd-ahora li+li+li{margin-top:0}
  html body .rd-ahora li+li a{display:grid;grid-template-columns:112px minmax(0,1fr);column-gap:16px;align-items:start;padding:16px 0}
  html body .rd-ahora li+li .im{grid-row:1/3;aspect-ratio:4/5}
  html body .rd-ahora li+li .mt{margin:0 0 6px}
  html body .rd-ahora li+li h3{font-size:1.5rem;line-height:1.06}
}
@media (min-width:700px){
  html body .rd-ahora{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:clamp(16px,2.4vw,40px);row-gap:32px;align-items:start}
  html body .rd-ahora li{grid-column:span 6}
  html body .rd-ahora li:first-child{grid-column:1/-1}
  html body .rd-ahora li+li h3{font-size:clamp(1.4rem,1.2rem + .7vw,1.75rem);line-height:1.07}
}
@media (min-width:1000px){
  html body .rd-ahora li:first-child{grid-column:span 6}
  html body .rd-ahora li+li{grid-column:span 3}
  html body .rd-ahora li+li .im{aspect-ratio:4/5}
}

/* Categorías: enlaces de texto, no píldoras */
html body .rd-feed{row-gap:18px;align-items:start}
html body .rd-filtros{display:flex;flex-wrap:wrap;gap:0 clamp(16px,2vw,28px);margin:10px 0 0;padding:0;overflow:visible}
html body .rd-filtros button{appearance:none;border:0;background:none;color:var(--d-ink-2);padding:0;height:44px;line-height:44px;cursor:pointer;display:inline-block;white-space:nowrap;text-decoration:underline;text-decoration-color:transparent;text-decoration-thickness:2px;text-underline-offset:.55em;transition:color .18s,text-decoration-color .18s}
html body .rd-filtros button small{font:inherit;font-size:.92em;color:var(--d-ink-3)}
html body .rd-filtros button:hover{color:var(--d-ink)}
html body .rd-filtros button[aria-pressed="true"]{background:none;color:var(--d-ink);text-decoration-color:var(--d-acc)}
html body .rd-filtros button[aria-pressed="true"] small{color:var(--d-ink-2);opacity:1}
@media (min-width:900px){html body .rd-filtros{flex-direction:column;align-items:flex-start;margin-top:18px}html body .rd-filtros button{height:36px;line-height:36px}}

/* 3 · Últimos: una línea por análisis — fecha · minutos — titular corto → */
html body .rd-lista{list-style:none;margin:0;padding:0;border-top:1px solid var(--ed-regla)}
html body .rd-ln{display:block;margin:0;padding:0;border-bottom:1px solid var(--d-line);min-width:0}
html body .rd-ln[hidden]{display:none}
html body .rd-ln a{display:grid;grid-template-columns:minmax(0,1fr) 1.6rem;column-gap:14px;row-gap:5px;align-items:baseline;padding:15px 0 17px;text-decoration:none;color:var(--d-ink)}
html body .rd-ln .mt{grid-column:1/-1;color:var(--d-ink-2);white-space:nowrap}
html body .rd-ln .mt .min::before{content:"·";margin-inline:.6em;color:var(--d-ink-3)}
html body .rd-ln :is(h3,h2){grid-column:1;font-family:var(--ed-serif);font-weight:400!important;font-size:clamp(1.45rem,1.2rem + 1vw,2.05rem);line-height:1.07;letter-spacing:-.022em!important;margin:0;transition:color .2s}
html body .rd-ln .rs{display:none;grid-column:1/-1;font-size:.9rem;line-height:1.4;color:var(--d-ink-2)}
html body .rd-ln .fl{grid-column:2;grid-row:2;text-align:right;font-size:1.15rem;line-height:1;color:var(--d-ink);transition:color .2s,transform .2s}
html body .rd-ln a:hover :is(h3,h2,.fl){color:var(--d-acc)}
html body .rd-ln a:hover .fl{transform:translateX(3px)}
html body .rd-ln a:focus-visible{outline:2px solid var(--d-acc);outline-offset:2px}
@media (min-width:760px){
  html body .rd-ln a{grid-template-columns:9.6rem minmax(0,1fr) 1.6rem;column-gap:clamp(14px,1.8vw,26px);padding-block:17px 19px}
  html body .rd-ln .mt{grid-column:1;grid-row:1}
  html body .rd-ln :is(h3,h2){grid-column:2;grid-row:1}
  html body .rd-ln .fl{grid-column:3;grid-row:1}
  html body .rd-ln .rs{display:block;grid-column:2/3;grid-row:2;text-wrap:pretty}
}
html body .rd-lista.rd-cambia .rd-ln{animation:rd-entra .22s ease-out both}
@keyframes rd-entra{from{opacity:0}to{opacity:1}}

/* 4 · Archivo: lista tipográfica por categoría. Sin fotos, sin resúmenes */
html body .rd-arch{row-gap:18px;align-items:start;padding-top:clamp(56px,7vw,96px)}
html body .rd-arch .rd-sec-cab h2{font-size:clamp(1.5rem,1.3rem + .8vw,2rem)}
html body .rd-arch .rd-sec-cab p{margin-top:8px;font-size:.95rem}
html body .rd-arch-g{border-top:1px solid var(--d-line);padding:12px 0 10px}
html body .rd-arch-g:first-child{border-top-color:var(--ed-regla)}
html body .rd-arch-g h3{color:var(--d-ink-2);margin:0;padding-block:6px}
html body .rd-arch-g ul{list-style:none;margin:0;padding:0}
html body .rd-arch-g li{margin:0}
html body .rd-arch-g a{display:grid;grid-template-columns:4.7rem minmax(0,1fr) auto;column-gap:14px;align-items:baseline;min-height:44px;padding:10px 0;text-decoration:none;color:var(--d-ink)}
html body .rd-arch-g time{color:var(--d-ink-3)}
html body .rd-arch-g .min{color:var(--d-ink-3);white-space:nowrap}
html body .rd-arch-g .t{font-weight:500;font-size:1.02rem;line-height:1.3;transition:color .18s}
html body .rd-arch-g a:hover .t{color:var(--d-acc)}
html body .rd-arch-g a:focus-visible{outline:2px solid var(--d-acc);outline-offset:2px}
@media (min-width:700px){
  html body .rd-arch-g{display:grid;grid-template-columns:11.5rem minmax(0,1fr);column-gap:clamp(14px,1.8vw,26px);align-items:start}
  html body .rd-arch-g h3{padding-block:13px 0}
}

/* ───────── El artículo como entidad con miniatura: fila con regla (Sigue leyendo, 404, portada) ───────── */
html body .rd-grid{list-style:none;margin:0;padding:0;display:block;border-top:1px solid var(--ed-regla)}
html body .rd-it{display:block;margin:0;padding:0;border-bottom:1px solid var(--d-line);min-width:0}
html body .rd-it[hidden]{display:none}
html body .rd-it a{display:grid;grid-template-columns:minmax(0,1fr) 76px;column-gap:16px;row-gap:8px;align-items:start;padding:18px 0 20px;text-decoration:none;color:var(--d-ink)}
html body .rd-it .mt{grid-column:1;grid-row:1;display:flex;flex-wrap:wrap;gap:0 .9em;color:var(--d-ink-2)}
html body .rd-it .n{color:var(--d-acc)}
html body .rd-it .tx{grid-column:1;grid-row:2;min-width:0}
html body .rd-it .im{grid-column:2;grid-row:1/3;aspect-ratio:1;overflow:hidden}
html body .rd-it.sf a{grid-template-columns:minmax(0,1fr)} /* sin foto real: solo tipografía */
html body .rd-it :is(h3,h2){font-family:var(--ed-serif);font-weight:400!important;font-size:clamp(1.28rem,1.16rem + .5vw,1.6rem);line-height:1.12;letter-spacing:-.018em!important;margin:0;text-wrap:balance;transition:color .2s}
html body .rd-it p{display:none;font-size:.95rem;line-height:1.48;color:var(--d-ink-2);margin:8px 0 0;max-width:58ch}
html body .rd-it a:hover :is(h3,h2){color:var(--d-acc)}
html body .rd-it a:focus-visible{outline:2px solid var(--d-acc);outline-offset:2px}
@media (min-width:640px){
  html body .rd-it a{grid-template-columns:minmax(0,1fr) 104px;column-gap:28px;padding-block:22px 24px}
  html body .rd-it p{display:block}
}
/* Pieza grande (portada): foto 3:2 arriba */
html body .rd-grid:not(.es-lista) .rd-it.g a{display:flex;flex-direction:column;gap:14px;padding:0 0 clamp(28px,3.4vw,44px)}
html body .rd-grid:not(.es-lista) .rd-it.g .im{aspect-ratio:3/2;width:100%}
html body .rd-grid:not(.es-lista) .rd-it.g .mt{display:flex}
html body .rd-grid:not(.es-lista) .rd-it.g p{display:block;font-size:1.06rem;margin-top:14px}
html body .rd-grid:not(.es-lista) .rd-it.g :is(h3,h2){font-size:clamp(1.9rem,1.4rem + 1.9vw,3rem);line-height:1.03;letter-spacing:-.024em!important}

/* Antes de subirnos a una tendencia: frase + texto, con regla de tinta */
html body .rd-manifiesto{margin-top:var(--sp-pausa);border-top:1px solid var(--ed-regla);padding:clamp(22px,2.6vw,34px) 0 0;background:none;color:var(--d-ink);row-gap:22px;align-items:start;display:grid}
html body .rd-manifiesto h2{color:var(--d-ink);font-size:var(--t-h2);line-height:1.04;max-width:14ch;margin:0}
html body .rd-manifiesto p{color:var(--d-ink-2);font-size:var(--t-body);max-width:46ch;margin:0}
html body .rd-manifiesto p b{color:var(--d-ink)}
html body .rd-manifiesto a{margin-top:14px;color:var(--d-ink)}
html body .rd-manifiesto a:hover{color:var(--d-acc)}

/* Newsletter: integrada, sin caja */
html body .rd-news{margin-top:var(--sp-sec);border-top:1px solid var(--ed-regla);padding:clamp(22px,2.6vw,34px) 0 0;background:none;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:clamp(16px,2.4vw,40px);row-gap:22px;align-items:start}
html body .rd-news>*{grid-column:1/-1}
html body .rd-news h2{font-size:var(--t-h2);max-width:15ch;margin:0}
html body .rd-news .apoyo{color:var(--d-ink-2);max-width:44ch;margin:0 0 18px}
html body .rd-news form{display:grid;gap:14px;max-width:34rem}
html body .rd-news .campo{display:flex;align-items:stretch;gap:14px}
html body .rd-news input[type=email]{flex:1;min-width:0;min-height:48px;padding:10px 0;border:0;border-bottom:1px solid var(--d-ink);background:transparent;color:var(--d-ink);font:inherit}
html body .rd-news input[type=email][aria-invalid="true"]{border-bottom-color:var(--d-warn)}
html body .rd-news .btn{min-height:48px;justify-content:center;flex:none}
html body .rd-news .chk{font-size:.86rem;line-height:1.45;color:var(--d-ink-2);display:flex;gap:10px;align-items:flex-start}
html body .rd-news .chk input{margin:2px 0 0;width:18px;height:18px;flex:none;accent-color:var(--d-ink)}
html body .rd-news .msg{font-size:.92rem;font-weight:600;margin:0}
html body .rd-news .msg.err{color:var(--d-warn)}
@media (min-width:900px){html body .rd-news h2{grid-column:1/8}html body .rd-news-f{grid-column:8/13}}
@media (max-width:420px){html body .rd-news .campo{flex-direction:column}}

/* ───────── Artículo ───────── */
html body .rd-art-cab{padding-block:clamp(26px,4vw,56px) 0;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:clamp(16px,2.4vw,40px);row-gap:clamp(18px,2.2vw,30px);max-width:none;align-items:end}
html body .rd-art-cab>*{grid-column:1/-1;min-width:0}
html body .rd-linea{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 0;font-family:var(--ed-mono);font-size:var(--t-meta);font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--d-ink-2)}
html body .rd-migas{font:inherit;letter-spacing:inherit;color:inherit}
html body .rd-migas ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:0}
html body .rd-migas li{display:flex;align-items:baseline;margin:0}
html body .rd-migas li+li:not(.ini+li)::before,html body .rd-linea .rd-meta::before{content:"/";margin-inline:.7em;color:var(--d-ink-3)}
html body .rd-migas li.ini:not(:focus-within){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
html body .rd-migas li.ini:focus-within::after{content:"/";margin-inline:.7em;color:var(--d-ink-3)}
html body .rd-migas a{display:inline-block;padding-block:6px;color:var(--d-ink);text-decoration:none}
html body .rd-migas a:hover{color:var(--d-acc)}
html body .rd-linea .rd-meta{display:flex;font:inherit;letter-spacing:inherit}
html body .rd-art-cab h1{font-size:clamp(2.75rem,1.7rem + 4vw,4.9rem);line-height:.99;max-width:20ch;margin:0}
html body .rd-art-cab .entradilla{font-size:var(--t-lead);line-height:1.4;color:var(--d-ink-2);max-width:44ch;margin:0}
html body .rd-firma{display:grid;grid-template-columns:48px minmax(0,1fr);gap:4px 14px;align-items:center;margin:0}
html body .rd-firma img{width:48px;height:48px;object-fit:cover;grid-row:1}
html body .rd-firma .q{display:grid;line-height:1.3;margin:0;font-size:.98rem;color:var(--d-ink)}
html body .rd-firma .q a{font-weight:600;color:var(--d-ink);text-decoration:none}
html body .rd-firma .q a:hover{color:var(--d-acc)}
html body .rd-firma .q>span+span{font-size:.86rem;color:var(--d-ink-2)}
html body .rd-firma .act{grid-column:2;font-family:var(--ed-mono);font-size:var(--t-meta);letter-spacing:.04em;text-transform:uppercase;color:var(--d-ink-2);margin:4px 0 0}
@media (min-width:900px){
  html body .rd-art-cab h1{grid-column:1/12}
  html body .rd-art-cab .entradilla{grid-column:1/8}
  html body .rd-art-cab .rd-firma{grid-column:9/13;padding-bottom:.3rem}
}
html body .rd-sin-foto{border-bottom:1px solid var(--ed-regla);padding-bottom:clamp(22px,3vw,40px)} /* sin foto real: cabecera solo tipográfica */
html body .rd-portada{margin:clamp(26px,3.4vw,48px) 0 0;background:none;overflow:visible;position:static}
html body .rd-portada picture{height:auto}
html body .rd-portada img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
@media (min-width:900px){html body .rd-portada img{aspect-ratio:21/9}}
html body .rd-portada figcaption{position:static;background:none;backdrop-filter:none;padding:0;margin-top:10px;color:var(--d-ink-2);font-size:var(--t-cap)}
html body .rd-portada figcaption b{font-family:var(--ed-mono);font-size:var(--t-meta);font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--d-ink-2)}
@media (max-width:899px){html body .rd-portada{margin-inline:calc(-1 * var(--gutter))}html body .rd-portada figcaption{padding-inline:var(--gutter)}}

html body .rd-cols{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(28px,4vw,56px) clamp(16px,2.4vw,40px);padding-top:clamp(28px,4.6vw,72px)}
/* Índice del artículo. Móvil y tableta: control compacto fijo bajo la cabecera («En este análisis ↓» + sección actual),
   que abre la lista encima del texto. Escritorio: al margen, siempre a la vista. */
html body .rd-indice{background:var(--d-bg);padding:0;border-bottom:1px solid var(--d-line);position:sticky;top:var(--rd-top,0px);z-index:5;margin-inline:calc(-1 * var(--gutter));padding-inline:var(--gutter)}
html body .rd-indice summary{cursor:pointer;color:var(--d-ink);padding:0;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:46px}
html body .rd-indice summary::-webkit-details-marker{display:none}
html body .rd-indice summary .r{white-space:nowrap}
html body .rd-indice summary .r::after{content:" ↓";color:var(--d-acc)}
html body .rd-indice[open] summary .r::after{content:" ↑"}
html body .rd-indice .donde{flex:1;min-width:0;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--ed-sans);font-size:.82rem;font-weight:400;letter-spacing:0;text-transform:none;color:var(--d-ink-2)}
html body .rd-indice nav{position:absolute;left:0;right:0;top:100%;background:var(--d-bg);padding:0 var(--gutter) 10px;border-bottom:1px solid var(--ed-regla);max-height:calc(100vh - var(--rd-top,120px) - 70px);max-height:calc(100dvh - var(--rd-top,120px) - 70px);overflow:auto;overscroll-behavior:contain}
html body .rd-indice ol{list-style:none;margin:0;padding:0;display:block;counter-reset:i}
html body .rd-indice li{margin:0}
html body .rd-indice a{display:grid;grid-template-columns:1.9rem minmax(0,1fr);align-items:baseline;min-height:44px;padding:11px 0;color:var(--d-ink-2);text-decoration:none;font-weight:500;font-size:.93rem;line-height:1.3;border:0;border-top:1px solid var(--d-line);margin:0;transition:color .18s}
html body .rd-indice a::before{counter-increment:i;content:counter(i,decimal-leading-zero);font-family:var(--ed-mono);font-size:.7rem;font-weight:500;letter-spacing:.04em;color:var(--d-ink-3);transition:color .18s}
html body .rd-indice a:hover{color:var(--d-ink)}
html body .rd-indice a[aria-current],html body .rd-indice a[aria-current]::before{color:var(--d-acc)}
@media (min-width:1080px){
  html body .rd-cols{grid-template-columns:repeat(12,minmax(0,1fr))}
  html body .rd-indice{grid-column:1/4;top:calc(var(--rd-top,68px) + 28px);align-self:start;z-index:auto;margin-inline:0;border:0;border-top:1px solid var(--ed-regla);padding:10px 0 0;max-width:17rem;max-height:calc(100vh - var(--rd-top,68px) - 48px);overflow:auto;scrollbar-width:thin}
  html body .rd-indice summary{pointer-events:none;min-height:0;padding:0 0 10px;color:var(--d-ink-2)}
  html body .rd-indice summary .r::after{content:none!important}
  html body .rd-indice .donde{display:none}
  html body .rd-indice nav{position:static;padding:0;border:0;max-height:none;overflow:visible}
  html body .rd-indice a{min-height:0;padding:8px 0;border-top:0;font-size:.88rem}
  html body .rd-cuerpo{grid-column:4/13}
}

/* Cuerpo: columna de lectura */
html body .rd-cuerpo{--col:38.5rem;font-size:var(--t-body);line-height:1.66;min-width:0;color:var(--d-ink)}
html body .rd-cuerpo>*{max-width:var(--col);margin-block:0}
html body .rd-cuerpo>*+*{margin-top:1.1em}
html body .rd-cuerpo>p:first-child{font-size:1em}
html body .rd-cuerpo :is(h2,section>h2){font-size:clamp(1.9rem,1.5rem + 1.3vw,2.7rem);line-height:1.05;letter-spacing:-.024em!important;margin-top:2.1em;max-width:20ch}
html body .rd-cuerpo :is(h2,h3,[id]),html body .rd-fuentes li{scroll-margin-top:var(--rd-off)} /* que la cabecera fija no tape el destino */
html body .rd-cuerpo>h2:first-child{margin-top:0}
html body .rd-cuerpo h3{font-family:var(--ed-sans);font-size:1.22rem;font-weight:600;line-height:1.25;margin-top:2em}
html body .rd-cuerpo :is(h2,h3)+*{margin-top:.8em}
html body .rd-cuerpo :is(ul,ol){padding-left:1.2em;display:grid;gap:.5em;margin-bottom:0}
html body .rd-cuerpo li::marker{color:var(--d-ink-3);font-weight:400}
html body .rd-cuerpo a{color:var(--d-ink);font-weight:inherit;text-decoration:underline;text-decoration-color:var(--d-acc);text-decoration-thickness:1px;text-underline-offset:.22em;transition:color .18s}
html body .rd-cuerpo a:hover{color:var(--d-acc)}
html body .rd-cuerpo strong{font-weight:600}
/* Frase destacada: pausa tipográfica. Es una frase literal del texto (aria-hidden: no se lee dos veces) */
html body .rd-cuerpo .rd-cita{font-family:var(--ed-serif);font-size:clamp(1.55rem,1.25rem + 1.3vw,2.2rem);line-height:1.13;letter-spacing:-.022em;color:var(--d-ink);max-width:21ch;margin-block:1.5em 1.3em;padding-top:.7em;position:relative;text-wrap:balance}
html body .rd-cuerpo .rd-cita::before{content:"";position:absolute;left:0;top:0;width:3.2rem;border-top:1px solid var(--d-acc)}
html body .rd-cuerpo .rd-cita+*{margin-top:0}
@media (min-width:700px){html body .rd-cuerpo .rd-cita{max-width:24ch;margin-left:clamp(0px,6vw,5.5rem)}}
/* Referencias en superíndice */
html body .rd-cuerpo sup.rd-ref{font-family:var(--ed-mono);font-size:.64em;font-weight:500;line-height:0;margin-left:1px;letter-spacing:0;font-variant-numeric:tabular-nums}
html body .rd-cuerpo sup.rd-ref a{text-decoration:none;color:var(--d-acc);padding:8px 1px;margin:-8px 0}
html body .rd-cuerpo sup.rd-ref a:hover{text-decoration:underline}
html body .rd-cuerpo sup.rd-ref a:not(:only-child){display:inline-block;min-width:24px;text-align:center;padding-inline:0;margin-inline:0} /* citas contiguas: 24 px de objetivo cada una */
html body .rd-cuerpo sup.rd-ref a+a::before{content:"·";color:var(--d-ink-3);position:absolute;margin-left:-9px}
/* Tablas editoriales */
html body .rd-cuerpo .tablewrap{max-width:none;overflow-x:auto;background:none;padding:0;margin-top:1.8em;border-top:1px solid var(--ed-regla);clear:both}
html body .rd-cuerpo .tablewrap+*{margin-top:1.8em}
html body .rd-cuerpo table{border-collapse:collapse;width:100%;min-width:470px;font-size:.94rem;line-height:1.45;background:none}
html body .rd-cuerpo :is(th,td){text-align:left;vertical-align:top;padding:13px 20px 13px 0;border:0;border-bottom:1px solid var(--d-line);background:none}
html body .rd-cuerpo :is(th,td):last-child{padding-right:0}
html body .rd-cuerpo tr:last-child td{border-bottom:1px solid var(--d-line)}
html body .rd-cuerpo th{font-family:var(--ed-mono);font-size:var(--t-meta);font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--d-ink-2);padding-block:10px}
html body .rd-cuerpo td:first-child{font-weight:600;color:var(--d-ink)}
html body .rd-cuerpo td{color:var(--d-ink-2)}
@media (min-width:641px) and (max-width:1079px){html body .rd-cuerpo .tablewrap{margin-right:calc(-1 * var(--gutter));padding-right:var(--gutter)}}
@media (max-width:640px){
  /* móvil: la tabla se lee como lista. Cada fila es una entrada; cada celda lleva delante el rótulo de su columna */
  html body .rd-cuerpo .tablewrap{overflow:visible}
  html body .rd-cuerpo table{min-width:0;display:block}
  html body .rd-cuerpo thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  html body .rd-cuerpo tbody{display:block}
  html body .rd-cuerpo tbody tr{display:block;padding:14px 0 12px;border-bottom:1px solid var(--d-line)}
  html body .rd-cuerpo tbody td{display:block;border:0!important;padding:5px 0;overflow-wrap:anywhere}
  html body .rd-cuerpo tbody td:first-child{display:block;font-family:var(--ed-serif);font-weight:400;font-size:1.3rem;line-height:1.15;letter-spacing:-.015em;padding-bottom:6px}
  html body .rd-cuerpo tbody td[data-th]::before{content:attr(data-th);font-family:var(--ed-mono);font-size:var(--t-meta);font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:var(--d-ink-3);line-height:1.5;display:block;margin-bottom:1px}
}

/* Las «cajas» editoriales ya no son cajas: rótulo mono + regla */
html body .rd-caja{margin-top:2em!important;border:0;background:none;color:inherit;padding:0;position:static}
html body .rd-caja+*{margin-top:2em}
html body .rd-caja>*{margin:0}
html body .rd-caja>*+*{margin-top:.8em}
html body .rd-caja-t{color:var(--d-ink-2);display:block}
html body .rd-caja ul{list-style:none;padding:0;display:block;font-size:1em}
html body .rd-caja li{position:relative;padding-left:1.7em}
html body .rd-caja li+li{margin-top:.6em}
html body .rd-caja li::before{content:"—";position:absolute;left:0;top:0;font-family:var(--ed-mono);font-weight:500;color:var(--d-ink-3)}
/* En 30 segundos */
html body .rd-30s{border-top:1px solid var(--ed-regla);border-bottom:1px solid var(--ed-regla);padding:14px 0 24px}
html body .rd-30s .rd-caja-t{color:var(--d-ink)}
html body .rd-30s ul{font-size:1.04em;line-height:1.5}
html body .rd-30s li+li{margin-top:.7em}
/* Por qué se está haciendo viral: nota */
html body .rd-viral{border-top:1px solid var(--d-line);padding-top:12px;font-size:.95em;line-height:1.56;color:var(--d-ink-2)}
@media (min-width:700px){html body .rd-viral{display:grid;grid-template-columns:9.5rem minmax(0,1fr);column-gap:24px;align-items:start}html body .rd-viral>*{grid-column:2}html body .rd-viral>.rd-caja-t{grid-column:1;grid-row:1/9;padding-top:.3em}html body .rd-viral>.rd-caja-t+*{margin-top:0}}
/* Escritorio ancho: la nota de contexto sale al margen derecho de la columna de lectura */
@media (min-width:1360px){
  html body .rd-cuerpo .rd-viral{display:block;float:left;clear:left;width:14.5rem;max-width:none;margin:.35em 0 1.2em calc(var(--col) + 2.6rem)!important;font-size:.86rem;line-height:1.5;border-top-color:var(--ed-regla)}
  html body .rd-cuerpo .rd-viral>.rd-caja-t{padding-top:0;margin-bottom:.7em}
  html body .rd-cuerpo .rd-viral+*{margin-top:1.1em}
  html body .rd-cuerpo .rd-viral+h2{margin-top:2.1em}
  html body .rd-cuerpo :is(.rd-evid,.rd-faq,.rd-fuentes,.rd-autor){clear:both}
}
/* Lo que sabemos / Lo que todavía no sabemos */
html body :is(.rd-sabemos,.rd-nosabemos){border-top:1px solid var(--d-line);padding-top:12px}
html body .rd-sabemos li::before{content:"+";color:var(--d-acc)}
html body .rd-nosabemos li::before{content:"?";color:var(--d-ink-2)}
html body .rd-sabemos li::marker,html body .rd-nosabemos li::marker{content:none}
/* En qué fijarte en un producto: lista numerada con reglas */
html body .rd-fijarte{border-top:1px solid var(--ed-regla);padding-top:12px;background:none}
html body .rd-fijarte ul{counter-reset:f;margin-top:.5em}
html body .rd-fijarte li{counter-increment:f;padding:.72em 0 .72em 2.6em;border-top:1px solid var(--d-line)}
html body .rd-fijarte li+li{margin-top:0}
html body .rd-fijarte li:first-child{border-top:0}
html body .rd-fijarte li::before{content:counter(f,decimal-leading-zero);top:1.2rem;font-size:.72rem;letter-spacing:.04em;color:var(--d-acc)}
/* Mi lectura: pasaje del autor */
html body .rd-lectura{background:none;color:var(--d-ink);border-left:1px solid var(--ed-regla);padding:2px 0 2px clamp(18px,2.4vw,30px);margin-top:2.6em!important}
html body .rd-lectura+*{margin-top:2.6em}
html body .rd-lectura .rd-caja-t{color:var(--d-ink-2)}
html body .rd-lectura p:not(.rd-caja-t):not(.rd-firma-l){font-family:var(--ed-serif);font-size:1.3em;line-height:1.36;letter-spacing:-.012em;color:var(--d-ink)}
html body .rd-lectura a{color:var(--d-ink)!important;text-decoration-color:var(--d-acc)!important}
html body .rd-firma-l{color:var(--d-ink);margin-top:1.3em!important}
html body .rd-firma-l::before{content:"— "}

/* Qué sabemos, por tipo de evidencia */
html body .rd-cuerpo :is(.rd-evid,.rd-faq,.rd-fuentes){margin-top:clamp(56px,7vw,96px)}
html body .rd-cuerpo :is(.rd-evid,.rd-faq,.rd-fuentes)>h2{margin-top:0;font-size:clamp(1.7rem,1.4rem + 1vw,2.3rem);max-width:none}
html body .rd-evid{max-width:50rem;border-top:1px solid var(--ed-regla);padding-top:16px}
html body .rd-evid .nota-g{font-size:.92rem;line-height:1.5;color:var(--d-ink-2);max-width:var(--col);margin:.8em 0 0}
html body .rd-evid dl{margin:22px 0 0;display:block}
html body .rd-evid dl>div{display:grid;grid-template-columns:minmax(0,15rem) minmax(0,1fr);gap:6px 28px;padding:14px 0;border-top:1px solid var(--d-line);align-items:baseline}
html body .rd-evid dl>div:last-child{border-bottom:1px solid var(--d-line)}
html body .rd-evid dt{font-weight:600;display:flex;flex-direction:column;gap:6px;line-height:1.25}
html body .rd-evid .pts{display:inline-flex;gap:4px;align-items:center}
html body .rd-evid .pts i{width:9px;height:9px;border-radius:50%!important;border:1px solid var(--d-ink-2);display:block}
html body .rd-evid .pts i.on{background:var(--d-acc);border-color:var(--d-acc)}
html body .rd-evid .pts span{font-family:var(--ed-mono);font-size:.7rem;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:var(--d-ink-2);margin-left:8px}
html body .rd-evid dd{margin:0;color:var(--d-ink-2);font-size:.96em;line-height:1.5}
@media (max-width:640px){html body .rd-evid dl>div{grid-template-columns:1fr}}

/* Preguntas */
html body .rd-faq{border-top:1px solid var(--ed-regla);padding-top:16px}
html body .rd-faq>h2{margin-bottom:.7em}
html body .rd-faq details{border:0;border-top:1px solid var(--d-line);background:none;padding:0;margin:0}
html body .rd-faq details:last-of-type{border-bottom:1px solid var(--d-line)}
html body .rd-faq summary{cursor:pointer;font-weight:600;font-size:1.04em;padding:16px 36px 16px 0;list-style:none;position:relative;min-height:48px;line-height:1.3}
html body .rd-faq summary::-webkit-details-marker{display:none}
html body .rd-faq summary::after{content:"+";position:absolute;right:2px;top:15px;font-family:var(--ed-mono);font-size:1rem;font-weight:400;color:var(--d-ink)}
html body .rd-faq details[open] summary::after{content:"–"}
html body .rd-faq details p{padding:0 0 20px;color:var(--d-ink-2);margin:0}

/* Fuentes: cuerpo pequeño, número en mono */
html body .rd-fuentes{font-size:.86rem;line-height:1.5;border-top:1px solid var(--ed-regla);padding-top:16px}
html body .rd-fuentes>p{color:var(--d-ink-2);font-size:.92rem;margin:.8em 0 0}
html body .rd-fuentes .rd-fu-g{color:var(--d-ink-2);font-size:var(--t-meta);margin-top:1.2em}
html body .rd-fuentes .rd-fu-g b{font-weight:500;color:var(--d-ink)}
html body .rd-fu{margin-top:1.2em;border-top:1px solid var(--d-line);border-bottom:1px solid var(--d-line)}
html body .rd-fu[open]{border-bottom:0}
html body .rd-fu summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:48px;color:var(--d-ink)}
html body .rd-fu summary::-webkit-details-marker{display:none}
html body .rd-fu summary span{color:var(--d-ink-2);margin-right:auto;margin-left:.5em}
html body .rd-fu summary::after{content:"+";font-size:1rem;font-weight:400}
html body .rd-fu[open] summary::after{content:"–"}
html body .rd-fu[open] summary span{visibility:hidden}
html body .rd-fu>h3:first-of-type{margin-top:1em!important}
html body .rd-fuentes h3{font-family:var(--ed-mono);font-size:var(--t-meta)!important;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--d-ink);margin:2.2em 0 0!important}
html body .rd-fuentes ol{padding-left:2.6em;display:block;margin:.5em 0 0}
html body .rd-fuentes li{color:var(--d-ink-2);overflow-wrap:anywhere;padding:.5em 0;border-bottom:1px solid transparent;background:none;transition:border-color .2s,color .2s}
html body .rd-fuentes li::marker{font-family:var(--ed-mono);font-size:.94em;font-weight:500;color:var(--d-ink)}
html body .rd-fuentes li:target{color:var(--d-ink);background:none;border-bottom-color:var(--d-acc)}
html body .rd-fuentes li:target::marker{color:var(--d-acc)}
html body .rd-fuentes a{white-space:nowrap}

/* Autor, sin caja */
html body .rd-autor{margin-top:clamp(56px,7vw,96px)!important;display:grid;grid-template-columns:64px minmax(0,1fr);gap:18px;align-items:start;background:none;padding:18px 0 0;border-top:1px solid var(--ed-regla)}
html body .rd-autor img{width:64px;height:64px;object-fit:cover}
html body .rd-autor b{font-family:var(--ed-serif);font-weight:400;font-size:1.5rem;letter-spacing:-.02em;line-height:1.1}
html body .rd-autor p{font-size:.95rem;line-height:1.5;color:var(--d-ink-2);margin:6px 0 0}
html body .rd-aviso{margin-top:2.4em!important;font-size:var(--t-cap);color:var(--d-ink-2);border-top:1px solid var(--d-line);padding-top:12px}

/* Anterior / siguiente */
html body .rd-pn{display:grid;grid-template-columns:minmax(0,1fr);border-top:1px solid var(--ed-regla);margin-top:var(--sp-sec)}
html body .rd-pn>*{display:block;min-width:0}
html body .rd-pn a{padding:14px 0 18px;text-decoration:none;color:var(--d-ink);border-bottom:1px solid var(--d-line)}
html body .rd-pn .k{display:block;color:var(--d-ink-2);margin-bottom:6px}
html body .rd-pn .t{display:block;font-family:var(--ed-serif);font-size:clamp(1.4rem,1.2rem + .9vw,1.9rem);line-height:1.08;letter-spacing:-.02em;transition:color .2s}
html body .rd-pn a:hover .t{color:var(--d-acc)}
html body .rd-pn a:focus-visible{outline:2px solid var(--d-acc);outline-offset:2px}
html body .rd-pn span:empty{display:none}
@media (min-width:700px){
  html body .rd-pn{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(16px,2.4vw,40px)}
  html body .rd-pn a{border-bottom:0}
  html body .rd-pn span:empty{display:block}
  html body .rd-pn .si{text-align:right}
}

/* Sigue leyendo (tres filas) y cierre */
html body .rd-sigue{padding-top:var(--sp-pausa);row-gap:22px;align-items:start}
html body .rd-sigue .rd-sec-cab .rd-ir{margin-top:10px}
html body .rd-cta{margin-top:var(--sp-sec);display:flex;justify-content:space-between;align-items:end;gap:20px 40px;flex-wrap:wrap;border-top:1px solid var(--ed-regla);padding-top:clamp(20px,2.4vw,30px);background:none}
html body .rd-cta h2{font-size:var(--t-h2);line-height:1.04;max-width:16ch;margin:0}
html body .rd-cta p{color:var(--d-ink-2);margin:12px 0 0;max-width:44ch}

/* 404 */
html body .rd-404 .caminos{display:flex;flex-wrap:wrap;align-items:center;gap:6px 24px;margin:22px 0 0}
html body .rd-404 .caminos .btn{margin-right:4px}
html body .rd-404+.rd-sigue{padding-top:var(--sp-sec)}

/* ───────── Bloque en la portada: 1 grande (7 col) + 2 filas (5 col) ───────── */
html body .rd-home{padding-top:var(--sp-pausa)}
html body .rd-home .cab{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:clamp(16px,2.4vw,40px);row-gap:14px;align-items:end;margin:0 0 clamp(24px,3vw,40px)}
html body .rd-home .cab>*{grid-column:1/-1;margin:0}
html body .rd-home .cab h2{max-width:14ch}
html body .rd-home .cab p{color:var(--d-ink-2);max-width:40ch;padding-bottom:.4em}
html body .rd-home .rd-home-g{border-top:0}
html body .rd-home .rd-home-g .rd-it.g{border-bottom:0}
html body .rd-home .rd-home-g .rd-it.g+:is(.rd-it,.rd-ln){border-top:1px solid var(--ed-regla)}
html body .rd-home .rd-ln a{grid-template-columns:minmax(0,1fr) 1.6rem}
html body .rd-home .rd-ln .mt{grid-column:1/-1;grid-row:auto}
html body .rd-home .rd-ln :is(h3,h2){grid-column:1;grid-row:auto;font-size:clamp(1.45rem,1.2rem + .9vw,1.9rem)}
html body .rd-home .rd-ln .fl{grid-column:2;grid-row:2}
html body .rd-home .mas{margin:clamp(20px,2.6vw,32px) 0 0}
@media (max-width:639px){html body .rd-home .rd-home-g .rd-it.g .im{margin-inline:calc(-1 * var(--gutter));width:auto}}
@media (min-width:900px){
  html body .rd-home .cab h2{grid-column:1/8}
  html body .rd-home .cab p{grid-column:8/13}
  html body .rd-home .rd-home-g{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:clamp(16px,2.4vw,40px);grid-template-rows:auto 1fr;align-items:start}
  html body .rd-home .rd-home-g :is(.rd-it,.rd-ln){grid-column:8/13}
  html body .rd-home .rd-home-g .rd-it.g{grid-column:1/8;grid-row:1/3}
  html body .rd-home .rd-home-g .rd-it.g a{padding-bottom:0}
}

/* ───────── Aviso «En el Radar» en fichas y problemas: nota al margen ───────── */
html body .rd-nota{margin:clamp(40px,5vw,64px) 0 0;display:block;background:none;border:0;border-top:1px solid var(--d-line);padding:10px 0 0;max-width:30rem}
html body .rd-nota .rd-nota-t{color:var(--d-ink);margin:0 0 6px;max-width:none!important}
html body .rd-nota p{color:var(--d-ink-2);font-size:.95rem;line-height:1.5;margin:0;max-width:none!important}
html body .rd-nota a{display:inline-flex;align-items:center;min-height:44px;font-weight:600;font-size:.95rem;color:var(--d-ink);text-decoration:underline;text-decoration-color:var(--d-acc);text-decoration-thickness:1px;text-underline-offset:.3em;white-space:nowrap}
html body .rd-nota a:hover{color:var(--d-acc)}

@media (prefers-reduced-motion:reduce){html body .rd-lista.rd-cambia .rd-ln{animation:none}}
@media print{.top,.foot,.rd-indice,.rd-sigue,.rd-pn,.rd-cta,.rd-news,.stickycta,.rd-cita{display:none!important}}
