.as-flut { position: fixed; left: 268px; bottom: 16px; z-index: 900; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.as-flut.solta { left: auto; right: 20px; bottom: 20px; align-items: flex-end; }
.as-lateral { padding: 8px 14px 10px; }
.as-bola { width: 100%; height: 42px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: linear-gradient(135deg, #6b3fd4, #8d21e8); color: #fff; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; box-shadow: 0 4px 12px rgba(40, 20, 90, .35); transition: filter .15s; }
.as-bola:hover { filter: brightness(1.12); }
.as-bola:focus-visible { outline: 3px solid #b9a2f5; outline-offset: 3px; }
.as-bola.aberta { background: #4d2aa8; }
.as-bola .as-ico { font-size: 18px; line-height: 1; }
.as-painel { display: flex; flex-direction: column; width: 380px; max-width: calc(100vw - 40px); height: 520px; max-height: calc(100vh - 120px); background: #fff; border: 1px solid #e3e3ea; border-radius: 16px; box-shadow: 0 12px 36px rgba(20, 10, 60, .28); overflow: hidden; }
.as-painel[hidden] { display: none; }
.as-cab { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: #6b3fd4; color: #fff; }
.as-cab strong { display: block; font-size: 15px; }
.as-cab span { font-size: 12px; opacity: .85; }
.as-x { background: transparent; border: 0; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; padding: 0 6px; }
.as-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 12px; background: #faf9fd; }
.as-msg { max-width: 85%; padding: 8px 12px; border-radius: 12px; word-break: break-word; font-size: 14px; }
.as-msg.eu { align-self: flex-end; background: #6b3fd4; color: #fff; }
.as-msg.ia { align-self: flex-start; background: #fff; border: 1px solid #e3e3ea; }
.as-msg.espera { opacity: .6; font-style: italic; }
.as-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #e3e3ea; background: #fff; }
.as-form input { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid #cfcfda; border-radius: 10px; font: inherit; }
@media print { .as-flut { display: none; } }
@media (max-width: 480px) { .as-flut { left: 12px; bottom: 12px; } .as-painel { height: calc(100vh - 100px); } }
