/* ═══════════════════════════════════════════════════════════════════
   Modal & Overlay Styles — Task #1115902 (Perf Pass 8)
   All modals/overlays hidden by default, shown only via JS-added classes.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Report an Issue Modal ── */
.rir-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.55);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.rir-overlay.open {
  display: flex !important;
}
.rir-modal {
  background: #fff;
  border-radius: 1rem;
  max-width: 440px;
  width: 100%;
  padding: 1.75rem 1.5rem 1.5rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  max-height: 90vh;
  overflow-y: auto;
}
.rir-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: #6b7280;
  line-height: 0;
}
.rir-close:hover { color: #111827; }
.rir-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.25rem;
}
.rir-subtitle {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0 0 1rem;
}
.rir-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #374151;
  margin-bottom: 0.35rem;
}
.rir-url {
  font-size: 0.8rem;
  color: #6b7280;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
  word-break: break-all;
}
.rir-textarea {
  width: 100%;
  font-size: 0.9rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.6rem 0.75rem;
  resize: vertical;
  font-family: inherit;
  margin-bottom: 0.75rem;
  box-sizing: border-box;
}
.rir-textarea:focus { border-color: #4f46e5; outline: none; box-shadow: 0 0 0 2px rgba(79,70,229,0.15); }
.rir-email-input {
  width: 100%;
  font-size: 0.9rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.6rem 0.75rem;
  font-family: inherit;
  margin-bottom: 1rem;
  box-sizing: border-box;
}
.rir-email-input:focus { border-color: #4f46e5; outline: none; box-shadow: 0 0 0 2px rgba(79,70,229,0.15); }
.rir-submit {
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: #4f46e5;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-family: inherit;
}
.rir-submit:hover { background: #4338ca; }
.rir-success {
  display: none;
  text-align: center;
  padding: 1.5rem 0;
}
.rir-success-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.rir-success-msg { font-size: 1.1rem; font-weight: 700; color: #111827; margin: 0 0 0.25rem; }
.rir-success-sub { font-size: 0.85rem; color: #6b7280; margin: 0; }

/* ── Submit a Settlement Modal ── */
.sas-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.55);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.sas-overlay.open {
  display: flex !important;
}
.sas-modal {
  background: #fff;
  border-radius: 1rem;
  max-width: 480px;
  width: 100%;
  padding: 1.75rem 1.5rem 1.5rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  max-height: 90vh;
  overflow-y: auto;
}
.sas-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: #6b7280;
  line-height: 0;
}
.sas-close:hover { color: #111827; }
.sas-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.25rem;
}
.sas-subtitle {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0 0 1rem;
  line-height: 1.5;
}
.sas-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #374151;
  margin-bottom: 0.35rem;
}
.sas-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #6b7280;
}
.sas-field {
  width: 100%;
  font-size: 0.9rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.6rem 0.75rem;
  font-family: inherit;
  margin-bottom: 0.75rem;
  box-sizing: border-box;
}
.sas-field:focus { border-color: #4f46e5; outline: none; box-shadow: 0 0 0 2px rgba(79,70,229,0.15); }
.sas-submit {
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: #4f46e5;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-family: inherit;
}
.sas-submit:hover { background: #4338ca; }
.sas-error {
  display: none;
  font-size: 0.82rem;
  color: #ef4444;
  margin-top: 0.5rem;
  text-align: center;
}
.sas-success {
  display: none;
  text-align: center;
  padding: 1.5rem 0;
}
.sas-success-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.sas-success-msg { font-size: 1.1rem; font-weight: 700; color: #111827; margin: 0 0 0.25rem; }
.sas-success-sub { font-size: 0.85rem; color: #6b7280; margin: 0; line-height: 1.5; }

/* ── Exit-Intent Popup v1 (Task #880631) ── */
#sr-exit-overlay,
#sr-ep-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(0,0,0,0.6);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
#sr-ep-overlay.sr-ep-open {
  display: flex !important;
}
#sr-exit-overlay.sr-exit-visible {
  display: flex !important;
}
#sr-exit-popup {
  background: #fff;
  border-radius: 1rem;
  max-width: 420px;
  width: 100%;
  padding: 2rem 1.5rem 1.5rem;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
  text-align: center;
}
#sr-ep-close {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #9ca3af;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}
#sr-ep-close:hover { color: #374151; }
.sr-ep-icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.sr-ep-headline {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.sr-ep-sub {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0 0 1rem;
  line-height: 1.5;
}
.sr-ep-badge {
  display: none;
  font-size: 0.75rem;
  font-weight: 600;
  color: #dc2626;
  background: #fef2f2;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.sr-ep-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sr-ep-form input[type="email"] {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-family: inherit;
  box-sizing: border-box;
}
.sr-ep-form input[type="email"]:focus { border-color: #2563eb; outline: none; box-shadow: 0 0 0 2px rgba(37,99,235,0.15); }
#sr-ep-btn {
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: #2563eb;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-family: inherit;
}
#sr-ep-btn:hover { background: #1d4ed8; }
#sr-ep-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.sr-ep-success {
  display: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: #059669;
  margin-top: 0.75rem;
}
.sr-ep-fine {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.75rem;
}

/* ── Exit-Intent Popup v2 (Task #1135738) ── */
.sr-exit-card {
  background: #fff;
  border-radius: 1rem;
  max-width: 440px;
  width: 100%;
  padding: 2rem 1.75rem 1.5rem;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}
.sr-exit-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: #9ca3af;
  line-height: 0;
}
.sr-exit-close:hover { color: #374151; }
.sr-exit-body { text-align: center; }
.sr-exit-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.sr-exit-headline {
  font-size: 1.3rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.sr-exit-sub {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0 0 1rem;
}
.sr-exit-form { margin: 0; }
.sr-exit-email-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.sr-exit-input {
  flex: 1;
  padding: 0.65rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-family: inherit;
  min-width: 0;
}
.sr-exit-input:focus { border-color: #2563eb; outline: none; box-shadow: 0 0 0 2px rgba(37,99,235,0.15); }
.sr-exit-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: #2563eb;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.sr-exit-btn:hover { background: #1d4ed8; }
.sr-exit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.sr-exit-error {
  display: none;
  font-size: 0.82rem;
  color: #ef4444;
  text-align: center;
  margin-top: 0.25rem;
}
.sr-exit-error.sr-exit-visible { display: block; }
.sr-exit-privacy {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.5rem;
}
.sr-exit-success {
  display: none;
  text-align: center;
  padding: 1rem 0;
}
.sr-exit-success.sr-exit-visible { display: block !important; }
.sr-exit-success-icon { font-size: 2rem; display: block; margin-bottom: 0.4rem; }
.sr-exit-success-headline {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.25rem;
}
.sr-exit-success-sub {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0;
}
.sr-exit-quiz-cta {
  display: none;
  text-align: center;
  margin-top: 1rem;
}
.sr-exit-quiz-cta.sr-exit-visible { display: block !important; }
.sr-exit-quiz-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #2563eb;
  border-radius: 0.5rem;
  text-decoration: none;
  margin-top: 0.75rem;
}
.sr-exit-quiz-btn:hover { background: #1d4ed8; }

/* ── Exit-Intent v3: Variant B urgency amount + success settlements (Task #1221243) ── */
.sr-exit-amount {
  color: #16a34a;
  font-weight: 800;
}
/* Success state: top 3 settlements */
.sr-exit-top-settlements {
  margin: 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}
.sr-exit-settle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 0.4rem;
  text-decoration: none;
  font-size: 0.82rem;
  transition: background 0.15s;
}
.sr-exit-settle-row:hover { background: #dcfce7; }
.sr-exit-settle-name {
  color: #111827;
  font-weight: 500;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sr-exit-settle-amt {
  color: #15803d;
  font-weight: 700;
  white-space: nowrap;
  font-size: 0.8rem;
}
.sr-exit-see-all {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: #2563eb;
  text-decoration: none;
}
.sr-exit-see-all:hover { text-decoration: underline; }

/* ── Scroll-Triggered Bottom Banner (Task #1221243) ── */
#sr-scroll-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9900;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  padding: 0.75rem 1rem;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
#sr-scroll-banner.sr-scroll-banner-visible {
  transform: translateY(0);
}
.sr-scroll-banner-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 960px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.sr-scroll-banner-text {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: #111827;
  flex: 1;
  min-width: 160px;
}
.sr-scroll-form {
  display: flex;
  gap: 0.4rem;
  flex: 0 0 auto;
}
.sr-scroll-input {
  padding: 0.5rem 0.65rem;
  border: 1px solid #d1d5db;
  border-radius: 0.4rem;
  font-size: 0.85rem;
  font-family: inherit;
  width: 200px;
  min-width: 0;
}
.sr-scroll-input:focus { border-color: #2563eb; outline: none; box-shadow: 0 0 0 2px rgba(37,99,235,0.15); }
.sr-scroll-btn {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: #2563eb;
  border: none;
  border-radius: 0.4rem;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.sr-scroll-btn:hover { background: #1d4ed8; }
.sr-scroll-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.sr-scroll-error {
  display: none;
  font-size: 0.78rem;
  color: #ef4444;
  width: 100%;
  order: 10;
}
.sr-scroll-success {
  font-size: 0.88rem;
  font-weight: 600;
  color: #15803d;
}
.sr-scroll-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  padding: 0.3rem;
  line-height: 0;
  flex-shrink: 0;
}
.sr-scroll-close:hover { color: #374151; }
@media (max-width: 600px) {
  .sr-scroll-banner-inner { flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .sr-scroll-form { width: 100%; }
  .sr-scroll-input { flex: 1; width: auto; }
  .sr-scroll-banner-text { font-size: 0.82rem; }
}

/* ── Filing Interstitial (Task #917946) ── */
#sr-fi-wrap {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10002;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
#sr-fi-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
#sr-fi-box {
  position: relative;
  background: #fff;
  border-radius: 1rem;
  max-width: 400px;
  width: 100%;
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  z-index: 1;
}
#sr-fi-close {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.25rem;
}
#sr-fi-close:hover { color: #374151; }
#sr-fi-icon { font-size: 2rem; margin-bottom: 0.5rem; }
#sr-fi-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
#sr-fi-desc {
  font-size: 0.88rem;
  color: #6b7280;
  margin: 0 0 1.25rem;
  line-height: 1.5;
}
#sr-fi-assisted {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: #2563eb;
  border-radius: 0.5rem;
  text-decoration: none;
  margin-bottom: 0.75rem;
}
#sr-fi-assisted:hover { background: #1d4ed8; }
#sr-fi-external {
  display: block;
  font-size: 0.85rem;
  color: #6b7280;
  text-decoration: underline;
  margin-bottom: 1rem;
}
#sr-fi-external:hover { color: #374151; }
#sr-fi-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #9ca3af;
}

/* ── Lead Magnet Sticky Bar ── */
#lm-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #1e3a5f, #0f172a);
  border-top: 1px solid rgba(255,255,255,0.1);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
#lm-sticky-bar.lm-bar-visible {
  transform: translateY(0);
}
.lm-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
}
.lm-bar-text {
  font-size: 0.88rem;
  color: #fff;
}
.lm-bar-btn {
  display: inline-block;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e3a5f;
  background: #fbbf24;
  border-radius: 0.4rem;
  text-decoration: none;
  white-space: nowrap;
}
.lm-bar-btn:hover { background: #f59e0b; }
.lm-bar-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: rgba(255,255,255,0.6);
  line-height: 0;
}
.lm-bar-close:hover { color: #fff; }

/* ── SVG Close Icon (shared) ── */
.sr-close-svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* ── Push Notification Prompt ── */
#srPushPrompt {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9998;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  padding: 1rem 1.25rem;
  max-width: 340px;
  width: calc(100% - 2rem);
}

