.chat{--chat-primary:#2563eb;--chat-ink:#111827;--chat-muted:#6b7280;--chat-soft:#f3f4f6;color:var(--chat-ink);font-family:system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.45}.chat *,.chat :before,.chat :after{box-sizing:border-box}.chat-fab{z-index:20;background:var(--chat-primary);color:var(--chat-on-primary,#fff);font:inherit;cursor:pointer;min-height:48px;box-shadow:0 12px 28px -8px color-mix(in srgb, var(--chat-primary) 70%, #000);border:0;border-radius:999px;padding:12px 20px;font-weight:700;transition:transform .16s cubic-bezier(.23,1,.32,1);position:fixed;bottom:16px;left:16px}.chat-fab:active{transform:scale(.96)}.chat-panel{z-index:30;transform-origin:0 100%;background:#fff;border-radius:18px;flex-direction:column;max-height:calc(100vh - 16px);animation:.22s cubic-bezier(.23,1,.32,1) both chat-in;display:flex;position:fixed;bottom:8px;left:8px;right:8px;overflow:hidden;box-shadow:0 0 0 1px #0f172a0f,0 24px 56px -12px #0f172a59}@keyframes chat-in{0%{opacity:0;transform:translateY(8px)scale(.97)}}@media (prefers-reduced-motion:reduce){.chat-panel{animation:none}}@media (min-width:640px){.chat-panel{width:380px;max-height:min(600px,100vh - 32px);bottom:16px;left:16px;right:auto}}.chat-head{background:var(--chat-primary);color:var(--chat-on-primary,#fff);justify-content:space-between;align-items:center;padding:10px 10px 10px 16px;font-weight:700;display:flex}.chat-head .chat-x{color:#fff}.chat-x{cursor:pointer;background:0 0;border:0;min-width:44px;min-height:44px;font-size:1.5rem;line-height:1}.chat-consent{padding:14px;overflow-y:auto}.chat-consent p{margin:0 0 12px;font-size:.95rem}.chat-log{flex:1;align-content:start;gap:8px;min-height:160px;margin:0;padding:12px;list-style:none;display:grid;overflow-y:auto}.chat-msg{background:var(--chat-soft);overflow-wrap:anywhere;white-space:pre-wrap;border-radius:16px 16px 16px 4px;gap:2px;max-width:85%;padding:9px 12px;animation:.2s cubic-bezier(.23,1,.32,1) both chat-in;display:grid}.chat-customer{background:var(--chat-primary);color:var(--chat-on-primary,#fff);border-radius:16px 16px 4px;justify-self:end}.chat-customer .chat-who{color:#fffc}.chat-system{color:var(--chat-muted);text-align:center;background:0 0;justify-self:center;font-size:.9rem}.chat-who{color:var(--chat-muted);font-size:.75rem;font-weight:600}.chat-note{color:var(--chat-muted);margin:0;padding:0 14px 6px;font-size:.9rem}.chat-err{color:#991b1b;background:#fef2f2;border-radius:8px;margin:8px 14px 0;padding:8px 10px}.chat-form{border-top:1px solid #e5e7eb;gap:8px;padding:8px 12px;display:flex}.chat-form textarea{min-width:0;font:inherit;resize:none;border:1px solid #d1d5db;border-radius:14px;flex:1;padding:10px 12px}.chat-form textarea:focus-visible{border-color:var(--chat-primary);box-shadow:0 0 0 3px color-mix(in srgb, var(--chat-primary) 20%, transparent);outline:none}.chat-btn{background:var(--chat-primary);color:var(--chat-on-primary,#fff);min-height:44px;font:inherit;cursor:pointer;border:0;border-radius:999px;padding:10px 18px;font-weight:600}.chat-btn:disabled,.chat-link:disabled{opacity:.5;cursor:not-allowed}.chat-actions{flex-wrap:wrap;justify-content:space-between;gap:8px;padding:0 12px 10px;display:flex}.chat-link{color:var(--chat-primary);font:inherit;cursor:pointer;background:0 0;border:0;min-height:44px;padding:8px 0;text-decoration:underline}.chat-sr{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.chat-v-bubble .chat-fab{left:auto;right:16px}@media (min-width:640px){.chat-v-bubble .chat-panel{transform-origin:100% 100%;left:auto;right:16px}}.chat-dot{background:#22c55e;border-radius:999px;flex:none;width:8px;height:8px;margin-right:8px;display:inline-block}.chat-bar{z-index:20;color:var(--chat-ink);font:inherit;cursor:pointer;text-align:left;background:#fff;border:0;border-radius:999px;align-items:center;gap:10px;max-width:760px;margin:0 auto;padding:8px 8px 8px 14px;display:flex;position:fixed;bottom:12px;left:12px;right:12px;box-shadow:0 0 0 1px #0f172a14,0 16px 40px -12px #0f172a59}.chat-bar-who{white-space:nowrap;align-items:center;font-weight:700;display:inline-flex}.chat-bar-input{color:#64748b;white-space:nowrap;text-overflow:ellipsis;background:#f1f5f9;border-radius:999px;flex:1;min-width:0;padding:9px 14px;overflow:hidden}.chat-bar-go{background:var(--chat-primary);width:40px;height:40px;color:var(--chat-on-primary,#fff);border-radius:999px;flex:none;place-items:center;display:grid}@media (max-width:480px){.chat-bar-who{display:none}}.chat-v-bar .chat-panel{bottom:12px}@media (min-width:640px){.chat-v-bar .chat-panel{left:auto;right:16px}}.chat-v-inline{height:100%}.chat-v-inline .chat-panel{width:auto;height:100%;min-height:380px;max-height:none;animation:none;position:static;box-shadow:0 0 0 1px #0f172a0f}.chat-inline-min{background:var(--chat-primary);width:100%;color:var(--chat-on-primary,#fff);font:inherit;cursor:pointer;border:0;border-radius:14px;align-items:center;gap:4px;padding:12px 16px;font-weight:700;display:flex}.chat-inline-min span:last-child{margin-left:auto}.chat-welcome{font-weight:600}
