/* Presentación ejecutiva. Solo afecta al modo TV; conserva datos y navegación. */
body.hy-tv:not(.hy-tv-claro){--bg:#080f1b;--bg-2:#101d2d;--line:#26384a;--ink:#f2f6fc;--ink-2:#c1d0e0;--ink-3:#91a6bd;--s1:#79b8f7}
body.hy-tv:not(.hy-tv-muro) .hy{padding:0 4.5vw;background:var(--bg)}
body.hy-tv .hy-tv-barra{gap:12px;padding:16px 0;margin-bottom:18px;font-size:12px}
body.hy-tv .hy-tv-m{max-width:36ch;line-height:1.5}
body.hy-tv .hy-tv-m b{font-size:19px;letter-spacing:.12em;margin-right:10px}
body.hy-tv .hy-tv-r{font-size:20px}
body.hy-tv .hy-tv-barra .hy-btn{font-size:11px;padding:8px 12px;border-radius:8px}
body.hy-tv:not(.hy-tv-muro) .hy-hero{height:100%;display:grid;grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);align-content:stretch;align-items:stretch;gap:24px;padding:24px 28px;margin:0;background:var(--bg-2);border:1px solid var(--line);border-radius:20px;box-shadow:none}
body.hy-tv:not(.hy-tv-muro) .hy-hero-t{display:block;max-width:none}
body.hy-tv:not(.hy-tv-muro) .hy-hero h2{font-size:clamp(28px,3vw,52px);line-height:1.08;letter-spacing:-.035em;margin:8px 0 10px;max-width:none}
body.hy-tv:not(.hy-tv-muro) .hy-kick{font-size:10px;letter-spacing:.15em;color:var(--ink-3)}
body.hy-tv:not(.hy-tv-muro) .hy-hero .hy-p{font-size:clamp(11px,1vw,17px);line-height:1.5;max-width:100ch;margin:0;color:var(--ink-2)}
body.hy-tv:not(.hy-tv-muro) .hy-hero-n{display:grid;grid-template-columns:1.4fr 1fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr));gap:16px;min-height:0}
body.hy-tv:not(.hy-tv-muro) .hy-cifra{grid-column:auto;display:flex;flex-direction:column;align-items:stretch;text-align:left;justify-content:center;gap:12px;min-width:0;padding:22px;border:1px solid var(--line);border-radius:14px;background:var(--bg);color:var(--ink);box-shadow:none}
body.hy-tv:not(.hy-tv-muro) .hy-cifra.principal{grid-column:1;grid-row:1/3;background:linear-gradient(145deg,#153b65,#102943);border-color:#35618c;color:#f2f6fc}
body.hy-tv:not(.hy-tv-muro) .hy-cifra .l{font-size:clamp(11px,1vw,18px);letter-spacing:.07em;line-height:1.4;color:var(--ink-2)}
body.hy-tv:not(.hy-tv-muro) .hy-cifra .v{font-size:clamp(36px,4vw,76px);line-height:1;letter-spacing:-.04em;font-variant-numeric:tabular-nums;white-space:nowrap}
body.hy-tv:not(.hy-tv-muro) .hy-cifra.principal .v{font-size:clamp(58px,7.4vw,142px);margin:12px 0}
body.hy-tv:not(.hy-tv-muro) .hy-cifra .v small{font-size:.35em;margin-left:5px}
body.hy-tv:not(.hy-tv-muro) .hy-cifra .r{font-size:clamp(11px,.95vw,17px);line-height:1.5;min-height:0;color:var(--ink-2)}
body.hy-tv:not(.hy-tv-muro) .hy-cifra.principal .l,body.hy-tv:not(.hy-tv-muro) .hy-cifra.principal .r{color:#cee1f5}
body.hy-tv:not(.hy-tv-muro) .hy-cifra .bar{margin-top:8px;height:5px}
body.hy-tv:not(.hy-tv-muro) .hy-cifra .d:empty{display:none}
body.hy-tv:not(.hy-tv-muro) .hy-waffle{display:none}
body.hy-tv .hy-tv-cinta{display:none}
body.hy-tv .hy-tv-pie{margin-top:18px;padding:12px 0}
body.hy-tv .hy-tv-pie .hy-tv-p{height:2px;top:-1px}
body.hy-tv .hy-tv-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
body.hy-tv .hy-tv-chips button{font-size:11px;padding:6px 10px;max-width:26ch;border-radius:7px}
body.hy-tv .hy-tv-chips button[aria-current=true]{background:#234971;color:#fff;border-color:#6096ca}
body.hy-tv .hy-tv-fila{font-size:13px;gap:12px;margin-bottom:10px}
body.hy-tv .hy-tv-fl{width:32px;height:64px;border:1px solid var(--line);border-radius:10px;background:var(--bg-2)}
body.hy-tv:not(.hy-tv-muro) .hy-escenario>.hy-panel:not(.desnudo){border-radius:20px}
@media(max-width:900px){body.hy-tv:where(:not(.hy-tv-escala)) .hy-tv-s{order:5;width:100%}body.hy-tv:where(:not(.hy-tv-escala)) .hy-tv-r{display:none}body.hy-tv:not(.hy-tv-muro):where(:not(.hy-tv-escala)) .hy-hero{padding:20px;gap:18px}body.hy-tv:not(.hy-tv-muro):where(:not(.hy-tv-escala)) .hy-cifra{padding:16px;gap:10px}body.hy-tv:not(.hy-tv-muro):where(:not(.hy-tv-escala)) .hy-hero-n{grid-template-columns:1.3fr 1fr 1fr;gap:10px}body.hy-tv:where(:not(.hy-tv-escala)) .hy-tv-sig{display:none}}
@media(max-width:600px){body.hy-tv:not(.hy-tv-muro):where(:not(.hy-tv-escala)) .hy{overflow:auto;height:auto;min-height:100dvh}body.hy-tv:not(.hy-tv-muro):where(:not(.hy-tv-escala)) .hy-escenario{min-height:620px}body.hy-tv:not(.hy-tv-muro):where(:not(.hy-tv-escala)) .hy-hero-n{grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto}body.hy-tv:not(.hy-tv-muro):where(:not(.hy-tv-escala)) .hy-cifra.principal{grid-column:1/3;grid-row:1}body.hy-tv:not(.hy-tv-muro):where(:not(.hy-tv-escala)) .hy-cifra.principal .v{font-size:64px;margin:0}body.hy-tv:where(:not(.hy-tv-escala)) .hy-tv-chips button{font-size:10px}body.hy-tv:where(:not(.hy-tv-escala)) .hy-tv-est{display:none}}
body.hy-tv:not(.hy-tv-muro) .hy-cifra>span{flex-shrink:0}
@media(min-width:601px) and (max-height:850px){
 body.hy-tv:where(:not(.hy-tv-escala)) .hy-tv-barra{padding:10px 0;margin-bottom:10px}
 body.hy-tv:not(.hy-tv-muro):where(:not(.hy-tv-escala)) .hy-hero{padding:16px 20px;gap:14px}
 body.hy-tv:not(.hy-tv-muro):where(:not(.hy-tv-escala)) .hy-hero h2{font-size:30px;margin:5px 0 7px}
 body.hy-tv:not(.hy-tv-muro):where(:not(.hy-tv-escala)) .hy-hero .hy-p{font-size:11px;line-height:1.4}
 body.hy-tv:not(.hy-tv-muro):where(:not(.hy-tv-escala)) .hy-cifra{padding:12px 16px;gap:6px}
 body.hy-tv:not(.hy-tv-muro):where(:not(.hy-tv-escala)) .hy-cifra .v{font-size:40px}
 body.hy-tv:not(.hy-tv-muro):where(:not(.hy-tv-escala)) .hy-cifra.principal .v{font-size:88px;margin:8px 0}
 body.hy-tv:not(.hy-tv-muro):where(:not(.hy-tv-escala)) .hy-cifra .r{font-size:11px;line-height:1.4}
 body.hy-tv:not(.hy-tv-muro):where(:not(.hy-tv-escala)) .hy-cifra .l{font-size:10px}
 body.hy-tv:where(:not(.hy-tv-escala)) .hy-tv-pie{margin-top:12px;padding:10px 0}
}
/* Cartografía: el territorio tiene prioridad sobre la tabla. */
.hy-mapa .mapcard{position:relative;border:1px solid #2d465d;background:radial-gradient(ellipse at 75% 20%,#17334b,#091b2b 75%);border-radius:14px;padding:12px}
.hy-mapa-tit{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px;color:#edf7ff;font-size:13px;font-weight:600;letter-spacing:.12em}
.hy-mapa-tit span{font-size:10px;font-weight:400;letter-spacing:.02em;color:#9cb7ca}
.hy-mapa .lima .ld{fill:#1b3445;stroke:#527188;stroke-width:.45;vector-effect:non-scaling-stroke}
.hy-mapa .lima .ld.vacio{fill:#183041;stroke:#476279}
.hy-mapa .lima .ld.con-alto{fill:#28577c;stroke:#86bada}
.hy-mapa .lima .ld.con-bajo{fill:#653f50;stroke:#c58897}
.hy-mapa .lima .ld:hover{filter:brightness(1.3)}
.hy .lima .pin .dot{stroke:#edf7ff;stroke-width:.65;filter:drop-shadow(0 1px 2px #0009)}
.hy .lima .pin .num{font-size:4px;font-weight:700}
.lima-distritos-nombres{pointer-events:none}
.lima-distritos-nombres>text{font-size:3px;letter-spacing:.2px;font-weight:600;text-anchor:middle;fill:#c7dbe8;paint-order:stroke;stroke:#132636;stroke-width:1.2px;stroke-linejoin:round}
.lima-distritos-nombres .oceano{font-size:3px;letter-spacing:1px;fill:#7099b8;stroke:none}
.lima-distritos-nombres .norte{fill:#c8ddec;font-size:3px;text-anchor:middle}
.hy-lima-leyenda{gap:7px 12px;padding-top:10px;border-top:1px solid #385469}
.hy-lima-leyenda li{padding:3px 0;font-size:11px}
body.hy-tv:not(.hy-tv-muro) .hy-ov2.tv{grid-template-columns:minmax(0,3fr) minmax(220px,1fr);gap:20px;height:100%}
body.hy-tv:not(.hy-tv-muro) .hy-mapas{grid-template-columns:minmax(0,.65fr) minmax(0,1.7fr);gap:14px}
body.hy-tv:not(.hy-tv-muro) .hy-mapa .peru{height:44vh;max-height:44vh;width:100%}
body.hy-tv:not(.hy-tv-muro) .hy-mapa .lima{height:32vh;max-height:32vh;min-height:160px;width:100%;flex:none}
body.hy-tv:not(.hy-tv-muro) .hy-mapa-tit{font-size:13px;margin-bottom:10px}
body.hy-tv:not(.hy-tv-muro) .hy-lima-leyenda{font-size:11px;gap:5px 10px;margin-top:8px}
body.hy-tv:not(.hy-tv-muro) .hy-lima-leyenda li b{width:18px;height:18px;font-size:10px}
body.hy-tv:not(.hy-tv-muro) .hy-tv-lista .hy-rk{grid-template-columns:16px minmax(0,1fr) 55px;gap:6px;padding:8px 2px}
body.hy-tv:not(.hy-tv-muro) .hy-tv-lista .hy-rk .pista{display:none}
body.hy-tv:not(.hy-tv-muro) .hy-tv-lista .hy-rk .n{font-size:13px}
body.hy-tv:not(.hy-tv-muro) .hy-tv-lista .hy-rk .v{font-size:16px}
body.hy-tv:not(.hy-tv-muro) .hy-tv-lista h3{font-size:12px;letter-spacing:.1em}
@media(max-width:900px){body.hy-tv:not(.hy-tv-muro):where(:not(.hy-tv-escala)) .hy-ov2.tv{grid-template-columns:1fr}body.hy-tv:not(.hy-tv-muro):where(:not(.hy-tv-escala)) .hy-ov2.tv .hy-ov2-r{display:none}}
body.hy-tv:not(.hy-tv-muro) .hy-ov2.tv{height:auto;align-content:start;align-items:start}
body.hy-tv:not(.hy-tv-muro) .hy-tv-lista .hy-rk .pistas{display:none}
body.hy-tv:not(.hy-tv-muro) .hy-tv-lista .hy-rk .v{white-space:nowrap;grid-column:3}
body.hy-tv:not(.hy-tv-muro) .hy-tv-lista .hy-rk .n{line-height:1.4}
body.hy-tv:not(.hy-tv-muro) .hy-mapa .peru{height:40vh;max-height:40vh}
body.hy-tv:not(.hy-tv-muro) .hy-mapa .lima{height:30vh;max-height:30vh}

/* Keep national-map captions separate from the animated canvas. */
.hy-mapa-tit{position:relative;z-index:3;pointer-events:none}
body.hy-tv:not(.hy-tv-muro) .peru-card .hy-3d-foco{font-size:11px;max-width:calc(100% - 24px);left:12px;right:12px;top:auto;bottom:12px;padding:10px;box-sizing:border-box}
body.hy-tv:not(.hy-tv-muro) .peru-card .hy-3d-rot>span{font-size:10px}

body.hy-tv:not(.hy-tv-muro) .peru-card svg{animation:none!important;transform:none!important;opacity:1!important;filter:drop-shadow(0 8px 12px #0005)}
