*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  /* Prevent iOS bounce-scroll from pulling the whole webview */
  overscroll-behavior: none;
}

/* Visited directly (no iframe) on a desktop browser, chat.html would otherwise stretch edge-to-edge —
   this keeps body a sane portrait width and centers it, so the surrounding html background (set below)
   letterboxes the sides instead. 480px sits comfortably above the documented embed width (embed-docs.
   html's example iframe is 400px), so a legitimately wider embed's own iframe width is never fought
   against — this only ever visibly constrains anything wider than that, i.e. only when nothing is
   already constraining the width (no iframe at all). Narrower than 480px (any smaller iframe, or a
   phone), it has no effect since the viewport itself is already under the cap. */
html {
  background: #f3f4f6;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: white;
  color: #111827;
  /* Fill full viewport including notches on iOS */
  min-height: 100dvh;
  max-width: 480px;
  margin: 0 auto;
}

/* ── Chat panel ───────────────────────────────────────────────────────────── */
/* Fills the entire viewport — perfect for iframe and mobile webview          */

.chat-panel {
  width: 100%;
  height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  overflow: hidden;
  background: white;
}

/* Grid items default to min-width: auto, meaning a row is allowed to grow WIDER than the panel to
   fit its content's minimum size rather than shrink to fit — the composer row in particular has
   several fixed-size (flex-shrink: 0) buttons, so without this override the row (and anything else
   sharing this width) can end up wider than the actual viewport. chat-panel's own overflow: hidden
   then silently clips the excess instead of showing a scrollbar, which is why this looked like
   content vanishing off the right edge with no way to scroll to it. */
.chat-panel > * {
  min-width: 0;
}

/* ── Header ──────────────────────────────────────────────────────────────── */

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  /* Respect iOS status bar */
  padding-top: max(14px, env(safe-area-inset-top));
  border-bottom: none;
  background: linear-gradient(135deg, #f97316 0%, #e9242b 100%);
  color: white;
}

