/* V1.52: no beta launcher flash while loading the independent avatar. */
#helper:not(.v152-ready){visibility:hidden!important;pointer-events:none!important}
/* V1.37 | Asistente siempre usable: input visible y launcher con identidad. */
#helper{right:clamp(10px,2.1vw,24px)!important;bottom:clamp(10px,2.1vw,24px)!important;gap:8px!important}
/* Nuevo CTA del asistente, identificado a primera vista. */
#helper .helper-launch{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;
  width:238px!important;height:76px!important;min-width:0!important;min-height:0!important;
  border-radius:22px!important;padding:5px 13px 5px 5px!important;
  background:linear-gradient(118deg,#062844 0%,#094667 58%,#062b4b 100%)!important;
  border:1px solid #5bc9ed!important;box-shadow:0 12px 35px #021d39a8,0 0 21px #42dbf932!important;
  overflow:visible!important;transition:box-shadow .24s ease,translate .24s ease!important;animation:v136-launch-float 4.4s ease-in-out infinite!important;
}
#helper .helper-launch:hover{box-shadow:0 16px 38px #021d39ba,0 0 28px #66e9ff75!important}
#helper .helper-launch:after{inset:-4px!important;border-radius:25px!important;border:1px solid #8cefff35!important;animation:none!important}
#helper .v131-launcher{flex:0 0 63px!important;width:63px!important;height:63px!important;display:block!important;border-radius:18px!important;overflow:hidden!important;isolation:isolate!important;background:#07233a!important}
#helper .v131-launcher img{left:50%!important;top:50%!important;width:106%!important;height:106%!important;object-fit:contain!important;object-position:center!important;transform:translate(-50%,-50%)!important;}
#helper .v131-launcher__orbit{inset:4px!important;z-index:3;opacity:.65}
#helper .v131-launcher__base{z-index:4}
#helper .v137-launch-label{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0;text-align:left;z-index:3;white-space:normal!important}
#helper .v137-launch-label strong{font-family:Albert,Arial,sans-serif!important;font-size:14px!important;line-height:1.12!important;font-weight:700!important;color:#fff!important;letter-spacing:0!important;text-transform:none!important;}
#helper .v137-launch-label small{font-family:Albert,Arial,sans-serif!important;font-size:10px!important;line-height:1.26!important;color:#a7edff!important;letter-spacing:.03em!important;text-transform:none!important}
#helper .v137-launch-led{display:inline-block;align-self:center;flex:0 0 7px;width:7px;height:7px;border-radius:50%;background:#73ffda;box-shadow:0 0 10px #73ffda;z-index:3}
/* Reserva sitio a los controles del pie. El historial es la única zona que se desplaza. */
#helper .helper-panel:not([hidden]){
  display:flex!important;flex-direction:column!important;
  width:min(384px,calc(100vw - 20px))!important;
  height:min(550px,calc(100dvh - 26px))!important;
  max-height:calc(100dvh - 18px)!important;min-height:0!important;
  overflow:hidden!important;box-sizing:border-box!important;border-radius:18px!important;
}
#helper .helper-panel__top{flex:0 0 auto!important;min-height:0!important;padding:9px 12px!important}
#helper .helper-panel__top strong{font-size:18px!important;white-space:normal!important}
#helper .helper-panel__top small{font-size:8px!important}
#helper .v130-stage{flex:0 0 152px!important;height:152px!important;min-height:0!important}
#helper .v130-stage__avatar.v131-stage__human.v135-avatar{width:188px!important;height:188px!important;bottom:-26px!important}
#helper .v130-stage__orbit--outer{width:140px!important;height:140px!important;top:5px!important}
#helper .v130-stage__orbit--inner{width:98px!important;height:98px!important;top:23px!important}
#helper .v130-stage__hud{top:56px!important;font-size:9px!important}
#helper .v129-status{flex:0 0 auto!important;min-height:0!important;padding:6px 8px!important;font-size:11px!important}
#helper .helper-panel__messages{flex:1 1 0!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding:10px 12px!important;scrollbar-width:thin;}
#helper .helper-panel__actions{display:flex!important;flex:0 0 auto!important;flex-flow:row nowrap!important;align-items:center!important;
  overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin;padding:6px 10px!important;gap:7px!important;max-height:48px!important;}
#helper .helper-panel__actions button{flex:0 0 auto!important;white-space:nowrap!important;min-height:33px!important;padding:7px 10px!important;}
#helper .helper-form{display:flex!important;position:relative!important;z-index:7!important;flex:0 0 48px!important;min-height:48px!important;height:48px!important;max-height:48px!important;
  margin:4px 10px 7px!important;box-sizing:border-box!important;border-radius:11px!important;background:white!important;}
