.akc-faq-chat {
  --akc-faq-purple: #29265b;
  --akc-faq-teal: #78a1a2;
  --akc-faq-text: #252638;
  --akc-faq-muted: #5b6470;
  width: 100%;
  max-width: none;
  margin: 28px 0;
  padding: 28px;
  border-radius: 16px;
  background: #f5f7fa;
  box-shadow: 0 8px 28px rgba(41, 38, 91, .08);
  color: var(--akc-faq-text);
  font-family: Manrope, Poppins, Arial, sans-serif;
  transition: padding .2s ease;
}
.akc-faq-chat *, .akc-faq-chat *::before, .akc-faq-chat *::after { box-sizing: border-box; }
.akc-faq-chat [hidden] { display: none !important; }
.akc-faq-chat__header { margin-bottom: 22px; }
.akc-faq-chat__eyebrow {
  display: block; margin-bottom: 6px; color: var(--akc-faq-teal);
  font-family: Copperplate, 'Copperplate Gothic Light', serif;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
}
.akc-faq-chat__header h2 {
  margin: 0 0 8px; color: var(--akc-faq-purple);
  font-family: 'Roboto Slab', Georgia, serif; font-size: clamp(24px, 3vw, 32px); font-weight: 600; line-height: 1.25;
}
.akc-faq-chat__header p { margin: 0; color: var(--akc-faq-muted); line-height: 1.6; }
.akc-faq-chat__ask label, .akc-faq-chat__contact-label {
  display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700;
}
.akc-faq-chat__ask-row { display: flex; gap: 10px; }
.akc-faq-chat input[type="text"], .akc-faq-chat input[type="tel"], .akc-faq-chat input[type="email"] {
  width: 100%; min-width: 0; min-height: 48px; padding: 10px 14px;
  border: 1px solid #cbd1dc; border-radius: 8px; background: #fff;
  color: var(--akc-faq-text); font: inherit; font-size: 15px;
}
.akc-faq-chat input:focus-visible, .akc-faq-chat button:focus-visible, .akc-faq-chat a:focus-visible {
  outline: 3px solid var(--akc-faq-teal); outline-offset: 2px;
}
.akc-faq-chat button {
  min-height: 48px; padding: 10px 20px; border: 1px solid var(--akc-faq-purple);
  border-radius: 8px; background: var(--akc-faq-purple); color: #fff;
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.akc-faq-chat button:hover { background: #211e4c; }
.akc-faq-chat button:disabled { opacity: .55; cursor: wait; }
.akc-faq-chat__ask-row button { flex: 0 0 auto; }
.akc-faq-chat__conversation {
  display: flex; flex-direction: column; gap: 11px; max-height: 190px;
  margin-top: 18px; overflow-y: auto; transition: max-height .25s ease;
}
.akc-faq-chat__conversation:empty { display: none; }
.akc-faq-chat--expanded .akc-faq-chat__conversation { max-height: 300px; }
.akc-faq-chat__bubble {
  max-width: 85%; margin: 0; padding: 12px 15px; border-radius: 12px;
  line-height: 1.55; white-space: pre-line;
}
.akc-faq-chat__bubble--visitor {
  align-self: flex-end; border-bottom-right-radius: 3px;
  background: var(--akc-faq-purple); color: #fff;
}
.akc-faq-chat__bubble--advisor {
  align-self: flex-start; border-bottom-left-radius: 3px;
  background: #e8f0f1; color: var(--akc-faq-text);
}
.akc-faq-chat__lead {
  margin-top: 18px; padding: 20px; border-radius: 12px; background: #fff;
  animation: akcFaqReveal .25s ease-out;
}
.akc-faq-chat__lead-prompt { margin: 0 0 14px; font-weight: 600; line-height: 1.55; }
.akc-faq-chat__privacy { display: flex; flex-wrap: wrap; gap: 5px 14px; margin: 14px 0; font-size: 13px; line-height: 1.5; }
.akc-faq-chat__privacy label { display: flex; align-items: flex-start; gap: 8px; flex: 1 1 300px; cursor: pointer; }
.akc-faq-chat__privacy input[type="checkbox"] { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--akc-faq-purple); }
.akc-faq-chat__privacy a { color: var(--akc-faq-purple); font-weight: 700; text-decoration: underline; }
.akc-faq-chat__lead-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.akc-faq-chat__lead-actions .akc-faq-chat__skip {
  background: #fff; color: var(--akc-faq-purple);
}
.akc-faq-chat__lead-actions .akc-faq-chat__skip:hover { background: #f0eef9; }
.akc-faq-chat__honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.akc-faq-chat__turnstile:empty { display: none; }
.akc-faq-chat__turnstile { margin-top: 12px; }
.akc-faq-chat__status { min-height: 1.4em; margin: 10px 0 0; color: var(--akc-faq-purple); font-size: 13px; }
.akc-faq-chat__status.is-error { color: #a22727; }
@keyframes akcFaqReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 650px) {
  .akc-faq-chat { margin: 20px 0; padding: 20px 16px; border-radius: 12px; }
  .akc-faq-chat__ask-row { flex-direction: column; }
  .akc-faq-chat__ask-row button { width: 100%; }
  .akc-faq-chat__lead { padding: 16px; }
  .akc-faq-chat__bubble { max-width: 95%; }
  .akc-faq-chat__lead-actions button { flex: 1 1 160px; }
}