/* ── Onboarding Quiz Modal ── */
.oq-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10003;
  background: rgba(0,0,0,0.6);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.oq-backdrop[aria-hidden="false"] {
  display: flex !important;
}
.oq-modal {
  background: #fff;
  border-radius: 1rem;
  max-width: 560px;
  width: 100%;
  padding: 2rem 1.5rem 1.5rem;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
  max-height: 90vh;
  overflow-y: auto;
}

/* ── Exit Intent Email Capture (CRO Task #880734) ── */
#exitIntentOverlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
#exitIntentOverlay.open {
  display: flex !important;
}
#exitIntentModal {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 1rem;
  max-width: 440px;
  width: 100%;
  padding: 2rem 1.75rem 1.5rem;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  color: #e2e8f0;
}
#exitIntentClose {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: rgba(226,232,240,0.5);
  line-height: 0;
}
#exitIntentClose:hover { color: #fff; }
.ei-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #34d399;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.ei-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  animation: eiBadgePulse 2s infinite;
}
@keyframes eiBadgePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.ei-headline {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.ei-sub {
  font-size: 0.88rem;
  color: rgba(226,232,240,0.75);
  line-height: 1.55;
  margin: 0 0 1.25rem;
}
.ei-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.ei-email-input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid rgba(148,163,184,0.3);
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
  box-sizing: border-box;
}
.ei-email-input::placeholder { color: rgba(148,163,184,0.6); }
.ei-email-input:focus { border-color: #34d399; outline: none; box-shadow: 0 0 0 2px rgba(52,211,153,0.2); }
.ei-submit-btn {
  width: 100%;
  padding: 0.72rem 1rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  background: linear-gradient(135deg, #34d399, #10b981);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-family: inherit;
}
.ei-submit-btn:hover { background: linear-gradient(135deg, #10b981, #059669); }
.ei-no-thanks {
  display: block;
  width: 100%;
  background: none;
  border: none;
  font-size: 0.78rem;
  color: rgba(148,163,184,0.7);
  cursor: pointer;
  padding: 0.4rem 0;
  margin-bottom: 0.75rem;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ei-no-thanks:hover { color: #94a3b8; }
.ei-trust-pills {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.ei-trust-pill {
  font-size: 0.72rem;
  color: rgba(226,232,240,0.55);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.ei-trust-pill-check { color: #34d399; }
.ei-success {
  display: none;
  text-align: center;
  padding: 1.5rem 0;
}
.ei-success-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.ei-success-title { font-size: 1.1rem; font-weight: 700; color: #fff; margin: 0 0 0.25rem; }
.ei-success-sub { font-size: 0.85rem; color: rgba(226,232,240,0.75); margin: 0; line-height: 1.5; }

/* ── "Don't Leave Money" Exit Modal (srExitModal) ── */
.sr-exit-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(0,0,0,0.55);
}
.sr-exit-backdrop.is-open {
  display: block !important;
}
#srExitModal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10002;
  background: #fff;
  border-radius: 1rem;
  max-width: 420px;
  width: calc(100% - 2rem);
  padding: 2rem 1.5rem 1.5rem;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
  text-align: center;
}
#srExitModal.is-open {
  display: block !important;
}
.sr-exit-modal__close {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.25rem;
}
.sr-exit-modal__close:hover { color: #374151; }
.sr-exit-modal__emoji { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.sr-exit-modal__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem;
}
.sr-exit-modal__body {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0 0 1.25rem;
}
.sr-exit-modal__input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-family: inherit;
  margin-bottom: 0.75rem;
  box-sizing: border-box;
}
.sr-exit-modal__input:focus { border-color: #2563eb; outline: none; box-shadow: 0 0 0 2px rgba(37,99,235,0.15); }
.sr-exit-modal__dismiss {
  display: block;
  width: 100%;
  background: none;
  border: none;
  font-size: 0.8rem;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.5rem 0;
  font-family: inherit;
  margin-top: 0.5rem;
}
.sr-exit-modal__dismiss:hover { color: #6b7280; }
.sr-exit-modal__success {
  text-align: center;
  padding: 0.5rem 0;
}

/* ── Mobile responsiveness for all modals ── */
@media (max-width: 480px) {
  .rir-modal, .sas-modal, #sr-exit-popup, .sr-exit-card, #sr-fi-box, .oq-modal {
    padding: 1.5rem 1rem 1.25rem;
    border-radius: 0.75rem;
    margin: 0.5rem;
  }
  .sr-exit-email-row {
    flex-direction: column;
  }
  .sr-exit-btn {
    width: 100%;
    justify-content: center;
  }
  .lm-bar-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}