/* V15.0 – HUD de lectura independiente, pulso localizador y asistente sin recortes */
#aea5-app.ada150-reader .ada131-reading-current,
#aea5-app.ada150-reader .ada148-reading-current{
  outline:0!important;box-shadow:none!important;background:transparent!important;filter:none!important;border-color:inherit!important;
}
#aea5-app.ada150-reader .ada131-reading-current::before,
#aea5-app.ada150-reader .ada131-reading-current::after,
#aea5-app.ada150-reader .ada148-reading-current::before,
#aea5-app.ada150-reader .ada148-reading-current::after{content:none!important;display:none!important}
#aea5-app.ada150-reader .ada148-reading-zone,
#aea5-app.ada150-reader .ada147-reading-container{box-shadow:none!important;background:transparent!important}

.ada150-hud-layer{position:fixed;inset:0;z-index:9995;pointer-events:none;contain:layout style;overflow:hidden}
.ada150-hud-layer[hidden]{display:none!important}
.ada150-hud-line{position:fixed;display:block;border:1.5px solid rgba(56,186,215,.68);border-left-width:3px;border-radius:8px;background:transparent;box-shadow:0 0 0 3px rgba(75,193,218,.055),0 0 18px rgba(53,155,184,.13);transition:left .16s ease,top .16s ease,width .16s ease,height .16s ease,opacity .16s ease}
.ada150-hud-line::after{content:"";position:absolute;left:7px;right:7px;bottom:-3px;height:2px;border-radius:999px;background:linear-gradient(90deg,rgba(62,198,224,0),rgba(62,198,224,.88),rgba(131,158,224,.55),rgba(62,198,224,0));opacity:.68}
.ada150-hud-marker{position:fixed;width:18px;height:18px;display:grid;place-items:center}
.ada150-hud-marker i{position:absolute;width:11px;height:11px;border-radius:50%;background:#49c0d9;box-shadow:0 0 0 4px rgba(73,192,217,.15),0 0 18px rgba(73,192,217,.42)}
.ada150-hud-marker b{position:absolute;width:30px;height:30px;border:1.5px solid rgba(73,192,217,.55);border-radius:50%;opacity:.7}
.ada150-hud-label{position:fixed;display:flex;align-items:center;gap:8px;min-height:30px;max-width:min(260px,calc(100vw - 16px));padding:6px 10px;border:1px solid rgba(65,164,190,.20);border-radius:999px;background:rgba(241,249,250,.94);backdrop-filter:blur(8px);box-shadow:0 8px 20px rgba(54,108,123,.10);font:800 11.5px/1.15 Manrope,sans-serif;letter-spacing:.08em;color:#356575;white-space:nowrap}
.ada150-hud-label strong{font:850 12px/1 Manrope,sans-serif;color:#526e8d;letter-spacing:0}
.ada150-hud-layer.is-pulse .ada150-hud-marker i{animation:ada150HudDot 1.55s ease-in-out infinite}
.ada150-hud-layer.is-pulse .ada150-hud-marker b{animation:ada150HudPulse 1.55s ease-out infinite}
.ada150-hud-layer.is-pulse .ada150-hud-line.is-first{animation:ada150HudLine 1.55s ease-in-out infinite}
@keyframes ada150HudDot{0%,100%{transform:scale(.92);box-shadow:0 0 0 4px rgba(73,192,217,.12),0 0 12px rgba(73,192,217,.25)}50%{transform:scale(1.18);box-shadow:0 0 0 7px rgba(73,192,217,.08),0 0 24px rgba(73,192,217,.50)}}
@keyframes ada150HudPulse{0%{transform:scale(.72);opacity:.8}75%,100%{transform:scale(1.35);opacity:0}}
@keyframes ada150HudLine{0%,100%{border-color:rgba(56,186,215,.52);box-shadow:0 0 0 3px rgba(75,193,218,.045),0 0 14px rgba(53,155,184,.10)}50%{border-color:rgba(56,186,215,.88);box-shadow:0 0 0 4px rgba(75,193,218,.07),0 0 24px rgba(53,155,184,.20)}}

/* El panel del Asistente nunca debe comprimir o cortar texto. */
#aea5-app.ada150-reader .aea5-angel{width:min(620px,calc(100vw - 28px))!important;max-height:calc(100dvh - var(--aea-adminbar,0px) - 32px)!important;height:auto!important;overflow:auto!important;overscroll-behavior:contain!important;padding:clamp(18px,3vw,28px)!important}
#aea5-app.ada150-reader .aea5-angel *,#aea5-app.ada150-reader .ada121-companion-bar *{min-width:0!important;box-sizing:border-box}
#aea5-app.ada150-reader .ada13-start{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))!important;gap:12px!important;align-items:stretch!important}
#aea5-app.ada150-reader .ada13-start>button,
#aea5-app.ada150-reader .aea5-angel-grid button,
#aea5-app.ada150-reader .ada7-tour-picker button{height:auto!important;min-height:96px!important;max-height:none!important;overflow:visible!important;white-space:normal!important;text-overflow:clip!important;padding:17px!important;align-content:start!important}
#aea5-app.ada150-reader .ada13-start>button strong,
#aea5-app.ada150-reader .ada13-start>button small,
#aea5-app.ada150-reader .aea5-angel-grid button strong,
#aea5-app.ada150-reader .aea5-angel-grid button small,
#aea5-app.ada150-reader .ada7-tour-picker button strong,
#aea5-app.ada150-reader .ada7-tour-picker button small{display:block!important;width:100%!important;max-width:none!important;max-height:none!important;overflow:visible!important;white-space:normal!important;text-overflow:clip!important;overflow-wrap:break-word!important;word-break:normal!important}
#aea5-app.ada150-reader .ada13-start>button strong{font-size:18px!important;line-height:1.28!important}
#aea5-app.ada150-reader .ada13-start>button small{font-size:14.5px!important;line-height:1.55!important}
#aea5-app.ada150-reader .aea5-angel-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))!important;gap:10px!important}
#aea5-app.ada150-reader .aea5-angel-grid button strong{font-size:16px!important;line-height:1.3!important}
#aea5-app.ada150-reader .aea5-angel-grid button small{font-size:14px!important;line-height:1.5!important}
#aea5-app.ada150-reader .ada8-angel-layout,#aea5-app.ada150-reader .ada7-tour-picker>div{width:100%!important;max-width:100%!important;overflow:visible!important}
#aea5-app.ada150-reader .ada13-orientation p,#aea5-app.ada150-reader .ada148-reader,#aea5-app.ada150-reader .ada132-voice-note{white-space:normal!important;overflow:visible!important;max-height:none!important}

/* Barra de acompañamiento: dos filas en tablet y tres bloques claros en móvil; nunca reduce texto hasta cortarlo. */
#aea5-app.ada150-reader .ada121-companion-bar{width:min(1220px,calc(100vw - 24px))!important;grid-template-columns:140px 160px minmax(280px,1fr) 160px 112px 96px!important;gap:8px!important}
#aea5-app.ada150-reader .ada121-companion-bar button{min-height:58px!important;height:auto!important;max-height:none!important;white-space:normal!important;overflow:visible!important;font-size:15px!important;line-height:1.2!important}
#aea5-app.ada150-reader .ada121-companion-where strong{max-width:none!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-size:15px!important;line-height:1.25!important;text-align:center!important}
#aea5-app.ada150-reader .ada121-companion-where small{font-size:11px!important;line-height:1.2!important}
@media(max-width:980px){
  #aea5-app.ada150-reader .ada121-companion-bar{grid-template-columns:1fr 1fr 1fr!important;grid-template-areas:"where where where" "prev play next" "home exit exit"!important;padding:8px!important}
  #aea5-app.ada150-reader .ada121-companion-bar>[data-aea-action="companion-prev"]{grid-area:prev!important}
  #aea5-app.ada150-reader .ada121-companion-bar>[data-aea-action="speech-primary"]{grid-area:play!important}
  #aea5-app.ada150-reader .ada121-companion-where{grid-area:where!important;min-height:58px!important}
  #aea5-app.ada150-reader .ada121-companion-bar>[data-aea-action="companion-next"]{grid-area:next!important}
  #aea5-app.ada150-reader .ada121-companion-bar>[data-aea-action="companion-home"]{grid-area:home!important}
  #aea5-app.ada150-reader .ada121-companion-bar>[data-aea-action="companion-exit"]{grid-area:exit!important}
}
@media(max-width:640px){
  #aea5-app.ada150-reader{padding-bottom:188px!important}
  #aea5-app.ada150-reader .aea5-angel{left:8px!important;right:8px!important;bottom:8px!important;width:auto!important;max-height:calc(100dvh - var(--aea-adminbar,0px) - 16px)!important;padding:16px!important;border-radius:20px!important}
  #aea5-app.ada150-reader .ada13-start,#aea5-app.ada150-reader .aea5-angel-grid{grid-template-columns:1fr!important}
  #aea5-app.ada150-reader .ada13-start>button,#aea5-app.ada150-reader .aea5-angel-grid button{min-height:0!important}
  #aea5-app.ada150-reader .ada121-companion-bar{bottom:6px!important;width:calc(100vw - 10px)!important;grid-template-columns:1fr 1fr 1fr!important;grid-template-areas:"where where where" "prev play next" "home exit exit"!important;gap:5px!important;padding:6px!important;border-radius:16px!important}
  #aea5-app.ada150-reader .ada121-companion-bar button{min-height:50px!important;padding:8px 6px!important;font-size:14px!important;flex-direction:row!important;gap:5px!important}
  #aea5-app.ada150-reader .ada121-companion-bar button strong{font-size:14px!important;line-height:1.15!important}
  #aea5-app.ada150-reader .ada121-companion-where strong{font-size:14px!important}
  .ada150-hud-label{font-size:10.5px;max-width:190px;padding:5px 8px}
  .ada150-hud-line{border-radius:6px}
}
@media(max-width:380px){
  #aea5-app.ada150-reader .aea5-angel{padding:13px!important}
  #aea5-app.ada150-reader .ada121-companion-bar button{font-size:13px!important;padding:7px 4px!important}
  #aea5-app.ada150-reader .ada121-companion-bar button strong{font-size:13px!important}
}
@media(prefers-reduced-motion:reduce){
  .ada150-hud-layer *{animation:none!important;transition:none!important}
}
#aea5-app.ada150-reader.is-no-motion~.ada150-hud-layer *{animation:none!important;transition:none!important}
