.chatbot-fab{position:fixed;bottom:24px;right:24px;z-index:9998;width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 12px #00000040;transition:transform .2s ease,box-shadow .2s ease;border:none;background:var(--cor-p, #0066CC);color:var(--chatbot-on-p, #fff)}.chatbot-fab:hover{transform:scale(1.08);box-shadow:0 6px 20px #0000004d;background:color-mix(in srgb,var(--cor-p, #0066CC) 85%,black)}.chatbot-fab--left{right:auto;left:24px}.chatbot-window{position:fixed;bottom:92px;right:24px;z-index:9998;width:380px;max-width:calc(100vw - 48px);height:520px;max-height:calc(100vh - 120px);background:#fff;border-radius:16px;box-shadow:0 8px 32px #0000002e;display:flex;flex-direction:column;overflow:hidden}.chatbot-window--left{right:auto;left:24px}.chatbot-header{padding:12px 16px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.chatbot-header-title{font-weight:600;font-size:13px}.chatbot-logo-bar{display:flex;justify-content:center;align-items:center;gap:12px;padding:14px 16px 10px;flex-shrink:0;background:#fff}.chatbot-logo-img{height:48px;width:auto;-o-object-fit:contain;object-fit:contain}.chatbot-logo-img--fornecedor{max-width:120px}.chatbot-logo-sep{width:1px;height:32px;background:#e5e7eb;flex-shrink:0}.chatbot-header-close{background:none;border:none;cursor:pointer;opacity:.7;transition:opacity .2s;padding:4px;border-radius:4px}.chatbot-header-close:hover{opacity:1}.chatbot-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:8px}.chatbot-greeting-step{display:flex;flex-direction:column;align-items:center;gap:16px;padding:12px 0}.chatbot-start-btn{border:none;border-radius:10px;padding:12px 28px;color:var(--chatbot-on-p, #fff);font-size:14px;font-weight:600;cursor:pointer;transition:opacity .2s,transform .15s;box-shadow:0 2px 8px #00000026}.chatbot-start-btn:hover{opacity:.9;transform:scale(1.03)}.chatbot-message{max-width:85%;padding:10px 14px;border-radius:12px;font-size:13px;line-height:1.5;word-wrap:break-word;animation:messageIn .25s ease-out}@keyframes messageIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.chatbot-message--user{align-self:flex-end;border-bottom-right-radius:4px}.chatbot-message--bot{align-self:flex-start;border-bottom-left-radius:4px}.chatbot-message--error{opacity:.85}.chatbot-message-time{font-size:10px;opacity:.6;margin-top:4px;text-align:right}.chatbot-message-sources{margin-top:6px;padding-top:6px;border-top:1px solid rgba(255,255,255,.2)}.chatbot-message-sources summary{font-size:11px;cursor:pointer;opacity:.7}.chatbot-message-sources ul{margin:4px 0 0;padding-left:16px;font-size:11px;opacity:.6}.chatbot-typing{align-self:flex-start;display:flex;gap:4px;padding:12px 16px;border-radius:12px 12px 12px 4px}.chatbot-typing-dot{width:8px;height:8px;border-radius:50%;animation:typingBounce 1.4s infinite ease-in-out}.chatbot-typing-dot:nth-child(1){animation-delay:0s}.chatbot-typing-dot:nth-child(2){animation-delay:.2s}.chatbot-typing-dot:nth-child(3){animation-delay:.4s}@keyframes typingBounce{0%,80%,to{transform:scale(.6);opacity:.4}40%{transform:scale(1);opacity:1}}.chatbot-input-area{padding:12px 16px;border-top:1px solid #e5e7eb;flex-shrink:0}.chatbot-input-wrapper{display:flex;gap:8px;align-items:flex-end}.chatbot-input-meta{display:flex;justify-content:space-between;gap:8px;margin-top:6px;font-size:11px;color:#6b7280}.chatbot-onboarding{display:flex;flex-direction:column;gap:8px;padding:8px 12px;background:#f9fafb;border-radius:12px;margin:8px 0;border:1px solid #f3f4f6}.chatbot-onboarding-title{font-size:12px;font-weight:600;margin-bottom:4px;line-height:1.4}.chatbot-onboarding-field label{display:block;font-size:10px;margin-bottom:2px;color:#6b7280}.chatbot-onboarding-input{width:100%;border:1px solid #d1d5db;border-radius:8px;padding:8px 10px;font-size:12px}.chatbot-onboarding-submit{border:none;border-radius:8px;padding:8px 12px;color:var(--chatbot-on-p, #fff);background:var(--cor-p, #0066CC);font-size:12px;font-weight:600;cursor:pointer;margin-top:4px}.chatbot-onboarding-error{font-size:12px;color:#b91c1c}.chatbot-input{flex:1;border:1px solid #d1d5db;border-radius:10px;padding:10px 14px;font-size:13px;resize:none;outline:none;transition:border-color .2s;font-family:inherit;max-height:80px}.chatbot-input:focus{border-color:var(--cor-p, #0066CC);box-shadow:0 0 0 2px #0066cc26}.chatbot-send-btn{width:40px;height:40px;border-radius:10px;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:opacity .2s;flex-shrink:0}.chatbot-send-btn:disabled{opacity:.5;cursor:not-allowed}.chatbot-send-btn svg{width:18px;height:18px;fill:var(--chatbot-on-p, #fff)}@media (max-width: 480px){.chatbot-window{right:8px;left:8px;bottom:80px;width:auto;max-width:none;height:60vh}.chatbot-fab{bottom:16px;right:16px;width:48px;height:48px}.chatbot-fab--left{right:auto;left:16px}.chatbot-window--left{left:8px;right:8px}.chatbot-messages{padding:12px}.chatbot-header{padding:10px 12px}.chatbot-logo-bar{padding:12px 12px 8px;gap:10px}.chatbot-logo-img{height:40px}.chatbot-logo-img--fornecedor{max-width:96px}.chatbot-logo-sep{height:28px}}
