/* AutoMart Find Your Fit intro + application steps */
:root {
  --amvi-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --amvi-ink: #343434;
  --amvi-muted: #707070;
  --amvi-select: #0098d1;
  --amvi-check-line: #969696;
  --amvi-card-shadow: 2px 2px 7px 0 rgba(1, 1, 1, 0.15);
}

.amvi-fit-quiz-page *,
.amvi-fit-quiz-page *::before,
.amvi-fit-quiz-page *::after {
  box-sizing: border-box;
}

/* Quiz pages dequeue the theme CSS, so nothing else supplies a base font here. */
.amvi-fit-quiz-page,
.amvi-fit-quiz-page input,
.amvi-fit-quiz-page select,
.amvi-fit-quiz-page textarea,
.amvi-fit-quiz-page button {
  font-family: var(--amvi-ui);
}

.amvi-fit-quiz-page {
  font-size: 16px;
  color: var(--amvi-ink);
}

.amvi-fit-quiz-page {
  background: #f3f4f6;
  min-height: 100vh;
  min-height: 100dvh;
}

/* The intro used to be pinned to one viewport with overflow hidden, which did
   not compress the copy so much as amputate it: anything past the fold was
   clipped with no way to scroll to it. It scrolls now, so the reasons to apply
   can sit under the button where they belong. */
.amvi-fit-quiz-page--intro {
  box-sizing: border-box;
  flex: 1 1 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  background: #fff;
}

.amvi-fit-quiz--intro {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
}

/* A definite height, not a flex share: the track inside is absolutely
   positioned and would otherwise collapse now the page is no longer a fixed
   viewport. Shorter than before so the button clears the fold. */
.amvi-fit-quiz__slider {
  flex: 0 0 auto;
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #f2f2f2;
}

.amvi-fit-quiz__track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  background: #f2f2f2;
}

@media (min-width: 640px) {
  .amvi-fit-quiz__slider {
    height: 300px;
  }
}

@media (min-width: 768px) {
  .amvi-fit-quiz__slider {
    height: 360px;
  }
}

/* TrueCar img box: 16:9 at 80% of track (351×198 / 472×266 / 617×347). */
.amvi-fit-quiz__car {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  box-sizing: border-box;
  width: min(351px, 88%);
  height: auto;
  max-height: 90%;
  padding: 0;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  pointer-events: none;
  will-change: transform;
  z-index: 1;
}

@media (min-width: 640px) {
  .amvi-fit-quiz__car {
    width: min(472px, 80%);
    height: 266px;
  }
}

@media (min-width: 768px) {
  .amvi-fit-quiz__car {
    width: min(617px, 80%);
    height: 347px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .amvi-fit-quiz__car {
    transition: none !important;
  }
}

.amvi-fit-quiz__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 85%;
  max-width: 612px;
  padding: 0 16px;
  margin: 32px auto 0;
  flex: 0 0 auto;
}

[data-amvi-received-host] [hidden] {
  display: none !important;
}

@media (min-width: 640px) {
  .amvi-fit-quiz__hero {
    max-width: 454px;
  }
}

@media (min-width: 768px) {
  .amvi-fit-quiz__hero {
    max-width: 612px;
  }
}

.amvi-fit-quiz__hero h1 {
  margin: 0;
  font-family: var(--amvi-ui);
  font-size: 30px;
  font-weight: 600;
  color: var(--amvi-ink);
  line-height: 1.3;
}

.amvi-fit-quiz__sub {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  color: #343434;
  line-height: 1.33;
}

/* ── Objection strip ──
   The four things that stop this application, answered before the button. Every
   line is checked against what the form actually does; nothing here is a claim
   the consent step contradicts. */
.amvi-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.amvi-proof__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--amvi-ui);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1a1a;
  line-height: 1.3;
  white-space: nowrap;
}

.amvi-proof__tick {
  flex: 0 0 auto;
  color: #0a7d33;
}

.amvi-fit-quiz__microcopy {
  margin: 10px 0 0;
  font-size: 13px;
  color: #707070;
  line-height: 1.4;
}

/* ── How it works ──
   Three steps, because the biggest unanswered question on a finance lander is
   what happens after submit. The middle step carries the dealer and finance
   partner disclosure, which reads as the product here rather than as the loose
   paragraph of housekeeping it used to be above the button. */
.amvi-how {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  width: min(880px, calc(100% - 32px));
  margin: 36px auto 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

@media (min-width: 720px) {
  .amvi-how {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.amvi-how__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.amvi-how__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 2px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-family: var(--amvi-ui);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.amvi-how__title {
  font-family: var(--amvi-ui);
  font-size: 17px;
  font-weight: 600;
  color: var(--amvi-ink);
  line-height: 1.3;
}

.amvi-how__body {
  max-width: 30em;
  font-size: 14px;
  color: #707070;
  line-height: 1.5;
}

/* Vehicle carried in from a model or trim page. */
.amvi-fit-quiz__vehicle {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(560px, calc(100% - 24px));
  margin: 12px auto 0;
  padding: 10px 16px;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  background: #fafafa;
}

.amvi-fit-quiz__vehicle-img {
  flex: 0 0 auto;
  width: 96px;
  height: auto;
  object-fit: contain;
}

.amvi-fit-quiz__vehicle-copy {
  margin: 0;
  min-width: 0;
}

.amvi-fit-quiz__vehicle-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #111;
  line-height: 1.3;
}

.amvi-fit-quiz__vehicle-note {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: #707070;
  line-height: 1.4;
}

@media (max-width: 700px) {
  .amvi-fit-quiz__vehicle {
    gap: 10px;
    padding: 8px 12px;
  }

  .amvi-fit-quiz__vehicle-img {
    width: 72px;
  }

  .amvi-fit-quiz__vehicle-name {
    font-size: 14px;
  }

  .amvi-fit-quiz__vehicle-note {
    font-size: 12px;
  }
}

/* Closing paragraph, below the three steps. Centred in the section now rather
   than inside the hero column, since the page scrolls and it no longer has to
   fight the button for room. */
.amvi-fit-quiz__blurb {
  width: min(680px, calc(100% - 32px));
  margin: 32px auto 48px;
  font-size: 14px;
  font-weight: 400;
  color: #707070;
  line-height: 1.55;
  text-align: center;
}

.amvi-fit-quiz__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Sized to its text, not to a fixed 280px. The label is now whatever CTA the
     visitor clicked, and the longest of them ("Get approved with no credit
     history") is wider than the old fixed box could hold. */
  width: auto;
  min-width: 280px;
  max-width: 100%;
  min-height: 38px;
  margin-top: 12px;
  padding: 7px 32px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease;
}

.amvi-fit-quiz__cta:hover {
  background: #333;
  color: #fff;
}

.amvi-fit-quiz--intro .amvi-fit-quiz__sub {
  display: block;
  color: var(--amvi-muted);
  font-size: 16px;
}

.amvi-fit-quiz-page--intro .amvi-trust {
  margin-top: 0;
  padding: 16px 16px 20px;
  border-top: none;
  flex: 0 0 auto;
}
.amvi-fit-quiz-page--intro .amvi-trust__note {
  font-size: 11px;
  margin-top: 8px;
}

@media (max-height: 800px) {
  .amvi-fit-quiz-page--intro .amvi-fit-quiz__hero {
    margin-top: 16px;
    gap: 10px;
  }
  .amvi-fit-quiz-page--intro .amvi-fit-quiz__cta {
    margin-top: 6px;
  }
  .amvi-fit-quiz-page--intro .amvi-trust {
    padding: 8px 12px 12px;
  }
  .amvi-fit-quiz-page--intro .amvi-trust__note {
    display: none;
  }
}

@media (max-height: 700px) {
  .amvi-fit-quiz-page--intro .amvi-fit-quiz__hero h1 {
    font-size: 24px;
  }
  .amvi-fit-quiz-page--intro .amvi-fit-quiz__sub {
    font-size: 16px;
  }
  .amvi-fit-quiz-page--intro .amvi-fit-quiz__hero {
    margin-top: 12px;
    gap: 8px;
  }
}

/* ── Steps shell ──
   The step used to be pinned to the viewport with its own inner scroller, which
   clipped taller steps (brands, features) behind a nested scrollbar. The page
   scrolls normally instead, so a step can be as tall as its content needs. */
.amvi-fit-quiz-page--steps {
  background: #fff;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.amvi-fit-quiz-page--steps .amvi-sticky-phone,
.amvi-fit-quiz-page--steps .amvi-sticky-chat,
.amvi-fit-quiz-page--steps .amvi-foot,
.amvi-fit-quiz-page--steps .amvi-foot__col,
.amvi-fit-quiz-page--steps .site-header,
.amvi-fit-quiz-page--steps .site-footer {
  display: none !important;
}

.amvi-fit-quiz--steps {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  color: #111;
}

.amvi-form__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.amvi-fit-quiz__search {
  max-width: 480px;
  width: 100%;
  margin: 0 auto 10px;
  flex: 0 0 auto;
}

.amvi-fit-quiz__search input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  background: #fff;
  color: #111;
}

.amvi-fit-quiz__header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  padding: 12px 16px 0;
}

.amvi-fit-quiz__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  padding: 8px 4px;
  border: none;
  background: transparent;
  color: #111;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.amvi-fit-quiz__back:hover {
  color: #555;
}

/* Was 3px, which is thin enough that the fill reads as a hairline rather than
   as progress. The bar is the main thing keeping someone in a long form. */
.amvi-fit-quiz__progress {
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
}

.amvi-fit-quiz__progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: #111;
  transition: width 0.25s ease;
}

/* ── Contact-step recap ──
   Twenty answers were collected before this step and none were ever shown
   back. Reading them out here turns the accumulated effort into the reason to
   finish, instead of asking for a phone number cold. */
.amvi-recap {
  width: min(560px, 100%);
  margin: 0 auto 18px;
  padding: 14px 18px;
  border: 1px solid #e2e6ea;
  border-left: 3px solid #0a7d33;
  border-radius: 10px;
  background: #f8fafb;
  text-align: left;
}

.amvi-recap__label {
  margin: 0 0 4px;
  font-family: var(--amvi-ui);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5c6470;
}

.amvi-recap__line {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--amvi-ink);
  line-height: 1.45;
}

/* ── Licence plate ──
   The contact step is where the questions stop being about cars and start
   being about the person, which is where people back out. Watching your own
   name stamp onto your province's plate makes the field feel like part of the
   car rather than part of the vetting. */
