body #ap-chat-btn,body #ap-chat-panel{font-family:'Space Grotesk',sans-serif;z-index:90;box-sizing:border-box}
body #ap-chat-btn{right:22px;bottom:calc(var(--ap-lift,20px) + env(safe-area-inset-bottom));width:auto;height:72px;padding:0;border:0;background:none;color:#243b49;display:flex;align-items:center;gap:12px;box-shadow:none;border-radius:40px;transition:bottom .2s ease}
.ap-launch-label{padding:11px 16px;background:#f3f1e9;border:1px solid #abc3cf66;border-radius:20px 20px 4px 20px;font-size:12px;line-height:1.3;box-shadow:0 4px 18px #07151c22;font-weight:500}
.ap-face{position:relative;display:block;overflow:hidden;flex:none;border-radius:50%;background:#f3f1e9;isolation:isolate}
.ap-face-layer{position:absolute;max-width:none!important;width:800%!important;height:auto!important;pointer-events:none;transition:opacity .24s ease}
.ap-launch-face{width:72px;height:72px;border:2px solid #b5cbd5;box-shadow:0 5px 20px #07151c30}
body #ap-chat-btn:hover .ap-launch-face{border-color:#ff885b}
body #ap-chat-btn:focus-visible,body #ap-chat-x:focus-visible,body #ap-chat-send:focus-visible,.ap-suggestions button:focus-visible{outline:3px solid #ff885b;outline-offset:4px}
body #ap-chat-panel{right:22px;bottom:104px;width:380px;height:535px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 120px);border-radius:20px;border:1px solid #92a9b34d;box-shadow:0 20px 60px #06151f4d;background:#f3f1e9;color:#233b49;font-size:14px;line-height:1.55}
body #ap-chat-panel.open{display:flex;animation:ap-chat-in .2s ease both}
body #ap-chat-head{background:#203746;color:#f3f1e9;gap:12px;padding:17px 18px;font-weight:500;flex:none}
.ap-head-face{width:46px;height:46px;border:1px solid #b3ccda}
.ap-identity{flex:1;display:flex;flex-direction:column;gap:1px}
.ap-identity span{font-size:17px;letter-spacing:-.03em}
.ap-identity small{font-size:10px;font-weight:400;color:#bdd2dd;letter-spacing:.05em}
body #ap-chat-x{width:32px;height:32px;display:grid;place-items:center;color:#f3f1e9;font:400 26px/1 'Space Grotesk',sans-serif;border-radius:50%}
body #ap-chat-x:hover{background:#ffffff18}
body #ap-chat-log{padding:20px 18px 12px;background:#f3f1e9;gap:14px;min-height:0;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#9ab0bc transparent}
body #ap-chat-panel .ap-msg{font-size:13px;line-height:1.65;padding:12px 14px;max-width:92%;border-radius:14px;overflow-wrap:anywhere}
body #ap-chat-panel .ap-bot{color:#233b49;background:#fffdf7;border:1px solid #233b4914;border-bottom-left-radius:3px}
body #ap-chat-panel .ap-user{background:#d1e2e9;color:#1b3444;border:0;border-bottom-right-radius:3px}
.ap-suggestions{padding:0 18px 10px;display:flex;gap:6px;flex-wrap:wrap;flex:none}
.ap-suggestions button{padding:6px 10px;border:1px solid #2f4b5b40;background:transparent;color:#2f4b5b;border-radius:16px;font:400 10px/1.45 'Space Grotesk',sans-serif;cursor:pointer;text-align:left}
.ap-suggestions button:hover{background:#d1e2e9}
.ap-status{color:#617580;font-size:10px;padding:6px 18px 12px;flex:none}
.ap-thinking .ap-status:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:#df6a3d;margin-right:7px;animation:ap-pulse 1.2s ease-in-out infinite}
body #ap-chat-form{background:#fffdf7;border-color:#233b491c;padding:12px;gap:8px;flex:none}
body #ap-chat-in{width:0;min-width:0;border:1px solid #62798455;background:#f3f1e9;color:#233b49;border-radius:10px;padding:11px;font:400 14px/1.4 'Space Grotesk',sans-serif}
body #ap-chat-in:focus{border-color:#627984;box-shadow:0 0 0 2px #b1cddb66}
body #ap-chat-in::placeholder{color:#657781;opacity:1}
body #ap-chat-send{background:#203746;color:#f3f1e9;padding:0 14px;border-radius:10px;font:500 12px/1.4 'Space Grotesk',sans-serif}
body #ap-chat-btn[hidden],body #ap-chat-panel[hidden],body #ap-chat-btn.ap-keyboard,body[data-world=warehouse] #ap-chat-btn,body[data-world=warehouse] #ap-chat-panel,body.route-covered #ap-chat-btn,body.route-covered #ap-chat-panel{display:none!important}
.ap-is-open .ap-launch-label{display:none}
.ap-quiet .ap-launch-label{display:none}
@keyframes ap-chat-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes ap-pulse{50%{opacity:.3}}
@media(max-width:650px){body #ap-chat-btn{right:14px;height:62px;gap:8px}.ap-launch-face{width:62px;height:62px}.ap-launch-label{font-size:10px;padding:9px 12px;max-width:140px}body #ap-chat-panel{right:12px;width:calc(100% - 24px);max-width:none;height:510px;border-radius:18px}body #ap-chat-in{font-size:16px}body #ap-chat-head{padding:14px 16px}body #ap-chat-log{padding:16px}.ap-suggestions{padding-inline:16px}}
@media(prefers-reduced-motion:reduce){body #ap-chat-btn,.ap-face-layer{transition:none}body #ap-chat-panel.open,.ap-thinking .ap-status:before{animation:none}}
