
.gw-chat-panel{position:fixed;bottom:calc(var(--fab-bottom, var(--pwa-nav-h,0px) + 4px));right:24px;z-index:2147483001;width:min(360px,calc(100vw - 32px));background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 12px 40px rgba(15,23,42,.15);display:none;flex-direction:column;overflow:hidden;max-height:min(520px,calc(100vh - 100px));font-family:'Inter',system-ui,sans-serif}
.gw-chat-panel.open{display:flex}
.gw-chat-head{background:linear-gradient(135deg,#00b87a,#00a36c);color:#fff;padding:14px 16px;display:flex;align-items:center;gap:10px}
.gw-chat-head .av{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.22);display:flex;align-items:center;justify-content:center;font-size:1.1rem}
.gw-chat-head .t1{font-weight:800;font-size:.88rem}
.gw-chat-head .t2{font-size:.72rem;opacity:.88}
.gw-chat-head .x{margin-left:auto;background:none;border:none;color:#fff;opacity:.85;font-size:1.2rem;cursor:pointer;line-height:1;padding:4px}
.gw-chat-msgs{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px;background:#f8fafc;min-height:180px;max-height:280px}
.gw-chat-bubble{max-width:88%;padding:9px 12px;border-radius:12px;font-size:.82rem;line-height:1.45;word-break:break-word}
.gw-chat-bubble.bot{background:#fff;border:1px solid #e2e8f0;color:#0d2140;align-self:flex-start;border-bottom-left-radius:4px}
.gw-chat-bubble.bot a{color:#00805A;font-weight:700;text-decoration:underline}
.gw-chat-bubble.user{background:#00805A;color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.gw-chat-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 8px}
.gw-chat-chip{border:1px solid #e2e8f0;background:#fff;border-radius:999px;padding:6px 10px;font-size:.72rem;font-weight:600;color:#0d2140;cursor:pointer}
.gw-chat-chip:hover{border-color:#00b87a;color:#008058}
.gw-chat-form{display:flex;gap:8px;padding:10px 12px;border-top:1px solid #e2e8f0;background:#fff}
.gw-chat-form input{flex:1;border:1px solid #e2e8f0;border-radius:10px;padding:10px 12px;font-size:.84rem;outline:none;font-family:inherit}
.gw-chat-form input:focus{border-color:#00b87a}
.gw-chat-form button{width:40px;height:40px;border:none;border-radius:10px;background:#00805A;color:#fff;cursor:pointer;font-size:1rem;flex-shrink:0}
.gw-chat-form button:disabled{opacity:.5;cursor:wait}
.gw-chat-fab{position:fixed;bottom:calc(var(--fab-bottom, var(--pwa-nav-h,0px) + 4px));right:24px;z-index:2147483000;width:56px;height:56px;border-radius:50%;border:none;background:linear-gradient(135deg,#00b87a,#00a36c);color:#fff;box-shadow:0 4px 20px rgba(0,184,122,.35);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:1.4rem;transition:transform .2s;font-family:inherit}
.gw-chat-fab:hover{transform:scale(1.06)}
.gw-chat-fab.hidden{display:none}
.gw-chat-typing{font-size:.78rem;color:#94a3b8;padding:4px 12px;font-style:italic}
@media(max-width:520px){.gw-chat-panel{right:12px;left:12px;width:auto;bottom:calc(var(--fab-bottom, var(--pwa-nav-h,0px) + 4px))}.gw-chat-fab{right:16px;bottom:calc(var(--fab-bottom, var(--pwa-nav-h,0px) + 4px))}}
