/* BULEX BOT v1 - isolated floating assistant */
#bulex-bot-root{--bb-bg:#142238;--bb-deep:#101a2d;--bb-aqua:#55d9ef;--bb-paper:#f5f9fc;--bb-text:#edf6fc;--bb-muted:#bfd0df;font-family:Arial,Helvetica,sans-serif;position:fixed;right:20px;bottom:20px;z-index:2147482000;color:var(--bb-text);font-size:13px;line-height:1.45}#bulex-bot-root *{box-sizing:border-box}#bulex-bot-root button{font:inherit;cursor:pointer}#bulex-bot-root .bb-launch{border:1px solid #5d859e;border-radius:50%;height:64px;width:64px;background:linear-gradient(155deg,#243d5b,#122139);box-shadow:0 6px 24px #08132350;display:grid;place-items:center;padding:3px;transition:transform .18s ease,box-shadow .18s ease}#bulex-bot-root .bb-launch:hover{transform:translateY(-3px);box-shadow:0 9px 25px #08132365}#bulex-bot-root .bb-launch:focus-visible,#bulex-bot-root button:focus-visible{outline:3px solid #59e1f6;outline-offset:3px}#bulex-bot-root .bb-launch svg{width:58px;height:58px}#bulex-bot-root .bb-arm{transform-origin:72px 60px;animation:bb-wave 1.6s ease-in-out 1 .7s}#bulex-bot-root .bb-launch:hover .bb-arm{animation:bb-wave 1s ease-in-out 1}#bulex-bot-root .bb-panel{width:min(318px,calc(100vw - 30px));max-height:min(470px,calc(100dvh - 105px));overflow:hidden;display:flex;flex-direction:column;margin-bottom:11px;border:1px solid #44657e;border-radius:16px;background:var(--bb-bg);box-shadow:0 14px 40px #07101f63}#bulex-bot-root .bb-panel[hidden]{display:none!important}#bulex-bot-root .bb-header{display:flex;justify-content:space-between;align-items:center;padding:12px 13px;background:var(--bb-deep);border-bottom:1px solid #3c5268}#bulex-bot-root .bb-head-title{font-size:14px;font-weight:700}#bulex-bot-root .bb-head-caption{font-size:11px;color:var(--bb-muted);display:block}#bulex-bot-root .bb-close{width:28px;height:28px;display:grid;place-items:center;background:transparent;border:0;color:#e9f8ff;font-size:20px;border-radius:8px}#bulex-bot-root .bb-close:hover{background:#2e445d}#bulex-bot-root .bb-content{overflow-y:auto;padding:13px;scrollbar-width:thin}#bulex-bot-root .bb-greeting{color:#d9ecf8;font-size:12px;margin:0 0 10px}#bulex-bot-root .bb-choice{width:100%;display:flex;align-items:center;justify-content:space-between;gap:7px;background:#203550;border:1px solid #385573;color:#f5fbff;border-radius:10px;padding:10px;margin-top:7px;text-align:left;font-size:12px;min-height:39px;transition:background .15s}#bulex-bot-root .bb-choice:hover{background:#2a4664;border-color:#65b6d2}#bulex-bot-root .bb-chevron{color:#63ddf0;font-size:17px;line-height:1}#bulex-bot-root .bb-answer{background:#203550;border:1px solid #3d617d;border-radius:11px;padding:12px;color:#f5fbff}#bulex-bot-root .bb-answer strong{display:block;font-size:13px;margin-bottom:6px;color:#86e9f6}#bulex-bot-root .bb-answer p{font-size:12px;margin:0 0 8px}#bulex-bot-root .bb-answer p:last-child{margin-bottom:0}#bulex-bot-root .bb-actions{display:flex;gap:7px;margin-top:13px}#bulex-bot-root .bb-small{flex:1;background:#1b304a;border:1px solid #58718a;color:white;padding:8px 6px;border-radius:9px;font-size:12px}#bulex-bot-root .bb-small:hover{background:#304b68}#bulex-bot-root .bb-contact{display:block;margin-top:10px;padding:10px;border-radius:9px;text-align:center;text-decoration:none;background:#56d7ed;color:#0b2438;font-weight:700;font-size:12px}#bulex-bot-root .bb-contact:hover{background:#9cecf7}#bulex-bot-root .bb-foot{color:#93acbf;font-size:10px;text-align:center;margin-top:10px}#bulex-bot-root .bb-offscreen{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}@keyframes bb-wave{0%,100%{transform:rotate(0deg)}20%,55%{transform:rotate(-22deg)}38%,73%{transform:rotate(10deg)}}@media(max-width:420px){#bulex-bot-root{right:12px;bottom:12px}#bulex-bot-root .bb-launch{height:56px;width:56px}#bulex-bot-root .bb-launch svg{height:50px;width:50px}}@media(prefers-reduced-motion:reduce){#bulex-bot-root *,#bulex-bot-root *::before{animation:none!important;transition:none!important}}

/* V242: solely replace the existing launcher with a transparent 3D mascot. */
#bulex-bot-root .bb-launch{width:110px;height:146px;border:0;border-radius:0;background:transparent;box-shadow:none;padding:0;display:block;transform-origin:center bottom;animation:bb-mascot-float 5s ease-in-out infinite;filter:drop-shadow(0 8px 9px rgba(28,14,0,.25));}
#bulex-bot-root .bb-launch:hover{animation-play-state:paused;transform:perspective(340px) rotateY(-9deg) translateY(-7px) scale(1.04);box-shadow:none;filter:drop-shadow(0 12px 14px rgba(28,14,0,.28));}
#bulex-bot-root .bb-launch:active{transform:scale(.96) rotate(-2deg);}
#bulex-bot-root .bb-mascot{display:block;width:100%;height:100%;object-fit:contain;user-select:none;pointer-events:none;}
#bulex-bot-root .bb-launch[aria-expanded="true"]{animation:bb-mascot-hello .75s ease-in-out 1;}
@keyframes bb-mascot-float{0%,100%{transform:translateY(0) rotate(0deg)}50%{transform:translateY(-4px) rotate(.6deg)}}
@keyframes bb-mascot-hello{0%,100%{transform:rotate(0deg)}30%{transform:rotate(-6deg) translateY(-5px)}65%{transform:rotate(4deg) translateY(-2px)}}
@media(max-width:420px){#bulex-bot-root .bb-launch{width:78px;height:104px;}#bulex-bot-root .bb-panel{max-height:min(470px,calc(100dvh - 155px));}}
@media(prefers-reduced-motion:reduce){#bulex-bot-root .bb-launch{animation:none!important;transition:none!important;}#bulex-bot-root .bb-launch:hover{transform:none!important;}}

/* V252: mantener el robot en el mismo punto abierto/cerrado.
   Solo panel visible cuando se toca; espacio invisible sin capturar clics. */
#bulex-bot-root{width:min(318px,calc(100vw - 30px))!important;pointer-events:none;}
#bulex-bot-root .bb-launch,#bulex-bot-root .bb-panel{pointer-events:auto;}
#bulex-bot-root .bb-launch{margin-left:0!important;margin-right:auto!important;}
@media(max-width:420px){#bulex-bot-root{width:min(318px,calc(100vw - 24px))!important;}}
