
.ai-chat-launcher{position:fixed;right:22px;bottom:92px;z-index:60;border:0;border-radius:999px;background:#111b2e;color:#fff;padding:14px 18px;font-weight:800;box-shadow:0 16px 40px rgba(0,0,0,.22);cursor:pointer}
.ai-chat-launcher span{display:inline-block;margin-left:7px}.ai-chat-panel{position:fixed;right:22px;bottom:155px;width:min(390px,calc(100vw - 28px));height:min(620px,calc(100vh - 190px));z-index:61;background:#fff;border-radius:22px;box-shadow:0 24px 70px rgba(0,0,0,.28);display:none;overflow:hidden;border:1px solid #dbe3ee}
.ai-chat-panel.open{display:flex;flex-direction:column}.ai-chat-header{background:#0b1220;color:#fff;padding:15px 17px;display:flex;align-items:center;justify-content:space-between}.ai-chat-header strong{display:block}.ai-chat-header small{color:#cbd5e1}.ai-chat-close{border:0;background:transparent;color:#fff;font-size:1.3rem;cursor:pointer}.ai-chat-messages{flex:1;overflow:auto;padding:16px;background:#f4f7fb}.ai-msg{max-width:86%;padding:11px 13px;border-radius:15px;margin:8px 0;white-space:pre-wrap}.ai-msg.bot{background:#fff;border:1px solid #e3e9f2}.ai-msg.user{background:#22c55e;margin-left:auto;color:#07150c}.ai-msg.error{background:#fee2e2;color:#991b1b}.ai-chat-form{display:flex;gap:8px;padding:12px;background:#fff;border-top:1px solid #e3e9f2}.ai-chat-form textarea{flex:1;resize:none;min-height:45px;max-height:100px;border:1px solid #ced8e5;border-radius:12px;padding:11px;font:inherit}.ai-chat-send{border:0;border-radius:12px;background:#22c55e;padding:0 16px;font-weight:900;cursor:pointer}.ai-chat-actions{padding:0 12px 12px;background:#fff}.ai-chat-actions a{display:block;text-align:center;padding:10px;border-radius:10px;background:#eaf8ef;font-weight:800}
.ai-typing{font-size:.85rem;color:#64748b;padding:4px 16px;background:#f4f7fb}
@media(max-width:520px){.ai-chat-panel{right:7px;bottom:7px;width:calc(100vw - 14px);height:calc(100vh - 14px);border-radius:18px}.ai-chat-launcher{right:15px;bottom:86px}}


.ai-chat-actions[hidden],
.ai-chat-actions.is-hidden,
#aiWhatsApp[hidden],
#aiWhatsApp.is-hidden{
  display:none !important;
}