.amvi-plate {
  --plate-ink: #16325c;
  --plate-face: #f2f5f8;
  /* The padding is a custom property because two plates print a band that has
     to reach the plate's edge (New Brunswick's swoosh at the top, Yukon's at
     the bottom). Those bands cancel this padding with negative margins, and
     when the figures were written out by hand they only matched at the desktop
     size — the mobile breakpoint changed the padding and left both bands
     overhanging by 2px. Deriving the margins from these keeps them aligned at
     every width. */
  --plate-pad-x: 16px;
  --plate-pad-top: 13px;
  --plate-pad-bottom: 11px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  aspect-ratio: 2 / 1;
  width: min(272px, 78%);
  margin: 0 auto 22px;
  padding: var(--plate-pad-top) var(--plate-pad-x) var(--plate-pad-bottom);
  border-radius: 13px;
  /* Four corner mounting holes and reflective sheeting. A flat rectangle of
     colour reads as a badge; the holes and the sheen are what make it read as
     a stamped plate. They sit in the corners because centred holes punch
     straight through the province name and the slogan. */
  background-image:
    radial-gradient(circle at 13% 15%, rgba(0, 0, 0, 0.26) 0 2.4px, rgba(0, 0, 0, 0.07) 2.9px, transparent 3.5px),
    radial-gradient(circle at 87% 15%, rgba(0, 0, 0, 0.26) 0 2.4px, rgba(0, 0, 0, 0.07) 2.9px, transparent 3.5px),
    radial-gradient(circle at 13% 85%, rgba(0, 0, 0, 0.26) 0 2.4px, rgba(0, 0, 0, 0.07) 2.9px, transparent 3.5px),
    radial-gradient(circle at 87% 85%, rgba(0, 0, 0, 0.26) 0 2.4px, rgba(0, 0, 0, 0.07) 2.9px, transparent 3.5px),
    linear-gradient(158deg, #ffffff 0%, #ffffff 38%, var(--plate-face) 62%, #e4eaf0 100%);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.16),
    inset 0 2px 3px rgba(255, 255, 255, 0.9),
    inset 0 -2px 4px rgba(0, 0, 0, 0.09),
    0 3px 9px rgba(0, 0, 0, 0.18);
  text-align: center;
  user-select: none;
}

/* Surname first lands on the plate; province colour swap is a second beat.
   Both run once per change, not on every key. */
.amvi-plate.is-stamped .amvi-plate__name:not(.is-placeholder) {
  animation: amvi-plate-stamp 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.amvi-plate.is-province-set {
  animation: amvi-plate-face 280ms ease-out;
}

@keyframes amvi-plate-stamp {
  from {
    transform: scale(1.08);
    letter-spacing: 0.12em;
  }
  to {
    transform: scale(1);
  }
}

@keyframes amvi-plate-face {
  from {
    transform: scale(0.97);
  }
  to {
    transform: scale(1);
  }
}

/* The rolled edge every stamped plate has, set in the province's colour. */
.amvi-plate::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1.5px solid var(--plate-ink);
  border-radius: 8px;
  opacity: 0.55;
  pointer-events: none;
}

/* The ink each province actually prints. Alberta is red, Prince Edward Island
   is green since the 2022 reissue, and Yukon and Nunavut are black — all of
   which a resident would clock instantly if we got them wrong. */
.amvi-plate[data-province="AB"] { --plate-ink: #c8102e; }
.amvi-plate[data-province="BC"] { --plate-ink: #0b3d75; }
.amvi-plate[data-province="MB"] { --plate-ink: #10357a; }
.amvi-plate[data-province="NB"] { --plate-ink: #c8102e; }
.amvi-plate[data-province="NL"] { --plate-ink: #14487f; }
.amvi-plate[data-province="NS"] { --plate-ink: #00447c; }
.amvi-plate[data-province="NT"] { --plate-ink: #14487f; }
.amvi-plate[data-province="NU"] { --plate-ink: #1b1b1b; }
.amvi-plate[data-province="ON"] { --plate-ink: #00447c; }
.amvi-plate[data-province="PE"] { --plate-ink: #1f7a4d; }
.amvi-plate[data-province="QC"] { --plate-ink: #00308f; }
.amvi-plate[data-province="SK"] { --plate-ink: #00703c; }
.amvi-plate[data-province="YT"] { --plate-ink: #1b1b1b; }

/* Yukon is the one plate whose province name is not at the top: it runs in red
   across a sky-blue band along the bottom edge. */
.amvi-plate[data-province="YT"] .amvi-plate__bottom {
  align-self: stretch;
  /* Same max-width trap as New Brunswick's top band: without this the blue
     band sat 16px left of where it belonged. */
  max-width: none;
  margin: 0 calc(-1 * var(--plate-pad-x)) calc(-1 * var(--plate-pad-bottom));
  padding: 4px 12px 5px;
  border-radius: 0 0 11px 11px;
  background: #8fc7e8;
  color: #c8102e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

/* Nunavut prints on a night scene rather than white sheeting: aurora and stars
   over a dark sky at the top, fading to light behind the serial so a black
   serial still reads, with the polar bear along the bottom. */
.amvi-plate[data-province="NU"] {
  --plate-ink: #12203a;
  background-image:
    radial-gradient(circle at 13% 15%, rgba(0, 0, 0, 0.34) 0 2.4px, transparent 3.2px),
    radial-gradient(circle at 87% 15%, rgba(0, 0, 0, 0.34) 0 2.4px, transparent 3.2px),
    radial-gradient(circle at 13% 85%, rgba(0, 0, 0, 0.26) 0 2.4px, transparent 3.2px),
    radial-gradient(circle at 87% 85%, rgba(0, 0, 0, 0.26) 0 2.4px, transparent 3.2px),
    radial-gradient(circle at 24% 9%, #fff 0 0.9px, transparent 1.4px),
    radial-gradient(circle at 38% 15%, #fff 0 0.7px, transparent 1.2px),
    radial-gradient(circle at 52% 7%, #fff 0 0.9px, transparent 1.4px),
    radial-gradient(circle at 67% 14%, #fff 0 0.7px, transparent 1.2px),
    radial-gradient(circle at 76% 8%, #fff 0 0.8px, transparent 1.3px),
    radial-gradient(ellipse 58% 12% at 38% 13%, rgba(96, 220, 170, 0.55), transparent 70%),
    radial-gradient(ellipse 44% 10% at 66% 18%, rgba(120, 200, 240, 0.5), transparent 70%),
    linear-gradient(#17325a 0%, #2c5688 9%, #8fb4d2 20%, #dbe7f1 32%, #f1f6fa 55%);
}

/* New Brunswick prints a red serial on white under curved gold and sky blue
   bands, with the wordmark screened in green over them.
   The bands are a swoosh, not two stripes. Drawing them with hard-stop colours
   on the text element gave two flat bars with the wordmark stranded across the
   join, which read as a rendering fault. They are drawn on a pseudo-element
   instead so the lower edge can carry an arc, and the text sits above it. */
.amvi-plate[data-province="NB"] .amvi-plate__top {
  position: relative;
  z-index: 2;
  align-self: stretch;
  /* The base rule caps this at max-width:100%, which resolves against the
     plate's *content* box — 32px narrower than the edge-to-edge width this band
     needs. Stretching then had nothing to stretch into, so the negative left
     margin dragged the whole band 16px off to the left instead of widening it.
     That was the shifted wordmark. */
  max-width: none;
  margin: calc(-1 * var(--plate-pad-top)) calc(-1 * var(--plate-pad-x)) 0;
  padding: 8px 12px 9px;
  /* The base rule clips overflow for long wordmarks; the arc has to spill past
     the element's own box, and "NEW BRUNSWICK" is short enough not to need it. */
  overflow: visible;
  color: #1d6b4f;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.amvi-plate[data-province="NB"] .amvi-plate__top::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 -7px;
  border-radius: 11px 11px 46% 46% / 11px 11px 16px 16px;
  background: linear-gradient(#f2cb63 0 46%, #a8d4ee 46% 100%);
}

/* Saskatchewan sets its wordmark in a serif, which is the detail that tells it
   apart from every other green-on-white plate. */
.amvi-plate[data-province="SK"] .amvi-plate__top {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: none;
}

/* Manitoba offsets its wordmark to the right of the plate. */
.amvi-plate[data-province="MB"] .amvi-plate__top {
  align-self: flex-end;
  padding-right: 14px;
  text-transform: none;
  font-size: 11.5px;
  letter-spacing: 0.02em;
}

/* Newfoundland and Nunavut print no province name at the top at all, so the
   space it would occupy is given back to the serial. */
.amvi-plate[data-province="NL"] .amvi-plate__top {
  display: none;
}

/* Real NL plates stack the wordmark: NEWFOUNDLAND AND / LABRADOR. Pin it to
   the bottom so the surname stays centred in the serial band. */
.amvi-plate[data-province="NL"] {
  justify-content: center;
}

.amvi-plate[data-province="NL"] .amvi-plate__bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--plate-pad-bottom);
  max-width: none;
  padding: 0 10px;
  overflow: visible;
  text-overflow: clip;
  white-space: pre-line;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

/* Nunavut cannot give that space away. The plate is a column laid out with
   space-between, so removing the top element from the flow promotes the serial
   into the slot it vacated — which on this plate is the dark end of the night
   sky, leaving a near-black serial on navy. Hiding it without taking it out of
   the flow holds the serial down on the pale part of the sheeting. */
.amvi-plate[data-province="NU"] .amvi-plate__top {
  visibility: hidden;
}

.amvi-plate[data-province="NU"] .amvi-plate__bottom {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.amvi-plate[data-province="NT"] .amvi-plate__bottom {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.amvi-plate__top {
  position: relative;
  z-index: 1;
  max-width: 100%;
  padding: 0 14px;
  font-family: var(--amvi-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--plate-ink);
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Quebec sets "Québec" in mixed case, centred at the top. */
.amvi-plate[data-province="QC"] .amvi-plate__top {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 12.5px;
}

.amvi-plate__name {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--amvi-ui);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--plate-ink);
  line-height: 1;
  /* Characters on a real plate are pressed out of the metal, so the light
     edge sits above and the shadow falls below. */
  text-shadow:
    0 -1px 0 rgba(0, 0, 0, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.95),
    0 2px 3px rgba(0, 0, 0, 0.3);
  word-break: break-all;
}

.amvi-plate__name.is-long {
  font-size: 31px;
  letter-spacing: 0.03em;
}

.amvi-plate__name.is-xlong {
  font-size: 24px;
  letter-spacing: 0.02em;
}

.amvi-plate__name.is-placeholder {
  font-size: 24px;
  letter-spacing: 0.08em;
  opacity: 0.28;
  text-shadow: none;
}

.amvi-plate__bottom {
  position: relative;
  z-index: 1;
  min-height: 9px;
  padding: 0 12px;
  font-family: var(--amvi-ui);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--plate-ink);
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

@media (max-width: 700px) {
  .amvi-plate {
    width: min(248px, 84%);
    /* Setting the properties rather than the padding, so the New Brunswick and
       Yukon bands narrow with it instead of overhanging the edge. */
    --plate-pad-x: 14px;
    --plate-pad-top: 11px;
    --plate-pad-bottom: 9px;
  }

  .amvi-plate__name {
    font-size: 35px;
  }

  .amvi-recap {
    padding: 12px 14px;
  }

  .amvi-recap__line {
    font-size: 14px;
  }
}

.amvi-fit-quiz__assure {
  margin: 0;
  padding: 4px 16px 10px;
  color: #4a5260;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 700px) {
  .amvi-fit-quiz__assure {
    padding: 2px 12px 8px;
    font-size: 11.5px;
  }
}

.amvi-fit-quiz__stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.amvi-fit-quiz__eta {
  flex: 0 0 auto;
  padding: 6px 0 2px;
  color: #5c6470;
  font-size: 12.5px;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

.amvi-fit-quiz__eta.is-just-done {
  animation: amvi-eta-pop 280ms ease-out;
}

@keyframes amvi-eta-pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.08);
    color: var(--apply-accent, #1f1f1f);
  }
  100% {
    transform: scale(1);
  }
}

/* The stage is now shown by the rail, so the running commentary is left for
   screen readers rather than being announced twice. */
.amvi-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0 !important;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Stage rail ──
   Three named parts instead of "Step 15 of 16". A count of sixteen advertises
   the length of the form; three parts describe its shape. Completed parts stay
   on screen with a tick so progress accumulates visibly. */
.amvi-phases {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 2px;
  padding: 0;
  list-style: none;
}

/* The class sets display, which beats the [hidden] attribute's UA rule, so the
   stage list stayed on screen after being marked hidden. */
.amvi-phases[hidden] {
  display: none;
}

.amvi-phase {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex: 0 1 auto;
  color: #9aa2ac;
  font-family: var(--amvi-ui);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.amvi-phase + .amvi-phase::before {
  content: "";
  flex: 0 0 auto;
  width: 14px;
  height: 1px;
  margin-right: 1px;
  background: #dfe3e8;
}

.amvi-phase__mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.amvi-phase__tick {
  display: none;
}

.amvi-phase__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.amvi-phase.is-current {
  color: var(--amvi-ink);
  font-weight: 600;
}

.amvi-phase.is-current .amvi-phase__mark {
  background: var(--amvi-ink);
  border-color: var(--amvi-ink);
  color: #fff;
}

.amvi-phase.is-done {
  color: #0a7d33;
}

.amvi-phase.is-done .amvi-phase__mark {
  background: #0a7d33;
  border-color: #0a7d33;
  color: #fff;
}

.amvi-phase.is-done .amvi-phase__num {
  display: none;
}

.amvi-phase.is-done .amvi-phase__tick {
  display: block;
}

/* Narrow screens cannot carry three labels, so everything except the stage the
   visitor is actually in collapses to its numbered mark. */
@media (max-width: 560px) {
  .amvi-phases {
    gap: 5px;
  }

  .amvi-phase {
    font-size: 12px;
  }

  .amvi-phase:not(.is-current) .amvi-phase__label {
    display: none;
  }

  .amvi-phase + .amvi-phase::before {
    width: 10px;
  }
}

.amvi-fit-quiz__form {
  flex: 1 1 auto;
  min-height: 0;
  padding: 16px 16px 108px;
  display: flex;
  flex-direction: column;
}

.amvi-app-step {
  border: 0;
  margin: 0;
  padding: 0;
  display: none !important;
}

.amvi-app-step.is-active {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  animation: amvi-fit-fade 0.2s ease;
}

/* The opening question is the page's LCP element. Fading it in deliberately
   adds the full transition to LCP; later steps can keep the directional cue. */
.amvi-app-step[data-step="1"].is-active {
  animation: none;
}

@keyframes amvi-fit-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.amvi-fit-quiz__question {
  display: block;
  width: 100%;
  margin: 0 0 6px;
  padding: 0;
  font-family: var(--amvi-ui);
  font-size: clamp(23px, 5.6vw, 30px);
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.3;
  text-align: center;
  color: var(--amvi-ink);
  -webkit-text-fill-color: var(--amvi-ink);
  flex: 0 0 auto;
}

.amvi-fit-quiz__hint {
  margin: 0 0 20px;
  max-width: 34em;
  margin-inline: auto;
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
  color: var(--amvi-muted);
  flex: 0 0 auto;
}

.amvi-step-alert {
  max-width: 480px;
  margin: 0 auto 16px;
  padding: 12px 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.amvi-step-alert[hidden] {
  display: none !important;
}

/* Choice cards — even TrueCar tiles */
.amvi-fit-quiz__options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  /* The selected card draws a 2px outward ring; without this inset it is clipped
     by the step's overflow:hidden. */
  padding: 3px;
  flex: 0 0 auto;
  align-items: stretch;
  justify-content: stretch;
  /* `align-items: stretch` only equalises cards inside a single row, so a label
     that wraps on a narrow screen left that row taller than the ones around it
     and the grid came out ragged. Sizing every row to the tallest keeps the
     cards identical. It costs nothing on desktop, where nothing wraps. */
  grid-auto-rows: 1fr;
}

.amvi-fit-quiz__options:has(> :nth-child(2)) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.amvi-fit-quiz__options--inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none;
}

.amvi-fit-quiz__options--grid,
.amvi-fit-quiz__options--even,
.amvi-fit-quiz__options--brands {
  display: grid;
  width: 100%;
  max-width: 560px;
  justify-content: stretch;
  align-items: stretch;
  align-content: start;
}

.amvi-fit-quiz__options--grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 640px) {
  .amvi-fit-quiz__options--grid:not(.amvi-fit-quiz__options--seats):not(.amvi-fit-quiz__options--fuel):not(.amvi-fit-quiz__options--brands) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  /* The row-layout steps are excluded rather than overridden below, because
     `:has()` takes the specificity of its argument and would otherwise outrank
     the one-per-row rule — which is exactly what happened to fuel, the only
     step with five options: the labels were pushed outside a 75px card. */
  .amvi-fit-quiz__options--grid:not(.amvi-fit-quiz__options--seats):not(.amvi-fit-quiz__options--fuel):not(.amvi-fit-quiz__options--brands):has(> :nth-child(5):last-child) {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  /* Seats and fuel stay one per row at every width, like TrueCar. */
  .amvi-fit-quiz__options--grid.amvi-fit-quiz__options--seats,
  .amvi-fit-quiz__options--grid.amvi-fit-quiz__options--fuel {
    grid-template-columns: 1fr;
  }

  .amvi-fit-quiz__options--grid.amvi-fit-quiz__options--brands {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.amvi-fit-quiz__options--even {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: none;
}

/* Three or fewer choices read better stacked than as an orphaned grid row.
   The doubled class outranks the generic `:has(> :nth-child(2))` two-column rule. */
.amvi-fit-quiz__options.amvi-fit-quiz__options--stack,
.amvi-fit-quiz__options--even:has(> :nth-child(3):last-child),
.amvi-fit-quiz__options--even:has(> :nth-child(2):last-child) {
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}

/* Credit bands are the one set of labels carrying a number range, and two
   columns is too narrow on a phone to hold "Excellent (760–900)" on one line.
   Wrapping split the range itself — "Good (660–" over "724)" — which reads as a
   rendering fault on the step people are already most uneasy about. One column
   gives every band a single line down to 320px. */
@media (max-width: 560px) {
  .amvi-app-step[data-id="credit_rating"] .amvi-fit-quiz__options--even {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .amvi-app-step[data-id="credit_rating"] .amvi-fit-quiz__option-label {
    white-space: nowrap;
  }
}

/* The money steps carry range labels — "$2,000 - $3,000 / month", "$300 – $399
   / month", "$1,000 – $1,999" — that do not fit two per row on a phone: the
   range splits across lines and the equal-height grid then leaves the cards
   ragged and broken-looking. One column gives each range a full-width row, the
   same treatment the credit bands get above. Scoped to these three steps so the
   short-label steps keep their two-column grid. */
@media (max-width: 560px) {
  .amvi-app-step[data-id="budget"] .amvi-fit-quiz__options--even,
  .amvi-app-step[data-id="monthly_income"] .amvi-fit-quiz__options--even,
  .amvi-app-step[data-id="down_payment"] .amvi-fit-quiz__options--even {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .amvi-app-step[data-id="budget"] .amvi-fit-quiz__option-label,
  .amvi-app-step[data-id="monthly_income"] .amvi-fit-quiz__option-label,
  .amvi-app-step[data-id="down_payment"] .amvi-fit-quiz__option-label {
    white-space: nowrap;
  }
}

/* Employment status (5 options) and co-applicant (4) stayed two-up on phones,
   where the longer labels wrapped unevenly and left the equal-height grid
   ragged. Stack them one per row like the money and credit steps. */
@media (max-width: 560px) {
  .amvi-app-step[data-id="employment_status"] .amvi-fit-quiz__options--even,
  .amvi-app-step[data-id="co_applicant"] .amvi-fit-quiz__options--even {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

/* Rounder cards on these two steps so they echo the rounded card wrapper and
   the pill CTA rather than the near-square 4px the other steps use. */
.amvi-app-step[data-id="employment_status"] .amvi-fit-quiz__option:not(.amvi-fit-quiz__option--image) .amvi-fit-quiz__option-card,
.amvi-app-step[data-id="co_applicant"] .amvi-fit-quiz__option:not(.amvi-fit-quiz__option--image) .amvi-fit-quiz__option-card {
  border-radius: 14px;
}

.amvi-fit-quiz__options--brands {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
}

.amvi-fit-quiz__option.is-filtered-out {
  display: none !important;
}

.amvi-fit-quiz__option {
  position: relative;
  cursor: pointer;
  min-width: 0;
  display: flex;
  height: 100%;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.amvi-fit-quiz__option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  z-index: 2;
  cursor: pointer;
  pointer-events: auto;
  appearance: none;
  -webkit-appearance: none;
}

.amvi-fit-quiz__option-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
}

.amvi-fit-quiz__option-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  height: auto;
}

.amvi-fit-quiz__option:not(.amvi-fit-quiz__option--image) .amvi-fit-quiz__option-card {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  height: auto;
  min-height: 56px;
  padding: 16px;
  border: 0;
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--amvi-card-shadow);
  overflow: hidden;
  transition: box-shadow 0.3s cubic-bezier(0.64, 0.04, 0.35, 1);
}

.amvi-fit-quiz__option:not(.amvi-fit-quiz__option--image) .amvi-fit-quiz__option-label {
  border: none;
  background: transparent;
  box-shadow: none;
  min-height: 0;
  height: auto;
  justify-content: flex-start;
  gap: 8px;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--amvi-ink);
  -webkit-text-fill-color: var(--amvi-ink);
  text-align: left;
}

@media (hover: hover) and (pointer: fine) {
  .amvi-fit-quiz__option:not(.amvi-fit-quiz__option--image):hover .amvi-fit-quiz__option-card {
    box-shadow: 2px 2px 6px 0 rgba(1, 1, 1, 0.05), 2px 4px 9px 0 rgba(1, 1, 1, 0.15);
  }
}

.amvi-fit-quiz__option:not(.amvi-fit-quiz__option--image) input:checked ~ .amvi-fit-quiz__option-card,
.amvi-fit-quiz__option:not(.amvi-fit-quiz__option--image).is-selected .amvi-fit-quiz__option-card {
  background: #fff;
  box-shadow: 0 0 0 2px var(--amvi-select);
}

.amvi-fit-quiz__option:not(.amvi-fit-quiz__option--image) input:checked ~ .amvi-fit-quiz__option-label,
.amvi-fit-quiz__option:not(.amvi-fit-quiz__option--image) input:checked ~ .amvi-fit-quiz__option-card .amvi-fit-quiz__option-label,
.amvi-fit-quiz__option:not(.amvi-fit-quiz__option--image).is-selected .amvi-fit-quiz__option-label {
  border: none;
  background: transparent;
  box-shadow: none;
  padding-right: 0;
}

.amvi-fit-quiz__option:not(.amvi-fit-quiz__option--image) .amvi-fit-quiz__option-copy {
  align-items: flex-start;
  height: auto;
}

.amvi-fit-quiz__option-sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.3;
  padding: 0 8px 4px;
}

.amvi-fit-quiz__option-label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  height: 100%;
  min-height: 56px;
  padding: 16px;
  border: 0;
  border-radius: 4px;
  background: #fff;
  font-size: 16px;
  font-weight: 400;
  color: var(--amvi-ink);
  text-align: left;
  box-sizing: border-box;
  box-shadow: var(--amvi-card-shadow);
  transition: box-shadow 0.3s cubic-bezier(0.64, 0.04, 0.35, 1);
}

.amvi-fit-quiz__check {
  position: relative;
  z-index: 4;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  border-radius: 2px;
  border: 1px solid var(--amvi-check-line);
  background: #fff;
  color: transparent;
  box-shadow: none;
  pointer-events: none;
}

.amvi-fit-quiz__option--image .amvi-fit-quiz__check {
  position: absolute;
  top: 10px;
  right: 10px;
}

.amvi-fit-quiz__check svg {
  display: block;
  width: 14px;
  height: 14px;
  opacity: 0;
}

.amvi-fit-quiz__check::after {
  content: none;
}

.amvi-fit-quiz__option input:checked ~ .amvi-fit-quiz__option-label .amvi-fit-quiz__check,
.amvi-fit-quiz__option input:checked ~ .amvi-fit-quiz__option-card .amvi-fit-quiz__check,
.amvi-fit-quiz__option.is-selected .amvi-fit-quiz__check {
  display: flex !important;
  background: var(--amvi-select);
  border-color: var(--amvi-select);
  color: #fff;
}

.amvi-fit-quiz__option input:checked ~ .amvi-fit-quiz__option-label .amvi-fit-quiz__check svg,
.amvi-fit-quiz__option input:checked ~ .amvi-fit-quiz__option-card .amvi-fit-quiz__check svg,
.amvi-fit-quiz__option.is-selected .amvi-fit-quiz__check svg {
  opacity: 1;
}

.amvi-fit-quiz__option.is-just-picked .amvi-fit-quiz__check,
.amvi-fit-quiz__skip.is-just-picked .amvi-fit-quiz__check {
  animation: amvi-check-in 180ms ease-out;
}

@keyframes amvi-check-in {
  from {
    transform: scale(0.72);
  }
  to {
    transform: scale(1);
  }
}

@media (hover: hover) and (pointer: fine) {
  .amvi-fit-quiz__option:hover > .amvi-fit-quiz__option-label {
    box-shadow: 2px 2px 6px 0 rgba(1, 1, 1, 0.05), 2px 4px 9px 0 rgba(1, 1, 1, 0.15);
  }
}

.amvi-fit-quiz__option input:checked ~ .amvi-fit-quiz__option-label,
.amvi-fit-quiz__option.is-selected > .amvi-fit-quiz__option-label {
  background: #fff;
  box-shadow: 0 0 0 2px var(--amvi-select);
}

/* Image tiles: one square card, icon + label + subtext */
.amvi-fit-quiz__option--image .amvi-fit-quiz__option-card {
  position: relative;
  aspect-ratio: auto;
  border: 0;
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--amvi-card-shadow);
  overflow: hidden;
  transition: box-shadow 0.3s cubic-bezier(0.64, 0.04, 0.35, 1);
}

.amvi-fit-quiz__options--brands .amvi-fit-quiz__option--image .amvi-fit-quiz__option-card {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  aspect-ratio: auto;
  min-height: 75px;
  height: auto;
  padding: 14px 44px 14px 14px;
}

.amvi-fit-quiz__options--brands .amvi-fit-quiz__option--image .amvi-fit-quiz__option-media,
.amvi-fit-quiz__options--brands .amvi-fit-quiz__option-media--brand {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
}

.amvi-fit-quiz__options--brands .amvi-fit-quiz__option--image .amvi-fit-quiz__option-media img,
.amvi-fit-quiz__options--brands .amvi-brand-logo {
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.amvi-fit-quiz__options--brands .amvi-fit-quiz__option--image .amvi-fit-quiz__option-copy {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  align-items: flex-start;
  text-align: left;
  padding: 0;
}

.amvi-fit-quiz__options--brands .amvi-fit-quiz__option--image .amvi-fit-quiz__option-label {
  justify-content: flex-start;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  text-align: left;
}

.amvi-fit-quiz__options--brands .amvi-fit-quiz__option--image .amvi-fit-quiz__check {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  margin-left: 0;
}

.amvi-fit-quiz__options--brands:not(.is-expanded):not(.is-searching) .amvi-fit-quiz__option.is-collapsed:not(.is-selected) {
  display: none;
}

.amvi-fit-quiz__see-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  max-width: 640px;
  margin: 16px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--amvi-ink, #111);
  font: inherit;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.amvi-fit-quiz__see-more[hidden] {
  display: none;
}

.amvi-fit-quiz__skip {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 12px auto 0;
  padding: 12px 16px;
  border: 0;
  background: transparent;
  color: var(--amvi-ink, #111);
  font: inherit;
  font-size: 16px;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.amvi-fit-quiz__skip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  z-index: 2;
  cursor: pointer;
  pointer-events: auto;
  appearance: none;
  -webkit-appearance: none;
}

.amvi-fit-quiz__skip.is-selected {
  font-weight: 700;
}

.amvi-fit-quiz__see-more svg {
  display: block;
  transition: transform 0.2s ease;
}

.amvi-fit-quiz__see-more.is-expanded svg,
.amvi-fit-quiz__see-more[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

@media (hover: hover) and (pointer: fine) {
  .amvi-fit-quiz__option--image:hover .amvi-fit-quiz__option-card {
    box-shadow: 2px 2px 6px 0 rgba(1, 1, 1, 0.05), 2px 4px 9px 0 rgba(1, 1, 1, 0.15);
  }
}

.amvi-fit-quiz__option--image input:checked + .amvi-fit-quiz__option-card,
.amvi-fit-quiz__option--image.is-selected .amvi-fit-quiz__option-card {
  background: #fff;
  box-shadow: 0 0 0 2px var(--amvi-select);
}

.amvi-fit-quiz__option--image .amvi-fit-quiz__option-media {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 84px;
  min-height: 84px;
  padding: 10px 8px 0;
  border: none;
  border-radius: 8px;
  background: transparent;
}

/* Seats: TrueCar stacks one card per row with the original isometric
   diagrams left of the label. Transparent PNG, white card, no dark well. */
.amvi-fit-quiz__option--image .amvi-fit-quiz__option-media.amvi-fit-quiz__option-media--seats {
  background: transparent;
  margin: 0;
  padding: 0 !important;
}

.amvi-seat-img {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  width: 93px !important;
  height: 70px !important;
  max-width: 93px !important;
  max-height: 70px !important;
  flex: 0 0 93px;
  object-fit: contain;
  background: transparent;
  filter: none !important;
  -webkit-filter: none !important;
}

.amvi-fit-quiz__options.amvi-fit-quiz__options--seats {
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  overflow: visible;
}

.amvi-fit-quiz__options--seats .amvi-fit-quiz__option--image .amvi-fit-quiz__option-card {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  aspect-ratio: auto;
  min-height: 92px;
  padding: 10px 44px 10px 14px;
  overflow: visible;
}

.amvi-fit-quiz__options--seats .amvi-fit-quiz__option-media--seats {
  flex: 0 0 93px;
  width: 93px;
  height: 70px;
  min-height: 70px;
  overflow: visible;
}

.amvi-fit-quiz__options--seats .amvi-fit-quiz__option-copy {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  align-items: flex-start;
  text-align: left;
  padding: 0;
  gap: 2px;
}

.amvi-fit-quiz__options--seats .amvi-fit-quiz__option--image .amvi-fit-quiz__option-label {
  min-height: 0;
  height: auto;
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  color: var(--amvi-ink);
  -webkit-text-fill-color: var(--amvi-ink);
}

.amvi-fit-quiz__options--seats .amvi-fit-quiz__option-sub {
  display: none;
}

/* The check is first in the markup and these are row cards, so it belongs at
   the trailing edge. Left in flow it was pushed past the card's right edge by
   a long label and then clipped by `overflow: hidden`, which is why the
   selection state was invisible on narrow screens. Pinning it keeps it on the
   card whatever the label length; the card reserves room for it below. */
.amvi-fit-quiz__options--seats .amvi-fit-quiz__option--image .amvi-fit-quiz__check {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  margin-left: 0;
}

.amvi-fit-quiz__options.amvi-fit-quiz__options--fuel {
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  overflow: visible;
}

.amvi-fit-quiz__options--fuel .amvi-fit-quiz__option--image .amvi-fit-quiz__option-card {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  aspect-ratio: auto;
  overflow: hidden;
  min-height: 68px;
  padding: 10px 44px 10px 14px;
}

.amvi-fit-quiz__options--fuel .amvi-fit-quiz__option-media--fuel {
  flex: 0 0 auto;
  height: auto;
  min-height: 0;
  padding: 0;
}

.amvi-fit-quiz__options--fuel .amvi-fit-quiz__option--image .amvi-fit-quiz__option-media img {
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
}

.amvi-fit-quiz__options--fuel .amvi-fit-quiz__option-copy {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  align-items: flex-start;
  text-align: left;
  padding: 0;
  gap: 2px;
}

.amvi-fit-quiz__options--fuel .amvi-fit-quiz__option--image .amvi-fit-quiz__option-label {
  min-height: 0;
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  color: var(--amvi-ink);
  -webkit-text-fill-color: var(--amvi-ink);
}

.amvi-fit-quiz__options--fuel .amvi-fit-quiz__option-sub {
  display: block;
  padding: 0;
  font-size: 13px;
  color: var(--amvi-muted);
  text-align: left;
}

.amvi-fit-quiz__options--fuel .amvi-fit-quiz__option--image .amvi-fit-quiz__check {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  margin-left: 0;
}

.amvi-fit-quiz__options--brands {
  min-height: 0;
  overflow: visible;
}

.amvi-fit-quiz__option--image .amvi-fit-quiz__option-media img,
.amvi-fit-quiz__option--image .amvi-fit-quiz__option-media svg {
  width: 93px;
  height: 70px;
  max-width: 90%;
  max-height: 70px;
  object-fit: contain;
  display: block;
}

.amvi-fit-quiz__option--image .amvi-fit-quiz__option-copy {
  flex: 0 0 auto;
  padding: 4px 8px 12px;
}

.amvi-fit-quiz__option--image .amvi-fit-quiz__option-label {
  min-height: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  -webkit-text-fill-color: #111;
}

.amvi-fit-quiz__option--image input:checked + .amvi-fit-quiz__option-card .amvi-fit-quiz__option-label,
.amvi-fit-quiz__option--image.is-selected .amvi-fit-quiz__option-label {
  border: none;
  background: transparent;
  box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
  .amvi-fit-quiz__option--image:hover .amvi-fit-quiz__option-label {
    border: none;
    background: transparent;
    box-shadow: none;
  }
}

/* Field steps */
.amvi-fit-quiz__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 12px;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}

.amvi-fit-quiz__field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}

.amvi-fit-quiz__field--wide:not(.amvi-fit-quiz__field--half) {
  grid-column: 1 / -1;
}

.amvi-fit-quiz__field--half {
  grid-column: span 1;
}

.amvi-address-field,
.amvi-address-field__wrap {
  display: block;
  min-width: 0;
  flex-shrink: 0;
}

.amvi-address-field__wrap .pca {
  min-width: 0;
  width: auto !important;
  max-width: 100%;
  position: relative !important;
  inset: auto !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.amvi-address-field .pcaflag,
.pcaautocomplete.pcacountrylist {
  display: none !important;
}

.amvi-address-field__input,
.amvi-address-field__wrap input#amvi-address-complete {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  box-sizing: border-box;
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  height: auto !important;
  min-height: 52px !important;
  max-height: none !important;
  margin: 0;
  padding: 14px 16px !important;
  border: 2px solid #d1d5db !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  font-family: inherit;
  background: #fff !important;
  background-clip: padding-box;
  color: #111 !important;
  caret-color: #111;
  -webkit-text-fill-color: #111 !important;
  box-shadow: none !important;
  outline: none;
  white-space: normal;
  overflow: visible;
  user-select: text;
  -webkit-user-select: text;
}

.amvi-address-field__input.is-invalid,
.amvi-address-field__wrap input#amvi-address-complete.is-invalid {
  border-color: #b91c1c !important;
}

/* PCA sometimes injects .aclogo beside the lookup. Ours lives under the hint. */
.amvi-address-field__wrap .aclogo,
.amvi-address-field__wrap .pcalogo,
.amvi-address-field__wrap img[src*="address_complete_logo"] {
  display: none !important;
}

.amvi-address-field__credit {
  display: block;
  width: 112px;
  height: 15px;
  margin-top: 8px;
  object-fit: contain;
  object-position: left center;
  pointer-events: none;
}

/* Keep the mark's height while the lookup is open so Continue does not jump
   when the field blurs. Hide with visibility, not display, so the click
   target for Continue stays put. */
.amvi-address-field:focus-within .amvi-address-field__credit {
  visibility: hidden;
}

.amvi-field-error[data-hint]:not(.is-error) {
  font-weight: 400;
  color: var(--apply-muted, #6b7280);
}

/* PCA search dropdown: keep the official AddressComplete mark visible in the
   footer. Their stylesheet already paints .aclogo; this only stops our
   resets from collapsing it. */
.pca .pcaautocomplete .pcafooter .aclogo {
  display: block;
  width: 112px;
  height: 15px;
  font-size: 0;
  
  background-repeat: no-repeat;
  background-size: contain;
}

.amvi-address-field__note {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #6b7280;
}

/* Reading the picked address back is what separates a real selection from an
   address the browser autofilled. An empty panel is the cue that the province
   behind this step is still missing. */
.amvi-address-field__confirm {
  display: block;
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #f0f7ff;
}

.amvi-address-field__confirm-label {
  display: block;
  font-size: 12px;
  color: var(--apply-muted, #6b7280);
}

.amvi-address-field__confirm-value {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: #1d4ed8;
}

/* Shown only after a pick has failed, so asking for a selection can never be
   a dead end for an address AddressComplete does not hold. */
.amvi-address-field__cant {
  display: inline-block;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  color: var(--apply-muted, #6b7280);
  text-decoration: underline;
  cursor: pointer;
}

.amvi-address-field__cant:hover {
  color: #111;
}

/* Spelling the address out replaces the lookup rather than sitting under it,
   so the step never shows two ways to answer the same question at once. */
.amvi-address-field.is-manual .amvi-address-field__wrap,
.amvi-address-field.is-manual .amvi-address-field__confirm,
.amvi-address-field.is-manual .amvi-address-field__credit,
.amvi-address-field.is-manual #amvi-err-address-complete:not(.is-error) {
  display: none !important;
}

.amvi-address-manual {
  display: block;
  margin-top: 10px;
}

/* An author display rule outranks the browser's own [hidden] styling, so each
   of these has to opt back out by hand, the way the rest of this sheet does. */
.amvi-address-manual[hidden],
.amvi-address-field__confirm[hidden],
.amvi-address-field__cant[hidden] {
  display: none !important;
}

.amvi-address-manual__stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.amvi-address-manual__input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  font-size: 16px;
  color: #111;
}

.amvi-address-manual__input:focus {
  outline: none;
  border-color: #111;
}

.amvi-fit-quiz__field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.amvi-fit-quiz__field input[type="text"],
.amvi-fit-quiz__field input[type="email"],
.amvi-fit-quiz__field input[type="tel"],
.amvi-fit-quiz__field input[type="number"],
.amvi-fit-quiz__field input[type="search"],
.amvi-fit-quiz__search input,
.amvi-fit-quiz__field select,
.amvi-dob__row select {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  padding: 14px 16px;
  min-height: 52px;
  font-size: 16px;
  line-height: 1.3;
  font-family: inherit;
  background: #fff;
  color: #111;
  caret-color: #111;
  -webkit-text-fill-color: #111;
  opacity: 1;
  visibility: visible;
  position: relative;
  z-index: 1;
  transition: border-color 0.15s ease;
}

.amvi-fit-quiz__field select,
.amvi-dob__row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23111' stroke-width='1.5' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.amvi-fit-quiz__field input.is-invalid,
.amvi-fit-quiz__field select.is-invalid,
.amvi-dob select.is-invalid {
  border-color: #b91c1c !important;
}

.amvi-field-error {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #b91c1c;
  text-align: left;
}

.amvi-app-step > .amvi-field-error {
  max-width: 480px;
  width: 100%;
  margin: 10px auto 0;
  text-align: left;
}

.amvi-fit-quiz__options.is-invalid .amvi-fit-quiz__option:not(.amvi-fit-quiz__option--image) .amvi-fit-quiz__option-label,
.amvi-fit-quiz__options.is-invalid .amvi-fit-quiz__option:not(.amvi-fit-quiz__option--image) .amvi-fit-quiz__option-card,
.amvi-fit-quiz__options.is-invalid .amvi-fit-quiz__option--image .amvi-fit-quiz__option-card {
  border-color: #b91c1c;
}

.amvi-fit-quiz__consent.is-invalid .amvi-fit-quiz__consent-check {
  outline: 2px solid #b91c1c;
  outline-offset: 4px;
  border-radius: 8px;
}

.amvi-field-error[hidden] {
  display: none !important;
}

.amvi-dob__row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 10px;
}
.amvi-dob__row label {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.amvi-dob__row label span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}
.amvi-dob__hint {
  margin: 8px 0 0;
  font-size: 13px;
  color: #6b7280;
}

.amvi-fit-quiz__field input:focus,
.amvi-fit-quiz__field select:focus,
.amvi-dob__row select:focus {
  outline: none;
  border-color: #111;
}

.amvi-address-field__input:focus,
.amvi-address-field__input:focus-visible,
.amvi-address-field__wrap input#amvi-address-complete:focus,
.amvi-address-field__wrap input#amvi-address-complete:focus-visible {
  outline: none !important;
  outline-offset: 0;
  box-shadow: none !important;
  border-color: #111 !important;
}

/* Money inputs (rent, mortgage) carry a leading $ so the value reads as a
   dollar amount without asking the applicant to type the sign. */
.amvi-money-field {
  position: relative;
  display: block;
}
.amvi-money-field__sign {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  font-weight: 600;
  color: #6b7280;
  line-height: 1;
  pointer-events: none;
}
.amvi-fit-quiz__field input.amvi-money-field__input {
  padding-left: 30px;
}

/* Buying-power card: TrueCar's four finance inputs on one step — $ field
   on the right of each label, range underneath, min/max captions, credit
   as a dropdown, trade-in behind a checkbox, skip as a text control. */
.amvi-power {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}
.amvi-power__block {
  margin: 0 0 28px;
}
.amvi-power__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.amvi-power__label {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
}
.amvi-power__head .amvi-power__label {
  flex: 1 1 auto;
  min-width: 0;
}
.amvi-power .amvi-why__bubble {
  width: min(330px, calc(100vw - 48px));
}
.amvi-power__money {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 125px;
  flex: 0 0 125px;
  min-height: 44px;
  padding: 8px 12px;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: right;
  caret-color: #111;
}
.amvi-power__money:focus,
.amvi-power__select:focus {
  outline: none;
  border-color: #111;
}
.amvi-power__range {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 32px;
  margin: 4px 0 6px;
  background: transparent;
  cursor: pointer;
}
.amvi-power__range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(to right, #111 var(--fill, 0%), #d1d5db var(--fill, 0%));
}
.amvi-power__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 32px;
  height: 32px;
  margin-top: -12px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #c5c5c5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}
.amvi-power__range::-moz-range-track {
  height: 8px;
  border-radius: 99px;
  background: #d1d5db;
  border: 0;
}
.amvi-power__range::-moz-range-progress {
  height: 8px;
  border-radius: 99px;
  background: #111;
  border: 0;
}
.amvi-power__range::-moz-range-thumb {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #c5c5c5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}
.amvi-power__minmax {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #6b7280;
}
.amvi-power__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 10px;
  margin-top: 4px;
}
.amvi-power__link,
.amvi-power__skip {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.amvi-power__link {
  display: inline-block;
  margin: 0;
}
.amvi-power__link[aria-pressed="true"] {
  text-decoration: none;
  color: #374151;
}
.amvi-power__select {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 10px;
  min-height: 52px;
  padding: 14px 40px 14px 16px;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23111' stroke-width='1.5' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  color: #111;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.3;
}
.amvi-power__check-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}
.amvi-power__check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  cursor: pointer;
}
.amvi-power__check input {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin: 0;
  flex: 0 0 22px;
  border: 2px solid #111;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}
.amvi-power__check input:checked {
  background: #111 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M2.2 6.2 4.8 8.8 9.8 3.2'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}
.amvi-power__trade {
  margin-top: 16px;
}
.amvi-power__skip {
  display: inline-block;
  margin: 0;
  text-align: center;
}
.amvi-power.is-no-budget .amvi-power__block--monthly .amvi-power__range,
.amvi-power.is-no-budget .amvi-power__block--monthly .amvi-power__money {
  opacity: 0.4;
}
.amvi-power .amvi-field-error {
  margin-top: 8px;
}
.amvi-power__money.is-invalid,
.amvi-power__select.is-invalid {
  border-color: #b91c1c !important;
}

@media (max-width: 560px) {
  .amvi-power__head {
    flex-wrap: wrap;
  }
  .amvi-power__money {
    width: 100%;
    flex-basis: 100%;
  }
  .amvi-power__link,
  .amvi-power__skip {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* Choice fields inside a multi-field step (home, eligibility) reuse the pill
   option cards from standalone steps. Keep them full-width and single-column so
   the pills line up with the field label above and the inputs beside them,
   rather than the narrower centred column standalone steps use. */
.amvi-fit-quiz__field .amvi-fit-quiz__options {
  grid-template-columns: 1fr;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 3px 0;
}

.amvi-fit-quiz__consent {
  max-width: 520px;
  margin: 0 auto;
}

.amvi-fit-quiz__consent-text {
  font-size: 13px;
  line-height: 1.6;
  color: #6b7280;
  margin: 0 0 16px;
}

.amvi-fit-quiz__consent-check {
  margin-bottom: 8px;
}

.amvi-sell-estimate {
  max-width: 480px;
  width: 100%;
  margin: 0 auto 24px;
  padding: 20px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  text-align: center;
}

.amvi-sell-estimate__kicker {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 8px;
}

.amvi-sell-estimate__range {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #111;
}

.amvi-sell-estimate__note {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
}

/* Sticky footer CTA */
.amvi-fit-quiz__footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, #fff 70%, rgba(255, 255, 255, 0));
  border-top: 1px solid #f3f4f6;
}

.amvi-fit-quiz__footer[hidden] {
  display: none !important;
}

.amvi-fit-quiz__footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
}

.amvi-fit-quiz__skip {
  background: none;
  border: none;
  color: #555;
  text-decoration: underline;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 12px;
}

@media (hover: hover) and (pointer: fine) {
  .amvi-fit-quiz__skip:hover {
    color: #111;
  }
}

.amvi-fit-quiz__skip[hidden],
.amvi-fit-quiz__continue[hidden],
.amvi-fit-quiz__submit[hidden] {
  display: none !important;
}

.amvi-fit-quiz__continue {
  display: block;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 52px;
  padding: 0 24px;
  border: none;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.amvi-fit-quiz__continue:hover {
  background: #333;
}

.amvi-fit-quiz__continue:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Success state */
.amvi-fit-quiz--success {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Confirmation page. This is a shop surface, not a quiz shell: grey canvas,
   white cards, real header and footer. The job is closure (you are done), a
   picture of the next two legs, one optional gift, and something to do while
   waiting — not another form and not a fake approval. */
.amvi-thanks-page {
  background: #ececec;
  min-height: 60vh;
}

body.amvi-application-thanks {
  background: #ececec;
}

.amvi-thanks {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 20px 80px;
  text-align: left;
}

.amvi-thanks__hero {
  position: relative;
  overflow: hidden;
  background: #111;
  color: #fff;
  border-radius: 24px;
  padding: 40px 36px 32px;
  margin-bottom: 14px;
}

.amvi-thanks__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #3e1c7a;
}

.amvi-thanks__panel {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04);
  padding: 28px 32px 26px;
  margin-bottom: 16px;
}

.amvi-thanks__follow {
  margin: 8px 4px 0;
}

.amvi-thanks__showroom {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 22px;
}

.amvi-thanks__showroom img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #f3f3f3;
  border-radius: 12px;
}

.amvi-thanks__mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e7f6ed;
  color: #1a7f43;
  margin-bottom: 22px;
  animation: amvi-thanks-pop 380ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* A single ring travelling outwards once the tick has drawn, which reads as
   confirmation landing rather than as something still loading. It runs once
   and stops: a repeating pulse on a page about money looks like a warning. */
.amvi-thanks__mark::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #1a7f43;
  animation: amvi-thanks-ring 820ms ease-out 300ms both;
}

@keyframes amvi-thanks-ring {
  from {
    opacity: 0.5;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.85);
  }
}

/* The tick draws itself rather than appearing all at once. The dash length is
   the path's own length (~22.6 units) rounded up, so it starts fully hidden. */
.amvi-thanks__mark path {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: amvi-thanks-draw 420ms ease-out 220ms both;
}

@keyframes amvi-thanks-pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes amvi-thanks-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes amvi-thanks-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.amvi-thanks__eyebrow {
  margin: 0 0 8px;
  font-family: var(--amvi-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #1a7f43;
  animation: amvi-thanks-rise 420ms ease-out 360ms both;
}

.amvi-thanks__title {
  margin: 0 0 12px;
  font-family: var(--amvi-ui);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.7px;
  line-height: 1.15;
  animation: amvi-thanks-rise 420ms ease-out 440ms both;
}

.amvi-thanks__lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--amvi-muted, #555);
  animation: amvi-thanks-rise 420ms ease-out 520ms both;
}

.amvi-thanks__journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 28px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid #eee;
  list-style: none;
  animation: amvi-thanks-rise 420ms ease-out 600ms both;
}

.amvi-thanks__leg {
  display: grid;
  gap: 2px;
  text-align: center;
}

.amvi-thanks__leg-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
}

.amvi-thanks__leg.is-done .amvi-thanks__leg-kicker {
  color: #1a7f43;
}

.amvi-thanks__leg.is-now .amvi-thanks__leg-kicker {
  color: #111;
}

.amvi-thanks__leg.is-next .amvi-thanks__leg-kicker {
  color: #9a9a9a;
}

.amvi-thanks__leg-title {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
}

.amvi-thanks__leg.is-next .amvi-thanks__leg-title {
  color: #6a6a6a;
}

.amvi-thanks__leg-sub {
  font-size: 12px;
  color: #767676;
  line-height: 1.3;
}

.amvi-thanks__hero .amvi-thanks__eyebrow,
.amvi-apply__card--received .amvi-thanks__eyebrow,
.amvi-fit-quiz__hero--received .amvi-thanks__eyebrow {
  color: #5dca86 !important;
  -webkit-text-fill-color: #5dca86 !important;
}

.amvi-thanks__hero .amvi-thanks__title,
.amvi-apply__card--received .amvi-thanks__title,
.amvi-fit-quiz__hero--received .amvi-thanks__title {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.amvi-thanks__hero .amvi-thanks__lead,
.amvi-apply__card--received .amvi-thanks__lead,
.amvi-fit-quiz__hero--received .amvi-thanks__lead {
  color: #c8c8c8 !important;
  -webkit-text-fill-color: #c8c8c8 !important;
}

.amvi-apply__card--received .amvi-thanks__next {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #2a2a2a;
}

.amvi-apply__card--received .amvi-thanks__next-num {
  background: #fff;
  color: #111;
}

.amvi-apply__card--received .amvi-thanks__next-title {
  color: #fff;
}

.amvi-apply__card--received .amvi-thanks__next-body,
.amvi-apply__card--received .amvi-thanks__contact {
  color: #c8c8c8 !important;
}

.amvi-apply__card--received .amvi-thanks__contact a {
  color: #fff;
}

.amvi-thanks__hero .amvi-thanks__journey,
.amvi-apply__card--received .amvi-thanks__journey {
  border-top-color: #2a2a2a;
}

.amvi-thanks__hero .amvi-thanks__leg-title,
.amvi-apply__card--received .amvi-thanks__leg-title {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.amvi-thanks__hero .amvi-thanks__leg.is-next .amvi-thanks__leg-title,
.amvi-apply__card--received .amvi-thanks__leg.is-next .amvi-thanks__leg-title {
  color: #8a8a8a !important;
  -webkit-text-fill-color: #8a8a8a !important;
}

.amvi-thanks__hero .amvi-thanks__leg-sub,
.amvi-apply__card--received .amvi-thanks__leg-sub {
  color: #8a8a8a !important;
  -webkit-text-fill-color: #8a8a8a !important;
}

.amvi-apply__card--received {
  position: relative;
  overflow: hidden;
  background: #111;
  color: #fff;
  border: 0;
  padding: 36px 32px 32px;
}

.amvi-apply__card--received::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #3e1c7a;
}

.amvi-fit-quiz__hero--received {
  background: #111;
  color: #fff;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 40px 24px 44px;
  border-radius: 0;
}

.amvi-apply__card--received .amvi-thanks__cta,
.amvi-fit-quiz__hero--received .amvi-thanks__cta {
  background: #fff;
  color: #111;
}

.amvi-apply__card--received .amvi-thanks__cta:hover,
.amvi-fit-quiz__hero--received .amvi-thanks__cta:hover {
  background: #eee;
  color: #111;
}

.amvi-apply__card--received .amvi-thanks__link,
.amvi-fit-quiz__hero--received .amvi-thanks__link {
  color: #fff;
}

.amvi-apply__card--received .amvi-thanks__actions,
.amvi-fit-quiz__hero--received .amvi-thanks__actions {
  margin-top: 24px;
}

.amvi-thanks__panel {
  animation: amvi-thanks-rise 420ms ease-out 680ms both;
}

.amvi-thanks__subtitle {
  margin: 0 0 16px;
  font-family: var(--amvi-ui);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.amvi-thanks__badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e7f6ed;
  color: #1a7f43;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

.amvi-thanks__next {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.amvi-thanks__next-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.amvi-thanks__next-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.amvi-thanks__next-title {
  margin: 2px 0 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.amvi-thanks__next-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--amvi-muted, #555);
}

.amvi-thanks__note {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid #eee;
  font-size: 13px;
  line-height: 1.5;
  color: var(--amvi-muted, #666);
}

/* Confirmation of a financial application is the wrong moment to ignore a
   stated accessibility preference, so everything simply appears instead. */
@media (prefers-reduced-motion: reduce) {
  .amvi-thanks__mark,
  .amvi-thanks__mark::after,
  .amvi-thanks__mark path,
  .amvi-thanks__eyebrow,
  .amvi-thanks__title,
  .amvi-thanks__lead,
  .amvi-thanks__journey,
  .amvi-thanks__panel {
    animation: none;
  }

  .amvi-thanks__mark::after {
    opacity: 0;
  }

  .amvi-thanks__mark path {
    stroke-dashoffset: 0;
  }
}

/* ==========================================================================
   Application shell
   Logo, trust pill, card, and the car-to-house progress bar.
   ========================================================================== */

/* Monochrome by choice: the chrome here is black on off-white, matching the
   CTA black used across the rest of the site. Colour is reserved for the logo,
   so the lock, the bolt, the car and the fill never compete with it. */
.amvi-apply {
  --apply-ink: #1f1f1f;
  --apply-accent: #1f1f1f;
  --apply-muted: #767676;
  --apply-line: #e9e9ec;
  --apply-wash: #fafafa;

  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

/* The card has to sit on something slightly darker than itself or the border
   and shadow do no work and the whole thing reads as a flat page. */
.amvi-fit-quiz-page--steps {
  background: #f7f8fb;
}

/* The application is a single-purpose page, so the site header comes off it.
   It was also rendering a second logo directly above this one, and every link
   in it is a way out of a form we are asking someone to finish. The footer
   stays reachable through the consent links inside the card. */
html body.amvi-application-steps #site-header,
html body.amvi-application-steps .header-wrap,
html body.amvi-application-steps .header-mobile-wrap,
html body.amvi-application-steps .off-canvas,
html body.amvi-application-steps .top-bar,
html body.amvi-application-steps .header-top,
html body.amvi-application-steps .is-header-top,
html body.amvi-application-steps #site-footer,
html body.amvi-application-steps .footer-wrap,
html body.amvi-application-steps .amvi-sticky-shop,
html body.amvi-application-steps .amvi-fb,
html body.amvi-application-steps #back-top,
html body.amvi-application-steps .rb-backtop {
  display: none !important;
}

/* Chrome/Edge treat a slightly diagonal two-finger scroll as back/forward.
   The last apply step is the first that actually scrolls, and the page before
   this one is usually the homepage. */
html:has(body.amvi-application-steps),
html:has(body.amvi-application-quiz),
html body.amvi-application-steps,
html body.amvi-application-quiz {
  overscroll-behavior-x: none;
}

.amvi-apply__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 0 20px;
}

/* Wordmark, matched to the site header and homepage: the Coustard display face
   at 900, uppercase, with the leading A in brand red. Restated here because
   auth.css owns the canonical rule and is not loaded on this page. */
.amvi-apply .amvi-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
  text-decoration: none !important;
  cursor: default;
}

.amvi-apply .amvi-logo__mark {
  font-family: var(--amvi-display, Coustard, Georgia, "Times New Roman", serif);
  font-weight: 900;
  font-size: var(--amvi-wordmark-size, 28px);
  letter-spacing: -0.05em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  color: #111;
  -webkit-text-fill-color: #111;
}

.amvi-apply .amvi-logo__a {
  color: #3e1c7a;
  -webkit-text-fill-color: #3e1c7a;
}

@media (max-width: 560px) {
  .amvi-apply {
    --amvi-wordmark-size: 22px;
  }
}

/* Pill under the wordmark. 10px uppercase with wide tracking reads as a
   security seal rather than as body copy competing with the question. */
.amvi-apply__secure {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 7px 14px;
  border: 1px solid var(--apply-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--apply-ink);
  line-height: 1;
}

.amvi-apply__secure svg {
  display: block;
  color: var(--apply-accent);
}

.amvi-apply__card {
  background: #fff;
  border: 1px solid var(--apply-line);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(31, 35, 60, 0.07);
  overflow: hidden;
}

.amvi-apply__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 28px;
  background: var(--apply-wash);
}

.amvi-apply__instant,
.amvi-apply__free {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
}

.amvi-apply__instant {
  color: var(--apply-accent);
}

.amvi-apply__instant svg {
  display: block;
}

.amvi-apply__free {
  color: var(--apply-muted);
}

/* The trip. The rail is the road, the fill is the distance covered, and the
   car sits at the head of the fill with the house waiting at the end. */
.amvi-apply__track {
  position: relative;
  height: 30px;
  background: #fff;
  border-bottom: 1px solid var(--apply-line);
}

.amvi-apply__fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--apply-line);
}

.amvi-apply__fill .amvi-fit-quiz__progress-bar {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 0 3px 3px 0;
  background: var(--apply-accent);
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.amvi-apply__car {
  position: absolute;
  bottom: 2px;
  left: 0;
  color: var(--apply-accent);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.22));
  transform: translateX(-50%);
  transition: left 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.amvi-apply__car svg {
  display: block;
}

.amvi-apply__house {
  position: absolute;
  right: 8px;
  bottom: 5px;
  color: #cbd0dd;
  transform-origin: 50% 100%;
  transition: color 0.45s ease, transform 0.45s ease;
}

.amvi-apply__house.is-near {
  color: var(--apply-accent);
}

.amvi-apply__house.is-home {
  color: var(--apply-accent);
  transform: scale(1.14);
}

.amvi-apply__house svg {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .amvi-plate.is-stamped .amvi-plate__name,
  .amvi-plate.is-province-set,
  .amvi-fit-quiz__eta.is-just-done,
  .amvi-fit-quiz__option.is-just-picked .amvi-fit-quiz__check,
  .amvi-fit-quiz__skip.is-just-picked .amvi-fit-quiz__check,
  .amvi-otp.is-just-verified {
    animation: none;
  }

  .amvi-apply__house {
    transition: color 0.45s ease;
  }

  .amvi-apply__house.is-home {
    transform: none;
  }
}

.amvi-apply__body {
  padding: 26px 28px 30px;
}

/* The original quiz pinned this bar to the bottom of the viewport, which was
   right when the page filled the screen and never scrolled. In the card layout
   there is content beneath the card, and a fixed bar sat on top of it. It goes
   back into normal flow at the end of the card instead. Sticky is not an option
   here: the card sets overflow:hidden for its rounded corners, which makes it
   the containing block and stops sticky from ever reaching the viewport. */
.amvi-apply .amvi-fit-quiz__footer {
  position: static;
  z-index: auto;
  margin-top: 22px;
  padding: 0;
  background: none;
}

.amvi-apply .amvi-fit-quiz__footer-inner {
  align-items: stretch;
  width: 100%;
}

/* Back arrow bottom-left, step counter bottom-right. */
.amvi-apply__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  margin-top: 18px;
}

.amvi-apply__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--apply-line);
  border-radius: 999px;
  background: #fff;
  color: var(--apply-muted);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.amvi-apply__back:hover {
  border-color: #c9c9cf;
  color: var(--apply-ink);
}

.amvi-apply__back[hidden] {
  display: none;
}

.amvi-apply__back svg {
  display: block;
}

.amvi-apply__foot .amvi-fit-quiz__eta {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--apply-muted);
  line-height: 1;
}

/* Trust strip under the card, opening step only. */
.amvi-apply__trust {
  margin-top: 20px;
}

.amvi-apply__trust[hidden] {
  display: none;
}

.amvi-apply__trust .amvi-proceed {
  margin: 0;
}

.amvi-apply__trust .amvi-proceed__safe {
  color: var(--apply-muted);
  -webkit-text-fill-color: var(--apply-muted);
  font-weight: 500;
}

.amvi-apply__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.amvi-apply__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apply-ink);
  line-height: 1.2;
  white-space: nowrap;
}

.amvi-apply__badge svg {
  display: block;
  color: var(--apply-accent);
}

.amvi-apply__journey {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
  pointer-events: none;
  user-select: none;
}

.amvi-apply__leg {
  display: grid;
  gap: 2px;
}

.amvi-apply__leg-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--apply-ink);
  line-height: 1.35;
}

.amvi-apply__leg-sub {
  font-size: 10px;
  color: var(--apply-muted);
  line-height: 1.25;
}

@media (max-width: 640px) {
  .amvi-apply {
    padding: 0 12px 40px;
  }

  .amvi-apply__card {
    border-radius: 22px;
  }

  .amvi-apply__bar,
  .amvi-apply__body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .amvi-apply__body {
    padding-top: 22px;
    padding-bottom: 26px;
  }

  .amvi-apply__brand {
    padding-top: 20px;
  }

  .amvi-apply__logo img {
    height: 28px;
  }
}

/* Question and option typography, sized to the reference layout: a bolder,
   tighter headline and pill options that read as one tap rather than a form
   row. Scoped under .amvi-apply so nothing else inherits it. */
.amvi-apply .amvi-fit-quiz__question {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.25;
  color: var(--apply-ink);
  -webkit-text-fill-color: var(--apply-ink);
  text-align: left;
  margin-bottom: 4px;
}

/* The base rule caps this at 34em, which is a sensible measure for the old
   centred layout but not for this one: 34em lands at 459px inside a 688px card,
   so a one-line sentence broke mid-clause ("...starts from the shapes / you
   pick."). Letting it use the card width keeps each hint on one line on desktop
   and lets it wrap at a natural point on narrow screens. */
.amvi-apply .amvi-fit-quiz__hint {
  margin: 0 0 18px;
  margin-inline: 0;
  max-width: none;
  text-align: left;
  font-size: 13.5px;
  color: var(--apply-muted);
}

/* ── "Why we ask" ──
   Mechanical explanations only. Anything that talks somebody out of leaving
   stays inline where it will actually be read; this is for the answers to
   questions people only sometimes think to ask, so that they are available
   without costing a permanent line on every card.
   Toggled rather than hovered: hover does not exist on a phone, and a
   hover-only tooltip is invisible to most of the people filling this in. */
.amvi-apply .amvi-fit-quiz__question {
  position: relative;
}

.amvi-why {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  margin-left: 7px;
  padding: 0;
  vertical-align: middle;
  border: 1px solid #c2c9d2;
  border-radius: 50%;
  background: #fff;
  color: #5c6470;
  -webkit-text-fill-color: #5c6470;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

@media (max-width: 560px) {
  .amvi-why::after {
    content: "";
    position: absolute;
    inset: -12px;
  }
}

.amvi-why__mark {
  font-family: var(--amvi-ui);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.amvi-why:hover,
.amvi-why[aria-expanded="true"] {
  border-color: #111;
  background: #111;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.amvi-why:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.amvi-why__bubble {
  position: absolute;
  z-index: 5;
  top: calc(100% + 9px);
  left: 0;
  width: min(330px, 100%);
  padding: 11px 13px;
  border-radius: 10px;
  background: #111;
  /* The question sets -webkit-text-fill-color for its own heading treatment and
     it inherits straight into here, which would paint dark text on the dark
     bubble. It has to be set back explicitly, not just via `color`. */
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-family: var(--amvi-ui);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.45;
  text-align: left;
  text-transform: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.amvi-why__bubble[hidden] {
  display: none;
}

/* ── Lender network strip ──
   Circular tiles echoing the manufacturer badges elsewhere on the site, so the
   opening step carries some weight without another wall of text. */
.amvi-apply__network {
  margin: 22px auto 0;
  max-width: 460px;
  text-align: center;
  pointer-events: none;
  user-select: none;
}

.amvi-apply__network-title {
  margin: 0 0 14px;
  font-family: var(--amvi-ui);
  font-size: 12px;
  line-height: 1.4;
  color: var(--apply-muted);
  -webkit-text-fill-color: var(--apply-muted);
}

.amvi-apply__network-list {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.amvi-apply__network-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 78px;
}

.amvi-apply__network-ring {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--apply-line);
  border-radius: 50%;
  background: #fff;
  color: var(--apply-ink);
}

.amvi-apply__network-label {
  font-family: var(--amvi-ui);
  font-size: 11px;
  line-height: 1.3;
  color: var(--apply-muted);
  -webkit-text-fill-color: var(--apply-muted);
}

@media (max-width: 420px) {
  .amvi-apply__network-list {
    gap: 10px 12px;
  }

  .amvi-apply__network-item {
    width: 68px;
  }

  .amvi-apply__network-ring {
    width: 42px;
    height: 42px;
  }
}

/* Confetti sits over the page without ever being in the way of it: no pointer
   events, and it removes itself once the run finishes. */
.amvi-thanks__confetti {
  position: fixed;
  inset: 0;
  z-index: 40;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ── Inline terms ──
   Sit immediately below Continue / Submit on the last step. */
.amvi-apply .amvi-fit-quiz__terms {
  margin: 10px 0 0;
  width: 100%;
  text-align: center;
}

.amvi-apply .amvi-fit-quiz__terms[hidden] {
  display: none !important;
}

.amvi-proceed {
  margin: 0 0 12px;
  text-align: center;
}

.amvi-proceed__safe,
.amvi-proceed__line {
  margin: 0;
  font-family: var(--amvi-ui, inherit);
  font-size: 12px;
  line-height: 1.45;
  color: var(--apply-muted, #9a9a9a);
  -webkit-text-fill-color: var(--apply-muted, #9a9a9a);
}

.amvi-proceed__safe {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
  font-weight: 600;
}

.amvi-proceed__lock {
  flex: 0 0 auto;
  color: currentColor;
}

.amvi-proceed__line + .amvi-proceed__line {
  margin-top: 2px;
}

.amvi-proceed a {
  color: inherit;
  -webkit-text-fill-color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.amvi-apply .amvi-proceed a {
  color: var(--apply-ink, #111);
  -webkit-text-fill-color: var(--apply-ink, #111);
}

/* ── Review your answers ──
   Only the two choices the vehicle search is anchored on: the shape and the
   budget, beside a picture of the shape, with one way back into them. The
   thumbnail carries the recognition, so the text stays to two short lines. */
.amvi-review {
  margin: 0 0 14px;
}

.amvi-review[hidden] {
  display: none;
}

.amvi-review__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #8ecaa3;
  border-radius: var(--apply-option-radius, 12px);
  background: #c6e9d3;
}

.amvi-review__img {
  flex: 0 0 auto;
  width: 112px;
  height: auto;
  object-fit: contain;
}

.amvi-review__dl {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.amvi-review__copy {
  flex: 1 1 auto;
  min-width: 0;
}

.amvi-review__type {
  font-family: var(--amvi-ui);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--apply-ink, #1f1f1f);
}

.amvi-review__budget {
  margin: 2px 0 0;
  font-family: var(--amvi-ui);
  font-size: 12px;
  line-height: 1.35;
  color: var(--apply-muted, #767676);
}

.amvi-review__edit {
  display: block;
  margin-top: 6px;
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  font-family: var(--amvi-ui);
  font-size: 12px;
  font-weight: 600;
  color: var(--apply-muted, #767676);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  text-align: left;
}

.amvi-review__edit:hover,
.amvi-review__edit:focus-visible {
  color: var(--apply-ink, #1f1f1f);
}

.amvi-review__empty {
  margin: 0;
  font-family: var(--amvi-ui);
  font-size: 14px;
  color: var(--apply-muted, #767676);
}

/* Field guidance that would be truncated as a placeholder. Sits between the
   label and the input, and stays put once typing starts. */
.amvi-fit-quiz__field-note {
  display: block;
  margin: -2px 0 6px;
  font-family: var(--amvi-ui);
  font-size: 12px;
  line-height: 1.4;
  color: var(--apply-muted, #767676);
}

@media (max-width: 560px) {
  .amvi-review__img {
    width: 84px;
  }
}

/* A confirmed value is locked. The proof token is bound to that exact address
   or number, so editing it afterwards would quietly invalidate a step the
   visitor has already finished. */
.amvi-fit-quiz__form input.is-locked {
  background: var(--apply-wash, #f7f7f8);
  color: var(--apply-muted, #767676);
  cursor: default;
}

/* ── Phone verification (SMS one-time code) ──
   Sits under the phone field, hidden until the number looks complete. Styled
   to read as a quiet, optional reassurance step rather than a gate — even in
   enforce mode the tone stays calm. */
.amvi-otp {
  /* Sibling of the field labels inside the two-column fields grid, so without
     an explicit span it lands in one 146px column: the "Email me a code" button
     wrapped, the code input was too narrow for six digits, and the result line
     broke over three lines. It belongs to the field above it, so it takes the
     same full width. */
  grid-column: 1 / -1;
  margin: 10px 0 2px;
  padding: 12px 14px;
  border: 1px solid var(--apply-line);
  border-radius: var(--apply-option-radius, 12px);
  background: var(--apply-wash, #f7f7f8);
  display: flex;
  flex-direction: column;
}

/* These two set `display`, which beats the [hidden] attribute's UA rule, so the
   box (hidden until the number looks complete) and the code row (hidden until a
   code is sent) need the attribute honoured explicitly or they render early. */
.amvi-otp[hidden],
.amvi-otp__enter[hidden],
.amvi-otp__send[hidden],
.amvi-otp__verify[hidden] {
  display: none !important;
}

.amvi-otp__hint {
  margin: 0 0 10px;
  font-family: var(--amvi-ui);
  font-size: 13px;
  line-height: 1.45;
  color: var(--apply-muted, #767676);
}

.amvi-otp__send,
.amvi-otp__verify {
  appearance: none;
  border: 1px solid var(--apply-accent, #1f1f1f);
  background: var(--apply-accent, #1f1f1f);
  color: #fff;
  font-family: var(--amvi-ui);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
}

.amvi-otp__send:disabled,
.amvi-otp__verify:disabled {
  opacity: 0.55;
  cursor: default;
}

.amvi-otp__enter {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.amvi-otp__code {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
}

.amvi-otp__code-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.amvi-otp__code-input {
  font-family: var(--amvi-ui);
  font-size: 18px;
  letter-spacing: 0.25em;
  padding: 9px 12px;
  border: 1px solid var(--apply-line, #e9e9ec);
  border-radius: 10px;
  background: #fff;
  color: var(--apply-ink, #1f1f1f);
  width: 100%;
  max-width: 160px;
}

.amvi-otp__status {
  margin: 10px 0 0;
  font-family: var(--amvi-ui);
  font-size: 13px;
  line-height: 1.4;
  min-height: 1.1em;
  color: var(--apply-muted, #767676);
}

.amvi-otp__countdown {
  order: 4;
  margin: 4px 0 0;
  font-family: var(--amvi-ui);
  font-size: 12px;
  line-height: 1.4;
  color: var(--apply-muted, #767676);
}

.amvi-otp[data-otp-state="ok"] .amvi-otp__status {
  color: #1a7f43;
}

.amvi-otp[data-otp-state="err"] .amvi-otp__status {
  color: #b3261e;
}

/* Ordering: the send/resend control sits above the code row only until a code
   has been requested. Once it has (state ok/err), it drops below the input as a
   quiet text link, so the entry row reads as one clean line rather than a stack
   under a full-width black button. The DOM order is unchanged; flex order moves
   it, and the higher-specificity selectors here override the mobile button
   sizing. */
.amvi-otp__hint { order: 1; }
.amvi-otp__send { order: 2; }
.amvi-otp__enter { order: 3; }
.amvi-otp__status { order: 4; }

.amvi-otp[data-otp-state="ok"] .amvi-otp__send,
.amvi-otp[data-otp-state="err"] .amvi-otp__send {
  order: 5;
  align-self: flex-start;
  width: auto;
  margin-top: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--apply-muted, #767676);
  -webkit-text-fill-color: var(--apply-muted, #767676);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Confirmed state: the input row collapses to a single reassuring line with a
   tick, so a verified number does not keep asking to be verified. */
.amvi-otp.is-verified {
  border-color: #b7e0c6;
  background: #eef8f1;
}

.amvi-otp.is-just-verified {
  animation: amvi-otp-in 280ms ease-out;
}

@keyframes amvi-otp-in {
  from {
    transform: scale(0.98);
  }
  to {
    transform: scale(1);
  }
}

.amvi-otp.is-verified .amvi-otp__hint {
  display: none;
}

/* Hide only the send control on the channel that was just confirmed. A
   form-wide hide here made the SMS button vanish after email OTP succeeded. */
.amvi-otp[data-otp="phone"].is-verified .amvi-otp__send,
.amvi-otp[data-otp="email"].is-verified .amvi-otp__send {
  display: none;
}

.amvi-otp.is-verified .amvi-otp__status::before {
  content: '✓ ';
  font-weight: 700;
}

/* On phones the "email/text me a code" button spans the full width for an easy
   thumb target, while the code input and Verify share one row — the input fills
   the space with centered, letter-spaced digits and Verify sits beside it. The
   160px desktop cap is lifted so the digits are not clipped. */
@media (max-width: 560px) {
  .amvi-otp {
    padding: 14px;
  }
  .amvi-otp__send {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
  }
  .amvi-otp__enter {
    flex-direction: row;
    align-items: flex-end;
    gap: 10px;
  }
  .amvi-otp__code {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }
  .amvi-otp__code-input {
    width: 100%;
    max-width: none;
    font-size: 18px;
    letter-spacing: 0.2em;
    text-align: center;
    padding: 12px 14px;
  }
  .amvi-otp__verify {
    flex: 0 0 auto;
    width: auto;
    padding: 12px 18px;
    font-size: 15px;
    white-space: nowrap;
  }
}

/* The selection limit is an instruction, not a reason, so it sits below the
   hint and reads quieter than it. */
.amvi-fit-quiz__limit {
  margin: -8px 0 16px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--apply-muted, #767676);
  text-align: center;
  flex: 0 0 auto;
}

.amvi-apply .amvi-fit-quiz__limit {
  text-align: left;
}

/* Every option, text or image, is one control: a card that lifts on hover and
   takes a ring when selected. An earlier pass styled the inner label of text
   options as a bordered pill, which nested a pill inside that card and left two
   competing shapes on the same control. The label carries type only; the card
   is the thing you see and click. */
.amvi-apply .amvi-fit-quiz__option:not(.amvi-fit-quiz__option--image) .amvi-fit-quiz__option-label {
  font-size: 15px;
  font-weight: 500;
}

/* The card is the input's sibling, not the label, so the focus ring has to hang
   off the card to appear at all. */
.amvi-apply .amvi-fit-quiz__option input:focus-visible ~ .amvi-fit-quiz__option-card {
  outline: 2px solid var(--apply-accent);
  outline-offset: 2px;
}

.amvi-apply .amvi-fit-quiz__options--image-grid .amvi-fit-quiz__option-label {
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 22px 16px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (min-width: 641px) {
  .amvi-apply .amvi-fit-quiz__question {
    font-size: 30px;
    letter-spacing: -0.75px;
  }
}

/* Optional preference questions on the confirmation page.
   Styled deliberately quieter than the application itself: this is a bonus,
   and anything that reads as another form to complete would undo the point of
   moving these questions out of the funnel. */
.amvi-enrich__lede {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: #5b5b5b;
}

.amvi-enrich__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 22px;
}

.amvi-enrich__item {
  border-top: 1px solid #eee;
  padding-top: 18px;
}

.amvi-enrich__item:first-child {
  border-top: 0;
  padding-top: 0;
}

.amvi-enrich__q {
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 600;
  color: var(--amvi-ink, #111);
}

.amvi-enrich__hint {
  margin: 0 0 10px;
  font-size: 13px;
  color: #767676;
}

.amvi-enrich__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

/* Chips rather than full-width rows: six questions stacked as rows would look
   like a longer form than the one the applicant just finished. */
.amvi-enrich__option {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
}

.amvi-enrich__chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid #e2e2e2;
  border-radius: 999px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.amvi-enrich__option:hover .amvi-enrich__chip {
  border-color: #b9b9b9;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.amvi-enrich__option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.amvi-enrich__option input:focus-visible + .amvi-enrich__chip {
  outline: 2px solid #1a73e8;
  outline-offset: 3px;
}

.amvi-enrich__option input:checked + .amvi-enrich__chip,
.amvi-enrich__option:has(input:checked) .amvi-enrich__chip {
  border-color: var(--amvi-ink, #111);
  background: var(--amvi-ink, #111);
  color: #fff;
}

.amvi-enrich__foot {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.amvi-enrich__status {
  margin: 0;
  font-size: 14px;
  color: #767676;
}

.amvi-enrich__status.is-ok {
  color: #1a7f45;
  font-weight: 600;
}

.amvi-enrich__status.is-note {
  color: #8a5a00;
}

.amvi-enrich.is-done .amvi-enrich__list,
.amvi-enrich.is-done .amvi-enrich__lede {
  display: none;
}

@media (max-width: 560px) {
  .amvi-enrich__option {
    padding: 8px 12px;
    font-size: 13.5px;
  }
}

.amvi-thanks__contact {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--amvi-muted, #555);
}

.amvi-thanks__contact a {
  color: inherit;
}

.amvi-thanks__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.amvi-thanks__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 220px;
  max-width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.amvi-thanks__cta:hover {
  background: #333;
  color: #fff;
}

.amvi-thanks__link {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 15px;
  color: #111;
  text-decoration: underline;
  cursor: pointer;
}

.amvi-thanks__link:hover {
  color: #333;
}

@media (max-width: 560px) {
  .amvi-thanks {
    padding: 20px 14px 56px;
  }

  .amvi-thanks__hero,
  .amvi-thanks__panel,
  .amvi-apply__card--received {
    padding: 28px 18px 24px;
    border-radius: 16px;
  }

  .amvi-thanks__showroom {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .amvi-thanks__showroom img:nth-child(n + 4) {
    display: none;
  }

  .amvi-thanks__actions .amvi-thanks__cta,
  .amvi-enrich__foot .amvi-thanks__cta {
    width: 100%;
    min-width: 0;
  }

  .amvi-thanks__journey {
    gap: 4px;
  }

  .amvi-thanks__leg-title {
    font-size: 13px;
  }

  .amvi-thanks__leg-sub {
    font-size: 11px;
  }
}

/* Province map page (unchanged) */
.amvi-map-page {
  background: #f3f4f6;
}

.amvi-map-page__wrap {
  padding-bottom: 0;
}

.amvi-map-page .amvi-band--map {
  padding-top: 0;
}

.amvi-map-page .amvi-block--map {
  max-width: 720px;
}

.amvi-map-page .amvi-block--map .amvi-canada-map__svg {
  max-width: 620px;
}

@media (min-width: 640px) {
  .amvi-fit-quiz__form {
    padding: 16px 24px 108px;
  }

  .amvi-fit-quiz__header {
    padding: 12px 24px 0;
  }
}

@media (max-width: 639px) {
  .amvi-fit-quiz__options--inline .amvi-fit-quiz__option {
    flex: 1 1 calc(50% - 5px);
  }
}

@media (max-width: 560px) {
  .amvi-fit-quiz--steps .amvi-fit-quiz__hero {
    padding: 24px 16px 0;
    gap: 10px;
  }

  .amvi-fit-quiz--steps .amvi-fit-quiz__hero h1 {
    font-size: clamp(24px, 6vw, 28px);
  }

  .amvi-fit-quiz--steps .amvi-fit-quiz__cta {
    min-height: 44px;
    font-size: 15px;
    width: 100%;
    max-width: 320px;
  }

  .amvi-fit-quiz--steps {
    padding-bottom: 0;
  }

  .amvi-fit-quiz-page--intro .amvi-fit-quiz__slider {
    flex: 0 0 auto;
    height: 200px;
  }

  .amvi-fit-quiz-page--intro .amvi-fit-quiz__hero {
    width: 92%;
    margin-top: 12px;
    gap: 8px;
    padding: 0 12px;
  }

  .amvi-fit-quiz-page--intro .amvi-fit-quiz__hero h1 {
    font-size: 26px;
  }

  .amvi-fit-quiz-page--intro .amvi-fit-quiz__sub {
    font-size: 16px;
  }

  .amvi-fit-quiz-page--intro .amvi-fit-quiz__cta {
    margin-top: 4px;
    width: 100%;
    min-width: 0;
  }

  /* The blurb used to be hidden here to keep the button above a fold that no
     longer exists, which is why the intro copy never appeared on a phone. */
  .amvi-fit-quiz-page--intro .amvi-fit-quiz__blurb {
    margin: 24px auto 40px;
  }

  .amvi-proof {
    gap: 6px 14px;
  }

  .amvi-proof__item {
    font-size: 14px;
  }

  .amvi-fit-quiz__form {
    padding: 12px 12px 100px;
  }

  .amvi-fit-quiz__options {
    flex: 0 0 auto;
    min-height: 0;
    overflow: visible;
  }

  .amvi-fit-quiz__question {
    font-size: clamp(22px, 6vw, 26px);
    margin-bottom: 6px;
  }

  .amvi-fit-quiz__hint {
    margin-bottom: 14px;
  }

  .amvi-fit-quiz__options--grid,
  .amvi-fit-quiz__options--even {
    gap: 6px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .amvi-fit-quiz__options--brands {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .amvi-fit-quiz__options.amvi-fit-quiz__options--stack,
  .amvi-fit-quiz__options.amvi-fit-quiz__options--seats,
  .amvi-fit-quiz__options.amvi-fit-quiz__options--fuel,
  .amvi-fit-quiz__options--even:has(> :nth-child(3):last-child),
  .amvi-fit-quiz__options--even:has(> :nth-child(2):last-child) {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .amvi-fit-quiz__option--image .amvi-fit-quiz__option-card {
    aspect-ratio: auto;
    min-height: 118px;
  }

  .amvi-fit-quiz__option--image .amvi-fit-quiz__option-media {
    height: 78px;
    min-height: 78px;
    padding-top: 8px;
  }

  .amvi-fit-quiz__option--image .amvi-fit-quiz__option-media img,
  .amvi-fit-quiz__option--image .amvi-fit-quiz__option-media svg {
    width: 93px;
    height: 70px;
    max-height: 70px;
  }

  /* Brand tiles only hold a wordmark and a name, so they need less height than
     the vehicle tiles the rule above is sized for. */
  .amvi-fit-quiz__options--brands .amvi-fit-quiz__option--image .amvi-fit-quiz__option-card {
    min-height: 72px;
    padding: 12px 40px 12px 12px;
  }

  .amvi-fit-quiz__options--brands .amvi-fit-quiz__option--image .amvi-fit-quiz__option-media,
  .amvi-fit-quiz__options--brands .amvi-fit-quiz__option-media--brand {
    height: 40px;
    min-height: 40px;
    padding: 0;
  }

  .amvi-fit-quiz__options--brands .amvi-fit-quiz__option--image .amvi-fit-quiz__option-media img,
  .amvi-fit-quiz__options--brands .amvi-brand-logo {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
  }

  /* Seat and fuel cards are horizontal rows, so the stacked-tile sizing above
     must not apply to them. */
  .amvi-fit-quiz__options--seats .amvi-fit-quiz__option--image .amvi-fit-quiz__option-card {
    min-height: 92px;
  }

  .amvi-fit-quiz__options--fuel .amvi-fit-quiz__option--image .amvi-fit-quiz__option-card {
    min-height: 68px;
  }

  /* The row copy has to be allowed to shrink. Left at flex: 0 0 auto a long
     sub-label ran past the space the card reserves for the check and was cut
     off by the card's overflow, so "Coupes and sports cars" read as
     "Coupes and sports ca". */
  .amvi-fit-quiz__options--seats .amvi-fit-quiz__option--image .amvi-fit-quiz__option-copy,
  .amvi-fit-quiz__options--fuel .amvi-fit-quiz__option--image .amvi-fit-quiz__option-copy {
    flex: 1 1 auto;
    min-width: 0;
  }

  .amvi-fit-quiz__options--seats .amvi-fit-quiz__option--image .amvi-fit-quiz__option-media,
  .amvi-fit-quiz__options--fuel .amvi-fit-quiz__option--image .amvi-fit-quiz__option-media {
    height: auto;
    min-height: 0;
    padding-top: 0;
  }

  .amvi-fit-quiz__options--fuel .amvi-fit-quiz__option--image .amvi-fit-quiz__option-media img {
    width: 40px;
    height: 40px;
    max-height: 40px;
  }

  .amvi-fit-quiz__field--half {
    grid-column: span 1;
  }

  .amvi-fit-quiz__hint,
  .amvi-apply .amvi-fit-quiz__hint {
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .amvi-fit-quiz__option-label {
    min-height: 44px;
    font-size: 15px;
    padding: 12px 14px;
  }

  .amvi-fit-quiz__option--image .amvi-fit-quiz__option-label {
    padding: 0;
    min-height: 0;
    font-size: 13px;
    white-space: nowrap;
  }

  .amvi-fit-quiz__options--seats .amvi-fit-quiz__option--image .amvi-fit-quiz__option-label,
  .amvi-fit-quiz__options--fuel .amvi-fit-quiz__option--image .amvi-fit-quiz__option-label {
    font-size: 15px;
    font-weight: 400;
  }

  .amvi-fit-quiz__option-sub,
  .amvi-fit-quiz__options--fuel .amvi-fit-quiz__option-sub {
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .amvi-apply__badge,
  .amvi-apply__leg-title,
  .amvi-apply__leg-sub,
  .amvi-apply__network-title,
  .amvi-apply__network-label {
    white-space: nowrap;
  }

  .amvi-apply__badge {
    font-size: 12px;
  }

  .amvi-apply__leg-title {
    font-size: 13px;
  }

  .amvi-apply__leg-sub {
    font-size: 12px;
  }

  .amvi-apply__network-title {
    font-size: 13px;
  }

  .amvi-apply__network-item {
    width: auto;
  }

  .amvi-fit-quiz-page--intro .amvi-fit-quiz__sub,
  .amvi-fit-quiz-page--intro .amvi-fit-quiz__microcopy,
  .amvi-how__title,
  .amvi-how__body {
    white-space: nowrap;
  }

  .amvi-how__body {
    max-width: none;
    font-size: 13px;
  }

  /* Only the dense brand tiles drop their sub-label; seat and fuel rows keep theirs. */
  .amvi-fit-quiz__options--brands .amvi-fit-quiz__option--image .amvi-fit-quiz__option-sub {
    display: none;
  }

  .amvi-fit-quiz__footer {
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  }

  .amvi-fit-quiz-page--intro .amvi-trust {
    padding: 8px 12px 10px;
  }
}
