/* ATLAS Buddy V14 — Voice + AI-ready overlay */
#atlas-buddy{position:fixed;right:18px;bottom:18px;z-index:2147480000;width:390px;max-width:calc(100vw - 24px);font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;color:#eef7ff;pointer-events:none}#atlas-buddy *{box-sizing:border-box}#atlas-buddy button,#atlas-buddy input{font:inherit}#atlas-buddy button{cursor:pointer}#atlas-buddy .ab-float{position:absolute;bottom:0;right:0;pointer-events:none}#atlas-buddy .ab-bot{position:relative;display:block;width:110px;height:138px;border:0;background:none;padding:0;pointer-events:auto;filter:drop-shadow(0 12px 12px #0a2c4c66);animation:ab-bob 3s ease-in-out infinite;transform-origin:bottom center}#atlas-buddy .ab-bot svg{width:100%;height:100%}#atlas-buddy .ab-tip{position:absolute;right:105px;top:12px;white-space:nowrap;border-radius:13px;padding:9px 12px;background:#102f4d;color:#fff;font-size:12px;box-shadow:0 10px 30px #001a3344}#atlas-buddy .ab-live{position:absolute;right:15px;top:26px;background:#24e4aa;border:2px solid #fff;border-radius:50%;width:11px;height:11px}#atlas-buddy .ab-panel{pointer-events:auto;position:absolute;bottom:134px;right:0;width:390px;max-width:calc(100vw - 24px);height:min(600px,calc(100dvh - 175px));min-height:340px;display:flex;flex-direction:column;border-radius:22px;overflow:hidden;background:#0c192c;border:1px solid #28415e;box-shadow:0 25px 70px #0010229c;direction:inherit}#atlas-buddy .ab-panel[hidden]{display:none!important}#atlas-buddy .ab-head{display:flex;align-items:center;gap:10px;padding:12px 14px;background:linear-gradient(115deg,#102c4d,#0b1b31);border-bottom:1px solid #263f5b}#atlas-buddy .ab-head-avatar{width:45px;height:49px;border-radius:13px;background:#234b69;overflow:hidden;flex-shrink:0}#atlas-buddy .ab-head-avatar svg{width:100%;height:100%;transform:scale(1.35) translateY(4px)}#atlas-buddy .ab-head-info{display:flex;flex-direction:column;flex:1;min-width:0}#atlas-buddy .ab-head-info strong{font-size:15px;font-weight:800}#atlas-buddy .ab-head-info small{font-size:11px;color:#a8c9dd}#atlas-buddy .ab-online{width:8px;height:8px;border-radius:50%;background:#26dfa9}#atlas-buddy .ab-icon{border:1px solid #35516e;border-radius:10px;background:#193652;color:#fff;width:34px;height:34px;font-size:17px}#atlas-buddy .ab-messages{flex:1;overflow:auto;padding:17px 13px;display:flex;flex-direction:column;gap:12px;scrollbar-width:thin;scrollbar-color:#35546e transparent}#atlas-buddy .ab-message{max-width:88%;border-radius:15px;padding:11px 13px;font-size:13px;line-height:1.75;overflow-wrap:anywhere}#atlas-buddy .ab-message p{margin:0;white-space:pre-wrap}#atlas-buddy .ab-message a{display:inline-block;color:#70e6ff;margin-top:8px;text-decoration:underline;text-underline-offset:3px}#atlas-buddy .ab-assistant{align-self:flex-start;background:#1b304a;border:1px solid #2a4968;border-start-start-radius:4px}#atlas-buddy .ab-user{align-self:flex-end;background:linear-gradient(135deg,#007eab,#11619a);border-end-end-radius:4px}#atlas-buddy .ab-status{font-size:11px;color:#89d9ee;min-height:15px;padding:0 14px}#atlas-buddy .ab-chips{display:flex;overflow-x:auto;gap:7px;padding:10px 13px 12px;scrollbar-width:thin;flex-shrink:0}#atlas-buddy .ab-chips button{border:1px solid #365a77;background:#142b45;color:#d4eafa;border-radius:999px;padding:7px 11px;white-space:nowrap;font-size:11px}#atlas-buddy .ab-chips button:hover{border-color:#41d7f5;background:#1e4363}#atlas-buddy .ab-compose{display:flex;gap:8px;padding:10px 12px;background:#101f34;border-top:1px solid #28425e}#atlas-buddy .ab-compose input{flex:1;min-width:0;border:1px solid #34506a;background:#091628;color:#fff;border-radius:12px;padding:11px 12px;outline:0;font-size:13px}#atlas-buddy .ab-compose input:focus{border-color:#40d8ef}#atlas-buddy .ab-mic,#atlas-buddy .ab-send{border:0;border-radius:12px;width:43px;flex-shrink:0;background:#203f5c;color:#eafaff;font-size:19px}#atlas-buddy .ab-send{background:#24c6e3;color:#082438;font-weight:900}#atlas-buddy .ab-mic.ab-active{background:#e74767;animation:ab-pulse 1s infinite}#atlas-buddy .ab-foot{text-align:center;font-size:9px;letter-spacing:1.5px;color:#678ca7;padding:6px 0 9px;background:#101f34}#atlas-buddy .ab-foot span{color:#2bd5f0}#atlas-buddy .ab-eyes{animation:ab-blink 5s infinite;transform-origin:70px 60px}#atlas-buddy .ab-bot.ab-talking .ab-mouth{animation:ab-talk .22s infinite alternate;transform-origin:70px 78px}#atlas-buddy .ab-bot.ab-thinking{animation:ab-think .65s infinite alternate}#atlas-buddy .ab-bot.ab-happy .ab-rightarm{animation:ab-wave .32s 4 alternate;transform-origin:101px 91px}@keyframes ab-bob{50%{transform:translateY(-9px) rotate(2deg)}}@keyframes ab-blink{0%,94%,100%{transform:scaleY(1)}96%{transform:scaleY(.1)}}@keyframes ab-talk{to{transform:scaleY(2)}}@keyframes ab-think{to{transform:rotate(8deg) translateY(-5px)}}@keyframes ab-wave{to{transform:rotate(-35deg)}}@keyframes ab-pulse{50%{box-shadow:0 0 0 6px #e7476738}}@media(max-width:600px){#atlas-buddy{right:10px;bottom:8px}#atlas-buddy .ab-bot{width:86px;height:109px}#atlas-buddy .ab-panel{bottom:103px;height:min(580px,calc(100dvh - 126px));width:min(390px,calc(100vw - 20px))}#atlas-buddy .ab-tip{right:85px;font-size:10px}}
@media(prefers-reduced-motion:reduce){#atlas-buddy .ab-bot,#atlas-buddy .ab-eyes{animation:none}}
