.allqh-chat-launcher{position:fixed;right:24px;bottom:24px;z-index:999990;width:60px;height:60px;border:0;border-radius:50%;background:var(--allqh-chat-color,#155eef);color:#fff;font-size:30px;box-shadow:0 8px 28px #0003;cursor:pointer}
.allqh-chat-panel{position:fixed;right:24px;bottom:96px;z-index:999991;width:min(370px,calc(100vw - 28px));height:min(560px,calc(100vh - 125px));background:#fff;border:1px solid #e4e7ec;border-radius:18px;box-shadow:0 18px 60px #10182830;overflow:hidden;display:flex;flex-direction:column;color:#101828;font:15px/1.45 Arial,sans-serif}
.allqh-chat-panel[hidden],.allqh-chat-launcher[hidden]{display:none}
.allqh-chat-header{background:var(--allqh-chat-color,#155eef);color:#fff;padding:15px 16px;display:flex;justify-content:space-between;align-items:center}
.allqh-chat-header strong{display:block;font-size:16px}.allqh-chat-header small{display:block;opacity:.85;font-size:12px}
.allqh-chat-close{border:0;background:transparent;color:#fff;font-size:27px;cursor:pointer}
.allqh-chat-messages{padding:14px;flex:1;overflow-y:auto;background:#f8fafc}
.allqh-chat-msg{max-width:88%;padding:10px 12px;margin:8px 0;border-radius:14px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}
.allqh-chat-msg.bot{background:#fff;border:1px solid #eaecf0;margin-right:auto}
.allqh-chat-msg.user{background:var(--allqh-chat-color,#155eef);color:#fff;margin-left:auto}
.allqh-chat-msg.error{color:#b42318}.allqh-chat-msg.waiting{color:#667085;font-style:italic}
.allqh-chat-form{display:flex;gap:8px;padding:12px;border-top:1px solid #eaecf0;background:#fff}
.allqh-chat-form textarea{resize:none;flex:1;min-width:0;border:1px solid #d0d5dd;border-radius:12px;padding:10px;font:14px Arial,sans-serif;max-height:90px}
.allqh-chat-form button{width:42px;border:0;border-radius:12px;background:var(--allqh-chat-color,#155eef);color:#fff;font-size:20px;cursor:pointer}
.allqh-chat-foot{padding:0 12px 9px;color:#98a2b3;background:#fff;font-size:10px;text-align:center}
@media(max-width:480px){.allqh-chat-panel{right:10px;bottom:82px;width:calc(100vw - 20px);height:min(560px,calc(100vh - 100px))}.allqh-chat-launcher{right:16px;bottom:16px}}