.chat-header-avatar {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  border: 1.5px solid rgba(255, 255, 255, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.chat-header-info h1 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.chat-header-info p {
  margin: 3px 0 0;
  font-size: 12px;
  opacity: .75;
  line-height: 1;
}

.end-chat-btn {
  flex-shrink: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  color: white;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.end-chat-btn:hover {
  background: rgba(255, 255, 255, .28);
}

/* ── Messages ────────────────────────────────────────────────────────────── */

.messages {
  min-height: 0;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overscroll-behavior: contain;
}

.message {
  max-width: min(82%, 520px);
  padding: 10px 12px;
  border-radius: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
}

.message.user {
  align-self: flex-end;
  background: #e9242b;
  color: white;
  border-bottom-right-radius: 4px;
}

.message.bot {
  align-self: flex-start;
  background: #f3f4f6;
  color: #111827;
  border-bottom-left-radius: 4px;
}

.message.bot a {
  color: #e9242b;
}

.msg-time {
  display: block;
  font-size: 10px;
  opacity: .65;
  margin-top: 4px;
}
.message.user .msg-time { text-align: right; color: rgba(255,255,255,.85); }
.message.bot .msg-time { text-align: left; color: #6b7280; }

.seen-indicator {
  align-self: flex-end;
  font-size: 11px;
  color: #9ca3af;
  margin-top: -4px;
}

/* ── Attachment bubbles (image thumbnail / file link) ─────────────────────── */

.attach-thumb {
  cursor: pointer;
  display: block;
  max-width: 220px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.35);
}
.message.bot .attach-thumb { border-color: rgba(0,0,0,.1); }
.attach-thumb img { display: block; width: 100%; max-height: 180px; object-fit: cover; }

.attach-file {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: inherit;
  text-decoration: underline;
}

.img-modal {
  position: fixed;
  inset: 0;
  background: rgba(15,19,26,.8);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.img-modal[hidden] { display: none; }
.img-modal-inner {
  position: relative;
  max-width: min(90vw, 520px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.img-modal-inner img { max-width: 100%; max-height: 78vh; border-radius: 10px; }
.img-modal-close {
  position: absolute; top: -34px; right: 0;
  background: transparent; border: none; color: #fff;
  font-size: 22px; line-height: 1; cursor: pointer; padding: 4px;
}
.img-modal-caption { color: #fff; font-size: 12.5px; margin-top: 10px; }

.message.html {
  width: min(100%, 640px);
  max-width: 92%;
  white-space: normal;
  padding: 0;
}

.html-scroll-body {
  max-height: 300px;
  overflow-y: auto;
  overflow-x: auto;
  padding: 10px 12px;
}

.html-scroll-body h1, .html-scroll-body h2,
.html-scroll-body h3, .html-scroll-body h4 { margin: 0 0 10px; line-height: 1.25; }
.html-scroll-body h2 { font-size: 18px; }
.html-scroll-body p, .html-scroll-body div,
.html-scroll-body blockquote { margin: 0 0 10px; }
.html-scroll-body ul, .html-scroll-body ol { margin: 8px 0 12px; padding-left: 22px; }
.html-scroll-body table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 13px; }
.html-scroll-body th, .html-scroll-body td { border: 1px solid #d1d5db; padding: 6px 8px; vertical-align: top; }
.html-scroll-body th { background: #fff1f2; text-align: left; }

/* ── KB article expand button ─────────────────────────────────────────────── */

.msg-expand-btn {
  display: block;
  width: 100%;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 500;
  background: #fff1f2;
  border: none;
  border-top: 1px solid #fecaca;
  border-radius: 0 0 14px 14px;
  cursor: pointer;
  color: #9b1c1f;
  text-align: center;
  transition: background .1s;
}
.msg-expand-btn:hover { background: #fee2e2; }

/* ── Thinking indicator ───────────────────────────────────────────────────── */

.message.thinking {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 16px;
  min-width: 56px;
}

.message.thinking span {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9ca3af;
  animation: thinking-bounce 1.2s ease-in-out infinite;
}

.message.thinking span:nth-child(2) { animation-delay: .2s; }
.message.thinking span:nth-child(3) { animation-delay: .4s; }

@keyframes thinking-bounce {
  0%, 60%, 100% { transform: translateY(0);    opacity: .5; }
  30%            { transform: translateY(-6px); opacity: 1;  }
}

/* ── Quick-reply options ─────────────────────────────────────────────────── */

.options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid #f3f4f6;
  max-height: 140px;
  overflow-y: auto;
}

.options button,
.options .handoff-action {
  border: none;
  border-radius: 999px;
  padding: 9px 14px;
  background: #ffe4e5;
  color: #9b1c1f;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  transition: background .1s;
}

.options button:hover { background: #fecaca; }
.options button:active { background: #fca5a8; }

.options .handoff-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e9242b;
  color: #fff;
  text-decoration: none;
}

.options .handoff-action:hover { background: #c81e24; }
.options .handoff-action:active { background: #9b1c1c; }

/* A configurable content link-out (e.g. "Buy a Load", "Pay Now", "Web Loading Tool") — visually
   distinct from the red handoff action so it doesn't read as an escalation/urgent control.
   Unscoped (not ".options .content-link-action") since it now renders inline in the message
   sequence (see .inline-content-link below), not in the bottom action bar. */
.content-link-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 9px 14px;
  background: #1d4ed8;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
  transition: background .1s;
}
.content-link-action:hover { background: #1e40af; }
.content-link-action:active { background: #1e3a8a; }

/* addInlineContentLink's own row — sits among the .message bubbles inside .messages (a vertical flex
   column), aligned like a bot bubble (left) rather than stretched full-width like a message, so it
   reads as "a button that goes with the message above it" rather than another bubble. */
.inline-content-link { align-self: flex-start; }

/* Parity with Messenger: 1-3 options render as stacked full-width buttons (matching the Messenger
   button template); more than 3 stay as the compact chips above. */
.options.options-stacked {
  flex-direction: column;
  flex-wrap: nowrap;
  max-height: 260px;
}
.options.options-stacked button,
.options.options-stacked .handoff-action {
  width: 100%;
  border-radius: 10px;
  padding: 12px 14px;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}

/* More than 3 actions: group into cards of up to 3, scrolling horizontally (parity with Messenger's
   Generic Template carousel). The container follows the tallest card's real content height. */
.options.options-carousel {
  flex-wrap: nowrap;
  max-height: none;
  /* Size to the tallest actual card. Four actions balance into two rows, while five/six actions
     naturally retain three rows, so no empty third-button allowance is reserved. */
  height: auto;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  align-items: flex-start;
}
.options.options-carousel .option-card {
  flex: 0 0 auto;
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-snap-align: start;
}
.options.options-carousel .option-card button,
.options.options-carousel .option-card .handoff-action {
  width: 100%;
  border-radius: 10px;
  padding: 12px 14px;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}

/* ── Composer ────────────────────────────────────────────────────────────── */

.composer {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  /* Respect the iOS home indicator / Android gesture-nav bar. iOS Safari reports
     safe-area-inset-bottom reliably, but Android's support for it is inconsistent across
     browsers/WebViews — on a device where it reports 0, this must still clear the system
     gesture bar on its own, so the floor is deliberately higher than iOS alone would need. */
  padding-bottom: max(28px, env(safe-area-inset-bottom));
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
  border-top: 1px solid #e5e7eb;
  background: white;
}

.composer input {
  min-width: 0;
  flex: 1;
  padding: 11px 14px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  font-size: 16px; /* 16px prevents iOS zoom-on-focus */
  font-family: inherit;
  color: #111827;
  background: #f9fafb;
  outline: none;
  transition: border-color .15s, background .15s;
}

.composer input:focus {
  border-color: #e9242b;
  background: white;
}

.composer button {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #e9242b;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .1s;
}

.composer button:hover  { background: #c81e24; }
.composer button:active { background: #9b1c1c; }

/* Secondary composer buttons — narrower and grey to distinguish from primary send */
.composer .upload-btn,
.composer .mic-btn {
  width: 40px;
  height: 40px;
  background: #f3f4f6;
  color: #374151;
}
.composer .upload-btn:hover,
.composer .mic-btn:hover  { background: #e5e7eb; }
.composer .upload-btn:active,
.composer .mic-btn:active { background: #d1d5db; }

.composer .upload-btn.uploading {
  background: #eff6ff;
  color: #3b82f6;
  animation: mic-pulse 1s ease-in-out infinite;
}

/* Bottom sticky "End Chat" — same secondary-button sizing as upload/mic, with a faint red tint
   (rather than the grey of upload/mic) so its ending/destructive intent still reads at a glance even
   though it sits in the white composer bar, not the red header. */
.composer-end-chat-btn {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: #fee2e2;
  color: #e9242b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .1s;
}
.composer-end-chat-btn:hover  { background: #fecaca; }
.composer-end-chat-btn:active { background: #fca5a5; }

/* ── Upload progress ──────────────────────────────────────────────────────── */
/* A subtle icon pulse alone wasn't a clear enough signal for a video upload that can take several
   seconds — this gives the customer an actual percentage so the composer doesn't read as frozen. */

.upload-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #eff6ff;
  border-top: 1px solid #bfdbfe;
}
.upload-progress-track {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: #dbeafe;
  overflow: hidden;
}
.upload-progress-bar {
  height: 100%;
  width: 0%;
  background: #3b82f6;
  border-radius: 3px;
  transition: width 0.15s ease-out;
}
.upload-progress-label {
  flex-shrink: 0;
  font-size: 12px;
  color: #1d4ed8;
  font-variant-numeric: tabular-nums;
}

/* ── Attachment chip ─────────────────────────────────────────────────────── */

.attachment-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #eff6ff;
  border-top: 1px solid #bfdbfe;
  font-size: 12px;
  color: #1d4ed8;
}
.attachment-chip-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.attachment-chip-remove {
  flex-shrink: 0;
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 0 2px;
  font-size: 13px;
  line-height: 1;
}
.attachment-chip-remove:hover { color: #e9242b; }

/* ── Consent modal ───────────────────────────────────────────────────────── */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}
.modal-box {
  background: white;
  border-radius: 12px;
  padding: 24px;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.modal-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 12px;
}
.modal-body {
  font-size: 13px;
  color: #374151;
  line-height: 1.6;
  margin: 0 0 20px;
}
.modal-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.btn-primary {
  padding: 8px 16px;
  background: #e9242b;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.btn-primary:hover { background: #c81e24; }
.btn-secondary {
  padding: 8px 16px;
  background: white;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.btn-secondary:hover { background: #f9fafb; }

.composer .mic-btn.recording {
  background: #fee2e2;
  color: #e9242b;
  animation: mic-pulse 1s ease-in-out infinite;
}

@keyframes mic-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(233, 36, 43, 0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(233, 36, 43, 0); }
}

/* ── Article full-screen overlay ─────────────────────────────────────────── */

.article-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px;
  z-index: 1000;
  overflow-y: auto;
}

.article-overlay-dialog {
  background: white;
  border-radius: 12px;
  width: min(860px, 100%);
  max-height: calc(100dvh - 64px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
  animation: overlayIn .18s ease;
}

@keyframes overlayIn {
  from { transform: translateY(12px); opacity: 0; }
}

.article-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
  gap: 12px;
}

.article-overlay-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.article-overlay-close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #9ca3af;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
  flex-shrink: 0;
}
.article-overlay-close:hover { background: #f3f4f6; color: #374151; }

.article-overlay-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
  line-height: 1.6;
  font-size: 14px;
}

.article-overlay-body h1, .article-overlay-body h2,
.article-overlay-body h3, .article-overlay-body h4 { margin: 0 0 12px; line-height: 1.25; }
.article-overlay-body h2 { font-size: 20px; }
.article-overlay-body p, .article-overlay-body div,
.article-overlay-body blockquote { margin: 0 0 10px; }
.article-overlay-body ul, .article-overlay-body ol { margin: 8px 0 12px; padding-left: 24px; }
.article-overlay-body table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13px; }
.article-overlay-body th, .article-overlay-body td { border: 1px solid #d1d5db; padding: 8px 10px; vertical-align: top; }
.article-overlay-body th { background: #fff1f2; text-align: left; }

/* ── Pre-chat form ───────────────────────────────────────────────────────── */

.prechat-panel {
  width: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: white;
  overflow: hidden;
}

.prechat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 0;
  padding-top: max(20px, env(safe-area-inset-top));
  background: linear-gradient(135deg, #f97316 0%, #e9242b 100%);
  color: white;
  padding-bottom: 24px;
}

.prechat-header h1 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.prechat-header p {
  margin: 3px 0 0;
  font-size: 12px;
  opacity: .75;
}

.prechat-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 24px 20px;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  overflow-y: auto;
}

.prechat-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.prechat-field label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 6px;
}

.field-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.field-badge.required { background: #fee2e2; color: #991b1b; }
.field-badge.optional { background: #f1f5f9; color: #6b7280; }

.prechat-field input {
  padding: 11px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  color: #111827;
  background: #f9fafb;
  outline: none;
  transition: border-color .15s, background .15s;
  width: 100%;
}

.prechat-field input:focus {
  border-color: #e9242b;
  background: white;
}

.prechat-field input.input-error {
  border-color: #dc2626;
  background: #fff5f5;
}

.prechat-error {
  font-size: 13px;
  color: #dc2626;
  background: #fff5f5;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

.prechat-submit {
  width: 100%;
  padding: 14px;
  background: #e9242b;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: auto;
  transition: background .15s;
}

.prechat-submit:hover  { background: #c81e24; }
.prechat-submit:active { background: #9b1c1c; }

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 480px) {
  .message { max-width: 90%; }
  .messages { padding: 12px; }
  .options  { padding: 10px 12px; }
  .composer {
    padding-top: 10px;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
}

/* ── DPA consent (pre-chat) ──────────────────────────────────────────────── */

.dpa-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #374151;
}
.dpa-label input { margin-top: 2px; }
.dpa-label a { color: #e9242b; }

/* ── Landing screen (welcome + DPA + Apply Now / Got a Question) ────────────── */

.landing-lead {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 20px;
  line-height: 1.5;
}

.landing-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: #e9242b;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 12px;
  transition: background .15s, opacity .15s;
}
.landing-cta:hover:not(:disabled)  { background: #c81e24; }
.landing-cta:disabled { opacity: .5; cursor: not-allowed; }

.landing-cta-secondary {
  background: white;
  color: #e9242b;
  border: 1px solid #e9242b;
}
.landing-cta-secondary:hover:not(:disabled) { background: #fff5f5; }

.landing-dpa-text {
  font-size: 12.5px;
  color: #374151;
  line-height: 1.5;
  margin: 16px 0 10px;
}

.landing-dpa-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.landing-dpa-accept, .landing-dpa-decline {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  border: none;
}
.landing-dpa-accept { background: #e9242b; color: white; }
.landing-dpa-accept:hover { background: #c81e24; }
.landing-dpa-decline { background: white; color: #6b7280; border: 1px solid #d1d5db; }
.landing-dpa-decline:hover { background: #f9fafb; }

.landing-dpa-accepted-note {
  font-size: 12.5px;
  color: #15803d;
  font-weight: 600;
  margin: 10px 0 0;
}

.landing-back {
  display: inline-block;
  font-size: 13px;
  color: #6b7280;
  cursor: pointer;
  margin-bottom: 16px;
  text-decoration: none;
}
.landing-back:hover { color: #111827; }

.landing-intro-html {
  font-size: 13px;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 18px;
}
.landing-intro-html a { color: #e9242b; font-weight: 600; }
.landing-intro-html p { margin: 0 0 10px; }

.landing-subscriber-prompt {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  margin: 8px 0 14px;
}

.landing-subscriber-actions {
  display: flex;
  gap: 10px;
}
.landing-subscriber-actions .landing-cta { margin-bottom: 0; }

.prechat-field select {
  padding: 11px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  color: #111827;
  background: #f9fafb;
  outline: none;
  width: 100%;
}
.prechat-field select.input-error { border-color: #dc2626; background: #fff5f5; }
