.ai-launcher{position:fixed;z-index:2800;right:20px;bottom:20px;min-width:220px;display:flex;align-items:center;gap:12px;padding:12px 14px 12px 12px;border:0;border-radius:18px;color:#fff;background:linear-gradient(135deg,#0c355a,#0d6aa7 58%,#0ea5e9);box-shadow:0 22px 46px rgba(2,39,74,.32);transition:transform .2s ease,box-shadow .2s ease}.ai-launcher:hover{transform:translateY(-2px);box-shadow:0 26px 52px rgba(2,39,74,.36)}.ai-launcher-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:rgba(255,255,255,.14);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}.ai-launcher-icon svg{width:24px;height:24px}.ai-launcher-copy{display:flex;flex-direction:column;align-items:flex-start;text-align:left}.ai-launcher-copy strong{font-size:12px;line-height:1.2}.ai-launcher-copy small{margin-top:3px;color:rgba(255,255,255,.82);font-size:8px}.ai-launcher-status{margin-left:auto;display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.12);font-size:7px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.ai-launcher-status::before{content:"";width:8px;height:8px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 5px rgba(74,222,128,.12)}
.ai-invite{position:fixed;z-index:2790;right:20px;bottom:98px;width:min(360px,calc(100vw - 30px));padding:18px 48px 18px 18px;border:1px solid rgba(147,197,253,.36);border-radius:20px;color:var(--navy);background:linear-gradient(180deg,#fff,#f7fbff);box-shadow:0 18px 42px rgba(15,23,42,.15)}.ai-invite-eyebrow{display:inline-flex;align-items:center;gap:7px;margin-bottom:10px;padding:6px 10px;border-radius:999px;color:var(--blue);background:#eef7ff;font-size:7px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.ai-invite-eyebrow span{width:8px;height:8px;border-radius:50%;background:#4ade80}.ai-invite strong{display:block;font-size:16px;line-height:1.3}.ai-invite p{margin:10px 0 14px;color:#567086;font-size:9px;line-height:1.65}.ai-invite-action{min-height:38px}.ai-invite-close{position:absolute;right:10px;top:10px;width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:10px;color:#7c8fa2;background:#eff4f8;font-size:18px}
.ai-panel{position:fixed;z-index:2900;right:20px;bottom:98px;width:min(440px,calc(100vw - 28px));height:min(760px,calc(100vh - 130px));display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(203,213,225,.8);border-radius:26px;background:#fff;box-shadow:0 28px 80px rgba(2,26,45,.24);opacity:0;visibility:hidden;transform:translateY(18px) scale(.97);transform-origin:bottom right;transition:opacity .22s ease,visibility .22s ease,transform .22s ease}.ai-panel.open{opacity:1;visibility:visible;transform:none}
.ai-header{display:grid;grid-template-columns:50px 1fr auto;gap:12px;align-items:center;padding:16px 18px;color:#fff;background:linear-gradient(135deg,#072b4b,#0d5e96 62%,#0ea5e9)}.ai-avatar{width:50px;height:50px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.2);border-radius:16px;background:rgba(255,255,255,.12);font-size:15px;font-weight:900}.ai-header-copy strong{display:block;font-size:14px}.ai-header-copy span{display:flex;align-items:center;gap:6px;margin-top:4px;color:#d7ebf7;font-size:8px;line-height:1.4}.ai-header-copy span::before{content:"";width:8px;height:8px;border-radius:50%;background:#4ade80}.ai-close{width:38px;height:38px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.16);border-radius:12px;color:#fff;background:rgba(255,255,255,.08);font-size:20px}
.ai-messages{flex:1;display:flex;flex-direction:column;gap:12px;padding:16px 18px;overflow:auto;background:linear-gradient(180deg,#f8fbfd,#ffffff)}.ai-empty-state{padding:20px;border:1px dashed #cfe0ee;border-radius:18px;color:#5f7286;background:#fff}.ai-empty-state strong{display:block;color:var(--navy);font-size:12px}.ai-empty-state p{margin:7px 0 0;font-size:9px;line-height:1.65}.ai-message-row{display:flex;align-items:flex-start;gap:9px}.ai-message-row.user{justify-content:flex-end}.ai-message-avatar{flex:0 0 auto;width:28px;height:28px;display:grid;place-items:center;border-radius:10px;color:#fff;background:linear-gradient(135deg,#0c355a,#0ea5e9);font-size:9px;font-weight:900}.ai-message-wrap{max-width:84%}.ai-message{padding:12px 13px;border:1px solid #e0eaf1;border-radius:16px 16px 16px 6px;color:#324b62;background:#fff;box-shadow:0 8px 22px rgba(5,35,62,.05);font-size:10px;line-height:1.6;white-space:pre-wrap}.ai-message-row.user .ai-message-wrap{display:flex;flex-direction:column;align-items:flex-end}.ai-message-row.user .ai-message{border:0;border-radius:16px 16px 6px 16px;color:#fff;background:linear-gradient(135deg,#0d6aa7,#0ea5e9)}.ai-message-time{margin-top:5px;color:#96a3ae;font-size:7px;text-align:right}
.ai-suggestions{display:flex;gap:7px;padding:8px 18px 9px;overflow:auto;border-top:1px solid #eef3f7;background:#fff}.ai-suggestions[hidden]{display:none!important}.ai-suggestions button{flex:0 0 auto;min-height:34px;padding:0 12px;border:1px solid #d7e6f2;border-radius:999px;color:#0b5c96;background:#f8fbfe;font-size:8px;font-weight:800}
.ai-lead-state{display:grid;gap:4px;margin:0 18px 10px;padding:12px 13px;border:1px solid #bbf7d0;border-radius:14px;color:#166534;background:#f0fdf4;font-size:8px;line-height:1.55}.ai-lead-state strong{font-size:9px}.ai-lead-state span{color:#187046}
.ai-form{display:grid;grid-template-columns:1fr 48px;gap:10px;padding:10px 18px;border-top:1px solid #eef3f7;background:#fff}.ai-input-shell{display:grid;gap:5px}.ai-form textarea{min-height:50px;max-height:120px;padding:12px 13px;border:1px solid #d7e2eb;border-radius:15px;resize:none;outline:none;font-size:10px;line-height:1.5}.ai-form textarea:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(0,87,168,.09)}.ai-send{width:48px;height:48px;display:grid;place-items:center;align-self:end;border:0;border-radius:14px;color:#fff;background:linear-gradient(135deg,var(--orange),#fb923c);box-shadow:0 12px 26px rgba(249,115,22,.28)}.ai-send svg{width:20px;height:20px}.ai-privacy{padding:0 18px 10px;color:#7f8f9b;font-size:7px;line-height:1.5;text-align:center;background:#fff}.ai-typing{display:inline-flex;gap:4px;padding:10px 12px;border:1px solid #e0eaf1;border-radius:15px;background:#fff}.ai-typing span{width:6px;height:6px;border-radius:50%;background:#8fa0af;animation:typing 1s infinite}.ai-typing span:nth-child(2){animation-delay:.14s}.ai-typing span:nth-child(3){animation-delay:.28s}@keyframes typing{0%,60%,100%{transform:none;opacity:.45}30%{transform:translateY(-4px);opacity:1}}
@media(max-width:760px){.ai-launcher{right:12px;bottom:12px;min-width:auto;padding:10px 12px;border-radius:16px}.ai-launcher-copy strong{font-size:11px}.ai-launcher-status{display:none}.ai-invite{right:12px;bottom:84px;width:calc(100vw - 24px);padding:16px 44px 16px 16px}.ai-panel{right:7px;bottom:7px;width:calc(100vw - 14px);height:calc(100dvh - 14px);max-height:none;border-radius:20px}.ai-header,.ai-messages,.ai-suggestions,.ai-form,.ai-privacy{padding-left:14px;padding-right:14px}.ai-form{grid-template-columns:1fr 46px}}
@media(max-width:520px){.ai-launcher{gap:10px}.ai-launcher-icon{width:42px;height:42px}.ai-launcher-copy small{font-size:7px}.ai-invite strong{font-size:14px}.ai-message-wrap{max-width:100%}.ai-message{font-size:9px}.ai-suggestions button{min-height:32px}.ai-close{width:36px;height:36px}}


/* V3.28 | ATENDIMENTO INSTITUCIONAL TECNICIL */
.ai-avatar,.ai-message-avatar{font-family:Georgia,"Times New Roman",serif;letter-spacing:.02em}
.ai-header-copy strong::after{content:none;display:none}
.ai-invite strong{letter-spacing:-.025em}
