#ao-site-chat-launch,#ao-site-chat{font-family:system-ui,Arial,sans-serif;box-sizing:border-box;position:fixed;z-index:19990;right: max(15px,env(safe-area-inset-right));bottom: max(15px,env(safe-area-inset-bottom))}
#ao-site-chat-launch{display:flex;gap:8px;align-items:center;justify-content:center;border:1px solid #ffd67a;border-radius:28px;background:linear-gradient(135deg,#ffe6a0,#cb8e26);color:#180d05;font-size:14px;font-weight:800;min-height:48px;padding:10px 18px;box-shadow:0 0 20px #d1a34166;cursor:pointer}
#ao-site-chat-launch svg,#ao-site-chat svg{width:21px;height:21px;flex:none}
#ao-site-chat{display:flex;flex-direction:column;width:min(390px,calc(100vw - 30px));height:min(680px,calc(100dvh - 95px));min-height:240px;overflow:hidden;border:1px solid #b98742;border-radius:27px;background:#100a18;color:#f8f2ff;box-shadow:0 0 34px #8f30c66b,0 14px 50px #000b;bottom: max(75px,calc(env(safe-area-inset-bottom) + 65px));text-align:start;isolation:isolate}
#ao-site-chat[hidden],#ao-site-chat-launch[hidden]{display:none!important}
#ao-site-chat *{box-sizing:border-box}
#ao-site-chat .sc-head{display:flex;align-items:center;gap:10px;padding:14px;background:linear-gradient(115deg,#261235,#100b19);border-bottom:1px solid #ad813e}
#ao-site-chat .sc-avatar{display:grid;place-items:center;width:40px;height:40px;border:1px solid #e9bf63;color:#ffd679;background:#170d22;border-radius:50%;flex:none}
#ao-site-chat .sc-name{flex:1;min-width:0}
#ao-site-chat .sc-name strong{display:block;color:#ffda82;font-size:15px;line-height:1.3}
#ao-site-chat .sc-name small{display:block;color:#d8c8e2;font-size:11px}
#ao-site-chat .sc-icon{display:grid;place-items:center;background:none;border:1px solid #785d89;border-radius:9px;color:#f5e6ff;width:34px;height:34px;font-size:20px;cursor:pointer;flex:none}
#ao-site-chat .sc-messages{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:11px;padding:14px;scrollbar-width:thin}
#ao-site-chat .sc-bubble{max-width:91%;padding:11px 13px;border-radius:15px;background:#261933;border:1px solid #4b355d;font-size:14px;line-height:1.55;overflow-wrap:anywhere;white-space:pre-wrap;align-self:flex-start}
#ao-site-chat .sc-bubble.user{align-self:flex-end;background:#382411;border-color:#9a7138;color:#fff2d1}
#ao-site-chat .sc-bubble.error{border-color:#d26a76;background:#371827}
#ao-site-chat .sc-bubble a{color:#ffdc80;text-decoration:underline;overflow-wrap:anywhere}
#ao-site-chat .sc-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 8px}
#ao-site-chat .sc-chip{background:#20132b;color:#e8d4ff;border:1px solid #80569a;padding:7px 9px;border-radius:14px;font-size:11px;cursor:pointer}
#ao-site-chat .sc-form{display:flex;align-items:flex-end;gap:8px;padding:10px 12px 5px;border-top:1px solid #4f355e;margin:0}
#ao-site-chat textarea{flex:1;min-width:0;min-height:46px;max-height:112px;resize:none;background:#1b1227;color:#fff;border:1px solid #6f527e;border-radius:13px;padding:11px;font:16px/1.35 system-ui,sans-serif;margin:0}
#ao-site-chat .sc-send{display:grid;place-items:center;width:46px;height:46px;border:1px solid #ffe19a;border-radius:13px;background:linear-gradient(#ffdf88,#d6a33c);color:#1e1000;cursor:pointer;flex:none}
#ao-site-chat button:disabled{opacity:.5;cursor:not-allowed}
#ao-site-chat .sc-note{font-size:10px;color:#c5b5d0;padding:0 13px 11px;line-height:1.4}
#ao-site-chat :focus-visible,#ao-site-chat-launch:focus-visible{outline:2px solid #ffe6a0;outline-offset:2px}
@media(max-width:480px){#ao-site-chat{right:8px;width:calc(100vw - 16px);height:min(680px,calc(100dvh - 80px));bottom:max(65px,calc(env(safe-area-inset-bottom) + 57px));border-radius:21px}#ao-site-chat-launch{right:10px;bottom:max(10px,env(safe-area-inset-bottom));min-height:44px;padding:8px 14px}}

/* Isolate the floating widget from the site's legacy section layout rules. */
html body #ao-site-chat{position:fixed!important;inset:auto max(15px,env(safe-area-inset-right)) max(75px,calc(env(safe-area-inset-bottom) + 65px)) auto!important;margin:0!important;padding:0!important;width:min(390px,calc(100vw - 30px))!important;min-width:0!important;max-width:calc(100vw - 30px)!important;height:min(680px,calc(100dvh - 95px))!important;min-height:0!important;max-height:calc(100dvh - 95px)!important;transform:none!important;box-sizing:border-box!important}
html body #ao-site-chat-launch{position:fixed!important;inset:auto max(15px,env(safe-area-inset-right)) max(15px,env(safe-area-inset-bottom)) auto!important;margin:0!important;width:auto!important;max-width:calc(100vw - 30px)!important;transform:none!important}
@media(max-width:480px){html body #ao-site-chat{inset:auto 8px max(65px,calc(env(safe-area-inset-bottom) + 57px)) 8px!important;width:auto!important;max-width:none!important;height:min(680px,calc(100dvh - 80px))!important;max-height:calc(100dvh - 80px)!important}}
