:root{--wazbot-color-primary:#128c7e;--wazbot-color-secondary:#25d366;--wazbot-color-background:#fff;--wazbot-color-text:#333;--wazbot-color-text-light:#666;--wazbot-color-border:#e0e0e0;--wazbot-color-visitor-bubble:#dcf8c6;--wazbot-color-agent-bubble:#fff;--wazbot-border-radius:16px;--wazbot-bubble-size:60px;--wazbot-z-index:999999}.wazbot-container{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:14px;line-height:1.4;position:fixed;z-index:var(--wazbot-z-index)}.wazbot-container,.wazbot-container *,.wazbot-container :after,.wazbot-container :before{box-sizing:border-box}.wazbot-container.wazbot-bottom-right{bottom:20px;right:20px}.wazbot-container.wazbot-bottom-left{bottom:20px;left:20px}.wazbot-container.wazbot-top-right{right:20px;top:20px}.wazbot-container.wazbot-top-left{left:20px;top:20px}.wazbot-bubble{align-items:center;background:var(--wazbot-color-primary);border:none;border-radius:50%;box-shadow:0 4px 12px rgba(0,0,0,.15);cursor:pointer;display:flex;height:var(--wazbot-bubble-size);justify-content:center;outline:none;padding:0;position:relative;transition:transform .2s ease,box-shadow .2s ease;width:var(--wazbot-bubble-size)}.wazbot-bubble:hover{box-shadow:0 6px 16px rgba(0,0,0,.2);transform:scale(1.05)}.wazbot-bubble:active{transform:scale(.95)}.wazbot-bubble:focus-visible{outline:2px solid var(--wazbot-color-primary);outline-offset:2px}.wazbot-bubble svg{color:#fff;height:28px;width:28px}.wazbot-bubble.wazbot-open svg{height:24px;width:24px}.wazbot-badge{align-items:center;animation:wazbot-badge-pop .3s ease;background:#f44;border-radius:10px;color:#fff;display:flex;font-size:12px;font-weight:600;height:20px;justify-content:center;min-width:20px;padding:0 6px;position:absolute;right:-4px;top:-4px}.wazbot-badge.wazbot-hidden{display:none}@keyframes wazbot-badge-pop{0%{transform:scale(0)}50%{transform:scale(1.2)}to{transform:scale(1)}}.wazbot-window{background:var(--wazbot-color-background);border-radius:var(--wazbot-border-radius);box-shadow:0 8px 32px rgba(0,0,0,.15);display:flex;flex-direction:column;height:520px;max-height:calc(100vh - 100px);max-width:calc(100vw - 40px);opacity:0;overflow:hidden;pointer-events:none;position:absolute;transform:scale(.9) translateY(20px);transition:opacity .2s ease,transform .2s ease;width:370px}.wazbot-window.wazbot-open{opacity:1;pointer-events:auto;transform:scale(1) translateY(0)}.wazbot-bottom-left .wazbot-window,.wazbot-bottom-right .wazbot-window{bottom:calc(var(--wazbot-bubble-size) + 16px)}.wazbot-top-left .wazbot-window,.wazbot-top-right .wazbot-window{top:calc(var(--wazbot-bubble-size) + 16px)}.wazbot-bottom-right .wazbot-window,.wazbot-top-right .wazbot-window{right:0}.wazbot-bottom-left .wazbot-window,.wazbot-top-left .wazbot-window{left:0}.wazbot-header{align-items:center;background:var(--wazbot-color-primary);color:#fff;display:flex;flex-shrink:0;justify-content:space-between;padding:16px 20px}.wazbot-header-content{flex:1;min-width:0}.wazbot-header-title{font-size:16px;font-weight:600;margin:0 0 2px}.wazbot-header-subtitle,.wazbot-header-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wazbot-header-subtitle{font-size:12px;margin:0;opacity:.85}.wazbot-header-actions{display:flex;flex-shrink:0;gap:8px}.wazbot-header-btn{align-items:center;background:transparent;border:none;color:#fff;cursor:pointer;display:flex;justify-content:center;opacity:.8;padding:4px;transition:opacity .2s ease}.wazbot-header-btn:hover{opacity:1}.wazbot-header-btn svg{height:20px;width:20px}.wazbot-messages{background:#f5f5f5;display:flex;flex:1;flex-direction:column;gap:12px;overflow-x:hidden;overflow-y:auto;padding:16px;scroll-behavior:smooth}.wazbot-messages::-webkit-scrollbar{width:6px}.wazbot-messages::-webkit-scrollbar-track{background:transparent}.wazbot-messages::-webkit-scrollbar-thumb{background:rgba(0,0,0,.2);border-radius:3px}.wazbot-messages::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,.3)}.wazbot-message{border-radius:12px;max-width:85%;padding:10px 14px;word-wrap:break-word;animation:wazbot-fade-in .2s ease;position:relative;word-break:break-word}@keyframes wazbot-fade-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.wazbot-message-visitor{align-self:flex-end;background:var(--wazbot-color-visitor-bubble);border-bottom-right-radius:4px}.wazbot-message-agent,.wazbot-message-bot{align-self:flex-start;background:var(--wazbot-color-agent-bubble);border-bottom-left-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.1)}.wazbot-message-content{color:var(--wazbot-color-text);white-space:pre-wrap}.wazbot-message-time{color:var(--wazbot-color-text-light);font-size:11px;margin-top:4px;text-align:right}.wazbot-typing{align-self:flex-start;background:var(--wazbot-color-agent-bubble);border-radius:12px;box-shadow:0 1px 2px rgba(0,0,0,.1);display:flex;gap:4px;padding:12px 16px}.wazbot-typing-dot{animation:wazbot-typing 1.4s ease-in-out infinite;background:var(--wazbot-color-text-light);border-radius:50%;height:8px;width:8px}.wazbot-typing-dot:nth-child(2){animation-delay:.2s}.wazbot-typing-dot:nth-child(3){animation-delay:.4s}@keyframes wazbot-typing{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-4px)}}.wazbot-input-area{align-items:flex-end;background:var(--wazbot-color-background);border-top:1px solid var(--wazbot-color-border);display:flex;flex-shrink:0;gap:12px;padding:12px 16px}.wazbot-input-wrapper{flex:1;position:relative}.wazbot-input{border:1px solid var(--wazbot-color-border);border-radius:24px;font-family:inherit;font-size:14px;line-height:1.4;max-height:100px;min-height:40px;outline:none;padding:10px 14px;resize:none;transition:border-color .2s ease;width:100%}.wazbot-input:focus{border-color:var(--wazbot-color-primary)}.wazbot-input::placeholder{color:var(--wazbot-color-text-light)}.wazbot-input:disabled{background:#f5f5f5;cursor:not-allowed}.wazbot-send-btn{align-items:center;background:var(--wazbot-color-secondary);border:none;border-radius:50%;cursor:pointer;display:flex;flex-shrink:0;height:40px;justify-content:center;outline:none;transition:background .2s ease,transform .1s ease;width:40px}.wazbot-send-btn:hover{background:var(--wazbot-color-primary)}.wazbot-send-btn:active{transform:scale(.95)}.wazbot-send-btn:focus-visible{outline:2px solid var(--wazbot-color-primary);outline-offset:2px}.wazbot-send-btn:disabled{background:var(--wazbot-color-border);cursor:not-allowed}.wazbot-send-btn svg{color:#fff;height:20px;margin-left:2px;width:20px}.wazbot-footer{background:var(--wazbot-color-background);border-top:1px solid var(--wazbot-color-border);flex-shrink:0;padding:8px 16px;text-align:center}.wazbot-footer a{color:var(--wazbot-color-text-light);font-size:11px;text-decoration:none;transition:color .2s ease}.wazbot-footer a:hover{color:var(--wazbot-color-primary)}.wazbot-status{border-radius:8px;color:var(--wazbot-color-text-light);font-size:12px;padding:8px 12px;text-align:center}.wazbot-status-error{background:#ffebee;color:#d32f2f}.wazbot-status-warning{background:#fff3e0;color:#f57c00}.wazbot-status-info{background:#e3f2fd;color:#1976d2}.wazbot-container.wazbot-disabled{opacity:.6;pointer-events:none}.wazbot-sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border:0;white-space:nowrap}.wazbot-window:focus{outline:none}@media (prefers-contrast:high){.wazbot-message{border:1px solid}.wazbot-bubble,.wazbot-send-btn{border:2px solid #fff}}@media (prefers-reduced-motion:reduce){.wazbot-bubble,.wazbot-message,.wazbot-typing-dot,.wazbot-window{animation:none;transition:none}}@media (max-width:480px){.wazbot-container{bottom:10px!important;left:10px!important;right:10px!important;top:auto!important}.wazbot-window{border-radius:12px;bottom:calc(var(--wazbot-bubble-size) + 10px)!important;height:calc(100vh - 80px);left:0!important;max-height:none;max-width:none;right:0!important;width:calc(100vw - 20px)}.wazbot-bubble{height:56px;width:56px}.wazbot-bubble svg{height:24px;width:24px}.wazbot-header{padding:12px 16px}.wazbot-header-title{font-size:15px}.wazbot-messages{padding:12px}.wazbot-input-area{padding:10px 12px}}@media print{.wazbot-container{display:none!important}}