:root {
  --wa-header: #075e54;
  --wa-header-2: #128c7e;
  --wa-accent: #25d366;
  --wa-bubble: #dcf8c6;
  --wa-bg: #e5ddd5;
  --ink: #111b21;
  --muted: #667781;
  --line: rgba(17,27,33,.10);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; margin: 0; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 20% -10%, rgba(37,211,102,.34), transparent 30%), linear-gradient(135deg, #073f38, #0b6156 42%, #071f1d);
  overflow: hidden;
}
a { color: inherit; }
.app-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .06;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 18px 18px;
  mix-blend-mode: overlay;
}
#installGlow {
  position: fixed;
  width: 44vmax;
  height: 44vmax;
  right: -20vmax;
  top: -18vmax;
  border-radius: 50%;
  background: rgba(37,211,102,.28);
  filter: blur(50px);
  animation: breathe 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes breathe { 50% { transform: scale(1.1) translate(-2%, 4%); opacity: .58; } }
.app-stage {
  position: relative;
  z-index: 1;
  height: 100dvh;
  width: 100vw;
  display: grid;
  place-items: center;
  padding: 0;
}
.chat-app {
  width: 100vw;
  height: 100dvh;
  max-width: 520px;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
  position: relative;
}
.app-header {
  flex: 0 0 auto;
  background: linear-gradient(145deg, var(--wa-header), #06463f);
  color: #fff;
  padding-top: max(8px, var(--safe-top));
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
  z-index: 4;
}
.status-line {
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 800;
  opacity: .94;
  letter-spacing: .02em;
}
.status-icons { font-size: 11px; opacity: .88; }
.contact-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px 10px;
}
.back-dot {
  width: 30px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  border: 0;
  background: transparent;
}
.avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #dfffea);
  color: #075e54;
  font-weight: 1000;
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
  position: relative;
  overflow: hidden;
}
.shine::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer { to { transform: translateX(120%); } }
.contact-meta { min-width: 0; flex: 1; }
.contact-title { display: flex; align-items: center; gap: 7px; font-weight: 900; line-height: 1.1; }
.contact-title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-title em { font-style: normal; font-size: 9px; text-transform: uppercase; padding: 2px 6px; border-radius: 999px; background: rgba(255,255,255,.16); color: rgba(255,255,255,.86); }
.contact-subtitle { margin-top: 4px; display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.78); font-size: 12px; font-weight: 700; }
.online-dot, .pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa-accent); box-shadow: 0 0 0 0 rgba(37,211,102,.9); animation: pingPulse 1.6s infinite; }
@keyframes pingPulse { 70% { box-shadow: 0 0 0 8px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.header-action {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  transition: .18s ease;
}
.header-action:hover, .header-action:focus { background: rgba(255,255,255,.22); transform: translateY(-1px); }
.progress-wrap { padding: 0 14px 12px; }
.progress-copy { display: flex; justify-content: space-between; font-size: 11px; font-weight: 800; color: rgba(255,255,255,.74); margin-bottom: 5px; }
.progress-track { height: 4px; border-radius: 999px; overflow: hidden; background: rgba(0,0,0,.22); }
#progressFill { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #25d366, #eafff2); transition: width .35s ease; }
.chat-area { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.wa-bg {
  background-color: var(--wa-bg);
  background-image: linear-gradient(rgba(229,221,213,.94), rgba(229,221,213,.94)), url('../img/wa-classic-bg.svg');
  background-size: auto, 360px 360px;
}
.hero-panel {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  padding: 16px 14px 22px;
  background: linear-gradient(180deg, rgba(7,94,84,.03), rgba(7,94,84,.15));
  transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
}
.hero-panel.is-hidden { opacity: 0; visibility: hidden; transform: translateY(14px); pointer-events: none; }
.hero-card {
  width: 100%;
  border-radius: 30px;
  padding: 22px 18px 18px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.76);
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
  backdrop-filter: blur(14px);
  animation: cardIn .45s cubic-bezier(.18,.89,.32,1.16) both;
}
@keyframes cardIn { from { transform: translateY(18px) scale(.98); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #bbf7d0; border-radius: 999px; padding: 6px 10px; background: #ecfdf5; color: #166534; font-size: 12px; font-weight: 900; }
.hero-card h1 { margin: 14px 0 0; font-size: clamp(28px, 8.2vw, 42px); line-height: .98; letter-spacing: -.045em; font-weight: 1000; }
.hero-card p { margin: 12px 0 0; color: #475569; font-size: 15px; line-height: 1.45; }
.hero-actions { display: grid; gap: 10px; margin-top: 18px; }
.cta-main, .cta-outline, .cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  min-height: 48px;
  padding: 12px 16px;
  font-weight: 1000;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.cta-main { background: linear-gradient(135deg, #25d366, #128c7e); color: #fff; box-shadow: 0 18px 34px rgba(18,140,126,.28); }
.cta-main:hover, .cta-main:focus { transform: translateY(-2px); box-shadow: 0 24px 44px rgba(18,140,126,.34); }
.cta-outline { background: #fff; border: 1px solid #d7dee5; color: #075e54; }
.cta-outline:hover, .cta-outline:focus { background: #effff6; transform: translateY(-1px); }
.cta-link { min-height: auto; padding: 6px; color: #128c7e; background: transparent; font-size: 13px; }
.trust-row { margin-top: 14px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; color: #64748b; font-size: 11px; font-weight: 800; }
.chat-scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  padding: 14px 10px 22px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,.20) transparent;
}
.chat-scroll::-webkit-scrollbar { width: 6px; }
.chat-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,.20); border-radius: 20px; }
.message-row { display: flex; margin: 7px 0; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.message {
  max-width: 88%;
  padding: 9px 11px 7px;
  border-radius: 15px;
  position: relative;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.10));
  animation: popIn .24s cubic-bezier(.18,.89,.32,1.2) both;
  line-height: 1.34;
  font-size: 14px;
  word-wrap: break-word;
}
.message.bot { background: #fff; border-top-left-radius: 5px; }
.message.user { background: var(--wa-bubble); border-top-right-radius: 5px; }
.message::before { content: ""; position: absolute; top: 0; width: 0; height: 0; border-style: solid; }
.message.bot::before { left: -6px; border-width: 0 8px 8px 0; border-color: transparent #fff transparent transparent; }
.message.user::before { right: -6px; border-width: 0 0 8px 8px; border-color: transparent transparent transparent var(--wa-bubble); }
.message .time { float: right; margin-left: 8px; margin-top: 5px; color: rgba(17,27,33,.48); font-size: 10px; white-space: nowrap; }
.message.user .checks { color: #53bdeb; letter-spacing: -3px; margin-left: 4px; }
@keyframes popIn { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.typing-bubble { min-width: 58px; display: flex; gap: 5px; align-items: center; justify-content: center; padding: 11px 12px; }
.typing-dot { width: 7px; height: 7px; border-radius: 50%; background: #8b9aa1; display: inline-block; animation: typing 1s infinite ease-in-out; }
.typing-dot:nth-child(2) { animation-delay: .16s; }
.typing-dot:nth-child(3) { animation-delay: .32s; }
@keyframes typing { 0%,80%,100% { transform: scale(.65); opacity: .45; } 40% { transform: scale(1); opacity: 1; } }
.composer-area {
  flex: 0 0 auto;
  padding: 10px 10px calc(10px + var(--safe-bottom));
  background: #f0f2f5;
  border-top: 1px solid rgba(0,0,0,.06);
  z-index: 5;
}
.actions-panel { min-height: 0; max-height: 38dvh; overflow-y: auto; padding-bottom: 8px; }
.choice-grid { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px; }
.choice-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(18,140,126,.24);
  background: rgba(255,255,255,.95);
  color: #075e54;
  border-radius: 999px;
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(15,23,42,.05);
  transition: .16s ease;
}
.choice-chip:hover, .choice-chip:focus { background: #effff6; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(7,94,84,.13); outline: none; }
.choice-chip[disabled] { opacity: .45; pointer-events: none; }
.continue-btn { width: 100%; }
.composer-line { display: flex; align-items: center; gap: 8px; }
.composer-icon, .composer-mic { width: 42px; height: 42px; border: 0; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: #fff; color: #667781; }
.composer-mic { background: #25d366; color: #fff; font-size: 17px; box-shadow: 0 8px 18px rgba(37,211,102,.30); }
.composer-input { flex: 1; min-height: 42px; border-radius: 999px; display: flex; align-items: center; padding: 0 16px; color: #667781; background: #fff; font-size: 14px; }
.content-card { display: flex; gap: 10px; min-width: 240px; }
.content-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 12px; background: #ecfdf5; flex: 0 0 auto; }
.content-copy { min-width: 0; }
.content-topic { color: #128c7e; font-size: 11px; font-weight: 1000; text-transform: uppercase; letter-spacing: .04em; }
.content-copy strong { display: block; margin-top: 2px; font-size: 15px; }
.content-copy p { margin: 5px 0 9px; color: #64748b; font-size: 12px; line-height: 1.35; }
.open-article { border: 0; border-radius: 999px; background: #25d366; color: #fff; font-weight: 1000; font-size: 12px; padding: 8px 11px; cursor: pointer; }
.lead-form, .direct-form { display: grid; gap: 9px; }
.lead-form label, .direct-form label { display: grid; gap: 5px; font-size: 12px; font-weight: 900; color: #334155; }
.form-input {
  width: 100%;
  border: 1px solid #d7dee5;
  border-radius: 15px;
  min-height: 46px;
  padding: 11px 13px;
  background: #fff;
  outline: none;
  color: #111b21;
  font-size: 15px;
  transition: border .16s ease, box-shadow .16s ease;
}
.form-input:focus { border-color: #25d366; box-shadow: 0 0 0 4px rgba(37,211,102,.14); }
.consent-check { display: flex !important; grid-template-columns: auto 1fr; align-items: flex-start; gap: 10px !important; padding: 11px; background: #fff; border: 1px solid #e2e8f0; border-radius: 15px; font-size: 12px !important; line-height: 1.35; }
.consent-check input { margin-top: 2px; accent-color: #25d366; }
.hp-field { display: none !important; }
.saving-state { text-align: center; padding: 12px; color: #075e54; font-weight: 1000; }
.summary-card { min-width: 250px; }
.summary-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.summary-top small { color: #128c7e; text-transform: uppercase; letter-spacing: .05em; font-weight: 1000; font-size: 10px; }
.summary-top h3 { margin: 3px 0 0; font-size: 18px; line-height: 1.1; }
.summary-card p { color: #64748b; font-size: 13px; line-height: 1.35; margin: 10px 0; }
.score-badge { min-width: 74px; border-radius: 18px; padding: 9px; background: linear-gradient(135deg, #ecfdf5, #fff); border: 1px solid #bbf7d0; text-align: center; }
.score-badge b { display: block; color: #166534; font-size: 22px; line-height: 1; }
.score-badge em { font-style: normal; color: #64748b; font-weight: 900; font-size: 10px; }
.summary-table { border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; background: #fff; }
.summary-row { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid #edf2f7; padding: 8px 9px; font-size: 12px; }
.summary-row:last-child { border-bottom: 0; }
.summary-row span { color: #64748b; }
.summary-row strong { text-align: right; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag-list span { border-radius: 999px; padding: 6px 8px; background: #ecfdf5; border: 1px solid #bbf7d0; color: #166534; font-weight: 900; font-size: 10px; }
.finish-actions { display: grid; gap: 8px; }
.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0,0,0,.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
.modal-layer.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.modal-sheet {
  width: min(100%, 520px);
  max-height: 86dvh;
  overflow: hidden;
  background: #fff;
  border-radius: 28px 28px 0 0;
  padding: 10px 14px calc(14px + var(--safe-bottom));
  box-shadow: 0 -20px 70px rgba(0,0,0,.34);
  transform: translateY(100%);
  transition: transform .25s cubic-bezier(.18,.89,.32,1.08);
}
.modal-layer.is-open .modal-sheet { transform: translateY(0); }
.content-sheet { display: flex; flex-direction: column; }
.sheet-handle { width: 42px; height: 5px; border-radius: 999px; background: #cbd5e1; margin: 0 auto 12px; }
.modal-head { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid #e2e8f0; }
.modal-kicker { color: #128c7e; font-weight: 1000; text-transform: uppercase; letter-spacing: .05em; font-size: 11px; }
.modal-head h2 { margin: 3px 0 0; line-height: 1.08; font-size: 22px; font-weight: 1000; letter-spacing: -.02em; }
.modal-close { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f1f5f9; color: #334155; font-size: 24px; line-height: 1; }
.modal-intro { color: #64748b; font-size: 14px; line-height: 1.4; margin: 12px 0; }
.modal-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 10px; border-top: 1px solid #e2e8f0; }
.small { min-height: 42px; border-radius: 14px; font-size: 13px; padding: 8px 10px; }
.article-body { overflow-y: auto; padding: 12px 2px; -webkit-overflow-scrolling: touch; }
.article-body h1 { font-size: 24px; line-height: 1.06; margin: 12px 0; font-weight: 1000; letter-spacing: -.03em; }
.article-body h2 { font-size: 19px; line-height: 1.15; margin: 18px 0 8px; font-weight: 1000; color: #075e54; }
.article-body h3 { font-size: 16px; margin: 16px 0 8px; font-weight: 1000; }
.article-body p { margin: 0 0 11px; color: #334155; line-height: 1.52; font-size: 14px; }
.article-body ul { padding-left: 20px; margin: 0 0 12px; color: #334155; }
.article-body li { margin: 5px 0; font-size: 14px; line-height: 1.45; }
.skeleton-lines { height: 170px; border-radius: 18px; background: linear-gradient(90deg, #f1f5f9, #e2e8f0, #f8fafc); background-size: 200% 100%; animation: loading 1.1s infinite; }
@keyframes loading { to { background-position: -200% 0; } }
.direct-whatsapp { display: flex; justify-content: center; margin-top: 10px; color: #128c7e; font-weight: 900; font-size: 13px; text-decoration: none; }
.confetti { position: fixed; z-index: 60; top: -12px; width: 8px; height: 14px; border-radius: 3px; pointer-events: none; animation: confettiFall 1.5s ease-in forwards; }
@keyframes confettiFall { to { transform: translateY(110vh) rotate(540deg); opacity: .1; } }
@media (min-width: 760px) {
  .app-stage { padding: 28px; }
  .chat-app { border-radius: 34px; border: 10px solid #111b21; max-height: 930px; min-height: 760px; }
  .modal-sheet { border-radius: 30px; margin-bottom: 28px; }
  .message { max-width: 84%; }
}
@media (max-width: 380px) {
  .hero-card h1 { font-size: 26px; }
  .choice-chip { font-size: 12px; padding: 9px 11px; }
  .modal-foot { grid-template-columns: 1fr; }
}

/* PATCH V2.3 - full screen real app, internal scroll and WhatsApp background PNG */
html,
body {
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  overflow: hidden !important;
}

.app-body::before,
#installGlow {
  display: none !important;
}

.app-stage {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  overflow: hidden !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
}

.chat-app {
  width: 100vw !important;
  height: 100dvh !important;
  min-height: 0 !important;
  max-height: 100dvh !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

.status-line {
  display: none !important;
}

.app-header {
  padding-top: max(8px, var(--safe-top)) !important;
}

.chat-area {
  position: relative !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.wa-bg {
  background-color: #efe7dd !important;
  background-image: url('../img/bg_whatsapp.png') !important;
  background-repeat: repeat !important;
  background-position: center top !important;
  background-size: 420px auto !important;
}

.hero-panel {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  touch-action: pan-y !important;
  align-items: flex-start !important;
  padding: 16px 14px 22px !important;
}

.hero-card {
  margin: 0 auto !important;
}

.chat-scroll {
  position: absolute !important;
  inset: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  touch-action: pan-y !important;
  padding: 14px 10px 18px !important;
}

.composer-area {
  flex: 0 0 auto !important;
  max-height: 48dvh !important;
  overflow: hidden !important;
}

.actions-panel {
  min-height: 0 !important;
  max-height: calc(48dvh - 62px) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  touch-action: pan-y !important;
  padding-bottom: 8px !important;
}

@media (min-width: 760px) {
  .app-stage {
    padding: 0 !important;
    align-items: stretch !important;
    justify-items: center !important;
  }

  .chat-app {
    height: 100dvh !important;
    min-height: 0 !important;
    max-height: 100dvh !important;
    max-width: 520px !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  .modal-sheet {
    border-radius: 30px 30px 0 0 !important;
    margin-bottom: 0 !important;
  }
}


/* PATCH V2.4 - final lead form focus and e-mail debug support */
.chat-app.final-lead-mode .chat-area {
  flex: 0 0 34dvh !important;
  min-height: 210px !important;
  max-height: 34dvh !important;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.chat-app.final-lead-mode .chat-scroll {
  padding-bottom: 18px !important;
}

.composer-area.final-form-mode {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 12px 12px calc(12px + var(--safe-bottom)) !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(37,211,102,.16), transparent 34%),
    linear-gradient(180deg, #f8fafc 0%, #eefaf3 100%) !important;
}

.composer-area.final-form-mode .actions-panel {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0 !important;
}

.lead-form-focus {
  width: 100%;
  display: grid;
  gap: 12px;
  padding: 15px;
  border-radius: 26px;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(37,211,102,.22);
  box-shadow: 0 18px 48px rgba(15,23,42,.16);
  animation: formFocusIn .24s ease-out;
}

@keyframes formFocusIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.lead-form-head {
  padding: 2px 2px 4px;
}

.lead-step-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: #dcfce7;
  color: #166534;
  font-size: 11px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.lead-form-head h3 {
  margin: 8px 0 4px;
  color: #075e54;
  font-size: 22px;
  line-height: 1.04;
  font-weight: 1000;
  letter-spacing: -.03em;
}

.lead-form-head p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.38;
}

.lead-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.lead-form-focus label span {
  color: #0f172a;
  font-size: 12px;
  font-weight: 1000;
}

.lead-form-focus .form-input {
  min-height: 50px;
  border-radius: 17px;
  border-color: #cbd5e1;
  background: #fff;
  font-size: 16px;
}

.lead-form-focus .form-input:focus {
  border-color: #25d366;
  box-shadow: 0 0 0 4px rgba(37,211,102,.18), 0 10px 24px rgba(15,23,42,.08);
}

.consent-feature {
  background: #f8fafc !important;
  border-color: #dbeafe !important;
}

.lead-submit-main {
  width: 100%;
  min-height: 68px;
  border-radius: 21px !important;
  display: grid !important;
  place-items: center;
  gap: 2px;
  font-size: 17px !important;
  line-height: 1.05;
  box-shadow: 0 18px 34px rgba(37,211,102,.34), inset 0 1px 0 rgba(255,255,255,.22) !important;
  position: sticky;
  bottom: 0;
  z-index: 2;
}

.lead-submit-main small {
  display: block;
  font-size: 11px;
  font-weight: 800;
  opacity: .82;
  text-transform: none;
  letter-spacing: 0;
}

.lead-submit-main.is-loading,
.lead-submit-main:disabled {
  opacity: .82;
  filter: grayscale(.2);
  pointer-events: none;
}

.saving-state-big {
  display: grid;
  gap: 4px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #bbf7d0;
  box-shadow: 0 14px 38px rgba(15,23,42,.12);
}

.saving-state-big strong {
  display: block;
  color: #075e54;
  font-size: 16px;
}

.saving-state-big span {
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
}

@media (min-width: 520px) {
  .lead-fields {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-height: 720px) {
  .chat-app.final-lead-mode .chat-area {
    flex-basis: 28dvh !important;
    min-height: 160px !important;
  }
  .lead-form-head h3 { font-size: 19px; }
  .lead-form-focus { gap: 9px; padding: 12px; }
  .lead-form-focus .form-input { min-height: 44px; }
  .lead-submit-main { min-height: 60px; }
}


/* PATCH V2.5 - remover barra fake de mensagem/anexo */
.composer-area.actions-empty {
  display: none !important;
}

.composer-area {
  padding: 10px 10px calc(10px + var(--safe-bottom)) !important;
}

.actions-panel {
  width: 100% !important;
}

.composer-line,
.composer-icon,
.composer-input,
.composer-mic {
  display: none !important;
}

.choice-grid {
  padding-bottom: 2px !important;
}
