.ps-chat-root{font-family:Inter,sans-serif}.ps-chat-root *,.ps-chat-root :before,.ps-chat-root :after{box-sizing:border-box}:root{--fab-right:1.75rem;--fab-bottom:1.75rem;--fab-wa:3.6rem;--fab-chat:3.6rem;--fab-gap:.9rem;--fab-safe:env(safe-area-inset-bottom,0px)}@media (width<=640px){:root{--fab-right:1rem;--fab-bottom:1rem;--fab-wa:3.3rem;--fab-chat:3.3rem}}html #backToTop{right:var(--fab-right)!important;width:var(--fab-chat)!important;height:var(--fab-chat)!important;bottom:calc(var(--fab-bottom) + var(--fab-safe) + var(--fab-wa) + var(--fab-gap) + var(--fab-chat) + var(--fab-gap))!important}.ps-launcher{right:var(--fab-right)!important;bottom:calc(var(--fab-bottom) + var(--fab-safe) + var(--fab-wa) + var(--fab-gap))!important;width:var(--fab-chat)!important;height:var(--fab-chat)!important;cursor:pointer!important;color:#fff!important;z-index:9999999!important;background:linear-gradient(135deg,#6366f1,#8b5cf6)!important;border:none!important;border-radius:50%!important;justify-content:center!important;align-items:center!important;font-size:22px!important;transition:transform .2s!important;display:flex!important;position:fixed!important;box-shadow:0 8px 24px #6366f166!important}.ps-launcher:hover{transform:scale(1.08)!important}.ps-launcher.is-hidden{display:none!important}.ps-badge{background:#ef4444!important;border:2px solid #fff!important;border-radius:50%!important;width:12px!important;height:12px!important;position:absolute!important;top:4px!important;right:4px!important}.ps-window{background:var(--surface,#fff)!important;border:1px solid var(--line,#e2e8f0)!important;z-index:9999999!important;border-radius:18px!important;flex-direction:column!important;width:380px!important;max-width:calc(100vw - 32px)!important;height:550px!important;max-height:calc(100dvh - 48px)!important;display:none!important;position:fixed!important;bottom:24px!important;right:24px!important;overflow:hidden!important;box-shadow:0 20px 60px #0f172a40!important}.ps-window.is-open{animation:.18s ease-out ps-pop;display:flex!important}@keyframes ps-pop{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:none}}.ps-header{color:#fff!important;background:linear-gradient(135deg,#6366f1,#8b5cf6)!important;flex-shrink:0!important;justify-content:space-between!important;align-items:center!important;padding:16px 18px!important;display:flex!important}.ps-header-info{align-items:center;gap:10px;display:flex}.ps-avatar{color:#fff;background:#fff3;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;font-size:16px;display:flex}.ps-header-title{color:#fff;font-size:15px;font-weight:700;line-height:1.2}.ps-header-subtitle{opacity:.85;color:#fff;align-items:center;gap:5px;font-size:12px;display:flex}.ps-status-dot{border-radius:50%;width:7px;height:7px;display:inline-block}.ps-status-dot.is-bot{background:#4ade80}.ps-status-dot.is-human{background:#fbbf24}.ps-header-actions{align-items:center;gap:8px;display:flex}.ps-icon-btn{color:#fff;cursor:pointer;background:#ffffff26;border:1px solid #ffffff4d;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;padding:0;font-size:14px;transition:background .15s,transform .15s;display:flex}.ps-icon-btn:hover{background:#ffffff4d;transform:scale(1.05)}.ps-messages{background:var(--surface-2,#f8fafc)!important;flex-direction:column!important;flex:1!important;gap:14px!important;padding:16px!important;display:flex!important;overflow-y:auto!important}.ps-messages::-webkit-scrollbar{width:6px}.ps-messages::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}.ps-row{align-items:flex-end;gap:8px;display:flex}.ps-row-user{flex-direction:row-reverse}.ps-avatar-sm{color:#fff;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:26px;height:26px;font-size:11px;display:flex}.ps-avatar-sm.is-agent{background:#f59e0b}.ps-bubble-group{flex-direction:column;max-width:80%;display:flex}.ps-row-user .ps-bubble-group{align-items:flex-end}.ps-bubble{word-wrap:break-word;overflow-wrap:anywhere;border-radius:16px;padding:10px 14px;font-size:14px;line-height:1.5}.ps-bubble-bot{background:var(--surface,#fff)!important;color:var(--text-primary,#0f172a)!important;border:1px solid var(--line,#e2e8f0)!important;border-bottom-left-radius:4px!important}.ps-bubble-admin{color:#92400e!important;background:#fffbeb!important;border:1px solid #fde68a!important;border-bottom-left-radius:4px!important}.ps-bubble-user{color:#fff!important;background:linear-gradient(135deg,#6366f1,#8b5cf6)!important;border-bottom-right-radius:4px!important}.ps-time{margin-top:4px;padding:0 4px;font-size:10.5px;color:var(--text-secondary,#94a3b8)!important}.ps-time-user{text-align:right}.ps-typing{align-items:center;gap:4px;padding:14px;display:flex}.ps-typing span{background:#94a3b8;border-radius:50%;width:6px;height:6px;animation:1.2s ease-in-out infinite ps-bounce}.ps-typing span:nth-child(2){animation-delay:.15s}.ps-typing span:nth-child(3){animation-delay:.3s}@keyframes ps-bounce{0%,60%,to{opacity:.5;transform:translateY(0)}30%{opacity:1;transform:translateY(-4px)}}.ps-input-row{border-top:1px solid var(--line,#eef2f6)!important;background:var(--surface,#fff)!important;flex-shrink:0!important;gap:8px!important;margin:0!important;padding:12px!important;display:flex!important}.ps-input{border:1px solid var(--line,#e2e8f0)!important;min-width:0!important;height:auto!important;box-shadow:none!important;color:var(--text-primary,#0f172a)!important;background:var(--surface-2,#fff)!important;border-radius:10px!important;outline:none!important;flex:1!important;padding:10px 14px!important;font-size:14px!important}.ps-input:focus{border-color:#6366f1!important}.ps-send{color:#fff!important;cursor:pointer!important;background:linear-gradient(135deg,#6366f1,#8b5cf6)!important;border:none!important;border-radius:10px!important;justify-content:center!important;align-items:center!important;width:40px!important;height:40px!important;padding:0!important;font-size:15px!important;display:flex!important}.ps-send:disabled{opacity:.6!important}.ps-footer-note{text-align:center!important;color:var(--text-secondary,#94a3b8)!important;background:var(--surface,#fff)!important;padding:6px 0 10px!important;font-size:10.5px!important}@media (width<=480px){.ps-window{width:calc(100vw - 24px)!important;bottom:12px!important;right:12px!important}}
