/* HEXKLOUD · Amalia "Lectura cómoda": capa aditiva para baja visión. Niveles en <html>: hkf-t1..t3 (letra), hkf-c (contraste), hkf-s (espaciado). */
:root{--hkf-ink:#17221f;--hkf-bg:#fffaf1;--hkf-ln:#cdbf9f;--hkf-acc:#1f4a3d;--hkf-focus:#0b57d0}
html.hkf-t1{--hkf-min:17px;--hkf-body:20px;--hkf-lh:1.65;--hkf-h:25px;--hkf-h2:31px}
html.hkf-t2{--hkf-min:19px;--hkf-body:23px;--hkf-lh:1.7;--hkf-h:29px;--hkf-h2:35px}
html.hkf-t3{--hkf-min:22px;--hkf-body:27px;--hkf-lh:1.75;--hkf-h:34px;--hkf-h2:41px}

/* ---------- base para todos: foco visible y objetivos táctiles ---------- */
#aea5-app :focus-visible,.hkf-invita :focus-visible,.hkf-card :focus-visible{outline:3px solid var(--hkf-focus)!important;outline-offset:3px!important}
#aea5-app footer a,#aea5-app .a12-pie a{display:inline-flex;align-items:center;min-height:44px;padding-block:6px}

/* ---------- texto realmente más grande (no solo párrafos sin clase) ---------- */
html[class*="hkf-t"] #aea5-app :where(p,li,dd,dt,blockquote,figcaption,td,th,label,small,span,em,strong,b,i,a,button,summary,legend,input,select,textarea,cite,time,div){font-size:max(var(--hkf-min),1em)!important}
html[class*="hkf-t"] #aea5-app main :is(p,li,dd,blockquote,figcaption){font-size:max(var(--hkf-body),1em)!important;line-height:var(--hkf-lh)!important;max-width:68ch}
html[class*="hkf-t"] #aea5-app :is(h3,h4,h5,h6){font-size:max(var(--hkf-h),1em)!important;line-height:1.25!important}
html[class*="hkf-t"] #aea5-app :is(h1,h2){font-size:max(var(--hkf-h2),1em)!important;line-height:1.15!important}
html[class*="hkf-t"] #aea5-app :where(p,li,h1,h2,h3,h4,a,button,span,strong,small){overflow-wrap:break-word;hyphens:manual!important;-webkit-hyphens:manual!important}
html[class*="hkf-t"] #aea5-app [class*="eyebrow"],html[class*="hkf-t"] #aea5-app [class*="kicker"]{letter-spacing:.04em!important}
html[class*="hkf-t"] #aea5-app :where([class*="resumen"],[class*="excerpt"],[class*="clamp"],[class*="meta"]){-webkit-line-clamp:unset!important;max-height:none!important;overflow:visible!important}
html[class*="hkf-t"] #aea5-app main a:not([class]),html[class*="hkf-t"] #aea5-app main p a{text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:.2em!important}
html[class*="hkf-t"] #aea5-app :is(button,summary,select,[role="button"],a[class*="boton"],a[class*="btn"],input[type="submit"]){min-height:52px}
html[class*="hkf-t"] body{padding-bottom:96px}
html.hkf-s #aea5-app main :is(p,li){letter-spacing:.015em;word-spacing:.08em}
html.hkf-s #aea5-app main p{margin-bottom:1.1em}

/* ---------- contraste alto ---------- */
html.hkf-c body,html.hkf-c #aea5-app{background:#fff!important;color:#000!important}
html.hkf-c #aea5-app :where(p,li,h1,h2,h3,h4,h5,h6,span,small,strong,em,b,i,blockquote,dd,dt,label,figcaption,td,th,cite,time){color:#000!important}
html.hkf-c #aea5-app a{color:#0a2f8f!important;text-decoration:underline!important}
html.hkf-c #aea5-app :where(button,summary,select,input,textarea){background:#fff!important;color:#000!important;border:2px solid #000!important}
html.hkf-c #aea5-app :where(article,[class*="card"],[class*="tarjeta"],[class*="panel"]):not(.hkf-card-t):not(.hkf-card){border:2px solid #000!important;box-shadow:none!important}
html.hkf-c #aea5-app :where(section,main,header,footer,nav,aside,article){background-color:#fff!important}
html.hkf-c .hkf-card{background:#fff!important;border:2px solid #000!important}
html.hkf-c .aea5-angel,html.hkf-c .hkf-invita{background:#fff!important;border:3px solid #000!important}
html.hkf-c :is(.ada13-primary,.ada153-senior-primary,.hkf-pri,.a12-asistente){background:#000!important;color:#fff!important;border-color:#000!important}
html.hkf-c :is(.ada13-primary,.ada153-senior-primary,.hkf-pri,.a12-asistente) :is(strong,small,span){color:#fff!important}
html.hkf-c{--hkf-focus:#b00020}

/* ---------- panel del asistente: bien organizado, a todo el ancho, con botones grandes ---------- */
.aea5-angel{padding:20px 18px 24px!important;border-radius:22px!important;overscroll-behavior:contain}
.aea5-angel .aea5-angel-head{display:grid!important;grid-template-columns:1fr auto;grid-template-areas:"ey close" "tt tt" "ds ds";gap:6px 12px;align-items:start}
.aea5-angel .aea5-angel-head>div{display:contents!important}
.aea5-angel .aea5-eyebrow{grid-area:ey;margin:0!important;align-self:center;font-size:13px!important;letter-spacing:.14em!important}
.aea5-angel .aea5-angel-head h2{grid-area:tt;margin:4px 0 0!important}
.aea5-angel .aea5-angel-head>div>p:last-child{grid-area:ds;margin:0!important;font-size:max(18px,1em)!important;line-height:1.5!important}
.aea5-angel .ada153-close-assistant{grid-area:close;min-width:92px;min-height:52px!important;font-weight:700}
.aea5-angel .ada13-start{display:grid!important;gap:12px!important;margin-top:14px!important}
.aea5-angel .ada13-start>button,.aea5-angel .ada153-senior-actions>button,.aea5-angel .ada153-senior-secondary>button{width:100%!important;max-width:none!important;min-height:76px;display:grid!important;grid-template-columns:44px 1fr;column-gap:14px;align-items:center;text-align:left!important;padding:14px 16px!important;border-radius:16px!important}
.aea5-angel .ada13-start>button>span:first-child,.aea5-angel .ada153-senior-actions>button>span:first-child{grid-row:1/3;font-size:30px!important;line-height:1;text-align:center}
.aea5-angel .ada13-start>button strong,.aea5-angel .ada153-senior-actions>button strong{grid-column:2;font-size:max(20px,1em)!important;line-height:1.2}
.aea5-angel .ada13-start>button small,.aea5-angel .ada153-senior-actions>button small{grid-column:2;font-size:max(16px,1em)!important;line-height:1.35;opacity:.92}
.aea5-angel .ada13-primary{min-height:92px!important}
.aea5-angel.hkf-has .ada13-start>button[data-aea-action="reading-clear"]{display:none!important}
.aea5-angel .ada153-senior-actions,.aea5-angel .ada153-senior-secondary{display:grid!important;gap:10px!important}
.aea5-angel details>summary{min-height:56px!important;font-size:max(19px,1em)!important}
.aea5-angel select{min-height:52px;font-size:max(18px,1em)!important;width:100%}
html.hkf-panel .ada121-companion-bar{display:none!important}
@media (max-width:760px){
 .aea5-angel{left:8px!important;right:8px!important;width:auto!important;top:auto!important;bottom:8px!important;max-height:calc(100svh - 24px)!important}
}

/* ---------- tarjeta "Letra y contraste" dentro del panel ---------- */
.hkf-card{margin:14px 0 4px;padding:16px;border:2px solid var(--hkf-ln);border-radius:18px;background:var(--hkf-bg);display:grid;gap:12px}
.hkf-card-t{margin:0;font-size:max(18px,1em)!important;font-weight:700;color:var(--hkf-ink)}
.hkf-step{display:grid;grid-template-columns:64px 1fr 64px;gap:10px;align-items:stretch}
.hkf-nivel{display:grid;place-items:center;text-align:center;padding:6px;border-radius:14px;background:#fff;border:2px solid var(--hkf-ln);font-weight:700;font-size:max(18px,1em)!important;line-height:1.2;color:var(--hkf-ink)}
.hkf-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hkf-btn{min-height:60px;padding:10px 12px;border-radius:14px;border:2px solid var(--hkf-acc);background:#fff;color:var(--hkf-acc);font-family:inherit;font-weight:700;font-size:20px;line-height:1.2;cursor:pointer;touch-action:manipulation}
.hkf-btn:active{transform:scale(.98)}
.hkf-btn[aria-pressed="true"]{background:var(--hkf-acc);color:#fff}
.hkf-btn[disabled]{opacity:.45;cursor:not-allowed}
.hkf-pri{background:var(--hkf-acc);color:#fff}
.hkf-step .hkf-btn{font-size:28px!important}

/* ---------- invitación para el primer visitante ---------- */
.hkf-invita{position:fixed;left:12px;right:12px;bottom:12px;z-index:2150;max-width:560px;margin-inline:auto;padding:18px;border-radius:22px;background:var(--hkf-bg);border:2px solid var(--hkf-ln);box-shadow:0 18px 50px rgba(0,0,0,.28);display:grid;gap:14px;font-family:inherit;color:var(--hkf-ink)}
.hkf-invita p{margin:0;font-size:20px;line-height:1.45}
.hkf-invita p strong{font-size:22px}
.hkf-invita .hkf-acc{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hkf-live{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
@media (max-width:420px){.hkf-invita .hkf-acc{grid-template-columns:1fr}.hkf-step{grid-template-columns:60px 1fr 60px}}
@media (prefers-reduced-motion:no-preference){.hkf-invita{animation:hkf-sube .35s ease-out}@keyframes hkf-sube{from{transform:translateY(24px);opacity:0}}}

/* ---------- botón flotante: más grande y sin tapar contenido ---------- */
.a12-asistente{min-height:58px!important;font-size:max(19px,1em)!important;padding-inline:24px!important}

/* ---------- encabezado con letra grande: dos filas, botones con texto visible ---------- */
html[class*="hkf-t"] #aea5-app .a12-acciones .a12-boton-icono{white-space:nowrap;overflow-wrap:normal!important;flex:1 1 auto;min-width:56px;min-height:56px;gap:8px}
html[class*="hkf-t"] #aea5-app .a12-marca-nombre,html[class*="hkf-t"] #aea5-app .a12-marca-nombre em{font-size:max(19px,1em)!important;line-height:1.15}
@media (max-width:760px){
 html[class*="hkf-t"] #aea5-app .a12-cabecera-fila{flex-wrap:wrap!important;row-gap:10px!important}
 html[class*="hkf-t"] #aea5-app .a12-acciones{width:100%;display:flex!important;justify-content:space-between;gap:8px}
 html[class*="hkf-t"] #aea5-app .a12-acciones .a12-boton-icono{padding-inline:14px!important;border-radius:16px;border:2px solid var(--hkf-ln)!important;background:#fff!important}
 html[class*="hkf-t"] #aea5-app .a12-acciones .a12-boton-icono>span:not(.a12-carrito-n){display:inline!important;position:static!important;clip:auto!important;clip-path:none!important;width:auto!important;height:auto!important;margin:0!important;overflow:visible!important;font-size:max(18px,1em)!important}
 html[class*="hkf-t"] #aea5-app .a12-aa{display:none!important}
}
@media (min-width:761px){
 html[class*="hkf-t"] #aea5-app .a12-nav a{font-size:max(var(--hkf-min),1em)!important;padding-inline:.6em}
 html[class*="hkf-t"] #aea5-app .a12-cabecera-fila{flex-wrap:wrap!important;row-gap:8px}
}
/* ajustes finos del encabezado */
@media (max-width:760px){
 html[class*="hkf-t"] #aea5-app .a12-acciones{padding-right:2px;box-sizing:border-box}
 html[class*="hkf-t"] #aea5-app .a12-acciones .a12-boton-icono{flex:1 1 0!important;min-width:0!important;padding-inline:8px!important;justify-content:center}
}
@media (min-width:1281px){
 html[class*="hkf-t"] #aea5-app .a12-cabecera-fila{flex-wrap:nowrap!important}
 html[class*="hkf-t"] #aea5-app .a12-nav a{font-size:max(17px,1em)!important;padding-inline:.45em}
 html[class*="hkf-t"] #aea5-app .a12-acciones .a12-boton-icono>span:not(.a12-carrito-n):not(.a12-aa){font-size:max(17px,1em)!important}
}
/* ===== ajustes tras revisión visual del panel ===== */
.aea5-angel :where(small,p,span,strong,em,b,label,summary,button,li,a){font-size:max(16px,1em)!important}
.aea5-angel .aea5-eyebrow{font-size:15px!important;letter-spacing:.1em!important}
.aea5-angel .hkf-btn{min-height:60px!important;padding:10px 12px!important;border:2px solid var(--hkf-acc)!important;background:#fff!important;color:var(--hkf-acc)!important;font-weight:700!important;font-size:max(19px,1em)!important;text-align:center!important;justify-content:center;display:flex;align-items:center;border-radius:14px!important}
.aea5-angel .hkf-btn[aria-pressed="true"]{background:var(--hkf-acc)!important;color:#fff!important}
.aea5-angel .hkf-btn[disabled]{opacity:.4!important}
.aea5-angel .hkf-step .hkf-btn{font-size:30px!important}
.aea5-angel .hkf-nivel{font-size:max(19px,1em)!important}
.aea5-angel .ada13-primary{background:var(--hkf-acc)!important;border-color:var(--hkf-acc)!important}
.aea5-angel .ada13-primary,.aea5-angel .ada13-primary *{color:#fff!important}
.aea5-angel .ada13-orientation>span:first-child{color:var(--hkf-acc);font-size:20px}
.aea5-angel .ada13-start>button:not(.ada13-primary){border:2px solid var(--hkf-ln)!important;background:#fff!important}
html.hkf-c .aea5-angel .hkf-btn,html.hkf-c .aea5-angel .ada13-start>button:not(.ada13-primary){border-color:#000!important;color:#000!important}
html.hkf-c .aea5-angel .hkf-btn[aria-pressed="true"]{background:#000!important;color:#fff!important}

/* encabezado: sin "Aa" duplicado y con salto de línea si la letra es máxima */
html[class*="hkf-t"] #aea5-app .a12-acciones .a12-aa{display:none!important}
@media (max-width:760px){
 html[class*="hkf-t"] #aea5-app .a12-acciones{flex-wrap:wrap!important}
 html[class*="hkf-t"] #aea5-app .a12-acciones .a12-boton-icono{flex:1 1 auto!important;min-width:max-content!important}
}

/* ===== modo guiado: el panel muestra solo la guía; la barra inferior es compacta ===== */
html.hkf-guia .aea5-angel :is(.ada13-start,.ada13-orientation,.ada148-reader,details.ada13-more){display:none!important}
html.hkf-guia .aea5-angel .ada153-senior-secondary>[data-aea-action="reading-clear"]{display:none!important}
.aea5-angel .ada153-senior-actions>button>span:last-child{display:grid!important;gap:2px;grid-column:2}
.aea5-angel .ada153-senior-actions>button :is(strong,small){display:block!important}
.aea5-angel .ada153-senior-actions>button{grid-template-columns:44px 1fr!important}
.aea5-angel .ada153-senior-secondary>button{min-height:60px!important;grid-template-columns:1fr!important;text-align:center!important}
.aea5-angel .aea154-first-visit{display:grid;gap:10px;padding:16px;border:2px solid var(--hkf-ln);border-radius:16px;background:#fff;margin:12px 0}
.aea5-angel .aea154-first-visit>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.aea5-angel .aea154-first-visit button{min-height:60px;font-weight:700;font-size:max(19px,1em)!important;border-radius:14px;border:2px solid var(--hkf-acc)!important;background:#fff!important;color:var(--hkf-acc)!important;width:auto!important}
.aea5-angel .aea154-first-visit [data-aea154-listen]{background:var(--hkf-acc)!important;color:#fff!important}
.ada121-companion-bar:not([hidden]){display:grid!important;grid-template-columns:repeat(3,1fr);gap:8px;left:8px!important;right:8px!important;bottom:8px!important;padding:10px!important;border-radius:20px}
.ada121-companion-bar>button{display:flex!important;flex-direction:row;align-items:center;justify-content:center;gap:6px;min-height:56px!important;padding:6px 8px!important;white-space:normal;text-align:center;font-size:max(17px,1em)!important;width:auto!important;max-width:none!important}
.ada121-companion-bar>button :is(strong,small,span){font-size:inherit!important}
.ada121-companion-bar .ada121-companion-where{grid-column:1/-1;order:-1;min-height:48px!important;gap:8px}
.ada121-companion-bar [data-aea-action="companion-exit"]{grid-column:span 2}
@media (prefers-reduced-motion:reduce){.ada121-companion-bar,.aea5-angel{transition:none!important}}
/* barra guiada: nunca más ancha que la pantalla; el botón flotante no la tapa */
.ada121-companion-bar:not([hidden]){grid-template-columns:repeat(3,minmax(0,1fr))!important;min-width:0;box-sizing:border-box;max-width:calc(100vw - 16px)}
.ada121-companion-bar>button{min-width:0!important;overflow:hidden}
.ada121-companion-bar .ada121-companion-where{flex-wrap:wrap;white-space:normal!important;line-height:1.2}
body:has(.ada121-companion-bar:not([hidden])) .a12-asistente{display:none!important}

/* ======================================================================
   ACOMPAÑAMIENTO PASO A PASO v2: no cubre la página y explica qué hacer
   ====================================================================== */
/* el encabezado deja de ser fijo en celular con letra grande (con 171 px comía el 20 % de la pantalla) */
@media (max-width:760px){html[class*="hkf-t"] header.a12-cabecera{position:static!important}}
html.hkf-gon{scroll-padding-top:12px;scroll-padding-bottom:var(--hkf-bar,0px)}
html.hkf-gon body{padding-bottom:calc(var(--hkf-bar,0px) + 24px)!important}

/* parte actual marcada */
.hkf-aqui{outline:5px solid var(--hkf-acc)!important;outline-offset:-5px!important;border-radius:14px;box-shadow:inset 0 0 0 9999px rgba(31,74,61,.045)}
html.hkf-c .hkf-aqui{outline-color:#000!important;box-shadow:none}

/* barra compacta en rejilla */
html.hkf-gon .ada121-companion-bar:not([hidden]){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-areas:"where where min" "ayuda ayuda ayuda" "prev speech next" "home ops exit";gap:8px!important;padding:10px!important;left:8px!important;right:8px!important;bottom:8px!important;margin-inline:auto;max-width:640px;border-radius:20px!important;border:2px solid var(--hkf-ln);background:var(--hkf-bg)!important;box-shadow:0 -6px 30px rgba(0,0,0,.18)}
html.hkf-gon .ada121-companion-bar>button{min-height:56px!important;font-weight:700;border-radius:14px!important;display:flex!important;align-items:center;justify-content:center;gap:6px;padding:6px 8px!important;width:auto!important;min-width:0!important;font-size:max(18px,1em)!important;border:2px solid var(--hkf-acc)!important;background:#fff!important;color:var(--hkf-acc)!important;white-space:normal;text-align:center}
html.hkf-gon .ada121-companion-bar>button :is(strong,small,span){font-size:inherit!important;color:inherit!important}
html.hkf-gon .ada121-companion-bar [data-aea-action="companion-prev"]{grid-area:prev}
html.hkf-gon .ada121-companion-bar [data-aea-action="speech-primary"]{grid-area:speech;background:var(--hkf-acc)!important;color:#fff!important}
html.hkf-gon .ada121-companion-bar [data-aea-action="companion-next"]{grid-area:next}
html.hkf-gon .ada121-companion-bar [data-aea-action="companion-home"]{grid-area:home;min-height:48px!important;font-weight:600}
html.hkf-gon .ada121-companion-bar [data-aea-action="companion-exit"]{grid-area:exit;min-height:48px!important;font-weight:600;grid-column:auto}
html.hkf-gon .ada121-companion-bar .hkf-ops{grid-area:ops;min-height:48px!important;font-weight:600}
html.hkf-gon .ada121-companion-bar .ada121-companion-where{grid-area:where;justify-content:flex-start;min-height:48px!important;border:0!important;background:transparent!important;padding-inline:4px!important;flex-wrap:nowrap;white-space:nowrap;overflow:hidden;color:var(--hkf-ink)!important;text-align:left}
html.hkf-gon .ada121-companion-bar .ada121-companion-where strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
html.hkf-gon .ada121-companion-bar .ada121-companion-where small{flex:none;margin-right:6px}
html.hkf-gon .ada121-companion-bar .ada121-companion-where small::after{content:" ·"}
html.hkf-gon .ada121-companion-bar .hkf-min{grid-area:min;min-height:48px!important;font-size:max(17px,1em)!important}
html.hkf-gon .ada121-companion-bar .hkf-ayuda{grid-area:ayuda;margin:0;padding:8px 10px;border-radius:12px;background:#fff;border:2px dashed var(--hkf-ln);font-size:max(18px,1em)!important;line-height:1.4;color:var(--hkf-ink)}
html.hkf-gon .ada121-companion-bar .hkf-ayuda strong{font-size:inherit!important}
html.hkf-sin-ayuda .ada121-companion-bar .hkf-ayuda{display:none!important}
/* barra oculta: solo queda un botón pequeño para volver a mostrarla */
html.hkf-bar-min .ada121-companion-bar:not([hidden]){grid-template-areas:"min";grid-template-columns:1fr!important;padding:6px!important;max-width:340px;bottom:8px!important;left:8px!important;right:auto!important;margin-inline:0}
html.hkf-bar-min .ada121-companion-bar>*:not(.hkf-min){display:none!important}
html.hkf-bar-min{--hkf-bar:72px!important}
html.hkf-c .ada121-companion-bar:not([hidden]){background:#fff!important;border:3px solid #000!important}
html.hkf-c .ada121-companion-bar>button{border-color:#000!important;color:#000!important}
html.hkf-c .ada121-companion-bar [data-aea-action="speech-primary"]{background:#000!important;color:#fff!important}
/* panel en modo guiado: solo letra/contraste y menú; lo demás lo da la barra */
html.hkf-guia .aea5-angel :is(.ada153-senior-guide,.aea154-first-visit){display:none!important}
.hkf-card .hkf-menu{grid-column:1/-1}
@media (min-width:761px){html.hkf-gon .ada121-companion-bar:not([hidden]){grid-template-areas:"where where where min" "ayuda ayuda ayuda ayuda" "home prev speech next" "ops ops exit exit";grid-template-columns:repeat(4,minmax(0,1fr))!important;max-width:820px}}
/* afinado de la barra guiada */
html.hkf-gon .ada121-companion-bar>button{font-size:17px!important;white-space:nowrap!important;padding:6px 4px!important;letter-spacing:0}
html.hkf-gon .ada121-companion-bar>button :is(strong,small,span){font-size:inherit!important;white-space:nowrap}
html.hkf-gon .ada121-companion-bar [data-aea-action="companion-home"],html.hkf-gon .ada121-companion-bar [data-aea-action="companion-exit"],html.hkf-gon .ada121-companion-bar .hkf-ops{min-height:46px!important;font-size:17px!important}
html.hkf-gon .ada121-companion-bar .hkf-ayuda{font-size:17px!important;padding:6px 10px;line-height:1.35}
html.hkf-gon .ada121-companion-bar .hkf-min{font-size:16px!important;white-space:nowrap}
html.hkf-gon .ada121-companion-bar{gap:6px!important}
/* texto de la barra guiada: crece con el nivel pero con tope, para no comerse la pantalla */
html.hkf-gon{--hkf-bar-fs:16px}html.hkf-gon.hkf-t1{--hkf-bar-fs:17px}html.hkf-gon.hkf-t2{--hkf-bar-fs:18px}html.hkf-gon.hkf-t3{--hkf-bar-fs:20px}
html.hkf-gon #aea5-app .ada121-companion-bar :where(button,p,strong,small,span,em,b){font-size:var(--hkf-bar-fs)!important;line-height:1.25!important}
html.hkf-gon #aea5-app .ada121-companion-bar :is([data-aea-action="companion-prev"],[data-aea-action="companion-next"],[data-aea-action="speech-primary"]) :where(strong,small,span){font-size:calc(var(--hkf-bar-fs) - 1px)!important;letter-spacing:-.01em}
html.hkf-gon #aea5-app .ada121-companion-bar>button{padding:6px 2px!important;min-height:54px!important}
html.hkf-gon #aea5-app .ada121-companion-bar :is([data-aea-action="companion-home"],[data-aea-action="companion-exit"],.hkf-ops){min-height:46px!important}

/* ===== "Escuchar" ya no regresa la página al inicio =====
   El mini panel de lectura (.ada148-reader-hud) solo es flotante cuando la raíz ya tiene la clase ada148-reader,
   pero esa clase llega DESPUÉS del primer cálculo de desplazamiento. En ese instante el panel está al final de la
   página (a ~10 000 px) y el sitio concluye que debe subir 10 000 px. Fuera del flujo, ese cálculo es normal. */
#aea5-app:not(.ada148-reader) .ada148-reader-hud{position:fixed!important;top:92px!important;right:18px!important;left:auto!important;bottom:auto!important;visibility:hidden!important;pointer-events:none!important}
html.hkf-gon .ada148-reader-hud{display:none!important}

/* ======================================================================
   MARCADOR DE LECTURA: recuadro que late sobre lo que se está leyendo
   ====================================================================== */
:root{--hkf-marca:#d9480f;--hkf-marca-rgb:217,72,15}
html.hkf-c{--hkf-marca:#000;--hkf-marca-rgb:0,0,0}
/* resaltado tipo marcatextos sobre el bloque actual (sustituye la sombra lavanda casi invisible del sitio) */
#aea5-app [data-aea-reading-current]{background-color:rgba(255,224,102,.42)!important;box-shadow:none!important;outline:none!important;border-radius:10px}
html.hkf-c #aea5-app [data-aea-reading-current]{background-color:#fff59d!important}
.hkf-marca{position:absolute;display:none;pointer-events:none;z-index:900;box-sizing:border-box;border:5px solid var(--hkf-marca);border-radius:16px;animation:hkf-latido 1.5s ease-out infinite}
.hkf-marca.hkf-nuevo{animation:hkf-latido 1.5s ease-out infinite,hkf-llega .9s cubic-bezier(.2,.8,.2,1)}
@keyframes hkf-latido{0%{box-shadow:0 0 0 0 rgba(var(--hkf-marca-rgb),.6)}70%{box-shadow:0 0 0 18px rgba(var(--hkf-marca-rgb),0)}100%{box-shadow:0 0 0 0 rgba(var(--hkf-marca-rgb),0)}}
@keyframes hkf-llega{0%{transform:scale(1.035);border-width:9px}100%{transform:none;border-width:5px}}
.hkf-marca-tag{position:absolute;left:10px;top:calc(var(--hkf-tag-y,-14px) - 16px);display:inline-flex;align-items:center;gap:8px;padding:5px 14px 5px 11px;border-radius:999px;background:var(--hkf-marca);color:#fff;font:700 17px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.01em;white-space:nowrap;box-shadow:0 3px 10px rgba(0,0,0,.28);transition:top .15s linear}
html.hkf-c .hkf-marca-tag{background:#000;color:#fff;border:2px solid #fff}
.hkf-punto{width:12px;height:12px;border-radius:50%;background:#fff;animation:hkf-punto 1s ease-in-out infinite}
@keyframes hkf-punto{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.55);opacity:.55}}
/* aviso cuando lo que se lee está fuera de la pantalla */
.hkf-fuera{position:fixed;left:50%;transform:translateX(-50%);z-index:1450;display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:0 22px;border:3px solid #fff;border-radius:999px;background:var(--hkf-marca);color:#fff;font:700 18px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;box-shadow:0 6px 22px rgba(0,0,0,.35);cursor:pointer;animation:hkf-latido 1.5s ease-out infinite;max-width:calc(100vw - 24px)}
.hkf-fuera[hidden]{display:none}
.hkf-fuera.hkf-arriba{top:calc(var(--hkf-top,0px) + 10px)}
.hkf-fuera.hkf-abajo{bottom:calc(var(--hkf-bar,0px) + 12px)}
html.hkf-c .hkf-fuera{background:#000}
@media (prefers-reduced-motion:reduce){
 .hkf-marca,.hkf-marca.hkf-nuevo,.hkf-fuera,.hkf-punto{animation:none!important}
 .hkf-marca{border-width:7px;box-shadow:0 0 0 6px rgba(var(--hkf-marca-rgb),.28)}
}
.hkf-fuera{width:max-content;white-space:nowrap;font-size:17px}
