.aa-chatbot {
  --aa-green: #176b4d;
  --aa-gold: #f2b544;
  --aa-ink: #17221d;
  color: var(--aa-ink);
  font: 15px/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  z-index: 2147483000;
}
.aa-chatbot--floating { position: fixed; right: 20px; bottom: 88px; }
.aa-chatbot__launcher { border: 0; border-radius: 999px; background: var(--aa-green); color: #fff; padding: 13px 19px; font-weight: 700; box-shadow: 0 8px 28px rgba(0,0,0,.2); cursor: pointer; }
.aa-chatbot__panel { width: min(390px,calc(100vw - 24px)); height: min(620px,calc(100vh - 160px)); background: #fff; border: 1px solid #dfe7e2; border-radius: 18px; box-shadow: 0 16px 48px rgba(0,0,0,.22); overflow: hidden; display: flex; flex-direction: column; }
.aa-chatbot--floating .aa-chatbot__panel { position: absolute; right: 0; bottom: 58px; }
.aa-chatbot__panel[hidden] { display: none; }
.aa-chatbot__header { display: flex; justify-content: space-between; align-items: center; background: var(--aa-green); color: #fff; padding: 15px 17px; }
.aa-chatbot__header strong, .aa-chatbot__header span { display: block; }
.aa-chatbot__header span { font-size: 12px; opacity: .88; }
.aa-chatbot__close { border: 0; background: transparent; color: #fff; font-size: 27px; cursor: pointer; }
.aa-chatbot__messages { flex: 1; overflow-y: auto; padding: 15px; background: #f7faf8; }
.aa-chatbot__message { max-width: 86%; margin: 0 0 10px; padding: 10px 12px; border-radius: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.aa-chatbot__message--assistant { background: #fff; border: 1px solid #dfe7e2; border-bottom-left-radius: 4px; }
.aa-chatbot__message--user { margin-left: auto; background: var(--aa-green); color: #fff; border-bottom-right-radius: 4px; }
.aa-chatbot__quick { padding: 8px 12px; display: flex; gap: 6px; overflow-x: auto; }
.aa-chatbot__quick button, .aa-chatbot__adviser, .aa-chatbot__wa { white-space: nowrap; border: 1px solid var(--aa-green); border-radius: 999px; background: #fff; color: var(--aa-green); padding: 6px 10px; text-decoration: none; cursor: pointer; }
.aa-chatbot__form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #e8eeea; }
.aa-chatbot__form textarea { flex: 1; resize: none; border: 1px solid #b9c8bf; border-radius: 10px; padding: 9px; }
.aa-chatbot__form button, .aa-chatbot__lead button[type=submit] { border: 0; border-radius: 10px; background: var(--aa-green); color: #fff; padding: 9px 14px; font-weight: 700; cursor: pointer; }
.aa-chatbot__actions { display: flex; gap: 8px; padding: 0 12px 8px; }
.aa-chatbot__lead { position: absolute; inset: 58px 0 0; background: #fff; padding: 18px; overflow: auto; }
.aa-chatbot--inline .aa-chatbot__lead { position: absolute; }
.aa-chatbot__lead[hidden] { display: none; }
.aa-chatbot__lead input:not([type=checkbox]), .aa-chatbot__lead select, .aa-chatbot__lead textarea { display: block; width: 100%; box-sizing: border-box; margin: 10px 0; padding: 10px; border: 1px solid #b9c8bf; border-radius: 8px; }
.aa-chatbot__lead label { display: block; font-size: 13px; margin: 12px 0; }
.aa-chatbot__cancel { border: 0; background: transparent; padding: 10px; cursor: pointer; }
.aa-chatbot__hp { position: absolute!important; left: -9999px!important; }
.aa-chatbot__privacy { font-size: 11px; color: #66736c; margin: 0; padding: 0 12px 10px; }
.aa-chatbot--inline { position: relative; max-width: 420px; }
.aa-chatbot--inline .aa-chatbot__panel { position: relative; width: 100%; }
@media (max-width: 480px) {
  .aa-chatbot--floating { right: 12px; bottom: 82px; }
  .aa-chatbot--floating .aa-chatbot__panel { position: fixed; top: 8px; right: 8px; bottom: 76px; left: 8px; width: auto; height: auto; border-radius: 14px; }
  .aa-chatbot__launcher { padding: 12px 16px; }
}
