:root {
  --nqm-fr-navy: #071b33;
  --nqm-fr-blue: #102a44;
  --nqm-fr-ink: #0e1a2b;
  --nqm-fr-muted: #536172;
  --nqm-fr-sage: #a8b99f;
  --nqm-fr-sage-soft: #eef5ee;
  --nqm-fr-paper: #fffdf8;
  --nqm-fr-gold: #f6c85f;
  --nqm-fr-line: #cbd8cf;
}

/* Restore the approved homepage hero typography after the theme fallback lock. */
body.home:not(#nqm-typography-lock) .nqm-main .nqm-home-hero-block .hero-copy h1 {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: clamp(3.3rem, 7vw, 6.6rem) !important;
  line-height: .91 !important;
  letter-spacing: -.075em !important;
  margin: 0 0 24px !important;
}

body.home:not(#nqm-typography-lock) .nqm-main .nqm-component-block {
  line-height: 1.55 !important;
}

body.home:not(#nqm-typography-lock) .nqm-main .nqm-home-hero-block .eyebrow {
  font-size: 12px !important;
  line-height: 1.55 !important;
  letter-spacing: .16em !important;
  margin: 0 0 14px !important;
}

body.home:not(#nqm-typography-lock) .nqm-main .nqm-home-hero-block .floating-card,
body.home:not(#nqm-typography-lock) .nqm-main .nqm-home-hero-block .floating-card p,
body.home:not(#nqm-typography-lock) .nqm-main .nqm-programs-overview-block .program-group a,
body.home:not(#nqm-typography-lock) .nqm-main .nqm-how-it-works-block .step p,
body.home:not(#nqm-typography-lock) .nqm-main .nqm-final-cta-block .final-box p,
body.home:not(#nqm-typography-lock) .nqm-main .nqm-final-cta-block .btn {
  line-height: 1.55 !important;
}

@media (max-width: 680px) {
  body.home:not(#nqm-typography-lock) .nqm-main .nqm-home-hero-block .hero-copy h1 {
    line-height: .98 !important;
    letter-spacing: -.072em !important;
  }
}

/* Restore the approved hero-photo edge and floating review-card overlap. */
body.home .nqm-main .nqm-home-hero-block .hero-media {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.home .nqm-main .nqm-home-hero-block .hero-media::before,
body.home .nqm-main .nqm-home-hero-block .hero-media::after {
  content: none !important;
  display: none !important;
}

body.home .nqm-main .nqm-home-hero-block .hero-photo {
  border: 0 !important;
  border-radius: 38px !important;
  background: transparent !important;
  box-shadow: 0 24px 70px rgba(7, 27, 51, .14), inset 0 0 0 1px rgba(7, 27, 51, .08) !important;
  overflow: hidden !important;
}

body.home .nqm-main .nqm-home-hero-block .hero-photo img,
body.home .nqm-main .nqm-home-hero-block .hero-photo::after {
  border-radius: 38px !important;
}

body.home .nqm-main .nqm-home-hero-block .floating-card {
  left: -34px !important;
  right: auto !important;
  bottom: 34px !important;
  width: min(390px, 82%) !important;
  max-width: none !important;
  padding: 20px !important;
  border: 1px solid rgba(255, 255, 255, .75) !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 24px 60px rgba(7, 27, 51, .25) !important;
}

@media (max-width: 1050px) {
  body.home .nqm-main .nqm-home-hero-block .floating-card {
    left: 24px !important;
  }
}

@media (max-width: 650px) {
  body.home .nqm-main .nqm-home-hero-block .floating-card {
    left: 14px !important;
    right: 14px !important;
    bottom: 14px !important;
    width: auto !important;
    padding: 14px !important;
    border-radius: 18px !important;
  }
}

/* Keep the approved loan-path area as a full-width section band, not a card. */
body.home .nqm-main .nqm-component-block.nqm-home-paths-block {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 86px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f3f7f2 !important;
  box-shadow: none !important;
}

body.home .nqm-main .nqm-home-paths-block > .wrap {
  width: min(1240px, calc(100% - 40px)) !important;
  margin: 0 auto !important;
}

body.home .nqm-main .nqm-home-paths-block .section-head,
body.home .nqm-main .nqm-programs-overview-block .section-head,
body.home .nqm-main .nqm-how-it-works-block .section-head {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 30px !important;
  margin-bottom: 34px !important;
}

body.home:not(#nqm-typography-lock) .nqm-main .nqm-home-paths-block .section-head h2 {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: clamp(2.3rem, 5vw, 4.7rem) !important;
  line-height: .96 !important;
  letter-spacing: -.06em !important;
  margin: 0 !important;
}

body.home:not(#nqm-typography-lock) .nqm-main .nqm-home-paths-block .section-head > p,
body.home:not(#nqm-typography-lock) .nqm-main .nqm-programs-overview-block .section-head > p,
body.home:not(#nqm-typography-lock) .nqm-main .nqm-how-it-works-block .section-head > p {
  max-width: 650px !important;
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.55 !important;
}

@media (max-width: 650px) {
  body.home .nqm-main .nqm-component-block.nqm-home-paths-block {
    padding: 64px 0 !important;
  }
}

/* Match the approved programs and process blocks instead of global section cards. */
body.home .nqm-main .nqm-component-block.nqm-programs-overview-block,
body.home .nqm-main .nqm-component-block.nqm-how-it-works-block {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 86px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fbfaf4 !important;
  box-shadow: none !important;
}

body.home .nqm-main .nqm-programs-overview-block > .wrap,
body.home .nqm-main .nqm-how-it-works-block > .wrap {
  width: min(1240px, calc(100% - 40px)) !important;
  margin: 0 auto !important;
}

body.home:not(#nqm-typography-lock) .nqm-main .nqm-programs-overview-block .section-head h2,
body.home:not(#nqm-typography-lock) .nqm-main .nqm-how-it-works-block .section-head h2 {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: clamp(2.3rem, 5vw, 4.7rem) !important;
  line-height: .96 !important;
  letter-spacing: -.06em !important;
  margin: 0 !important;
}

/* Restore the approved full-bleed story band and its constrained inner grid. */
body.home .nqm-main .nqm-component-block.nqm-story-section-block {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(42px, 6vh, 58px) 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(135deg, #071b33, #102a44) !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body.home .nqm-main .nqm-story-section-block > .wrap.story-grid {
  width: min(1240px, calc(100% - 40px)) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr) !important;
  gap: clamp(28px, 3vw, 42px) !important;
  align-items: center !important;
}

body.home .nqm-main .nqm-story-section-block .story-image {
  min-height: 0 !important;
  height: clamp(340px, 42vw, 430px) !important;
  max-height: 52vh !important;
  margin: 0 !important;
  border-radius: 30px !important;
  overflow: hidden !important;
  box-shadow: 0 24px 70px rgba(7, 27, 51, .14) !important;
}

body.home .nqm-main .nqm-story-section-block .story-image img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center 42% !important;
}

body.home:not(#nqm-typography-lock) .nqm-main .nqm-story-section-block .story-copy h2 {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: clamp(2.25rem, 4.1vw, 3.85rem) !important;
  line-height: .96 !important;
  letter-spacing: -.055em !important;
  margin: 0 0 16px !important;
  max-width: 760px !important;
}

body.home:not(#nqm-typography-lock) .nqm-main .nqm-story-section-block .story-copy > p {
  max-width: 680px !important;
  margin: 0 !important;
  font-size: clamp(1rem, 1.25vw, 1.12rem) !important;
  line-height: 1.5 !important;
  color: #dce7dd !important;
}

body.home .nqm-main .nqm-story-section-block .check-list {
  gap: 10px !important;
  margin-top: 20px !important;
}

body.home .nqm-main .nqm-story-section-block .check {
  gap: 11px !important;
  padding: 11px 13px !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .08) !important;
  box-shadow: none !important;
  color: #fff !important;
}

body.home .nqm-main .nqm-story-section-block .check b {
  width: 26px !important;
  height: 26px !important;
  font-size: .92rem !important;
}

body.home .nqm-main .nqm-story-section-block .check span {
  color: #fff !important;
  font-size: .98rem !important;
  line-height: 1.25 !important;
}

body.home .nqm-main .nqm-story-section-block .check small {
  margin-top: 3px !important;
  color: #c8d5dc !important;
  font-size: .79rem !important;
  line-height: 1.35 !important;
}

/* Match the approved closing CTA's inner width, type rhythm, and controls. */
body.home .nqm-main .nqm-final-cta-block > .wrap.final-box {
  width: min(1240px, calc(100% - 40px)) !important;
  max-width: none !important;
  margin: 0 auto !important;
  grid-template-columns: 1fr auto !important;
  gap: 28px !important;
  padding: 38px !important;
}

body.home:not(#nqm-typography-lock) .nqm-main .nqm-final-cta-block .final-box h2 {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: clamp(2rem, 4vw, 3.6rem) !important;
  line-height: 1 !important;
  letter-spacing: -.055em !important;
  margin: 0 0 10px !important;
}

body.home .nqm-main .nqm-final-cta-block .cta-row {
  gap: 12px !important;
}

body.home .nqm-main .nqm-final-cta-block .btn {
  min-height: 52px !important;
  padding: 0 22px !important;
}

@media (max-width: 1050px) {
  body.home .nqm-main .nqm-story-section-block > .wrap.story-grid,
  body.home .nqm-main .nqm-final-cta-block > .wrap.final-box {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 880px) {
  body.home .nqm-main .nqm-component-block.nqm-story-section-block {
    padding: 54px 0 !important;
  }

  body.home .nqm-main .nqm-story-section-block > .wrap.story-grid {
    gap: 26px !important;
  }

  body.home .nqm-main .nqm-story-section-block .story-image {
    height: clamp(300px, 58vw, 420px) !important;
    max-height: none !important;
  }

  body.home:not(#nqm-typography-lock) .nqm-main .nqm-story-section-block .story-copy h2 {
    font-size: clamp(2.25rem, 8vw, 3.6rem) !important;
  }
}

@media (max-width: 650px) {
  body.home .nqm-main .nqm-home-paths-block .section-head,
  body.home .nqm-main .nqm-programs-overview-block .section-head,
  body.home .nqm-main .nqm-how-it-works-block .section-head {
    display: block !important;
  }

  body.home:not(#nqm-typography-lock) .nqm-main .nqm-home-paths-block .section-head > p,
  body.home:not(#nqm-typography-lock) .nqm-main .nqm-programs-overview-block .section-head > p,
  body.home:not(#nqm-typography-lock) .nqm-main .nqm-how-it-works-block .section-head > p {
    margin-top: 14px !important;
  }

  body.home .nqm-main .nqm-component-block.nqm-programs-overview-block,
  body.home .nqm-main .nqm-component-block.nqm-how-it-works-block {
    padding: 64px 0 !important;
  }

  body.home .nqm-main .nqm-programs-overview-block > .wrap,
  body.home .nqm-main .nqm-how-it-works-block > .wrap {
    width: min(100% - 24px, 620px) !important;
  }

  body.home .nqm-main .nqm-home-paths-block > .wrap,
  body.home .nqm-main .nqm-story-section-block > .wrap.story-grid,
  body.home .nqm-main .nqm-final-cta-block > .wrap.final-box {
    width: min(100% - 24px, 620px) !important;
  }

  body.home .nqm-main .nqm-component-block.nqm-story-section-block {
    padding: 46px 0 !important;
  }

  body.home .nqm-main .nqm-story-section-block .story-image {
    min-height: 0 !important;
    height: 310px !important;
  }

  body.home:not(#nqm-typography-lock) .nqm-main .nqm-story-section-block .story-copy h2 {
    font-size: 2.55rem !important;
  }

  body.home .nqm-main .nqm-story-section-block .check {
    padding: 10px 11px !important;
  }
}

@media (max-width: 680px) {
  body.home:not(#nqm-typography-lock) .nqm-main .nqm-home-hero-block .hero-copy h1 {
    font-size: clamp(1.9rem, 7vw, 2.2rem) !important;
    margin: 0 0 15px !important;
  }

  body.home .nqm-main .nqm-home-hero-block .hero-photo,
  body.home .nqm-main .nqm-home-hero-block .hero-photo img,
  body.home .nqm-main .nqm-home-hero-block .hero-photo::after {
    border-radius: 26px !important;
  }

}

.nqm-funnel-page--dscr-deal,
.nqm-funnel-page--dscr-paid,
.nqm-funnel-page--income,
.nqm-funnel-page--equity,
.nqm-funnel-page--specialty {
  color: var(--nqm-fr-ink) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

.nqm-funnel-page--dscr-deal *,
.nqm-funnel-page--dscr-paid *,
.nqm-funnel-page--income *,
.nqm-funnel-page--equity *,
.nqm-funnel-page--specialty * {
  box-sizing: border-box;
  letter-spacing: 0 !important;
}

.nqm-funnel-page--dscr-deal,
.nqm-funnel-page--income,
.nqm-funnel-page--equity,
.nqm-funnel-page--specialty {
  min-height: calc(100vh - 110px) !important;
  padding: 24px 16px 92px !important;
  background: #eef5ee !important;
}

.nqm-funnel-page--dscr-deal .nqm-dscr-deal-shell,
.nqm-funnel-shell-native {
  width: min(1180px, 100%) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 278px minmax(0, 1fr) !important;
  gap: 22px !important;
  align-items: stretch !important;
}

.nqm-dscr-side,
.nqm-funnel-side-native {
  min-height: 670px !important;
  padding: 22px !important;
  border-radius: 8px !important;
  background: var(--nqm-fr-navy) !important;
  color: #fff !important;
  box-shadow: 0 18px 46px rgba(7, 27, 51, .18) !important;
}

.nqm-dscr-side-logo img,
.nqm-funnel-side-logo img {
  width: 160px !important;
  max-width: 100% !important;
  margin: 0 auto 20px !important;
  padding: 6px 9px !important;
  border-radius: 8px !important;
  background: #fff !important;
}

.nqm-dscr-side-card,
.nqm-funnel-side-card-native {
  margin: 0 0 18px !important;
  padding: 18px !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .07) !important;
}

.nqm-dscr-side-card span,
.nqm-funnel-side-card-native span {
  color: var(--nqm-fr-gold) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

.nqm-dscr-side-card strong,
.nqm-funnel-side-card-native strong {
  display: block !important;
  margin: 8px 0 !important;
  color: #fff !important;
  font-size: 24px !important;
  line-height: 1.08 !important;
}

.nqm-dscr-side-card p,
.nqm-funnel-side-card-native p {
  color: #dce7dd !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.nqm-dscr-rail,
.nqm-funnel-rail-native {
  gap: 8px !important;
}

.nqm-dscr-rail li,
.nqm-funnel-rail-native li {
  min-height: 58px !important;
  padding: 10px 12px !important;
  border-radius: 8px !important;
}

.nqm-dscr-main-card,
.nqm-funnel-card-native {
  min-width: 0 !important;
  min-height: 670px !important;
  padding: clamp(24px, 4vw, 42px) !important;
  border: 1px solid var(--nqm-fr-line) !important;
  border-radius: 8px !important;
  background: var(--nqm-fr-paper) !important;
  box-shadow: 0 18px 46px rgba(7, 27, 51, .11) !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-funnel,
.nqm-funnel-page--dscr-paid .nqmcf7-funnel,
.nqm-funnel-page--income .nqmcf7-funnel,
.nqm-funnel-page--equity .nqmcf7-funnel,
.nqm-funnel-page--specialty .nqmcf7-funnel {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-funnel h1,
.nqm-funnel-page--dscr-paid .nqmcf7-funnel h1,
.nqm-funnel-page--income .nqmcf7-funnel h1,
.nqm-funnel-page--equity .nqmcf7-funnel h1,
.nqm-funnel-page--specialty .nqmcf7-funnel h1,
.nqm-funnel-page--specialty .nqmcf7-funnel h2.nqm-specialty-panel-title {
  max-width: 760px !important;
  margin: 4px auto 12px !important;
  color: var(--nqm-fr-navy) !important;
  font-size: 50px !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-wrap: balance;
}

.nqm-funnel-page--dscr-deal .nqmcf7-lead,
.nqm-funnel-page--dscr-paid .nqmcf7-lead,
.nqm-funnel-page--income .nqmcf7-lead,
.nqm-funnel-page--equity .nqmcf7-lead,
.nqm-funnel-page--specialty .nqmcf7-lead {
  max-width: 700px !important;
  margin: 0 auto 18px !important;
  color: var(--nqm-fr-muted) !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
  text-align: center !important;
}

.nqm-v5-top {
  min-height: 30px !important;
  margin-bottom: 10px !important;
}

.nqm-v5-top span,
.nqm-v5-top strong,
.nqmcf7-kicker {
  font-size: 11px !important;
  line-height: 1.3 !important;
}

.nqm-v5-progress {
  height: 8px !important;
  margin-bottom: 20px !important;
}

.nqmcf7-options {
  margin: 16px 0 0 !important;
}

.nqmcf7-options legend {
  margin-bottom: 10px !important;
  color: var(--nqm-fr-navy) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  text-align: center !important;
}

.nqmcf7-options .wpcf7-form-control {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.nqmcf7-options .wpcf7-list-item {
  display: block !important;
  margin: 0 !important;
}

.nqmcf7-options .wpcf7-list-item label {
  min-height: 72px !important;
  padding: 12px 14px !important;
  border: 1px solid var(--nqm-fr-line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 7px 18px rgba(7, 27, 51, .05) !important;
}

.nqmcf7-options .wpcf7-list-item label:hover,
.nqmcf7-options .wpcf7-list-item label:focus-within,
.nqmcf7-options .wpcf7-list-item label.is-selected,
.nqmcf7-options .wpcf7-list-item label:has(input:checked) {
  border-color: var(--nqm-fr-gold) !important;
  background: #fff9e8 !important;
  box-shadow: 0 0 0 3px rgba(246, 200, 95, .22) !important;
}

.nqm-choice-copy strong,
.nqm-choice-copy-native strong,
.nqm-choice-text {
  font-size: 16px !important;
  line-height: 1.15 !important;
}

.nqm-choice-copy small,
.nqm-choice-copy-native small,
.nqm-choice-desc {
  font-size: 12px !important;
  line-height: 1.3 !important;
}

.nqmcf7-field {
  margin: 12px 0 !important;
}

.nqmcf7-field label {
  color: var(--nqm-fr-navy) !important;
  font-weight: 900 !important;
}

.nqmcf7-field input,
.nqmcf7-field select,
.nqmcf7-field textarea {
  width: 100% !important;
  min-height: 52px !important;
  margin-top: 6px !important;
  padding: 11px 13px !important;
  border: 1px solid var(--nqm-fr-line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--nqm-fr-ink) !important;
}

.nqmcf7-nav .wpcf7-submit,
.nqm-funnel-page--equity .wpcf7-submit,
.nqm-funnel-page--income .wpcf7-submit,
.nqm-funnel-page--specialty .wpcf7-submit {
  min-height: 52px !important;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: var(--nqm-fr-navy) !important;
  color: #fff !important;
  font-weight: 900 !important;
  opacity: 1 !important;
}

.nqm-funnel-trust-native {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin-top: 16px !important;
}

.nqm-funnel-trust-native span {
  min-height: 46px !important;
  border-radius: 8px !important;
}

.nqm-dscr-paid-frame {
  width: min(100%, 520px) !important;
  min-height: 100vh !important;
  margin: 0 auto !important;
  padding: 18px 10px 94px !important;
  background: var(--nqm-fr-navy) !important;
}

.nqm-dscr-paid-card {
  padding: 22px 16px !important;
  border-radius: 8px !important;
  background: var(--nqm-fr-paper) !important;
}

.nqm-quick-quote-page {
  padding-top: 52px !important;
}

.nqm-quick-quote-page .nqm-quick-intro {
  margin-bottom: 34px !important;
}

.nqm-quick-quote-page .nqm-quick-intro h1 {
  max-width: 820px !important;
  font-size: 58px !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
}

.nqm-quick-quote-page .nqm-quick-desk-panel {
  padding: 30px 34px !important;
}

.nqm-quick-quote-page .nqm-b2-lane-grid {
  margin-top: 20px !important;
}

.nqm-quick-quote-page .nqm-b2-lane-card {
  min-height: 178px !important;
  padding: 20px !important;
  border-radius: 8px !important;
}

.nqm-specialty-entry {
  width: min(1180px, 100%) !important;
  margin: 0 auto 22px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr) !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  background: var(--nqm-fr-navy) !important;
  box-shadow: 0 18px 46px rgba(7, 27, 51, .18) !important;
}

.nqm-specialty-entry__copy {
  padding: clamp(32px, 5vw, 58px) !important;
  color: #fff !important;
}

.nqm-specialty-entry__copy > p {
  margin: 0 0 12px !important;
  color: var(--nqm-fr-gold) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

.nqm-specialty-entry__copy h1 {
  margin: 0 0 16px !important;
  color: #fff !important;
  font-size: 52px !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

.nqm-specialty-entry__copy > span {
  display: block !important;
  max-width: 690px !important;
  color: #dce7dd !important;
  font-size: 17px !important;
  line-height: 1.5 !important;
}

.nqm-specialty-entry__media {
  min-height: 430px !important;
  margin: 0 !important;
}

.nqm-specialty-entry__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.nqm-specialty-entry__actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 22px !important;
}

.nqm-specialty-entry__actions a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 50px !important;
  padding: 0 20px !important;
  border: 1px solid rgba(255, 255, 255, .3) !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #fff !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.nqm-specialty-entry__actions a:first-child {
  border-color: var(--nqm-fr-gold) !important;
  background: var(--nqm-fr-gold) !important;
  color: var(--nqm-fr-navy) !important;
}

.nqm-specialty-entry__proof {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  margin-top: 22px !important;
  color: #dce7dd !important;
  font-size: 12px !important;
}

.nqm-specialty-entry-active .nqm-funnel-shell-native {
  display: block !important;
  width: min(900px, 100%) !important;
}

.nqm-specialty-entry-active .nqm-funnel-side-native {
  display: none !important;
}

.nqm-specialty-entry-active .nqm-funnel-card-native {
  min-height: 0 !important;
}

.nqm-dscr-calculator {
  width: min(1120px, calc(100% - 32px));
  margin: 32px auto 48px;
  padding: clamp(24px, 4vw, 42px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--nqm-fr-ink);
}

.nqm-dscr-calculator__heading > p {
  margin: 0 0 8px;
  color: #4f6f5b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.nqm-dscr-calculator__heading h2 {
  margin: 0 0 10px;
  color: var(--nqm-fr-navy);
  font-size: 46px;
  line-height: 1.04;
  letter-spacing: 0;
}

.nqm-dscr-calculator__heading > span,
.nqm-dscr-calculator__notice {
  color: var(--nqm-fr-muted);
}

.nqm-dscr-calculator__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: 22px;
  margin-top: 24px;
}

.nqm-dscr-calculator__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.nqm-dscr-calculator__form label {
  display: grid;
  gap: 6px;
  color: var(--nqm-fr-navy);
  font-weight: 850;
}

.nqm-dscr-calculator__form input {
  width: 100%;
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid var(--nqm-fr-line);
  border-radius: 8px;
  background: #fff;
  color: var(--nqm-fr-ink);
  font: inherit;
}

.nqm-dscr-calculator__form button {
  min-height: 52px;
  margin-top: 16px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: var(--nqm-fr-navy);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.nqm-dscr-calculator__result {
  padding: 24px;
  border-radius: 8px;
  background: var(--nqm-fr-navy);
  color: #fff;
}

.nqm-dscr-calculator__result > p {
  margin: 0;
  color: #dce7dd;
  font-weight: 850;
}

.nqm-dscr-calculator__result > strong {
  display: block;
  margin: 8px 0 18px;
  color: var(--nqm-fr-gold);
  font-size: 68px;
  line-height: 1;
}

.nqm-dscr-calculator__result dl {
  margin: 0;
}

.nqm-dscr-calculator__result dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.nqm-dscr-calculator__result dd {
  margin: 0;
  font-weight: 900;
}

.nqm-dscr-calculator__result > span {
  display: block;
  margin-top: 14px;
  color: #dce7dd;
  line-height: 1.4;
}

.nqm-dscr-calculator__actions {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.nqm-dscr-calculator__actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.nqm-dscr-calculator__actions a:first-child {
  border-color: var(--nqm-fr-gold);
  background: var(--nqm-fr-gold);
  color: var(--nqm-fr-navy);
}

.nqm-dscr-calculator__notice {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .nqm-funnel-page--dscr-deal,
  .nqm-funnel-page--income,
  .nqm-funnel-page--equity,
  .nqm-funnel-page--specialty {
    padding: 0 0 88px !important;
    background: var(--nqm-fr-navy) !important;
  }

  .nqm-funnel-page--dscr-deal .nqm-dscr-deal-shell,
  .nqm-funnel-shell-native {
    display: block !important;
    width: min(100%, 620px) !important;
  }

  .nqm-dscr-side,
  .nqm-funnel-side-native {
    display: none !important;
  }

  .nqm-dscr-main-card,
  .nqm-funnel-card-native {
    min-height: calc(100svh - 88px) !important;
    margin: 0 !important;
    padding: 18px 16px 24px !important;
    border-right: 0 !important;
    border-left: 0 !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: none !important;
  }

  .nqm-funnel-page--dscr-deal .nqmcf7-funnel h1,
  .nqm-funnel-page--dscr-paid .nqmcf7-funnel h1,
  .nqm-funnel-page--income .nqmcf7-funnel h1,
  .nqm-funnel-page--equity .nqmcf7-funnel h1,
  .nqm-funnel-page--specialty .nqmcf7-funnel h1,
  .nqm-funnel-page--specialty .nqmcf7-funnel h2.nqm-specialty-panel-title {
    font-size: 40px !important;
  }

  .nqmcf7-options .wpcf7-form-control {
    grid-template-columns: 1fr !important;
  }

  .nqm-specialty-entry {
    width: 100% !important;
    margin-bottom: 0 !important;
    grid-template-columns: 1fr !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .nqm-specialty-entry__copy {
    padding: 30px 22px !important;
  }

  .nqm-specialty-entry__copy h1 {
    font-size: 40px !important;
  }

  .nqm-specialty-entry__media {
    min-height: 260px !important;
    max-height: 340px !important;
  }

  .nqm-specialty-entry-active .nqm-funnel-shell-native {
    width: 100% !important;
  }

  .nqm-dscr-calculator__layout {
    grid-template-columns: 1fr;
  }
}

/* v7.24.46: live DSCR quote positioning and post-submit quote snapshot. */
.nqm-funnel-page--dscr-deal .nqmcf7-funnel.nqm-dscr-live-quote-entry .nqmcf7-lead,
.nqm-funnel-page--dscr-paid .nqmcf7-funnel.nqm-dscr-live-quote-entry .nqmcf7-lead,
.nqm-v14-card .nqmcf7-funnel.nqm-dscr-live-quote-entry .nqmcf7-lead,
#main.nqm-funnel-page--dscr-deal .nqm-dscr-main-card .nqmcf7-funnel.nqm-dscr-live-quote-entry:has(input[name="Loan_Goal"]) .nqmcf7-lead {
  display: block !important;
  margin: 0 0 18px !important;
  color: #536172 !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-funnel.nqm-dscr-live-quote-entry .nqmcf7-lead::after,
.nqm-funnel-page--dscr-paid .nqmcf7-funnel.nqm-dscr-live-quote-entry .nqmcf7-lead::after,
.nqm-v14-card .nqmcf7-funnel.nqm-dscr-live-quote-entry .nqmcf7-lead::after,
#main.nqm-funnel-page--dscr-deal .nqm-dscr-main-card .nqmcf7-funnel.nqm-dscr-live-quote-entry:has(input[name="Loan_Goal"]) .nqmcf7-lead::after {
  display: none !important;
  content: none !important;
}

.nqm-dscr-live-quote-contact .nqmcf7-note {
  font-size: 12px !important;
  line-height: 1.45 !important;
}

.nqm-dscr-quote-snapshot {
  display: grid !important;
  gap: 16px !important;
  margin: 24px 0 !important;
  padding: clamp(20px, 3vw, 30px) !important;
  border: 1px solid #cbd8cf !important;
  border-radius: 18px !important;
  background: linear-gradient(145deg, #ffffff 0%, #eef5ee 100%) !important;
  box-shadow: 0 16px 36px rgba(7, 27, 51, .08) !important;
  text-align: left !important;
}

.nqm-dscr-quote-snapshot__heading {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin: 0 !important;
}

.nqm-dscr-quote-snapshot__heading h2 {
  margin: 0 !important;
  color: #071b33 !important;
  font-size: clamp(25px, 3vw, 36px) !important;
  line-height: 1 !important;
}

.nqm-dscr-quote-snapshot__heading .nqm-dscr-snapshot-status {
  max-width: 430px !important;
  margin: 0 !important;
  color: #536172 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  text-align: right !important;
}

.nqm-dscr-snapshot-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 0 !important;
}

.nqm-dscr-snapshot-grid > .wp-block-group {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 14px !important;
  border: 1px solid rgba(7, 27, 51, .12) !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, .86) !important;
}

.nqm-dscr-snapshot-grid > .wp-block-group > p:first-child {
  margin: 0 0 6px !important;
  color: #536172 !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  letter-spacing: .08em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

.nqm-dscr-snapshot-grid .nqm-dscr-snapshot-value {
  margin: 0 !important;
  color: #071b33 !important;
  font-size: clamp(17px, 2vw, 23px) !important;
  font-weight: 1000 !important;
  line-height: 1.1 !important;
  overflow-wrap: anywhere !important;
}

.nqm-dscr-snapshot-disclosure {
  margin: 0 !important;
  color: #536172 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}

@media (max-width: 760px) {
  .nqm-funnel-page--dscr-deal .nqmcf7-funnel.nqm-dscr-live-quote-entry .nqmcf7-lead,
  .nqm-funnel-page--dscr-paid .nqmcf7-funnel.nqm-dscr-live-quote-entry .nqmcf7-lead,
  .nqm-v14-card .nqmcf7-funnel.nqm-dscr-live-quote-entry .nqmcf7-lead {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }

  .nqm-dscr-quote-snapshot {
    margin: 18px 0 !important;
    padding: 16px !important;
  }

  .nqm-dscr-quote-snapshot__heading {
    display: grid !important;
    gap: 8px !important;
  }

  .nqm-dscr-quote-snapshot__heading .nqm-dscr-snapshot-status {
    text-align: left !important;
  }

  .nqm-dscr-snapshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 380px) {
  .nqm-dscr-snapshot-grid {
    grid-template-columns: 1fr !important;
  }
}

/* DSCR final-step parity: address, contact capture, and office thank-you. */
.nqm-funnel-page--dscr-deal .nqm-dscr-address-step .nqmcf7-lead,
.nqm-funnel-page--dscr-deal .nqm-dscr-contact-step .nqmcf7-lead,
.nqm-funnel-page--dscr-paid .nqm-dscr-address-step .nqmcf7-lead,
.nqm-funnel-page--dscr-paid .nqm-dscr-contact-step .nqmcf7-lead {
  display: block !important;
  max-width: 760px !important;
  margin: 0 0 18px !important;
  color: #536172 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  text-align: left !important;
}

.nqm-funnel-page--dscr-deal .nqm-dscr-address-step .nqmcf7-lead::after,
.nqm-funnel-page--dscr-deal .nqm-dscr-contact-step .nqmcf7-lead::after,
.nqm-funnel-page--dscr-paid .nqm-dscr-address-step .nqmcf7-lead::after,
.nqm-funnel-page--dscr-paid .nqm-dscr-contact-step .nqmcf7-lead::after {
  content: none !important;
  display: none !important;
}

.nqm-dscr-address-step > p,
.nqm-dscr-contact-step > p,
.nqm-dscr-address-step .nqmcf7-field > p,
.nqm-dscr-contact-step .nqmcf7-field > p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.nqm-funnel-page--dscr-deal .nqm-dscr-address-step .nqmcf7-field,
.nqm-funnel-page--dscr-paid .nqm-dscr-address-step .nqmcf7-field,
.nqm-funnel-page--dscr-deal .nqm-dscr-contact-step .nqmcf7-field,
.nqm-funnel-page--dscr-paid .nqm-dscr-contact-step .nqmcf7-field {
  height: auto !important;
  margin: 10px 0 !important;
}

.nqm-funnel-page--dscr-deal .nqm-dscr-address-step .nqmcf7-field-grid.is-three,
.nqm-funnel-page--dscr-paid .nqm-dscr-address-step .nqmcf7-field-grid.is-three {
  display: grid !important;
  grid-template-columns: minmax(0, 2fr) minmax(100px, .72fr) minmax(130px, 1fr) !important;
  gap: 12px !important;
  align-items: start !important;
}

.nqm-funnel-page--dscr-deal .nqm-dscr-address-step .nqmcf7-field-grid.is-three > .nqmcf7-field,
.nqm-funnel-page--dscr-paid .nqm-dscr-address-step .nqmcf7-field-grid.is-three > .nqmcf7-field {
  display: block !important;
  min-width: 0 !important;
  height: auto !important;
}

.nqm-dscr-address-step .nqm-dscr-address-skip {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 14px 0 0 !important;
}

.nqm-dscr-address-step .nqm-dscr-address-skip .wpcf7-form-control-wrap,
.nqm-dscr-address-step .nqm-dscr-address-skip .wpcf7-checkbox,
.nqm-dscr-address-step .nqm-dscr-address-skip .wpcf7-list-item {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}

.nqm-dscr-address-step .nqm-dscr-address-skip label.nqm-dscr-plain-check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center !important;
  gap: 11px !important;
  width: 100% !important;
  height: auto !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  border: 1px solid #cbd8cf !important;
  border-radius: 8px !important;
  background: #f7faf6 !important;
  box-shadow: none !important;
  color: #071b33 !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  line-height: 1.3 !important;
  cursor: pointer !important;
}

.nqm-dscr-address-step .nqm-dscr-address-skip label.nqm-dscr-plain-check::before,
.nqm-dscr-address-step .nqm-dscr-address-skip label.nqm-dscr-plain-check::after {
  content: none !important;
  display: none !important;
}

.nqm-dscr-address-step .nqm-dscr-address-skip label.nqm-dscr-plain-check input[type="checkbox"] {
  position: static !important;
  display: block !important;
  flex: 0 0 22px !important;
  width: 22px !important;
  min-width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  clip: auto !important;
  clip-path: none !important;
  border: 0 !important;
  opacity: 1 !important;
  appearance: auto !important;
  accent-color: #071b33 !important;
  box-shadow: none !important;
  pointer-events: auto !important;
  transform: none !important;
}

.nqm-dscr-contact-step .nqm-dscr-contact-fields {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 2px 12px !important;
}

.nqm-dscr-contact-step .nqm-dscr-submit-consent {
  margin: 14px 0 0 !important;
  padding: 12px 14px !important;
  border-left: 4px solid #a8b99f !important;
  border-radius: 8px !important;
  background: #f7faf6 !important;
  color: #536172 !important;
}

.nqm-dscr-contact-step .nqm-dscr-submit-consent p {
  margin: 0 !important;
  color: inherit !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}

.nqm-dscr-contact-step .nqmcf7-nav .wpcf7-submit {
  min-width: 0 !important;
  box-shadow: none !important;
}

.nqm-dscr-contact-step .nqmcf7-nav .wpcf7-submit:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}

.nqm-dscr-address-step .nqmcf7-nav,
.nqm-dscr-contact-step .nqmcf7-nav {
  display: block !important;
  width: 100% !important;
}

.nqm-dscr-address-step .nqmcf7-nav > p,
.nqm-dscr-contact-step .nqmcf7-nav > p {
  display: grid !important;
  grid-template-columns: auto minmax(190px, auto) !important;
  justify-content: start !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 !important;
}

.nqm-dscr-address-step .nqmcf7-nav .wpcf7-previous,
.nqm-dscr-contact-step .nqmcf7-nav .wpcf7-previous {
  grid-column: 1 !important;
  width: auto !important;
  min-width: 88px !important;
}

.nqm-dscr-address-step .nqmcf7-nav .wpcf7-submit,
.nqm-dscr-contact-step .nqmcf7-nav .wpcf7-submit {
  grid-column: 2 !important;
  width: 100% !important;
  min-width: 190px !important;
}

.nqm-dscr-address-step .nqmcf7-nav .wpcf7-spinner,
.nqm-dscr-contact-step .nqmcf7-nav .wpcf7-spinner {
  display: none !important;
}

.nqm-dscr-thankyou-native .nqm-dscr-thank-call h2 {
  margin: 0 !important;
  color: #071b33 !important;
  font-size: 22px !important;
  line-height: 1.15 !important;
}

.nqm-dscr-thankyou-native .nqm-dscr-thank-call p {
  margin: 0 !important;
  color: #536172 !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

.nqm-dscr-thankyou-native .nqm-dscr-thank-call .wp-block-buttons {
  margin: 2px 0 0 !important;
}

.nqm-dscr-thankyou-native .nqm-dscr-thank-call .wp-block-button__link {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 50px !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  background: #071b33 !important;
  color: #fff !important;
  font-weight: 950 !important;
  text-decoration: none !important;
}

.nqm-dscr-thankyou-native .nqm-dscr-next-grid > .wp-block-group {
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr) !important;
  gap: 4px 10px !important;
  align-content: start !important;
  margin: 0 !important;
  padding: 16px !important;
  border: 1px solid #cbd8cf !important;
  border-radius: 8px !important;
  background: #fff !important;
  text-align: left !important;
}

.nqm-dscr-thankyou-native .nqm-dscr-next-grid .nqm-dscr-next-number {
  grid-row: 1 / span 2 !important;
  display: grid !important;
  place-items: center !important;
  width: 34px !important;
  height: 34px !important;
  margin: 0 !important;
  border-radius: 50% !important;
  background: #f6c85f !important;
  color: #071b33 !important;
  font-weight: 950 !important;
}

.nqm-dscr-thankyou-native .nqm-dscr-next-grid h3 {
  margin: 0 !important;
  color: #071b33 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
}

.nqm-dscr-thankyou-native .nqm-dscr-next-grid h3 + p {
  grid-column: 2 !important;
  margin: 0 !important;
  color: #536172 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

@media (max-width: 680px) {
  .nqm-funnel-page--dscr-deal .nqm-dscr-address-step h1,
  .nqm-funnel-page--dscr-deal .nqm-dscr-contact-step h1,
  .nqm-funnel-page--dscr-paid .nqm-dscr-address-step h1,
  .nqm-funnel-page--dscr-paid .nqm-dscr-contact-step h1 {
    margin-bottom: 10px !important;
    font-size: clamp(34px, 10.5vw, 42px) !important;
    line-height: 1 !important;
  }

  .nqm-funnel-page--dscr-deal .nqm-dscr-address-step .nqmcf7-lead,
  .nqm-funnel-page--dscr-deal .nqm-dscr-contact-step .nqmcf7-lead,
  .nqm-funnel-page--dscr-paid .nqm-dscr-address-step .nqmcf7-lead,
  .nqm-funnel-page--dscr-paid .nqm-dscr-contact-step .nqmcf7-lead {
    margin-bottom: 14px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
  }

  .nqm-funnel-page--dscr-deal .nqm-dscr-address-step .nqmcf7-field-grid.is-three,
  .nqm-funnel-page--dscr-paid .nqm-dscr-address-step .nqmcf7-field-grid.is-three,
  .nqm-dscr-contact-step .nqm-dscr-contact-fields {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .nqm-funnel-page--dscr-deal .nqm-dscr-address-step .nqmcf7-field,
  .nqm-funnel-page--dscr-paid .nqm-dscr-address-step .nqmcf7-field,
  .nqm-funnel-page--dscr-deal .nqm-dscr-contact-step .nqmcf7-field,
  .nqm-funnel-page--dscr-paid .nqm-dscr-contact-step .nqmcf7-field {
    margin: 7px 0 !important;
  }

  .nqm-dscr-address-step .nqm-dscr-address-skip {
    margin-top: 10px !important;
  }

  .nqm-dscr-contact-step .nqmcf7-nav {
    display: block !important;
  }

  .nqm-dscr-address-step .nqmcf7-nav > p,
  .nqm-dscr-contact-step .nqmcf7-nav > p {
    grid-template-columns: minmax(88px, .72fr) minmax(0, 1.5fr) !important;
    gap: 8px !important;
  }

  .nqm-dscr-address-step .nqmcf7-nav .wpcf7-previous,
  .nqm-dscr-address-step .nqmcf7-nav .wpcf7-submit,
  .nqm-dscr-contact-step .nqmcf7-nav .wpcf7-previous,
  .nqm-dscr-contact-step .nqmcf7-nav .wpcf7-submit {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 56px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
    white-space: normal !important;
  }

  .nqm-dscr-thankyou-native > h1 {
    font-size: clamp(36px, 11vw, 46px) !important;
  }
}

/* Closed-End Second: restore the approved trust and consumer-resource blocks. */
.nqm-main .nqm-b4-program .nqm-b4-trust {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 17px 0 0 !important;
}

.nqm-main .nqm-b4-program .nqm-b4-trust > span {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 7px 8px !important;
  border: 1px solid #cbd8cf !important;
  border-radius: 14px !important;
  background: #fbfaf4 !important;
  color: #071b33 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
}

.nqm-main .nqm-b4-program .nqm-b4-grid--two.nqm-b4-context-grid {
  grid-template-columns: minmax(0, 1fr) !important;
}

.nqm-main .nqm-b4-program .nqm-b4-context-grid > * {
  box-sizing: border-box !important;
  width: 100% !important;
}

.nqm-main .nqm-b4-program .nqm-b4-resources {
  padding: clamp(26px, 4vw, 38px) !important;
  border: 1px solid rgba(7, 27, 51, .14) !important;
  border-radius: 28px !important;
  background: #f7faf6 !important;
  color: #0e1a2b !important;
}

.nqm-main .nqm-b4-program .nqm-b4-resources > .nqm-b4-kicker {
  margin: 0 !important;
}

.nqm-main .nqm-b4-program .nqm-b4-resource-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 1px !important;
}

.nqm-main .nqm-b4-program .nqm-b4-resource-links a {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-height: 50px !important;
  padding: 11px 16px !important;
  border: 1px solid rgba(7, 27, 51, .14) !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #071b33 !important;
  font-size: 16px !important;
  font-weight: 850 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
}

@media (max-width: 700px) {
  .nqm-main .nqm-b4-program .nqm-b4-trust > span {
    font-size: 11px !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-resources {
    padding: 22px 19px !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-resource-links {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-resource-links a {
    width: 100% !important;
    font-size: 14px !important;
  }
}

/* Home Equity: CF7 wraps Back and Next in a paragraph; make that wrapper the row. */
.nqm-funnel-page--equity .nqm-funnel-card-native .nqmcf7-nav > p:has(> .wpcf7-previous) {
  box-sizing: border-box !important;
  position: relative !important;
  grid-column: 1 / -1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 !important;
}

.nqm-funnel-page--equity .nqm-funnel-card-native .nqmcf7-nav > p:has(> .wpcf7-previous) > .wpcf7-previous {
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 58px !important;
  margin: 0 !important;
}

.nqm-funnel-page--equity .nqm-funnel-card-native .nqmcf7-nav > p:has(> .wpcf7-previous) > .wpcf7-submit {
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 180px !important;
  min-height: 58px !important;
  margin: 0 !important;
}

.nqm-funnel-page--equity .nqm-funnel-card-native .nqmcf7-nav > p:has(> .wpcf7-previous) > .wpcf7-spinner {
  position: absolute !important;
  top: 50% !important;
  right: 14px !important;
  margin: 0 !important;
  transform: translateY(-50%) !important;
}

/* Phone header: remove the empty action slot so the menu sits at the right edge. */
@media (max-width: 640px) {
  .nqm-header__inner > .nqm-actions {
    display: none !important;
  }
}

/* Closed-End Second: approved HTML content and responsive form parity. */
.nqm-funnel-page--equity.nqm-equity-html-parity .nqmcf7-funnel {
  width: 100% !important;
  max-width: 760px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqmcf7-kicker {
  display: block !important;
  margin-bottom: 8px !important;
  color: #2f6b4f !important;
  font-weight: 900 !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqmcf7-options {
  max-width: 714px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqmcf7-options.nqm-equity-options--single .wpcf7-form-control {
  grid-template-columns: minmax(0, 1fr) !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqmcf7-options.nqm-equity-options--double .wpcf7-form-control {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqmcf7-options .wpcf7-list-item label {
  min-height: 78px !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-choice-copy-native small {
  margin-top: 4px !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-chips {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 714px !important;
  margin: 10px auto 18px !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-chip {
  box-sizing: border-box !important;
  min-width: 0 !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 7px 9px !important;
  border: 1px solid var(--nqm-fr-line) !important;
  border-radius: 999px !important;
  background: #eef5ee !important;
  color: var(--nqm-fr-navy) !important;
  box-shadow: 0 5px 14px rgba(7, 27, 51, .05) !important;
  font-family: inherit !important;
  font-size: 12.5px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  cursor: pointer !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-chip:hover,
.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-chip:focus-visible,
.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-chip.is-active {
  border-color: var(--nqm-fr-gold) !important;
  background: #fff9e8 !important;
  box-shadow: 0 0 0 3px rgba(246, 200, 95, .22) !important;
  outline: 0 !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity[data-nqm-equity-step="requested-amount"] .nqm-live-cltv-card {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 714px !important;
  margin: 12px auto 6px !important;
  padding: 14px !important;
  border: 1px solid rgba(168, 185, 159, .75) !important;
  border-radius: 17px !important;
  background: transparent !important;
  box-shadow: 0 8px 20px rgba(7, 27, 51, .05) !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity[data-nqm-equity-step="requested-amount"] .nqm-live-cltv-card dl {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 12px 0 0 !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity[data-nqm-equity-step="requested-amount"] .nqm-live-cltv-card dl > div {
  box-sizing: border-box !important;
  min-width: 0 !important;
  padding: 10px 9px !important;
  border: 1px solid rgba(203, 216, 207, .8) !important;
  border-radius: 13px !important;
  background: #fff !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity[data-nqm-equity-step="requested-amount"] .nqm-live-cltv-card dt {
  font-size: 9px !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity[data-nqm-equity-step="requested-amount"] .nqm-live-cltv-card dd {
  margin: 2px 0 0 !important;
  font-size: 13px !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-fields-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  max-width: 714px !important;
  margin: 16px auto !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-field {
  min-width: 0 !important;
  margin: 0 !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-field--wide {
  grid-column: 1 / -1 !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-field input,
.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-field select {
  width: 100% !important;
  min-width: 0 !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-location-note,
.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-contact-intro {
  max-width: 714px !important;
  margin: 14px auto !important;
  padding: 14px 16px !important;
  border: 1px solid #cfe2d2 !important;
  border-radius: 8px !important;
  background: #f3f8f3 !important;
  color: var(--nqm-fr-navy) !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-location-note {
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.45 !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-contact-intro strong {
  display: block !important;
  margin-bottom: 4px !important;
  font-size: 16px !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-contact-intro p {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-contact-cltv-hidden,
.nqm-funnel-page--equity.nqm-equity-html-parity .wpcf7-list-item[hidden] {
  display: none !important;
}

.nqm-funnel-page--equity.nqm-equity-html-parity .nqmcf7-nav {
  max-width: 714px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

@media (max-width: 700px) {
  .nqm-funnel-page--equity.nqm-equity-html-parity .nqmcf7-options.nqm-equity-options--double .wpcf7-form-control,
  .nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-fields-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-chip {
    min-height: 40px !important;
    padding: 7px 8px !important;
    font-size: 12px !important;
  }

  .nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .nqm-funnel-page--equity.nqm-equity-html-parity[data-nqm-equity-step="requested-amount"] .nqm-live-cltv-card {
    padding: 13px !important;
  }

  .nqm-funnel-page--equity.nqm-equity-html-parity[data-nqm-equity-step="requested-amount"] .nqm-live-cltv-card dl {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 7px !important;
  }

  .nqm-funnel-page--equity.nqm-equity-html-parity[data-nqm-equity-step="requested-amount"] .nqm-live-cltv-card dl > div {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    min-height: 41px !important;
    padding: 9px 10px !important;
  }

  .nqm-funnel-page--equity.nqm-equity-html-parity .nqm-equity-field--wide {
    grid-column: auto !important;
  }
}

/* Approved HTML parity: expense inputs use compact native checkbox rows. */
.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) {
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  align-items: start !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) > .nqmcf7-field {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  margin: 7px 0 !important;
  padding: 10px !important;
  border: 1px solid #d7e1da !important;
  border-radius: 16px !important;
  background: #fff !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) > .nqmcf7-field > p {
  margin: 0 !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) > .nqmcf7-field > p > label {
  display: block !important;
  margin: 0 !important;
  color: var(--nqm-fr-navy) !important;
  font-size: 13px !important;
  font-weight: 1000 !important;
  line-height: 1.25 !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) > .nqmcf7-field > p input[type="text"] {
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 48px !important;
  margin-top: 6px !important;
  padding: 10px 12px !important;
  border: 2px solid #d7e1da !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 6px 18px rgba(7, 27, 51, .05) !important;
  font-size: 16px !important;
  font-weight: 850 !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 7px 0 0 !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check > p,
.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check .wpcf7-form-control-wrap,
.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check .wpcf7-checkbox,
.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check .wpcf7-list-item {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check label {
  box-sizing: border-box !important;
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 9px 10px !important;
  border: 2px solid #d7e1da !important;
  border-radius: 13px !important;
  background: #f9fcf8 !important;
  box-shadow: none !important;
  color: var(--nqm-fr-navy) !important;
  font-size: 13px !important;
  font-weight: 1000 !important;
  line-height: 1.2 !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check label:hover,
.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check label:focus-within,
.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check label.is-selected,
.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check label:has(input:checked) {
  border-color: var(--nqm-fr-sage) !important;
  background: #f1f6f2 !important;
  box-shadow: none !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check input[type="checkbox"] {
  position: static !important;
  display: block !important;
  flex: 0 0 22px !important;
  width: 22px !important;
  min-width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  clip: auto !important;
  clip-path: none !important;
  border: 0 !important;
  border-radius: 4px !important;
  opacity: 1 !important;
  appearance: auto !important;
  accent-color: var(--nqm-fr-navy) !important;
  box-shadow: none !important;
  pointer-events: auto !important;
  transform: none !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check .nqm-choice-icon,
.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check .nqm-choice-arrow {
  display: none !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check .nqm-choice-copy {
  display: block !important;
  min-width: 0 !important;
}

.nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three:has(input[name="Annual_Taxes"]) .nqmcf7-check .nqm-choice-copy strong {
  margin: 0 !important;
  color: var(--nqm-fr-navy) !important;
  font-size: 13px !important;
  font-weight: 1000 !important;
  line-height: 1.18 !important;
}

/* DSCR step controls: keep navigation readable and the two desktop columns level. */
.nqm-funnel-page--dscr-deal .nqmcf7-nav > p {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

@media (min-width: 981px) {
  .nqm-funnel-page--dscr-deal .nqm-dscr-deal-shell {
    align-items: stretch !important;
  }

  .nqm-funnel-page--dscr-deal .nqm-dscr-side,
  .nqm-funnel-page--dscr-deal .nqm-dscr-main-card {
    box-sizing: border-box !important;
    align-self: stretch !important;
    height: auto !important;
  }

  .nqm-funnel-page--dscr-deal .nqm-dscr-side {
    margin-bottom: 0 !important;
  }

  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
  }

  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three > .nqmcf7-field {
    min-width: 0 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three > .nqmcf7-field > p {
    min-width: 0 !important;
  }

  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three .nqmcf7-check {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 148px !important;
    margin-top: auto !important;
  }

  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three .nqmcf7-check > p,
  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three .nqmcf7-check .wpcf7-form-control-wrap,
  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three .nqmcf7-check .wpcf7-checkbox,
  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three .nqmcf7-check .wpcf7-list-item {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
  }

  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three .nqmcf7-check label {
    box-sizing: border-box !important;
    display: grid !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
  }
}

@media (max-width: 980px) {
  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three .nqmcf7-check {
    box-sizing: border-box !important;
    height: 112px !important;
  }

  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three .nqmcf7-check > p,
  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three .nqmcf7-check .wpcf7-form-control-wrap,
  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three .nqmcf7-check .wpcf7-checkbox,
  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three .nqmcf7-check .wpcf7-list-item {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
  }

  .nqm-funnel-page--dscr-deal .nqmcf7-field-grid.is-three .nqmcf7-check label {
    box-sizing: border-box !important;
    display: grid !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
  }
}

@media (max-width: 620px) {
  .nqm-quick-quote-page {
    padding-top: 34px !important;
  }

  .nqm-quick-quote-page .nqm-quick-intro h1 {
    font-size: 38px !important;
  }

  .nqm-quick-quote-page .nqm-quick-desk-panel {
    padding: 24px 18px !important;
  }

  .nqm-funnel-trust-native {
    grid-template-columns: 1fr !important;
  }

  .nqm-specialty-entry__actions a {
    width: 100% !important;
  }

  .nqm-specialty-entry__proof {
    display: grid !important;
    gap: 7px !important;
  }

  .nqm-dscr-calculator {
    width: calc(100% - 20px);
    margin: 20px auto 34px;
    padding: 20px 14px;
    border-radius: 8px;
  }

  .nqm-dscr-calculator__fields {
    grid-template-columns: 1fr;
  }

  .nqm-dscr-calculator__heading h2 {
    font-size: 34px;
  }

  .nqm-dscr-calculator__result > strong {
    font-size: 56px;
  }

  .nqm-dscr-calculator__form button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nqm-funnel-page--dscr-deal *,
  .nqm-funnel-page--dscr-paid *,
  .nqm-funnel-page--income *,
  .nqm-funnel-page--equity *,
  .nqm-funnel-page--specialty * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Content centers: restore the approved HTML geometry after theme fallbacks. */
.nqm-main .nqm-site {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing: 0 !important;
}

.nqm-main .nqm-site .nqm-hero {
  width: auto !important;
  max-width: 1220px !important;
  margin: 0 auto !important;
  padding: 70px 24px 42px !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .72fr) !important;
  gap: 30px !important;
}

.nqm-main .nqm-site .nqm-hero__copy {
  padding: clamp(34px, 5vw, 64px) !important;
  border-radius: 34px !important;
}

.nqm-main .nqm-site .nqm-hero h1 {
  max-width: 920px !important;
  margin: .18em 0 .22em !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: clamp(2.8rem, 6.5vw, 6.2rem) !important;
  line-height: .92 !important;
  letter-spacing: -.075em !important;
}

.nqm-main .nqm-site .nqm-content-stack,
.nqm-main .nqm-site .nqm-faq {
  width: auto !important;
  max-width: 1040px !important;
}

.nqm-main .nqm-site .nqm-content-panel h2,
.nqm-main .nqm-site .nqm-faq h2,
.nqm-main .nqm-site .nqm-final-cta h2 {
  margin: 0 0 14px !important;
  font-size: clamp(1.85rem, 3.5vw, 3.35rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.05em !important;
}

.nqm-main .nqm-site .nqm-final-cta {
  width: auto !important;
  max-width: 1220px !important;
  margin: 34px auto 0 !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 24px !important;
}

/* Program directory: match the approved full-band introduction and compact cards. */
.nqm-main .nqm-program-directory .nqm-b2-hero--programs {
  min-height: 0 !important;
  padding: 88px max(20px, calc((100vw - 1200px) / 2)) 50px !important;
  background: radial-gradient(circle at 84% 10%, rgba(246, 200, 95, .3), transparent 30%), linear-gradient(135deg, #071b33, #102a44) !important;
}

.nqm-main .nqm-program-directory .nqm-b2-hero--programs h1 {
  max-width: 900px !important;
  margin: 0 0 16px !important;
  font-size: clamp(2.8rem, 6vw, 5.8rem) !important;
  line-height: .92 !important;
  letter-spacing: -.075em !important;
}

.nqm-main .nqm-program-directory .nqm-b2-hero--programs > p:not(.nqm-b2-kicker) {
  max-width: 800px !important;
  font-size: 1.22rem !important;
  line-height: 1.55 !important;
}

.nqm-main .nqm-program-directory .nqm-b2-program-grid {
  width: min(1200px, calc(100% - 40px)) !important;
  margin: 0 auto !important;
  padding: 65px 0 !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.nqm-main .nqm-program-directory .nqm-b2-program-card {
  min-height: 0 !important;
  border-radius: 26px !important;
}

.nqm-main .nqm-program-directory .nqm-b2-program-card__media {
  width: 100% !important;
  height: 170px !important;
  aspect-ratio: auto !important;
}

.nqm-main .nqm-program-directory .nqm-b2-program-card__body {
  padding: 22px !important;
}

.nqm-main .nqm-program-directory .nqm-b2-program-card h2 {
  margin: 0 0 12px !important;
  font-size: 1.35rem !important;
  line-height: 1.05 !important;
  letter-spacing: -.02em !important;
}

/* Shared specialist/core-page heading lock. */
.nqm-main .nqm-specialist-page .nqm-b2-wrap {
  width: min(1220px, calc(100% - 38px)) !important;
}

.nqm-main .nqm-specialist-page .nqm-b2-hero h1,
.nqm-main .nqm-specialist-page .nqm-b2-panel h1 {
  margin: 0 0 16px !important;
  font-size: clamp(2.6rem, 5.8vw, 5.9rem) !important;
  line-height: .92 !important;
  letter-spacing: -.075em !important;
}

.nqm-main .nqm-specialist-page .nqm-b2-info-panel h2,
.nqm-main .nqm-specialist-page .nqm-b2-process h2 {
  line-height: 1.05 !important;
  letter-spacing: -.04em !important;
}

/* Program detail pages: use the approved 1200px hero and 1100px reading center. */
.nqm-main .nqm-b4-program {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  line-height: 1.6 !important;
  letter-spacing: 0 !important;
}

.nqm-main .nqm-b4-program .nqm-b4-crumbs,
.nqm-main .nqm-b4-program .nqm-b4-hero,
.nqm-main .nqm-b4-program .nqm-b4-proof {
  width: min(1200px, calc(100% - 40px)) !important;
}

.nqm-main .nqm-b4-program .nqm-b4-crumbs {
  padding: 24px 0 14px !important;
}

.nqm-main .nqm-b4-program .nqm-b4-hero {
  margin: 0 auto 28px !important;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .76fr) !important;
  gap: 24px !important;
}

.nqm-main .nqm-b4-program .nqm-b4-hero__copy {
  padding: clamp(34px, 5vw, 64px) !important;
  border-radius: 34px !important;
}

.nqm-main .nqm-b4-program .nqm-b4-hero h1 {
  margin: .18em 0 .28em !important;
  font-size: clamp(2.8rem, 6.1vw, 5.8rem) !important;
  line-height: .92 !important;
  letter-spacing: -.075em !important;
}

.nqm-main .nqm-b4-program .nqm-b4-lede {
  font-size: clamp(1.05rem, 1.7vw, 1.32rem) !important;
  line-height: 1.6 !important;
}

.nqm-main .nqm-b4-program .nqm-b4-hero__media {
  min-height: 520px !important;
  border-radius: 34px !important;
}

.nqm-main .nqm-b4-program .nqm-b4-overview,
.nqm-main .nqm-b4-program .nqm-b4-grid--two,
.nqm-main .nqm-b4-program .nqm-b4-process,
.nqm-main .nqm-b4-program .nqm-b4-faq,
.nqm-main .nqm-b4-program .nqm-b4-final {
  width: min(1100px, calc(100% - 40px)) !important;
  margin: 24px auto !important;
}

.nqm-main .nqm-b4-program .nqm-b4-overview {
  grid-template-columns: 1fr !important;
  gap: 18px !important;
}

.nqm-main .nqm-b4-program .nqm-b4-overview,
.nqm-main .nqm-b4-program .nqm-b4-process,
.nqm-main .nqm-b4-program .nqm-b4-faq {
  padding: clamp(24px, 4vw, 42px) !important;
  border-radius: 30px !important;
}

.nqm-main .nqm-b4-program .nqm-b4-overview h2,
.nqm-main .nqm-b4-program .nqm-b4-process h2,
.nqm-main .nqm-b4-program .nqm-b4-related h2,
.nqm-main .nqm-b4-program .nqm-b4-faq > h2,
.nqm-main .nqm-b4-program .nqm-b4-final h2 {
  margin: .15em 0 !important;
  font-size: clamp(2rem, 4vw, 3.4rem) !important;
  line-height: 1 !important;
  letter-spacing: -.055em !important;
}

.nqm-main .nqm-b4-program .nqm-b4-list h2 {
  margin: 0 0 18px !important;
  font-size: 1.55rem !important;
  line-height: 1.1 !important;
  letter-spacing: -.035em !important;
}

.nqm-main .nqm-b4-program .nqm-b4-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.nqm-main .nqm-b4-program .nqm-b4-list,
.nqm-main .nqm-b4-program .nqm-b4-related {
  padding: 26px !important;
  border-radius: 28px !important;
}

.nqm-main .nqm-b4-program .nqm-b4-final {
  padding: clamp(28px, 4vw, 46px) !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 24px !important;
  border-radius: 30px !important;
}

/* Legal and utility pages: fix type rhythm and two unconstrained content rows. */
.nqm-main .nqm-legal-page,
.nqm-main .nqm-utility-page {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing: 0 !important;
}

.nqm-main .nqm-legal-page .nqm-legal-hero,
.nqm-main .nqm-utility-page .nqm-utility-hero {
  width: min(1160px, 100%) !important;
  margin: 0 auto 24px !important;
  padding: clamp(30px, 5vw, 62px) !important;
  border-radius: 34px !important;
}

.nqm-main .nqm-legal-page .nqm-legal-hero h1,
.nqm-main .nqm-utility-page .nqm-utility-hero h1 {
  max-width: 920px !important;
  margin: .08em 0 .22em !important;
  font-size: clamp(2.8rem, 6vw, 6rem) !important;
  line-height: .92 !important;
  letter-spacing: -.075em !important;
}

.nqm-main .nqm-legal-page .nqm-legal-content,
.nqm-main .nqm-utility-page .nqm-utility-grid,
.nqm-main .nqm-legal-page > .nqm-content-panel,
.nqm-main .nqm-contact-page > .nqm-b2-route-grid,
.nqm-main .nqm-utility-page .nqm-utility-form,
.nqm-main .nqm-legal-page .nqm-legal-cta {
  width: min(1040px, 100%) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.nqm-main .nqm-legal-page > .nqm-content-panel {
  margin-top: 22px !important;
}

.nqm-main .nqm-contact-page > .nqm-b2-route-grid {
  margin-top: 0 !important;
  margin-bottom: 22px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.nqm-main .nqm-legal-page .nqm-legal-card h2,
.nqm-main .nqm-utility-page .nqm-utility-grid h2,
.nqm-main .nqm-utility-page .nqm-utility-form h2,
.nqm-main .nqm-legal-page .nqm-legal-cta h2 {
  margin: 0 0 10px !important;
  font-size: clamp(1.45rem, 3vw, 2.45rem) !important;
  line-height: 1.03 !important;
  letter-spacing: -.055em !important;
}

/* DSCR rates: retain the approved display tracking inside its custom page. */
.nqm-main #nqm-dscr-rates-v7241 .hero h1,
.nqm-main #nqm-dscr-rates-v7241 .nq-desktop-heading,
.nqm-main #nqm-dscr-rates-v7241 .nq-mobile-heading {
  line-height: .91 !important;
  letter-spacing: -.072em !important;
}

.nqm-main #nqm-dscr-rates-v7241 .nq-section-heading,
.nqm-main #nqm-dscr-rates-v7241 .section-head h2 {
  font-size: clamp(2.3rem, 5vw, 4.5rem) !important;
  line-height: .96 !important;
  letter-spacing: -.06em !important;
}

@media (max-width: 1050px) {
  .nqm-main .nqm-b4-program .nqm-b4-hero,
  .nqm-main .nqm-b4-program .nqm-b4-overview,
  .nqm-main .nqm-b4-program .nqm-b4-grid--two,
  .nqm-main .nqm-b4-program .nqm-b4-final {
    grid-template-columns: 1fr !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-hero__media {
    min-height: 420px !important;
  }

  .nqm-main .nqm-contact-page > .nqm-b2-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .nqm-main .nqm-site .nqm-hero {
    padding-top: 30px !important;
    grid-template-columns: 1fr !important;
  }

  .nqm-main .nqm-site .nqm-hero-card {
    order: -1 !important;
  }

  .nqm-main .nqm-site .nqm-hero h1 {
    font-size: clamp(2.4rem, 12vw, 4.1rem) !important;
  }

  .nqm-main .nqm-site .nqm-final-cta {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 820px) {
  .nqm-main .nqm-legal-page .nqm-legal-content,
  .nqm-main .nqm-utility-page .nqm-utility-grid,
  .nqm-main .nqm-legal-page .nqm-legal-cta,
  .nqm-main .nqm-utility-page .nqm-utility-form {
    grid-template-columns: 1fr !important;
  }

  .nqm-main .nqm-legal-page .nqm-legal-hero,
  .nqm-main .nqm-utility-page .nqm-utility-hero {
    padding: 30px 22px !important;
  }

  .nqm-main .nqm-legal-page .nqm-legal-hero h1,
  .nqm-main .nqm-utility-page .nqm-utility-hero h1 {
    font-size: clamp(2.35rem, 12vw, 4rem) !important;
  }
}

@media (max-width: 700px) {
  .nqm-main .nqm-b4-program .nqm-b4-crumbs,
  .nqm-main .nqm-b4-program .nqm-b4-hero,
  .nqm-main .nqm-b4-program .nqm-b4-proof,
  .nqm-main .nqm-b4-program .nqm-b4-overview,
  .nqm-main .nqm-b4-program .nqm-b4-grid--two,
  .nqm-main .nqm-b4-program .nqm-b4-process,
  .nqm-main .nqm-b4-program .nqm-b4-faq,
  .nqm-main .nqm-b4-program .nqm-b4-final {
    width: min(100% - 24px, 620px) !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-crumbs {
    padding: 12px 0 8px !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-hero {
    margin-bottom: 16px !important;
    gap: 18px !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-hero__copy {
    padding: 24px 20px !important;
    border-radius: 26px !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-hero h1 {
    margin: .18em 0 .4em !important;
    font-size: clamp(2rem, 8vw, 2.55rem) !important;
    line-height: .98 !important;
    letter-spacing: -.062em !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-lede {
    font-size: 15.5px !important;
    line-height: 1.5 !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    margin-top: 21px !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-btn {
    width: 100% !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-hero__media {
    min-height: 315px !important;
    border-radius: 26px !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-overview,
  .nqm-main .nqm-b4-program .nqm-b4-grid--two,
  .nqm-main .nqm-b4-program .nqm-b4-process,
  .nqm-main .nqm-b4-program .nqm-b4-faq,
  .nqm-main .nqm-b4-program .nqm-b4-final {
    margin: 16px auto !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-overview,
  .nqm-main .nqm-b4-program .nqm-b4-process,
  .nqm-main .nqm-b4-program .nqm-b4-faq {
    padding: 22px 19px !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-list,
  .nqm-main .nqm-b4-program .nqm-b4-related {
    padding: 22px 19px !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-final {
    padding: 24px 20px !important;
  }

  .nqm-main .nqm-b4-program .nqm-b4-overview h2,
  .nqm-main .nqm-b4-program .nqm-b4-process h2,
  .nqm-main .nqm-b4-program .nqm-b4-related h2,
  .nqm-main .nqm-b4-program .nqm-b4-faq > h2,
  .nqm-main .nqm-b4-program .nqm-b4-final h2 {
    font-size: clamp(1.8rem, 9vw, 2.65rem) !important;
  }
}

@media (max-width: 680px) {
  .nqm-main .nqm-program-directory .nqm-b2-hero--programs {
    padding: 34px 14px 30px !important;
  }

  .nqm-main .nqm-program-directory .nqm-b2-hero--programs h1 {
    margin: .2em 0 .42em !important;
    font-size: clamp(2.05rem, 8.5vw, 2.65rem) !important;
    line-height: .98 !important;
    letter-spacing: -.06em !important;
  }

  .nqm-main .nqm-program-directory .nqm-b2-hero--programs > p:not(.nqm-b2-kicker) {
    font-size: 15.5px !important;
    line-height: 1.5 !important;
  }

  .nqm-main .nqm-program-directory .nqm-b2-program-grid {
    width: min(100% - 24px, 620px) !important;
    padding: 24px 0 !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .nqm-main .nqm-program-directory .nqm-b2-program-card {
    border-radius: 22px !important;
  }

  .nqm-main .nqm-program-directory .nqm-b2-program-card__media {
    height: 176px !important;
  }

  .nqm-main .nqm-program-directory .nqm-b2-program-card__body {
    padding: 18px !important;
  }

  .nqm-main .nqm-program-directory .nqm-b2-program-card h2 {
    font-size: 1.25rem !important;
  }

  .nqm-main .nqm-specialist-page .nqm-b2-wrap {
    width: min(100% - 28px, 620px) !important;
  }

  .nqm-main .nqm-specialist-page .nqm-b2-hero h1,
  .nqm-main .nqm-specialist-page .nqm-b2-panel h1 {
    font-size: clamp(2.2rem, 12vw, 3.8rem) !important;
  }

  .nqm-main .nqm-contact-page > .nqm-b2-route-grid {
    grid-template-columns: 1fr !important;
  }

  .nqm-main #nqm-dscr-rates-v7241 .nq-section-heading,
  .nqm-main #nqm-dscr-rates-v7241 .section-head h2 {
    font-size: 2.45rem !important;
  }
}

@media (max-width: 520px) {
  .nqm-main .nqm-site .nqm-hero {
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  .nqm-main .nqm-site .nqm-content-stack,
  .nqm-main .nqm-site .nqm-faq,
  .nqm-main .nqm-site .nqm-final-cta {
    margin-right: 14px !important;
    margin-left: 14px !important;
  }
}

/* Beat the theme's ID-specific typography fallback on content pages. */
body:not(#nqm-typography-lock) .nqm-main .nqm-site .nqm-hero h1 {
  margin: .18em 0 .22em !important;
  font-size: clamp(2.8rem, 6.5vw, 6.2rem) !important;
  line-height: .92 !important;
  letter-spacing: -.075em !important;
}

body:not(#nqm-typography-lock) .nqm-main .nqm-site .nqm-content-panel h2,
body:not(#nqm-typography-lock) .nqm-main .nqm-site .nqm-faq h2,
body:not(#nqm-typography-lock) .nqm-main .nqm-site .nqm-final-cta h2 {
  font-size: clamp(1.85rem, 3.5vw, 3.35rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.05em !important;
}

body:not(#nqm-typography-lock) .nqm-main .nqm-program-directory .nqm-b2-hero--programs h1,
body:not(#nqm-typography-lock) .nqm-main .nqm-specialist-page .nqm-b2-hero h1,
body:not(#nqm-typography-lock) .nqm-main .nqm-specialist-page .nqm-b2-panel h1 {
  line-height: .92 !important;
  letter-spacing: -.075em !important;
}

body:not(#nqm-typography-lock) .nqm-main .nqm-program-directory .nqm-b2-program-card h2 {
  font-size: 1.35rem !important;
  line-height: 1.05 !important;
  letter-spacing: -.02em !important;
}

body:not(#nqm-typography-lock) .nqm-main .nqm-b4-program .nqm-b4-hero h1 {
  margin: .18em 0 .28em !important;
  font-size: clamp(2.8rem, 6.1vw, 5.8rem) !important;
  line-height: .92 !important;
  letter-spacing: -.075em !important;
}

body:not(#nqm-typography-lock) .nqm-main .nqm-b4-program .nqm-b4-overview h2,
body:not(#nqm-typography-lock) .nqm-main .nqm-b4-program .nqm-b4-process h2,
body:not(#nqm-typography-lock) .nqm-main .nqm-b4-program .nqm-b4-related h2,
body:not(#nqm-typography-lock) .nqm-main .nqm-b4-program .nqm-b4-faq > h2,
body:not(#nqm-typography-lock) .nqm-main .nqm-b4-program .nqm-b4-final h2 {
  font-size: clamp(2rem, 4vw, 3.4rem) !important;
  line-height: 1 !important;
  letter-spacing: -.055em !important;
}

body:not(#nqm-typography-lock) .nqm-main .nqm-b4-program .nqm-b4-list h2 {
  font-size: 1.55rem !important;
  line-height: 1.1 !important;
  letter-spacing: -.035em !important;
}

body:not(#nqm-typography-lock) .nqm-main .nqm-legal-page .nqm-legal-hero h1,
body:not(#nqm-typography-lock) .nqm-main .nqm-utility-page .nqm-utility-hero h1 {
  margin: .08em 0 .22em !important;
  font-size: clamp(2.8rem, 6vw, 6rem) !important;
  line-height: .92 !important;
  letter-spacing: -.075em !important;
}

body:not(#nqm-typography-lock) .nqm-main .nqm-legal-page .nqm-legal-card h2,
body:not(#nqm-typography-lock) .nqm-main .nqm-utility-page .nqm-utility-grid h2,
body:not(#nqm-typography-lock) .nqm-main .nqm-utility-page .nqm-utility-form h2,
body:not(#nqm-typography-lock) .nqm-main .nqm-legal-page .nqm-legal-cta h2 {
  font-size: clamp(1.45rem, 3vw, 2.45rem) !important;
  line-height: 1.03 !important;
  letter-spacing: -.055em !important;
}

body:not(#nqm-typography-lock) .nqm-main #nqm-dscr-rates-v7241 .nq-section-heading h2 {
  font-size: clamp(2.3rem, 5vw, 4.5rem) !important;
  line-height: .96 !important;
  letter-spacing: -.06em !important;
}

@media (max-width: 900px) {
  body:not(#nqm-typography-lock) .nqm-main .nqm-site .nqm-hero h1 {
    font-size: clamp(2.4rem, 12vw, 4.1rem) !important;
  }
}

@media (max-width: 820px) {
  body:not(#nqm-typography-lock) .nqm-main .nqm-legal-page .nqm-legal-hero h1,
  body:not(#nqm-typography-lock) .nqm-main .nqm-utility-page .nqm-utility-hero h1 {
    font-size: clamp(2.35rem, 12vw, 4rem) !important;
  }
}

@media (max-width: 700px) {
  body:not(#nqm-typography-lock) .nqm-main .nqm-b4-program .nqm-b4-hero h1 {
    margin: .18em 0 .4em !important;
    font-size: clamp(2rem, 8vw, 2.55rem) !important;
    line-height: .98 !important;
    letter-spacing: -.062em !important;
  }

  body:not(#nqm-typography-lock) .nqm-main .nqm-b4-program .nqm-b4-overview h2,
  body:not(#nqm-typography-lock) .nqm-main .nqm-b4-program .nqm-b4-process h2,
  body:not(#nqm-typography-lock) .nqm-main .nqm-b4-program .nqm-b4-related h2,
  body:not(#nqm-typography-lock) .nqm-main .nqm-b4-program .nqm-b4-faq > h2,
  body:not(#nqm-typography-lock) .nqm-main .nqm-b4-program .nqm-b4-final h2 {
    font-size: clamp(1.8rem, 9vw, 2.65rem) !important;
  }
}

@media (max-width: 680px) {
  body:not(#nqm-typography-lock) .nqm-main .nqm-program-directory .nqm-b2-hero--programs h1 {
    margin: .2em 0 .42em !important;
    font-size: clamp(2.05rem, 8.5vw, 2.65rem) !important;
    line-height: .98 !important;
    letter-spacing: -.06em !important;
  }

  body:not(#nqm-typography-lock) .nqm-main .nqm-specialist-page .nqm-b2-hero h1,
  body:not(#nqm-typography-lock) .nqm-main .nqm-specialist-page .nqm-b2-panel h1 {
    font-size: clamp(2.2rem, 12vw, 3.8rem) !important;
  }

  body:not(#nqm-typography-lock) .nqm-main #nqm-dscr-rates-v7241 .nq-section-heading h2 {
    font-size: 2.45rem !important;
  }
}

/* DSCR credit step: keep score badges centered and ranges out of the circle. */
.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="760+"]) .nqm-choice-icon,
.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="740-759"]) .nqm-choice-icon,
.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="720-739"]) .nqm-choice-icon,
.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="700-719"]) .nqm-choice-icon,
.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="680-699"]) .nqm-choice-icon,
.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="660-679"]) .nqm-choice-icon,
.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="640-659"]) .nqm-choice-icon,
.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="620-639"]) .nqm-choice-icon,
.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="Below 620"]) .nqm-choice-icon {
  box-sizing: border-box !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 50px !important;
  width: 50px !important;
  min-width: 50px !important;
  height: 50px !important;
  min-height: 50px !important;
  padding: 0 0 2px !important;
  overflow: hidden !important;
  font-size: 20px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

@media (max-width: 980px) {
  .nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="760+"]) .nqm-choice-icon,
  .nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="740-759"]) .nqm-choice-icon,
  .nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="720-739"]) .nqm-choice-icon,
  .nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="700-719"]) .nqm-choice-icon,
  .nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="680-699"]) .nqm-choice-icon,
  .nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="660-679"]) .nqm-choice-icon,
  .nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="640-659"]) .nqm-choice-icon,
  .nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="620-639"]) .nqm-choice-icon,
  .nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="Below 620"]) .nqm-choice-icon {
    flex-basis: 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding-bottom: 2px !important;
    font-size: 18px !important;
  }
}

/* v7.24.60: standard DSCR mobile layout parity with the approved v1.4
   reference. This is presentation-only: no copy, fields, CF7 names,
   navigation, calculations, attribution, or desktop rules are changed. */
@media (max-width: 980px) {
  #main.nqm-funnel-page--dscr-deal {
    padding: 0 0 88px !important;
    background: #f8faf6 !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-deal-shell {
    display: block !important;
    width: min(100%, 430px) !important;
    min-height: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: #fffdf8 !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-side {
    display: none !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-main-card {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: auto !important;
    margin: 0 !important;
    padding: 9px 10px 92px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: linear-gradient(180deg, #fffdf8, #fbfcfb) !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-main-card > .nqm-v5-top {
    min-height: 26px !important;
    margin: 0 !important;
    gap: 6px !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-main-card > .nqm-v5-top span {
    display: none !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-main-card > .nqm-v5-top strong {
    max-width: 190px !important;
    overflow: hidden !important;
    font-size: 8.8px !important;
    line-height: 1.1 !important;
    letter-spacing: .08em !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-main-card > .nqm-v5-progress {
    height: 5px !important;
    margin: 4px 0 7px !important;
    border-radius: 999px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-funnel {
    text-align: center !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-kicker {
    margin: 0 0 4px !important;
    font-size: 9.5px !important;
    line-height: 1.15 !important;
    letter-spacing: .13em !important;
    text-align: center !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-funnel h1 {
    max-width: 390px !important;
    margin: 0 auto 6px !important;
    font-size: clamp(25px, 7.25vw, 34px) !important;
    line-height: 1.01 !important;
    letter-spacing: -.055em !important;
    text-align: center !important;
    text-wrap: balance;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-funnel .nqmcf7-lead,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-funnel.nqm-dscr-live-quote-entry .nqmcf7-lead,
  #main.nqm-funnel-page--dscr-deal .nqm-dscr-main-card .nqmcf7-funnel.nqm-dscr-live-quote-entry:has(input[name="Loan_Goal"]) .nqmcf7-lead {
    max-width: 370px !important;
    margin: 0 auto 9px !important;
    color: #536172 !important;
    font-size: 13px !important;
    font-weight: 780 !important;
    line-height: 1.3 !important;
    text-align: center !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options {
    margin: 8px 0 0 !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options legend,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-prompt {
    margin: 0 0 6px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options .wpcf7-form-control {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .wpcf7-list-item:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .wpcf7-list-item label {
    min-height: 62px !important;
    padding: 9px 8px !important;
    border-width: 1px !important;
    border-radius: 13px !important;
    gap: 7px !important;
    box-shadow: 0 5px 14px rgba(7, 27, 51, .06) !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-live-quote-entry .nqmcf7-options .wpcf7-form-control {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-live-quote-entry .nqmcf7-options .wpcf7-list-item label {
    grid-template-columns: 42px minmax(0, 1fr) 16px !important;
    min-height: 62px !important;
    padding: 9px 9px !important;
    border-width: 1px !important;
    border-radius: 15px !important;
    gap: 8px !important;
    box-shadow: 0 7px 18px rgba(7, 27, 51, .07) !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-live-quote-entry .nqm-choice-icon,
  #main.nqm-funnel-page--dscr-deal .nqm-dscr-live-quote-entry .nqmcf7-options .wpcf7-list-item label::before {
    box-sizing: border-box !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    border-radius: 50% !important;
    font-size: 17px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-live-quote-entry .nqm-choice-copy strong,
  #main.nqm-funnel-page--dscr-deal .nqm-dscr-live-quote-entry .nqm-choice-text,
  #main.nqm-funnel-page--dscr-deal .nqm-dscr-live-quote-entry .wpcf7-list-item-label {
    font-size: 14.5px !important;
    line-height: 1.12 !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-live-quote-entry .nqm-choice-copy small,
  #main.nqm-funnel-page--dscr-deal .nqm-dscr-live-quote-entry .nqm-choice-desc {
    margin-top: 2px !important;
    font-size: 10.5px !important;
    line-height: 1.16 !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-live-quote-entry .nqm-choice-arrow {
    width: 16px !important;
    font-size: 22px !important;
    line-height: 1 !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-field {
    margin: 7px 0 !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-field label {
    margin-bottom: 4px !important;
    font-size: 12px !important;
    line-height: 1.16 !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-field input,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-field select,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-field textarea {
    min-height: 48px !important;
    padding: 9px 11px !important;
    border-radius: 13px !important;
    font-size: 15px !important;
    line-height: 1.18 !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-nav {
    margin-top: 10px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-nav .wpcf7-submit,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-nav .wpcf7-previous {
    min-height: 50px !important;
    border-radius: 13px !important;
    font-size: 13px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-clean-line {
    min-height: 0 !important;
    margin: 7px auto !important;
    padding: 7px 8px !important;
    border-left-width: 4px !important;
    border-radius: 11px !important;
    font-size: 10.3px !important;
    line-height: 1.18 !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-investor-trust {
    margin: 6px auto 0 !important;
    padding: 8px 7px 7px !important;
    border-radius: 14px !important;
    box-shadow: 0 5px 15px rgba(7, 27, 51, .055) !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-investor-trust h2,
  #main.nqm-funnel-page--dscr-deal .nqm-dscr-investor-trust h3 {
    margin: 0 0 5px !important;
    font-size: 11.5px !important;
    line-height: 1.15 !important;
    text-align: center !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-investor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    margin-bottom: 0 !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-investor-grid div {
    padding: 0 4px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-investor-grid div::before {
    width: 20px !important;
    height: 20px !important;
    margin: 0 auto 3px !important;
    border-width: 1px !important;
    font-size: 11px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-investor-grid b {
    font-size: 12.5px !important;
    line-height: 1.05 !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-investor-grid span {
    margin-top: 1px !important;
    font-size: 8.8px !important;
    line-height: 1.08 !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-investor-trust > p {
    margin: 5px 0 0 !important;
    font-size: 9.6px !important;
    line-height: 1.18 !important;
    text-align: center !important;
  }
}

@media (max-width: 380px) {
  #main.nqm-funnel-page--dscr-deal .nqm-dscr-main-card {
    padding-right: 8px !important;
    padding-left: 8px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-funnel h1 {
    font-size: clamp(24px, 6.9vw, 30px) !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-funnel .nqmcf7-lead,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-funnel.nqm-dscr-live-quote-entry .nqmcf7-lead,
  #main.nqm-funnel-page--dscr-deal .nqm-dscr-main-card .nqmcf7-funnel.nqm-dscr-live-quote-entry:has(input[name="Loan_Goal"]) .nqmcf7-lead {
    font-size: 12.4px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-live-quote-entry .nqmcf7-options .wpcf7-list-item label {
    grid-template-columns: 38px minmax(0, 1fr) 14px !important;
    min-height: 58px !important;
    padding: 8px !important;
    gap: 7px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-live-quote-entry .nqm-choice-icon,
  #main.nqm-funnel-page--dscr-deal .nqm-dscr-live-quote-entry .nqmcf7-options .wpcf7-list-item label::before {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-live-quote-entry .nqm-choice-copy strong,
  #main.nqm-funnel-page--dscr-deal .nqm-dscr-live-quote-entry .nqm-choice-text,
  #main.nqm-funnel-page--dscr-deal .nqm-dscr-live-quote-entry .wpcf7-list-item-label {
    font-size: 13.8px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-live-quote-entry .nqm-choice-copy small,
  #main.nqm-funnel-page--dscr-deal .nqm-dscr-live-quote-entry .nqm-choice-desc {
    font-size: 10px !important;
  }
}

@media (max-width: 680px) and (max-height: 740px) {
  #main.nqm-funnel-page--dscr-deal .nqm-dscr-main-card {
    padding-top: 6px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-main-card > .nqm-v5-top {
    min-height: 23px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-main-card > .nqm-v5-progress {
    height: 4px !important;
    margin: 3px 0 5px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-funnel h1 {
    font-size: 26px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-funnel .nqmcf7-lead,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-funnel.nqm-dscr-live-quote-entry .nqmcf7-lead,
  #main.nqm-funnel-page--dscr-deal .nqm-dscr-main-card .nqmcf7-funnel.nqm-dscr-live-quote-entry:has(input[name="Loan_Goal"]) .nqmcf7-lead {
    margin-bottom: 7px !important;
    font-size: 12px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-live-quote-entry .nqmcf7-options .wpcf7-list-item label {
    min-height: 58px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-clean-line {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
  }
}

/* v7.24.61: finish DSCR v1.4 responsive parity for the later choice steps.
   Presentation only: copy, values, fields, routing, calculations, and desktop
   geometry remain unchanged. */
@media (max-width: 980px) {
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .wpcf7-form-control {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .wpcf7-list-item {
    grid-column: auto !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .wpcf7-list-item:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .wpcf7-list-item label {
    display: block !important;
    min-height: 68px !important;
    padding: 13px 12px !important;
    border-width: 1px !important;
    border-radius: 17px !important;
    text-align: left !important;
    box-shadow: 0 8px 19px rgba(7, 27, 51, .08) !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .nqm-choice-icon,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .nqm-choice-arrow {
    display: none !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .nqm-choice-copy,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .nqm-choice-copy-native {
    display: block !important;
    min-width: 0 !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .nqm-choice-copy strong,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .nqm-choice-copy-native strong,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .nqm-choice-text {
    margin: 0 0 3px !important;
    font-size: 15.5px !important;
    line-height: 1.15 !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .nqm-choice-copy small,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .nqm-choice-copy-native small,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .nqm-choice-desc {
    margin: 0 !important;
    font-size: 11.5px !important;
    line-height: 1.25 !important;
  }

  /* Replace generic Dashicons with the approved v1.4 line icons. */
  #main.nqm-funnel-page--dscr-deal .nqm-dscr-live-quote-entry .nqm-choice-icon::before {
    content: "" !important;
    display: block !important;
    width: 23px !important;
    height: 23px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-live-quote-entry label:has(input[value="Buy an investment property"]) .nqm-choice-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071b33' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E") !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-live-quote-entry label:has(input[value="Refinance an existing rental"]) .nqm-choice-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071b33' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M8 13h8M8 17h5'/%3E%3Cpath d='M16 19l5-5'/%3E%3C/svg%3E") !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-live-quote-entry label:has(input[value="Cash out rental equity"]) .nqm-choice-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071b33' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='20' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Cpath d='M6 12h.01M18 12h.01'/%3E%3C/svg%3E") !important;
  }

  /* Restore the approved gold trust icons and their color on mobile. */
  #main.nqm-funnel-page--dscr-deal .nqm-dscr-investor-grid div::before {
    content: "" !important;
    width: 20px !important;
    height: 20px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    box-shadow: none !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-investor-grid div:nth-child(1)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23e0a326' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 25h22'/%3E%3Cpath d='M8 23V15M14 23V11M20 23V8M26 23V5'/%3E%3Cpath d='M9 10l5-4 4 2 7-5'/%3E%3C/svg%3E") !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-investor-grid div:nth-child(2)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23e0a326' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 4l9 4v7c0 6-4 10-9 13-5-3-9-7-9-13V8l9-4z'/%3E%3Cpath d='M16 10l1.5 3 3.3.4-2.4 2.2.7 3.2L16 17.4 12.9 19l.7-3.2-2.4-2.2 3.3-.4z'/%3E%3C/svg%3E") !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-investor-grid div:nth-child(3)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23e0a326' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='16' cy='16' r='11'/%3E%3Cpath d='M11.5 16.5l3 3L21 13'/%3E%3C/svg%3E") !important;
  }
}

@media (max-width: 680px) {
  #main.nqm-funnel-page--dscr-deal {
    background: #eef5ee !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .wpcf7-form-control {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .wpcf7-list-item label {
    min-height: 42px !important;
    padding: 7px 8px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(7, 27, 51, .065) !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .nqm-choice-copy strong,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .nqm-choice-copy-native strong,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .nqm-choice-text {
    margin-bottom: 1px !important;
    font-size: 12.3px !important;
    line-height: 1.1 !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .nqm-choice-copy small,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .nqm-choice-copy-native small,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .nqm-choice-desc {
    font-size: 9.4px !important;
    line-height: 1.1 !important;
  }
}

/* v7.24.62: improve primary mobile choice readability without changing the
   approved compact spacing, descriptions, fields, copy, or desktop layout. */
@media (max-width: 680px) {
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .nqm-choice-copy strong,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .nqm-choice-copy-native strong,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .nqm-choice-text {
    font-size: 13.8px !important;
    line-height: 1.1 !important;
  }
}

/* v7.24.63: use the available phone height for more substantial, easier-to-tap
   choice tiles while preserving the approved grid, gaps, and outer spacing. */
@media (max-width: 680px) {
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .wpcf7-list-item label {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 104px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .nqm-choice-copy strong,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .nqm-choice-copy-native strong,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .nqm-choice-text {
    font-size: 15px !important;
    line-height: 1.12 !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .nqm-choice-copy small,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .nqm-choice-copy-native small,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .nqm-choice-desc {
    font-size: 10.3px !important;
    line-height: 1.15 !important;
  }
}

/* v7.24.64: correct the v7.24.63 fixed-height treatment. Keep every mobile
   choice naturally compact and give visual priority to the title typography. */
@media (max-width: 680px) {
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:not(:has(input[name="Loan_Goal"])) .wpcf7-list-item label {
    display: block !important;
    min-height: 42px !important;
    padding: 7px 8px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options .nqm-choice-copy strong,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options .nqm-choice-copy-native strong,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options .nqm-choice-text,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options .wpcf7-list-item-label {
    font-size: clamp(16px, 4.2vw, 17px) !important;
    line-height: 1.1 !important;
  }
}

/* v7.24.65: Credit Score is a visual score-picker, not a generic choice list.
   Restore its square-ish tiles, make the score the dominant readable element,
   and keep the range/supporting copy smaller without adding empty padding. */
@media (max-width: 680px) {
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .wpcf7-form-control {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .wpcf7-list-item:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    width: calc((100% - 8px) / 2) !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .wpcf7-list-item label {
    aspect-ratio: 1.25 / 1 !important;
    min-height: 0 !important;
    padding: 8px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    align-content: center !important;
    justify-items: center !important;
    gap: 5px !important;
    border-radius: 16px !important;
    text-align: center !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .nqm-choice-icon {
    box-sizing: border-box !important;
    display: grid !important;
    place-items: center !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #071b33 !important;
    font-family: inherit !important;
    font-size: 0 !important;
    font-weight: 1000 !important;
    line-height: .94 !important;
    letter-spacing: -.045em !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .nqm-choice-icon::before {
    content: none !important;
    display: none !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .nqm-choice-icon::after {
    display: block !important;
    color: #071b33 !important;
    font-family: inherit !important;
    font-size: clamp(34px, 10vw, 42px) !important;
    font-weight: 1000 !important;
    line-height: .94 !important;
    letter-spacing: -.045em !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="760+"]) .nqm-choice-icon::after { content: "760+" !important; }
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="740-759"]) .nqm-choice-icon::after { content: "740" !important; }
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="720-759"]) .nqm-choice-icon::after,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="720-739"]) .nqm-choice-icon::after { content: "720" !important; }
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="700-719"]) .nqm-choice-icon::after { content: "700" !important; }
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="680-719"]) .nqm-choice-icon::after,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="680-699"]) .nqm-choice-icon::after { content: "680" !important; }
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="660-679"]) .nqm-choice-icon::after { content: "660" !important; }
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="640-679"]) .nqm-choice-icon::after,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="640-659"]) .nqm-choice-icon::after { content: "640" !important; }
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="620-639"]) .nqm-choice-icon::after { content: "620" !important; }
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="Below 640"]) .nqm-choice-icon::after { content: "<640" !important; }
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="Below 620"]) .nqm-choice-icon::after { content: "<620" !important; }
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="Not sure"]) .nqm-choice-icon::after { content: "?" !important; }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .nqm-choice-copy,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .nqm-choice-copy-native {
    display: block !important;
    min-width: 0 !important;
    text-align: center !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .nqm-choice-copy strong,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .nqm-choice-copy-native strong,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .nqm-choice-text {
    margin: 0 0 2px !important;
    font-size: 13.5px !important;
    line-height: 1.08 !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .nqm-choice-copy small,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .nqm-choice-copy-native small,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .nqm-choice-desc {
    margin: 0 !important;
    font-size: 10.5px !important;
    line-height: 1.12 !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .nqm-choice-arrow {
    display: none !important;
  }
}

/* v7.24.66: remove the remaining forced whitespace inside mobile Credit Score
   tiles. Keep the large score typography while shortening each of the four
   rows enough to clear shorter phone viewports. */
@media (max-width: 680px) {
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .wpcf7-list-item label {
    aspect-ratio: 1.5 / 1 !important;
    padding: 5px !important;
    gap: 3px !important;
  }
}

/* v7.24.67: the generic mobile shell reserves space twice for the fixed phone
   bar (on #main and on the card). The Credit Score grid already clears that
   bar, so remove only its duplicate reserves and compact short viewports. */
@media (max-width: 680px) {
  #main.nqm-funnel-page--dscr-deal:has(.nqmcf7-options input[name="Credit_Rating"]) {
    padding-bottom: 0 !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqm-dscr-main-card:has(.nqmcf7-options input[name="Credit_Rating"]) {
    padding-bottom: 4px !important;
  }
}

@media (max-width: 680px) and (max-height: 820px) {
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) {
    margin-top: 5px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) legend {
    margin-bottom: 4px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .wpcf7-list-item label {
    aspect-ratio: 1.65 / 1 !important;
  }
}

@media (max-width: 380px) and (max-height: 700px) {
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) {
    margin-top: 3px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) legend {
    margin-bottom: 2px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .wpcf7-list-item label {
    aspect-ratio: 1.8 / 1 !important;
  }
}

/* v7.24.69: bring the mobile Credit Score choices back into the same visual
   system as the neighboring funnel cards. Preserve a large, easy-to-scan score
   badge with enough inset for every value, while using the shared compact
   radius, shadow, spacing, and selected state. Tablet and desktop geometry
   remain unchanged. */
@media (max-width: 680px) {
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .wpcf7-form-control {
    --nqm-credit-badge-size: clamp(54px, 14vw, 56px);
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .wpcf7-list-item label {
    box-sizing: border-box !important;
    aspect-ratio: auto !important;
    min-height: 82px !important;
    padding: 8px 9px !important;
    display: grid !important;
    grid-template-columns: var(--nqm-credit-badge-size) minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    align-content: center !important;
    align-items: center !important;
    justify-items: stretch !important;
    gap: 8px !important;
    border-radius: 12px !important;
    text-align: left !important;
    box-shadow: 0 4px 12px rgba(7, 27, 51, .065) !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .nqm-choice-icon {
    box-sizing: border-box !important;
    display: grid !important;
    place-items: center !important;
    width: var(--nqm-credit-badge-size) !important;
    min-width: var(--nqm-credit-badge-size) !important;
    height: var(--nqm-credit-badge-size) !important;
    min-height: var(--nqm-credit-badge-size) !important;
    padding: 0 0 1px !important;
    margin: 0 !important;
    border: 1px solid rgba(168, 185, 159, .42) !important;
    border-radius: 999px !important;
    background: #eef5ee !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .nqm-choice-icon::after {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 2px !important;
    overflow: hidden !important;
    color: #071b33 !important;
    font-size: 21px !important;
    font-weight: 1000 !important;
    line-height: 1 !important;
    letter-spacing: -.035em !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="760+"]) .nqm-choice-icon::after {
    content: "760" !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="Below 640"]) .nqm-choice-icon::after,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options label:has(input[value="Below 620"]) .nqm-choice-icon::after {
    font-size: 17px !important;
    letter-spacing: -.06em !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .nqm-choice-copy,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .nqm-choice-copy-native {
    display: block !important;
    min-width: 0 !important;
    text-align: left !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .nqm-choice-copy strong,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .nqm-choice-copy-native strong,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .nqm-choice-text {
    margin: 0 0 3px !important;
    font-size: 14.5px !important;
    line-height: 1.05 !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .nqm-choice-copy small,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .nqm-choice-copy-native small,
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .nqm-choice-desc {
    margin: 0 !important;
    font-size: 9.8px !important;
    line-height: 1.14 !important;
  }
}

@media (max-width: 680px) and (max-height: 820px) {
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .wpcf7-list-item label {
    min-height: 76px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }
}

@media (max-width: 380px) and (max-height: 700px) {
  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .wpcf7-form-control {
    gap: 6px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .wpcf7-list-item label {
    min-height: 68px !important;
    padding: 5px 7px !important;
    grid-template-columns: var(--nqm-credit-badge-size) minmax(0, 1fr) !important;
    gap: 6px !important;
  }

  #main.nqm-funnel-page--dscr-deal .nqmcf7-options:has(input[name="Credit_Rating"]) .nqm-choice-icon {
    width: var(--nqm-credit-badge-size) !important;
    min-width: var(--nqm-credit-badge-size) !important;
    height: var(--nqm-credit-badge-size) !important;
    min-height: var(--nqm-credit-badge-size) !important;
  }
}