#helper .helper-form input{display:block!important;flex:1 1 auto!important;min-width:0!important;width:100%!important;min-height:0!important;opacity:1!important;color:#09263d!important;font-size:14px!important;}
#helper .helper-form button{flex-shrink:0!important}
#helper .helper-disclaimer{display:none!important}
/* Cuando el teclado móvil aparece, el panel se ajusta a la altura visible y el campo permanece accesible. */
#helper:focus-within .helper-panel__messages{min-height:0!important}
@media(max-width:600px){
 #helper .helper-panel:not([hidden]){width:calc(100vw - 16px)!important;height:min(540px,calc(100dvh - 16px))!important;max-height:calc(100dvh - 12px)!important}
 #helper .helper-panel__top{padding:8px 10px!important}
 #helper .helper-panel__top strong{font-size:17px!important}
 #helper .v130-stage{flex-basis:135px!important;height:135px!important}
 #helper .v130-stage__avatar.v131-stage__human.v135-avatar{width:168px!important;height:168px!important;bottom:-24px!important}
 #helper .v130-stage__orbit--outer{width:122px!important;height:122px!important;top:6px!important}
 #helper .v130-stage__orbit--inner{width:88px!important;height:88px!important;top:20px!important}
 #helper .v130-stage__hud{top:48px!important;font-size:8px!important}
 #helper .helper-form{margin:4px 9px 8px!important}
 #helper .v137-launch-label strong{font-size:13px!important}
}
@media(max-width:380px){
 #helper .helper-panel:not([hidden]){height:min(492px,calc(100dvh - 14px))!important}
 #helper .v130-stage{flex-basis:116px!important;height:116px!important}
 #helper .v130-stage__avatar.v131-stage__human.v135-avatar{width:144px!important;height:144px!important;bottom:-20px!important}
 #helper .v130-stage__orbit--outer{width:100px!important;height:100px!important;top:6px!important}
 #helper .v130-stage__orbit--inner{width:74px!important;height:74px!important;top:17px!important}
 #helper .v130-stage__hud{top:41px!important}
 #helper .helper-panel__top strong{font-size:16px!important}
 #helper .helper-launch{width:216px!important;height:69px!important}
 #helper .v131-launcher{flex-basis:57px!important;width:57px!important;height:57px!important}
}
@media(max-height:610px){
 #helper .helper-panel:not([hidden]){height:calc(100dvh - 16px)!important}
 #helper .v130-stage{flex-basis:86px!important;height:86px!important}
 #helper .v130-stage__avatar.v131-stage__human.v135-avatar{width:110px!important;height:110px!important;bottom:-17px!important}
 #helper .v130-stage__orbit--outer{width:80px!important;height:80px!important;top:2px!important}
 #helper .v130-stage__orbit--inner{width:60px!important;height:60px!important;top:12px!important}
 #helper .v130-stage__hud{display:none!important}
 #helper .helper-panel__actions{max-height:40px!important;padding:3px 8px!important}
 #helper .helper-panel__actions button{min-height:30px!important}
}
@media(max-height:430px){
 #helper .v130-stage{display:none!important}
 #helper .helper-panel__top{padding:5px 9px!important}
 #helper .helper-panel__actions{display:none!important}
 #helper .v129-status{padding:4px!important}
}
@media(prefers-reduced-motion:reduce){#helper .helper-launch{animation:none!important}}
/* Prior old launcher CSS had max-width:66px and hid child spans/strong text. */
#helper .helper-launch{
  width:238px!important;min-width:238px!important;max-width:238px!important;
  height:76px!important;min-height:76px!important;max-height:76px!important;
  flex:0 0 76px!important;justify-content:flex-start!important;
}
#helper .helper-launch>.v131-launcher{display:block!important;visibility:visible!important}
#helper .helper-launch>.v137-launch-label{display:flex!important;visibility:visible!important;}
#helper .helper-launch>.v137-launch-label strong{display:block!important;visibility:visible!important;}
#helper .helper-launch>.v137-launch-label small{display:block!important;visibility:visible!important;}
#helper .helper-launch>.v137-launch-led{display:block!important;visibility:visible!important;}
@media(max-width:380px){
  #helper .helper-launch{width:216px!important;min-width:216px!important;max-width:216px!important;height:69px!important;min-height:69px!important;max-height:69px!important;flex-basis:69px!important}
}
