      .st0 {
        fill: #fff;
      }

      .st1 {
        display: none;
      }

      .st2 {
        fill: #ffcc0f;
      }

      .st3 {
        fill: #015c92;
      }
    

/* v124 — supplied D5T5 neon trace animation replaces the flowing CTA lines */
.final-cta-neon {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: clamp(28px, 4vw, 72px);
  left: 52vw;
  width: auto;
  max-width: none;
  padding: 20px;
  overflow: visible;
  pointer-events: none;
  transform: translateY(-50%);
}

.final-cta-neon__stage {
  width: 100%;
  max-width: 100%;
}

.final-cta--sine .container {
  padding-right: min(48vw, 640px);
}

#footerNeonLogo {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  opacity: 1;
  shape-rendering: geometricPrecision;
  transform: translate3d(0, 0, 0);
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform, opacity, clip-path;
}

#footerNeonLogo #softLayer path,
#footerNeonLogo #brightLayer path,
#footerNeonLogo #headLayer path {
  fill: none !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#footerNeonLogo .soft {
  stroke: #36c6ff;
  stroke-width: 2.1px;
  opacity: 0.20;
  filter: url(#neonGlow);
}

#footerNeonLogo .bright {
  stroke: url(#traceGradient);
  stroke-width: 1px;
  opacity: 0.95;
  filter: url(#neonGlow);
}

#footerNeonLogo .head {
  stroke: #dffaff;
  stroke-width: 1.05px;
  opacity: 0;
  filter: url(#headGlow);
}

#footerNeonLogo #finalArtwork {
  transform-box: fill-box;
  transform-origin: center;
}

.final-cta-neon__stage {
  will-change: filter;
}

#footerNeonLogo #finalArtwork {
  will-change: opacity;
}

.final-cta-drive-scanner {
  z-index: 3;
  top: 0;
  right: clamp(32px, 3.2vw, 48px);
  bottom: auto;
  left: auto;
  height: 1px;
  min-height: 0;
  font-size: clamp(4.8rem, 12vw, 10.8rem);
}

.final-cta-drive-scanner.is-footer-scanner-active > span,
.final-cta-drive-scanner.is-footer-scanner-active > span::before,
.final-cta-drive-scanner.is-footer-scanner-active > span::after {
  animation: hero-word-scanner-particle 1.9s linear 0.45s infinite;
}

.final-cta-drive-scanner.is-footer-scanner-active > span::before {
  animation-delay: 0.05s;
}

.final-cta-drive-scanner.is-footer-scanner-active > span::after {
  animation-delay: -0.55s;
}

.final-cta-drive-scanner.is-footer-scanner-paused > span,
.final-cta-drive-scanner.is-footer-scanner-paused > span::before,
.final-cta-drive-scanner.is-footer-scanner-paused > span::after {
  animation-play-state: paused !important;
}

@media (max-width: 1060px) {
  .final-cta-drive-scanner {
    font-size: clamp(4rem, 17vw, 8rem);
  }
}

@media (max-width: 900px) {
  .final-cta-drive-scanner {
    right: clamp(22px, 3vw, 32px);
  }
}

@media (max-width: 600px) {
  .final-cta-drive-scanner {
    right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .final-cta-drive-scanner {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .final-cta--sine {
    flex-direction: column;
  }

  .final-cta--sine .container {
    order: 1;
    padding-right: 0;
  }

  .final-cta-neon {
    position: relative;
    order: 2;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: min(90vw, 760px);
    margin: clamp(38px, 7vw, 64px) auto 0;
    padding: 14px;
    opacity: 0.78;
    transform: none;
  }
}

@media (max-width: 600px) {
  .final-cta-neon {
    width: 96vw;
    margin-top: 34px;
    padding: 10px;
    opacity: 0.68;
  }
}

@media (prefers-reduced-motion: reduce) {
  #footerNeonLogo #softLayer,
  #footerNeonLogo #brightLayer,
  #footerNeonLogo #headLayer {
    display: none;
  }

  .final-cta-neon__stage {
    filter: drop-shadow(0 18px 13px rgba(4, 17, 31, 0.17)) !important;
  }

  #footerNeonLogo #finalArtwork {
    opacity: 0.72 !important;
    animation: none !important;
    filter: none !important;
  }

  #footerNeonLogo {
    opacity: 1 !important;
  }
}


/* v139 — Uiverse.io vikiWayne/slimy-horse-19 source recipe; only teal colors changed to VDASH blue */
.uiverse-exact-button {
  padding: 1em 2em;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--vdash-light-blue-ink, #3f9fc8);
  transition: all 1000ms;
  font-size: 15px;
  position: relative;
  overflow: hidden;
  outline: 2px solid #3f9fc8;
}

.uiverse-exact-button:hover {
  color: #ffffff;
  transform: scale(1.1);
  outline: 2px solid #8dcce4;
  box-shadow: 4px 5px 17px -4px #267fa9;
}

.uiverse-exact-button::before {
  content: "";
  position: absolute;
  left: -50px;
  top: 0;
  width: 0;
  height: 100%;
  background-color: #3f9fc8;
  transform: skewX(45deg);
  z-index: -1;
  transition: width 1000ms;
}

.uiverse-exact-button:hover::before {
  width: 250%;
}

/* Layout only: preserves VIN form placement without altering the source button appearance. */
.vdash-vin-submit-layout {
  min-width: 150px;
  justify-self: end;
  grid-column: 2;
}

@media (max-width: 600px) {
  .vdash-vin-submit-layout {
    justify-self: start;
    grid-column: 1;
  }
}


/* v140 — harmonize Uiverse buttons with VDASH sizing and Montserrat */
.uiverse-exact-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.085em;
  text-align: center;
  white-space: nowrap;

  /* Keep Uiverse animation mechanics unchanged. */
  transition: all 1000ms;
}

.pricing-card .uiverse-exact-button {
  width: 100%;
  margin-top: auto;
}

.hardware-product__cta.uiverse-exact-button {
  align-self: flex-start;
  min-width: 250px;
}

.create-account-button.uiverse-exact-button {
  min-width: 230px;
}
/* In the four-column pricing grid, the account CTA must fit the card width. */
.pricing-electric-grid .create-account-button.uiverse-exact-button {
  min-width: 0;
}

.vdash-vin-submit-layout.uiverse-exact-button {
  min-width: 168px;
  min-height: 50px;
  padding-inline: 24px;
}

.final-cta .uiverse-exact-button {
  min-width: 370px;
}

@media (max-width: 760px) {
  .uiverse-exact-button {
    min-height: 48px;
    padding-inline: 18px;
    font-size: 0.82rem;
    letter-spacing: 0.075em;
  }

  .hardware-product__cta.uiverse-exact-button,
  .create-account-button.uiverse-exact-button,
  .final-cta .uiverse-exact-button,
  .vdash-vin-submit-layout.uiverse-exact-button {
    min-width: 0;
    width: 100%;
  }
}


/* v141 — targeted Uiverse button state corrections */

/* CHECK VIN: remove native gray button fill. */
.vdash-vin-submit-layout.uiverse-exact-button {
  background: #ffffff;
}

/*
  VIEW FLAT PLANS:
  Resting state remains VDASH blue with white text.
  The same Uiverse skew sweep now reveals white, ending with blue text/outline.
*/
.flat-plans-trigger.uiverse-exact-button {
  isolation: isolate;
  background: #3f9fc8;
  color: #ffffff;
  outline-color: #3f9fc8;
}

.flat-plans-trigger.uiverse-exact-button::before {
  background-color: #ffffff;
}

.flat-plans-trigger.uiverse-exact-button:hover {
  color: var(--vdash-light-blue-ink, #3f9fc8);
  outline-color: #3f9fc8;
}

/* v142 — tactile pressed state for CTA buttons */
.uiverse-exact-button:active {
  transform: translateY(2px) scale(1.04);
  transition-duration: 90ms;
}

.hero-download-glow:active {
  transform: translateY(1px) scale(0.985);
  transition-duration: 90ms;
}


/* v143 — stable compositing for the original Uiverse animation */
.uiverse-exact-button {
  z-index: 0;
  isolation: isolate;
  transform-origin: center center;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

.uiverse-exact-button::before {
  will-change: width;
  backface-visibility: hidden;
}

.uiverse-exact-button__label {
  position: relative;
  z-index: 1;
  display: block;
  color: inherit;
  line-height: inherit;
  pointer-events: none;
  backface-visibility: hidden;
}


/* v148 — smooth rich-footer background */
.vdash-rich-footer {
  background: #061b28 !important;
}

.vdash-rich-footer__panel {
  background: #0a2a3d !important;
}

/*
  Keep only a soft blurred color bloom for depth.
  This is a solid translucent shape + blur, not a gradient texture.
*/
.vdash-rich-footer__panel::before {
  right: -8%;
  bottom: -48%;
  width: 48%;
  height: 280px;
  border-radius: 50%;
  background: rgba(98, 181, 216, 0.11) !important;
  filter: blur(80px);
}


/* v152 — requested download-button cleanup */

/* Navbar DOWNLOAD VDASH keeps its glow styling but no longer lifts/pops on hover. */
.site-header .download-glow--nav:hover {
  transform: none !important;
}

/* Footer DOWNLOAD VDASH and Wiki buttons now share identical Uiverse dimensions. */
.final-cta .button-row > .uiverse-exact-button {
  width: 370px;
  min-width: 370px;
}

@media (max-width: 760px) {
  .final-cta .button-row > .uiverse-exact-button {
    width: 100%;
    min-width: 0;
  }
}


/* v229 — footer background gradient */

.final-cta--sine {
  background:
    linear-gradient(
      90deg,
      #06111f 0%,
      #0a2238 52%,
      #123a59 100%
    ) !important;
}

.final-cta--sine::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block !important;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) !important;
  background-size: auto !important;
  content: "" !important;
  opacity: 0.18;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

/* Same stacking relationship as the Hero: liquid layers below content. */
.final-cta--sine > .liquid-poster-canvas,
.final-cta--sine > .liquid-glow-layer {
  z-index: 0;
}



.vdash-vin-submit-layout {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
}

/* Remove the blue-tinted backdrop behind the vehicle carousel. */
.vehicle-browser-section {
  background: #ffffff !important;
}

.vehicle-browser {
  --vehicle-browser-edge-pad: clamp(22px, 4vw, 34px);
  padding: var(--vehicle-browser-edge-pad);
  background: #ffffff !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/*
  The viewport now spans from border edge to border edge. The existing
  mask still performs the fade, but its transparent endpoints are now
  aligned with the actual outer browser border instead of the inset content.
*/
.vehicle-browser__viewport {
  width: calc(100% + (var(--vehicle-browser-edge-pad) * 2));
  margin-right: calc(var(--vehicle-browser-edge-pad) * -1);
  margin-left: calc(var(--vehicle-browser-edge-pad) * -1);
  background: #ffffff;
}

@media (max-width: 600px) {

  .vdash-vin-submit-layout {
    grid-column: 1;
    grid-row: 2;
  }
}

@media (max-width: 560px) {
  .vehicle-browser {
    --vehicle-browser-edge-pad: 18px;
  }
}


/* v156 refinement — carousel edge fades blend into the solid white background */
.vehicle-browser__viewport::before {
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%) !important;
}

.vehicle-browser__viewport::after {
  background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%) !important;
}


/* v157 — keep carousel search shadow above the edge-to-edge viewport */
.vehicle-browser__search-row {
  position: relative;
  z-index: 3;
}


/* v159 — facelift galleries in vehicle popup */
.vehicle-browser__detail-section--gallery {
  padding-bottom: 20px;
}

.vehicle-browser__detail-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.vehicle-browser__detail-section-heading h4 {
  margin: 0;
}

.vehicle-browser__detail-section-heading p {
  max-width: 54ch;
  margin: 0;
  color: var(--ink-500);
  font-size: 0.76rem;
  line-height: 1.5;
  text-align: right;
}

.vehicle-browser__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.vehicle-browser__gallery-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  padding: 0;
  border: 1px solid rgba(63, 159, 200, 0.18);
  border-radius: 16px;
  background: #ffffff;
  color: var(--navy-950);
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.vehicle-browser__gallery-card:hover,
.vehicle-browser__gallery-card:focus-visible {
  border-color: rgba(63, 159, 200, 0.52);
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(24, 80, 106, 0.12);
}

.vehicle-browser__gallery-card.is-active {
  border-color: rgba(38, 127, 169, 0.72);
  box-shadow:
    0 0 0 2px rgba(98, 181, 216, 0.13),
    0 12px 28px rgba(24, 80, 106, 0.10);
}

.vehicle-browser__gallery-image {
  display: flex;
  width: 100%;
  height: 145px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-bottom: 1px solid rgba(63, 159, 200, 0.11);
  background: #ffffff;
}

.vehicle-browser__gallery-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.vehicle-browser__gallery-caption {
  display: grid;
  gap: 4px;
  padding: 12px 13px 13px;
}

.vehicle-browser__gallery-caption strong {
  color: var(--navy-950);
  font-size: 0.78rem;
  line-height: 1.35;
}

.vehicle-browser__gallery-caption span {
  color: var(--ink-500);
  font-size: 0.71rem;
  font-weight: 700;
  line-height: 1.4;
}

.vehicle-browser__gallery-caption small {
  width: fit-content;
  margin-top: 2px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(63, 159, 200, 0.09);
  color: var(--vdash-light-blue-ink, var(--blue-700));
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

@media (max-width: 700px) {
  .vehicle-browser__detail-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  .vehicle-browser__detail-section-heading p {
    text-align: left;
  }

  .vehicle-browser__gallery {
    grid-template-columns: 1fr;
  }

  .vehicle-browser__gallery-image {
    height: 170px;
  }
}


/* v160 — facelift explanation belongs with Facelift - Model Evolution */
.vehicle-browser__facelift-explanation {
  margin: 0 0 16px;
  padding: 13px 14px;
  border: 1px solid rgba(63, 159, 200, 0.16);
  border-radius: 13px;
  background: rgba(63, 159, 200, 0.055);
}

.vehicle-browser__facelift-explanation strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy-950);
  font-size: 0.75rem;
  font-weight: 800;
}

.vehicle-browser__facelift-explanation p {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.74rem;
  line-height: 1.58;
}


/* v161 — compact single-line facelift heading */
.vehicle-browser__detail-section--gallery .vehicle-browser__detail-section-heading h4 {
  white-space: nowrap;
}


/* v162 — VIN result identity area styled like the carousel popup,
   without changing the VIN popup's four-column geometry */
@media (min-width: 861px) {
  .vdash-vin-result__image {
    width: 100%;
    height: 100%;
    min-height: clamp(150px, 11vw, 190px);
    align-self: stretch;
    justify-self: stretch;
    padding: clamp(10px, 0.8vw, 14px);
    border: 0;
    border-right: 1px solid rgba(63, 159, 200, 0.13);
    border-radius: 0;
    background: #ffffff;
    box-shadow: none;
  }

  .vdash-vin-result__image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: clamp(150px, 11vw, 190px);
    border-radius: 0;
    object-fit: contain;
  }

  .vdash-vin-result__image--empty {
    width: 100%;
    min-height: clamp(150px, 11vw, 190px);
  }

  .vdash-vin-result__heading {
    align-self: stretch;
    justify-content: center;
    gap: 10px;
    padding: clamp(16px, 1.4vw, 24px) 0;
  }

  .vdash-vin-result__heading h2 {
    margin: 0;
    font-size: clamp(3rem, 3.65vw, 4.45rem);
    font-weight: 900;
    line-height: 0.96;
    letter-spacing: -0.055em;
  }

  .vdash-vin-result__vin {
    margin: 2px 0 0;
    color: var(--ink-500);
    font-family: var(--font-interface);
    font-size: clamp(0.86rem, 0.72vw, 0.98rem);
    font-weight: 850;
    line-height: 1.4;
    letter-spacing: 0.015em;
  }
}


/* v163 — larger VIN image and more room for model/VIN text */
@media (min-width: 861px) {
  .vdash-vin-result__top {
    grid-template-columns:
      minmax(210px, 0.48fr)
      minmax(430px, 1.18fr)
      minmax(370px, 1.02fr)
      minmax(320px, 0.86fr);
  }

  .vdash-vin-result__image {
    min-height: clamp(172px, 13vw, 220px);
    padding: clamp(8px, 0.7vw, 12px);
  }

  .vdash-vin-result__image img {
    max-height: clamp(172px, 13vw, 220px);
  }

  .vdash-vin-result__image--empty {
    min-height: clamp(172px, 13vw, 220px);
  }

  .vdash-vin-result__heading {
    padding-left: clamp(12px, 1vw, 20px);
  }

  .vdash-vin-result__heading h2 {
    max-width: 100%;
    font-size: clamp(2.7rem, 3.25vw, 4.2rem);
    line-height: 0.96;
    text-wrap: pretty;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .vdash-vin-result__vin {
    max-width: 100%;
  }
}


/* v164 — vehicle images themselves are inert/non-openable */
.vehicle-browser-card img,
.vehicle-browser__dialog-image img,
.vehicle-browser__gallery-image img,
.vdash-vin-result__image img {
  -webkit-user-drag: none;
  user-select: none;
}


/* v165 — pair facelift + decoding on wide screens; Engines collapsed by default */
@media (min-width: 1100px) {
  .vehicle-browser__detail-section--gallery,
  .vehicle-browser__detail-section--decoding {
    grid-column: auto;
  }
}

/* Native collapsible Engines panel, closed initially. */
.vehicle-browser__detail-section--engines {
  padding: 0;
  overflow: hidden;
}

.vehicle-browser__engines-summary {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.vehicle-browser__engines-summary::-webkit-details-marker {
  display: none;
}

.vehicle-browser__engines-summary h4 {
  margin: 0;
}

.vehicle-browser__engines-toggle {
  position: relative;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border: 1px solid rgba(63, 159, 200, 0.24);
  border-radius: 50%;
  background: rgba(63, 159, 200, 0.07);
}

.vehicle-browser__engines-toggle::before,
.vehicle-browser__engines-toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  border-radius: 99px;
  background: var(--blue-700);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.vehicle-browser__engines-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.vehicle-browser__detail-section--engines[open]
  .vehicle-browser__engines-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.vehicle-browser__engines-summary:hover,
.vehicle-browser__engines-summary:focus-visible {
  background: rgba(63, 159, 200, 0.045);
  outline: none;
}

.vehicle-browser__engines-content {
  padding: 0 20px 20px;
  border-top: 1px solid rgba(63, 159, 200, 0.11);
}

.vehicle-browser__engines-content .vehicle-browser__engine-list {
  margin-top: 16px;
}


/* v167 — repeat-safe smooth open/close animation for both popup collapsibles */
.vehicle-browser__detail-section--engines,
.vehicle-browser__note-list details {
  will-change: height;
}

.vehicle-browser__engines-summary,
.vehicle-browser__note-list summary {
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.vehicle-browser__engines-toggle::after,
.vehicle-browser__note-list summary::after {
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease;
}

/* Keep the icon in sync while a close animation is still rendering content. */
.vehicle-browser__detail-section--engines[data-details-animating="closing"]
  .vehicle-browser__engines-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.vehicle-browser__note-list details[data-details-animating="closing"]
  summary::after {
  content: "+";
}

.vehicle-browser__note-list details[data-details-animating="opening"]
  summary::after {
  content: "−";
}

@media (prefers-reduced-motion: reduce) {
  .vehicle-browser__detail-section--engines,
  .vehicle-browser__note-list details {
    will-change: auto;
  }
}


/* v168 — optical vertical centering for both navbar DOWNLOAD VDASH states */
.site-header .download-glow--nav .hero-download-text {
  position: relative;
  top: 2px;
}

.site-header .vdash-language-toggle .hero-download-text {
  top: 0;
}


/* v169 — clearer visual separation between VIN configuration/tuning results */
.vdash-vin-result__price-list {
  padding: 4px 0 6px;
  background: rgba(247, 251, 253, 0.72);
}

.vdash-vin-result__price-item {
  margin: 4px 6px;
  padding: 9px 10px;
  border: 1px solid rgba(63, 159, 200, 0.17);
  border-radius: 9px;
  background: #ffffff;
  color: #5f7685;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 7px rgba(31, 91, 119, 0.035);
  transition:
    background-color 120ms ease,
    border-color 120ms ease,
    box-shadow 120ms ease;
}

.vdash-vin-result__price-item:hover {
  border-color: rgba(38, 127, 169, 0.30);
  background: #f8fcfe;
  box-shadow: 0 4px 12px rgba(31, 91, 119, 0.065);
}

.vdash-vin-result__price-item span:first-child,
.vdash-vin-result__price-item > a.vdash-vin-result__config-link {
  font-weight: 760;
}

.vdash-vin-result__price {
  min-width: 58px;
  padding: 3px 7px;
  border: 1px solid rgba(63, 159, 200, 0.15);
  border-radius: 999px;
  background: #eef8fc;
  color: var(--navy-950);
  line-height: 1.2;
  text-align: center;
}

.vdash-vin-result__category-row {
  margin: 7px 0 2px;
  padding: 9px 12px 8px;
  border-top: 1px solid rgba(38, 127, 169, 0.22);
  border-right: 0;
  border-bottom: 1px solid rgba(38, 127, 169, 0.28);
  background: rgba(229, 244, 250, 0.98);
  box-shadow: 0 2px 7px rgba(31, 91, 119, 0.045);
}

.vdash-vin-result__category-row:first-child {
  margin-top: 0;
}


/* v170 — VIN result category headers scroll normally; no sticky behavior */
.vdash-vin-result__category-row {
  position: static !important;
  z-index: auto !important;
  top: auto !important;
}


/* v173 — VDASH scrollbar styling for inner scrollers; native page scrollbar */
:root {
  --vdash-scrollbar-size: 10px;
  --vdash-scrollbar-track: rgba(63, 159, 200, 0.08);
  --vdash-scrollbar-thumb: rgba(63, 159, 200, 0.48);
  --vdash-scrollbar-thumb-hover: rgba(38, 127, 169, 0.76);
  --vdash-scrollbar-thumb-active: rgba(23, 101, 139, 0.92);
}

/* Firefox */
*:not(html):not(body) {
  scrollbar-width: thin;
  scrollbar-color:
    var(--vdash-scrollbar-thumb)
    var(--vdash-scrollbar-track);
}

/* Chromium / Safari */
*:not(html):not(body)::-webkit-scrollbar {
  width: var(--vdash-scrollbar-size);
  height: var(--vdash-scrollbar-size);
}

*:not(html):not(body)::-webkit-scrollbar-track {
  margin: 4px;
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      rgba(63, 159, 200, 0.055),
      rgba(63, 159, 200, 0.105)
    );
  box-shadow:
    inset 0 0 0 1px rgba(63, 159, 200, 0.045);
}

*:not(html):not(body)::-webkit-scrollbar-thumb {
  min-height: 38px;
  border: 2px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      rgba(98, 181, 216, 0.82),
      rgba(38, 127, 169, 0.72)
    );
  background-clip: padding-box;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 1px 4px rgba(38, 127, 169, 0.10);
}

*:not(html):not(body)::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(
      180deg,
      rgba(82, 172, 211, 0.96),
      rgba(27, 113, 154, 0.90)
    );
  background-clip: padding-box;
}

*:not(html):not(body)::-webkit-scrollbar-thumb:active {
  background:
    linear-gradient(
      180deg,
      rgba(56, 151, 193, 1),
      rgba(20, 88, 122, 1)
    );
  background-clip: padding-box;
}

*:not(html):not(body)::-webkit-scrollbar-corner {
  background: transparent;
}

/* Suppress browser-provided arrow/button chrome. */
*:not(html):not(body)::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

/* Slightly tighter scrollbar inside compact popup/list scrollers. */
.vdash-vin-result__price-list::-webkit-scrollbar,
.vehicle-browser__dialog-card::-webkit-scrollbar,
.flat-plans-dialog__panel::-webkit-scrollbar,
.screenshot-dialog__card::-webkit-scrollbar,
.feature-details-dialog__panel::-webkit-scrollbar {
  width: 9px;
}


/* v174 — keep popup scrollbars inside rounded corners */
.vehicle-browser__dialog-card::-webkit-scrollbar,
.vdash-vin-dialog__content::-webkit-scrollbar,
.vdash-vin-result__price-list::-webkit-scrollbar,
.flat-plans-dialog__panel::-webkit-scrollbar,
.feature-details-dialog__panel::-webkit-scrollbar,
.screenshot-dialog__card::-webkit-scrollbar {
  background: transparent;
}

.vehicle-browser__dialog-card::-webkit-scrollbar-track,
.vdash-vin-dialog__content::-webkit-scrollbar-track,
.vdash-vin-result__price-list::-webkit-scrollbar-track,
.flat-plans-dialog__panel::-webkit-scrollbar-track,
.feature-details-dialog__panel::-webkit-scrollbar-track,
.screenshot-dialog__card::-webkit-scrollbar-track {
  margin-block: 18px;
  background: rgba(63, 159, 200, 0.075);
  box-shadow: none;
}

/* Compact inner VIN result boxes need less inset than full popup panels. */
.vdash-vin-result__price-list::-webkit-scrollbar-track {
  margin-block: 10px;
}

/* v176 — keep popup scrollbar artwork fully inside rounded popup borders */
.vehicle-browser__dialog-card,
.vdash-vin-dialog__content,
.vdash-vin-result__price-list,
.flat-plans-dialog__panel,
.feature-details-dialog__panel,
.screenshot-dialog__card {
  scrollbar-color:
    rgba(63, 159, 200, 0.58)
    transparent;
}

/* Give the scrollbar a transparent outer gutter. */
.vehicle-browser__dialog-card::-webkit-scrollbar,
.vdash-vin-dialog__content::-webkit-scrollbar,
.flat-plans-dialog__panel::-webkit-scrollbar,
.feature-details-dialog__panel::-webkit-scrollbar,
.screenshot-dialog__card::-webkit-scrollbar {
  width: 14px !important;
  background: transparent !important;
}

.vdash-vin-result__price-list::-webkit-scrollbar {
  width: 11px !important;
  background: transparent !important;
}

/* No painted track against the curved edge. */
.vehicle-browser__dialog-card::-webkit-scrollbar-track,
.vdash-vin-dialog__content::-webkit-scrollbar-track,
.vdash-vin-result__price-list::-webkit-scrollbar-track,
.flat-plans-dialog__panel::-webkit-scrollbar-track,
.feature-details-dialog__panel::-webkit-scrollbar-track,
.screenshot-dialog__card::-webkit-scrollbar-track {
  background: transparent !important;
  box-shadow: none !important;
}

/* Full popup panels: start/end well below the rounded corners. */
.vehicle-browser__dialog-card::-webkit-scrollbar-track,
.flat-plans-dialog__panel::-webkit-scrollbar-track,
.feature-details-dialog__panel::-webkit-scrollbar-track,
.screenshot-dialog__card::-webkit-scrollbar-track {
  margin-block: 46px !important;
}

.vdash-vin-dialog__content::-webkit-scrollbar-track {
  margin-block: 40px !important;
}

.vdash-vin-result__price-list::-webkit-scrollbar-track {
  margin-block: 14px !important;
}

/*
  Render the colored thumb inside the gutter rather than on the popup edge.
  The larger transparent border on the right creates the actual horizontal inset.
*/
.vehicle-browser__dialog-card::-webkit-scrollbar-thumb,
.vdash-vin-dialog__content::-webkit-scrollbar-thumb,
.flat-plans-dialog__panel::-webkit-scrollbar-thumb,
.feature-details-dialog__panel::-webkit-scrollbar-thumb,
.screenshot-dialog__card::-webkit-scrollbar-thumb {
  border-top: 2px solid transparent !important;
  border-bottom: 2px solid transparent !important;
  border-left: 3px solid transparent !important;
  border-right: 6px solid transparent !important;
  border-radius: 999px !important;
  background:
    linear-gradient(
      180deg,
      rgba(98, 181, 216, 0.90),
      rgba(38, 127, 169, 0.80)
    ) !important;
  background-clip: padding-box !important;
  box-shadow: none !important;
}

.vdash-vin-result__price-list::-webkit-scrollbar-thumb {
  border-top: 2px solid transparent !important;
  border-bottom: 2px solid transparent !important;
  border-left: 2px solid transparent !important;
  border-right: 4px solid transparent !important;
  border-radius: 999px !important;
  background:
    linear-gradient(
      180deg,
      rgba(98, 181, 216, 0.88),
      rgba(38, 127, 169, 0.78)
    ) !important;
  background-clip: padding-box !important;
  box-shadow: none !important;
}

/* Preserve the same inset on hover/active instead of repainting to the edge. */
.vehicle-browser__dialog-card::-webkit-scrollbar-thumb:hover,
.vdash-vin-dialog__content::-webkit-scrollbar-thumb:hover,
.flat-plans-dialog__panel::-webkit-scrollbar-thumb:hover,
.feature-details-dialog__panel::-webkit-scrollbar-thumb:hover,
.screenshot-dialog__card::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(
      180deg,
      rgba(82, 172, 211, 1),
      rgba(27, 113, 154, 0.94)
    ) !important;
  background-clip: padding-box !important;
}

.vehicle-browser__dialog-card::-webkit-scrollbar-thumb:active,
.vdash-vin-dialog__content::-webkit-scrollbar-thumb:active,
.flat-plans-dialog__panel::-webkit-scrollbar-thumb:active,
.feature-details-dialog__panel::-webkit-scrollbar-thumb:active,
.screenshot-dialog__card::-webkit-scrollbar-thumb:active {
  background:
    linear-gradient(
      180deg,
      rgba(56, 151, 193, 1),
      rgba(20, 88, 122, 1)
    ) !important;
  background-clip: padding-box !important;
}


/* v177 — popup scrollbars are now fully custom in-DOM controls */
.vehicle-browser__dialog-card,
.vdash-vin-dialog__content,
.vdash-vin-result__price-list,
.flat-plans-dialog__panel,
.feature-details-dialog__panel,
.screenshot-dialog__card {
  scrollbar-width: none !important;
  -ms-overflow-style: none;
}

.vehicle-browser__dialog-card::-webkit-scrollbar,
.vdash-vin-dialog__content::-webkit-scrollbar,
.vdash-vin-result__price-list::-webkit-scrollbar,
.flat-plans-dialog__panel::-webkit-scrollbar,
.feature-details-dialog__panel::-webkit-scrollbar,
.screenshot-dialog__card::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Current custom popup scrollbar styling. */
.vdash-popup-scrollbar {
  position: fixed;
  z-index: 2147483000 !important;
  width: 9px;
  border: 1px solid rgba(38, 127, 169, 0.16);
  border-radius: 999px;
  background: #eef8fc !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.88),
    0 1px 4px rgba(4, 17, 31, 0.08) !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  transition:
    opacity 120ms ease,
    background-color 120ms ease;
}

.vdash-popup-scrollbar.is-visible {
  opacity: 1 !important;
  visibility: visible;
  pointer-events: auto;
}

.vdash-popup-scrollbar--compact {
  width: 8px;
  background: #eaf6fb !important;
  box-shadow:
    inset 0 0 0 1px rgba(38, 127, 169, 0.10),
    0 1px 4px rgba(4, 17, 31, 0.06);
}

.vdash-popup-scrollbar__thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      rgb(82, 172, 211),
      rgb(27, 113, 154)
    ) !important;
  box-shadow:
    0 2px 8px rgba(20, 88, 122, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18) !important;
  cursor: grab;
  transition:
    background 120ms ease,
    box-shadow 120ms ease;
}

.vdash-popup-scrollbar__thumb:hover {
  background:
    linear-gradient(
      180deg,
      rgb(68, 160, 201),
      rgb(21, 99, 139)
    ) !important;
}

.vdash-popup-scrollbar__thumb.is-dragging {
  cursor: grabbing;
  background:
    linear-gradient(
      180deg,
      rgb(52, 145, 187),
      rgb(15, 82, 117)
    ) !important;
}

@media (prefers-reduced-motion: reduce) {
  .vdash-popup-scrollbar,
  .vdash-popup-scrollbar__thumb {
    transition-duration: 0.01ms !important;
  }
}


/* v183 — carousel popup uses the same bottom CLOSE treatment as the VIN popup */
.vehicle-browser__dialog-card {
  display: flex !important;
  flex-direction: column;
  overflow: hidden !important;
}

.vehicle-browser__dialog-content {
  min-height: 0;
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none !important;
  -ms-overflow-style: none;
}

.vehicle-browser__dialog-content::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.vehicle-browser__bottom-close {
  position: relative;
  z-index: 8;
  width: 100%;
  margin: 0;
  flex: 0 0 auto;
}

.vehicle-browser__dialog-close-bottom {
  font-family: var(--font-interface) !important;
}

/* The round X no longer exists in the carousel popup. */


/* Move every VIN price pill away from the custom compact scrollbar. */
.vdash-vin-result__price {
  margin-inline-end: 16px;
}

@media (max-width: 600px) {
  .vdash-vin-result__price {
    margin-inline-end: 14px;
  }
}

/* vdash-flat-scrollbar-current */
/* Current FLAT scrollbar policy:
   - Native scrollbar chrome is hidden on the dialog and both PLAN pages.
   - CONFIG / ULTIMATE has no visible custom rail.
   - The comparison page may use the dedicated VDASH custom rail. */
#flatPlansDialog,
#flatPlansDialog .flat-plans-dialog__page,
#flatPlansDialog .flat-comparison-wrap {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  scrollbar-gutter: auto !important;
}

#flatPlansDialog::-webkit-scrollbar,
#flatPlansDialog .flat-plans-dialog__page::-webkit-scrollbar,
#flatPlansDialog .flat-comparison-wrap::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* vdash-pricing-and-czech-hero-current */
/* Pricing cards remain equal-height within each row, but can grow to fit
   longer translations without pushing their CTA below the frame. */
@media (min-width: 821px) {
  .pricing-electric-grid .pricing-electric-card {
    height: auto !important;
    min-height: 570px !important;
    max-height: none !important;
  }

  .pricing-electric-grid .pricing-card-content {
    height: auto !important;
    min-height: 0 !important;
    flex: 1 1 auto;
  }
}

/* Exact Czech hero treatment requested: four lines. */
html[lang="cs"] .hero-copy h1 {
  white-space: pre-line;
}

html[lang="cs"] .hero-copy h1 > span {
  display: block;
}

/* vdash-language-responsive-current */
/* German Hero: keep the longest translated headline inside narrow phones. */
@media (max-width: 600px) {
  html[lang="de"] .hero-copy h1 {
    max-width: 100% !important;
    font-size: clamp(2.25rem, 10.8vw, 3.55rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.045em !important;
    text-wrap: wrap !important;
  }
}

/* German/Polish mobile Featurette typography needs less wrapping, but geometry
   and height are shared with every other language by the uniform sizer. */
@media (max-width: 760px) {
  html[lang="de"] #featureDetailsDialog .feature-details-dialog__header,
  html[lang="pl"] #featureDetailsDialog .feature-details-dialog__header,
  html[lang="de"] #featureDetailsDialog .feature-details-dialog__body,
  html[lang="pl"] #featureDetailsDialog .feature-details-dialog__body {
    padding-right: 18px !important;
    padding-left: 18px !important;
  }

  html[lang="de"] #featureDetailsDialog .feature-details-dialog__header h2,
  html[lang="pl"] #featureDetailsDialog .feature-details-dialog__header h2 {
    max-width: 100% !important;
    font-size: clamp(1.7rem, 7.4vw, 2.3rem) !important;
    line-height: 1.08 !important;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  html[lang="de"] #featureDetailsDialog .flat-plans-dialog__switch,
  html[lang="pl"] #featureDetailsDialog .flat-plans-dialog__switch {
    top: 50dvh !important;
    width: 34px !important;
  }

  html[lang="de"] #featureDetailsDialog .flat-plans-dialog__switch--prev,
  html[lang="pl"] #featureDetailsDialog .flat-plans-dialog__switch--prev {
    left: -32px !important;
  }

  html[lang="de"] #featureDetailsDialog .flat-plans-dialog__switch--next,
  html[lang="pl"] #featureDetailsDialog .flat-plans-dialog__switch--next {
    right: -32px !important;
  }
}

@media (max-width: 430px) {
  html[lang="de"] #featureDetailsDialog .flat-plans-dialog__switch--prev,
  html[lang="pl"] #featureDetailsDialog .flat-plans-dialog__switch--prev {
    left: -27px !important;
  }

  html[lang="de"] #featureDetailsDialog .flat-plans-dialog__switch--next,
  html[lang="pl"] #featureDetailsDialog .flat-plans-dialog__switch--next {
    right: -27px !important;
  }
}

/* Remove responsive decorative masks/translucency over VDASH artwork. */

.final-cta-neon {
  z-index: 2 !important;
}

@media (max-width: 1060px) {
  .hero-poster-word {
    opacity: 1 !important;
  }
}

@media (max-width: 900px) {
  .final-cta-neon {
    opacity: 1 !important;
  }
}

/* vdash-feature-shell-current */
/* Current Featurette shell: complete cards, no inner page scrollbar. On short
   screens the modal overlay scrolls while the rounded card remains intact. */
#featureDetailsDialog {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding-top: clamp(12px, 2.2vh, 26px) !important;
  padding-bottom: clamp(12px, 2.2vh, 26px) !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

#featureDetailsDialog::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

#featureDetailsDialog .feature-details-dialog__panel {
  width: min(1120px, 100%) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

#featureDetailsDialog .feature-details-dialog__pages {
  flex: 0 0 auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  border-radius: inherit !important;
}

#featureDetailsDialog .feature-details-dialog__page {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
  overscroll-behavior: auto !important;
  scrollbar-gutter: auto !important;
}

/* Featurettes use the shared bottom Close action, not the floating X. */
#featureDetailsDialog .flat-plans-dialog__close {
  display: none !important;
}

#featureDetailsDialog .feature-details-dialog__close-row {
  display: flex;
  width: 100% !important;
  min-width: 0 !important;
  flex: 0 0 auto;
  justify-content: center !important;
  padding: 16px clamp(20px, 4vw, 40px) 22px !important;
  border-top: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#featureDetailsDialog .feature-details-dialog__close-button {
  display: inline-flex !important;
  width: auto !important;
  min-width: min(320px, 100%) !important;
  min-height: 46px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 22px !important;
  border: 1px solid rgba(38, 127, 169, 0.78) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.86) !important;
  color: var(--vdash-light-blue-ink, var(--blue-700)) !important;
  font-family: var(--font-interface) !important;
  font-size: 0.9rem !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: 0 8px 22px rgba(38, 127, 169, 0.07) !important;
  cursor: pointer;
  transform: none !important;
  transition:
    border-color 120ms ease,
    background-color 120ms ease,
    color 120ms ease,
    box-shadow 120ms ease !important;
}

#featureDetailsDialog .feature-details-dialog__close-button:hover,
#featureDetailsDialog .feature-details-dialog__close-button:focus-visible {
  border-color: var(--blue-700) !important;
  background: var(--blue-700) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 26px rgba(38, 127, 169, 0.18) !important;
  outline: none !important;
  transform: none !important;
}

@media (max-height: 850px), (max-width: 760px) {
  #featureDetailsDialog {
    place-items: start center !important;
  }
}

@media (max-width: 760px) {
  #featureDetailsDialog {
    padding-top: 10px !important;
    padding-bottom: 18px !important;
  }

  #featureDetailsDialog .feature-details-dialog__close-row {
    padding: 14px 18px 18px !important;
  }

  #featureDetailsDialog .feature-details-dialog__close-button {
    width: min(100%, 320px) !important;
  }
}

/* vdash-feature-transition-current */
/* Current Featurette transition state. Inactive pages are removed from layout;
   the outgoing page stays renderable only while WAAPI slides/fades it out. */
#featureDetailsDialog
  .feature-details-dialog__page:not(.is-active):not(.popup-page-is-outgoing) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#featureDetailsDialog .feature-details-dialog__page.is-active {
  display: flex !important;
  visibility: visible !important;
  opacity: 1;
  pointer-events: auto !important;
}

#featureDetailsDialog .feature-details-dialog__page.popup-page-is-outgoing {
  display: flex !important;
  visibility: visible !important;
  pointer-events: none !important;
}

/* Web Animations API owns transform/opacity during page navigation. */
#featureDetailsDialog .feature-details-dialog__page {
  transition: none !important;
}

/* vdash-v214-feature-stationary-footer */
/*
  v214 — structural Featurette transition fix.

  Only the page header/body lives inside the horizontally animated pages
  viewport.  Footer sources stay hidden inside each page for translation/data
  purposes.  One visible footer and one Close row live directly under the
  viewport, so the white footer sheet never moves laterally and therefore
  cannot protrude as a "ghost bar" during page transitions.
*/
#featureDetailsDialog .feature-details-dialog__footer-source {
  display: none !important;
}

#featureDetailsDialog .feature-details-dialog__pages {
  overflow: hidden !important;
  isolation: isolate;
}

/* The shared footer is popup chrome, not part of an animated page. */
#featureDetailsDialog
  .feature-details-dialog__panel
  > .feature-details-dialog__shared-footer {
  position: relative;
  z-index: 6;
  width: 100%;
  min-width: 100%;
  flex: 0 0 auto;
  align-self: stretch;
  margin-top: 0 !important;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.70);
  will-change: opacity;
}

#featureDetailsDialog
  .feature-details-dialog__panel
  > .feature-details-dialog__shared-close {
  position: relative;
  z-index: 6;
  flex: 0 0 auto;
}


@media (max-width: 760px) {
  #featureDetailsDialog
    .feature-details-dialog__panel
    > .feature-details-dialog__shared-footer {
    padding-bottom: 20px !important;
  }
}

/* vdash-v216-uniform-featurettes */
/*
  v216 — every Featurette uses one uniform footprint at a given viewport size.
  The runtime sizer measures every Featurette in every supported language at
  this width, then uses the tallest translated page/footer as the shared size.
*/

/* Use the widest language-safe desktop card for every locale. */
@media (min-width: 761px) {
  #featureDetailsDialog {
    padding: 8px !important;
  }

  #featureDetailsDialog .feature-details-dialog__panel {
    width: min(1240px, calc(100vw - 16px)) !important;
  }
}

/* Use the same mobile horizontal footprint for every locale too. */
@media (max-width: 760px) {
  #featureDetailsDialog {
    padding-right: 34px !important;
    padding-left: 34px !important;
  }

  #featureDetailsDialog .feature-details-dialog__panel {
    width: 100% !important;
  }
}

@media (max-width: 430px) {
  #featureDetailsDialog {
    padding-right: 28px !important;
    padding-left: 28px !important;
  }
}

/* Once measured, every page occupies the tallest translated Featurette size. */
#featureDetailsDialog .feature-details-dialog__pages {
  height: var(--feature-uniform-page-height, auto) !important;
  min-height: var(--feature-uniform-page-height, 0px) !important;
  flex: 0 0 var(--feature-uniform-page-height, auto) !important;
}

#featureDetailsDialog .feature-details-dialog__page {
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
}

/* Footer text/link counts also vary by language/page, so reserve the tallest. */
#featureDetailsDialog
  .feature-details-dialog__panel
  > .feature-details-dialog__shared-footer {
  height: var(--feature-uniform-footer-height, auto) !important;
  min-height: var(--feature-uniform-footer-height, 0px) !important;
  box-sizing: border-box;
}

/* The measuring pass temporarily restores natural heights off-screen. */
#featureDetailsDialog.vdash-feature-uniform-measuring {
  display: grid !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  place-items: start center !important;
}

#featureDetailsDialog.vdash-feature-uniform-measuring
  .feature-details-dialog__panel {
  opacity: 1 !important;
  transform: none !important;
}

#featureDetailsDialog.vdash-feature-uniform-measuring
  .feature-details-dialog__pages {
  height: auto !important;
  min-height: 0 !important;
  flex: 0 0 auto !important;
  overflow: visible !important;
}

#featureDetailsDialog.vdash-feature-uniform-measuring
  .feature-details-dialog__page {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

#featureDetailsDialog.vdash-feature-uniform-measuring
  .feature-details-dialog__shared-footer {
  height: auto !important;
  min-height: 0 !important;
}

/* vdash-v220-flat-structural-sizing */
/*
  v220 — FLAT PLAN structural sizing fix.

  CONFIG / ULTIMATE is no longer an internally scrollable fixed-height page.
  It renders at its natural content height, with the tallest translation used
  only as a shared MINIMUM. If a translation ever needs a few extra pixels,
  the popup grows instead of clipping its footer.

  The comparison page keeps a fixed content viewport based on the same shared
  minimum and only .flat-comparison-wrap scrolls internally.
*/
#flatPlansDialog {
  place-items: start center !important;
}

#flatPlansDialog .flat-plans-dialog__panel,
#flatPlansDialog .flat-plans-dialog__panel[data-flat-plans-page="0"],
#flatPlansDialog .flat-plans-dialog__panel[data-flat-plans-page="1"] {
  height: auto !important;
  min-height: var(--flat-uniform-page-min-height, 0px) !important;
  max-height: none !important;
  margin: auto !important;
  overflow: visible !important;
}

#flatPlansDialog .flat-plans-dialog__pages {
  display: grid !important;
  height: auto !important;
  min-height: var(--flat-uniform-page-min-height, 0px) !important;
  flex: 0 0 auto !important;
  grid-template: minmax(0, auto) / minmax(0, 1fr) !important;
  overflow: hidden !important;
  border-radius: inherit;
}

#flatPlansDialog .flat-plans-dialog__page {
  grid-area: 1 / 1 !important;
}

/* Overview: no hidden inner scroll. The complete footer is part of the page. */
#flatPlansDialog .flat-plans-dialog__page--prices {
  height: auto !important;
  min-height: var(--flat-uniform-page-min-height, 0px) !important;
  max-height: none !important;
  overflow: visible !important;
  overscroll-behavior: auto !important;
  scrollbar-gutter: auto !important;
}

/* Comparison: same normal footprint, but the table is the only scroller. */
#flatPlansDialog .flat-plans-dialog__page--comparison {
  height: var(--flat-uniform-page-min-height, 880px) !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
}

#flatPlansDialog .flat-plans-dialog__page--comparison .flat-comparison-wrap {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: auto !important;
}

/* CONFIG and ULTIMATE share the tallest translated descriptive area. */
#flatPlansDialog .flat-plan-card {
  grid-template-rows:
    var(--flat-uniform-card-top-height, 246px)
    minmax(0, auto) !important;
}

#flatPlansDialog .flat-plan-card__top {
  height: auto !important;
  min-height: var(--flat-uniform-card-top-height, 246px) !important;
}

/* Measurement mode matches the final overview architecture: natural panel,
   natural page, no inner scroll, comparison removed from layout. */
#flatPlansDialog.vdash-flat-natural-measuring {
  display: grid !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  place-items: start center !important;
}

#flatPlansDialog.vdash-flat-natural-measuring .flat-plans-dialog__panel {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 auto !important;
  opacity: 1 !important;
  transform: none !important;
}

#flatPlansDialog.vdash-flat-natural-measuring .flat-plans-dialog__pages {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

#flatPlansDialog.vdash-flat-natural-measuring .flat-plans-dialog__page {
  display: none !important;
}

#flatPlansDialog.vdash-flat-natural-measuring .flat-plans-dialog__page--prices {
  display: flex !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  transform: none !important;
}

#flatPlansDialog.vdash-flat-natural-measuring .flat-plan-card {
  height: auto !important;
  grid-template-rows: auto auto !important;
}

#flatPlansDialog.vdash-flat-natural-measuring .flat-plan-card__top {
  height: auto !important;
  min-height: 0 !important;
}

#flatPlansDialog.vdash-flat-natural-measuring .flat-plan-prices {
  height: auto !important;
}

/* vdash-v233-dark-theme-corrections */
/* Dark-mode corrections that remain necessary after the consolidated theme rules. */
html[data-theme="dark"] body #vehicles .vehicle-browser {
  border-color: rgba(141, 204, 228, 0.20) !important;
  background:
    radial-gradient(circle at 8% 0%, rgba(98, 181, 216, 0.11), transparent 24rem),
    #0c263b !important;
  box-shadow:
    0 24px 68px rgba(2, 12, 18, 0.28),
    inset 0 1px 0 rgba(188, 232, 244, 0.06) !important;
}

html[data-theme="dark"] body #vehicles .vehicle-browser__viewport {
  background: #0c263b !important;
}

html[data-theme="dark"] body #vehicles .vehicle-browser__viewport::before {
  background: linear-gradient(90deg, #0c263b 0%, rgba(18, 48, 61, 0) 100%) !important;
}

html[data-theme="dark"] body #vehicles .vehicle-browser__viewport::after {
  background: linear-gradient(270deg, #0c263b 0%, rgba(18, 48, 61, 0) 100%) !important;
}

html[data-theme="dark"] body #vehicles .vehicle-browser-heading h2 {
  color: #eef8fb !important;
}

html[data-theme="dark"] body #vehicles .vehicle-browser-heading > p:last-child {
  color: #9eb8c3 !important;
}

html[data-theme="dark"] body #vehicles .vehicle-browser-heading .eyebrow {
  color: #8dcce4 !important;
}

html[data-theme="dark"] body #pricing .pricing-electric-card .price strong {
  color: #eef8fb !important;
}

html[data-theme="dark"] body #pricing .pricing-electric-card--active .price strong {
  color: #ffffff !important;
}

html[data-theme="dark"] body .vehicle-browser__gallery-card {
  border-color: rgba(98, 181, 216, 0.42) !important;
  background: #0e2c45 !important;
  color: #eef8fb !important;
}

html[data-theme="dark"] body .vehicle-browser__gallery-caption {
  background: #0e2c45 !important;
}

html[data-theme="dark"] body .vehicle-browser__gallery-caption strong {
  color: #eef8fb !important;
}

html[data-theme="dark"] body .vehicle-browser__gallery-caption span {
  color: #aec5cf !important;
}

html[data-theme="dark"] body .vehicle-browser__gallery-caption small {
  background: rgba(98, 181, 216, 0.14) !important;
  color: #8dcce4 !important;
}

html[data-theme="dark"] body .vehicle-browser-card__image,
html[data-theme="dark"] body .vehicle-browser__gallery-image {
  background: #ffffff !important;
  box-shadow: inset 0 0 0 1px rgba(98, 181, 216, 0.58) !important;
}

html[data-theme="dark"] body .vehicle-browser__gallery-image {
  border-bottom-color: rgba(98, 181, 216, 0.58) !important;
}

/* vdash-v234-dark-navy-harmonization */
/* v234 — Dark mode is harmonized with the existing Hero/Footer navy palette.
   Hero and Footer themselves are intentionally unchanged. */
html[data-theme="dark"] body {
  background: #081827;
}

html[data-theme="dark"] .feature-expando-section,
html[data-theme="dark"] .vdash-vin-section,
html[data-theme="dark"] .vehicle-browser-section,
html[data-theme="dark"] .journey-section,
html[data-theme="dark"] .recommended-hardware-section,
html[data-theme="dark"] .card-beam-section,
html[data-theme="dark"] .pricing-electric-section,
html[data-theme="dark"] .faq-template-section {
  border-color: rgba(134, 177, 238, 0.08);
}

/* Slight blue lift at section boundaries keeps the page connected to the
   Hero's #06111f and the Footer's #071f2e → blue gradient without turning the
   content areas black. */
html[data-theme="dark"] .feature-expando-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(86, 144, 221, 0.12), transparent 36%),
    linear-gradient(180deg, #091c2d 0%, #0d273d 100%) !important;
}

html[data-theme="dark"] .vdash-vin-section {
  background:
    radial-gradient(circle at 18% 12%, rgba(86, 144, 221, 0.09), transparent 30rem),
    linear-gradient(180deg, #0c2438 0%, #091c2d 100%) !important;
}

html[data-theme="dark"] body #vehicles.vehicle-browser-section {
  background:
    radial-gradient(circle at 76% 12%, rgba(86, 144, 221, 0.12), transparent 30%),
    linear-gradient(180deg, #0a2033 0%, #0f2c44 100%) !important;
}

html[data-theme="dark"] .journey-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(86, 144, 221, 0.10), transparent 36%),
    linear-gradient(180deg, #091c2d 0%, #0d263c 100%) !important;
}

html[data-theme="dark"] .recommended-hardware-section {
  background:
    radial-gradient(circle at 16% 18%, rgba(86, 144, 221, 0.09), transparent 29rem),
    radial-gradient(circle at 88% 78%, rgba(134, 177, 238, 0.07), transparent 31rem),
    linear-gradient(180deg, #0b2135 0%, #0f2d46 100%) !important;
}

html[data-theme="dark"] .card-beam-section {
  background:
    radial-gradient(circle at 35% 28%, rgba(86, 144, 221, 0.09), transparent 34%),
    linear-gradient(180deg, #081a2b 0%, #0d273d 100%) !important;
}

html[data-theme="dark"] .pricing-electric-section,
html[data-theme="dark"] .section--soft.pricing-electric-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(86, 144, 221, 0.12), transparent 34%),
    linear-gradient(180deg, #091c2d 0%, #0f2e47 100%) !important;
}

html[data-theme="dark"] .faq-template-section {
  background:
    linear-gradient(
      180deg,
      #103149 0%,
      #0d2940 20%,
      #0a2033 100%
    ) !important;
}

/* vdash-v235-dark-popup-and-hardware-fixes */
/* -------------------------------------------------------------------------
   v235 — finish the dark-mode navy harmonization.
   Popup secondary surfaces now use the Hero/Footer blue family rather than
   teal/green-blue. Semantic green/amber/red status indicators stay unchanged.
   ------------------------------------------------------------------------- */

/* Shared popup palette */
html[data-theme="dark"] .flat-plans-dialog__panel,
html[data-theme="dark"] .vdash-vin-dialog__panel,
html[data-theme="dark"] .vehicle-browser__dialog-card,
html[data-theme="dark"] .screenshot-dialog__card {
  border-color: rgba(98, 181, 216, 0.28) !important;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(86, 144, 221, 0.10),
      transparent 30rem
    ),
    linear-gradient(
      145deg,
      #123a59 0%,
      #0a2238 48%,
      #071827 100%
    ) !important;
}

/* PLAN overview + comparison */
html[data-theme="dark"] .flat-plan-card {
  border-color: rgba(98, 181, 216, 0.24) !important;
  background: #0d2b47 !important;
}

html[data-theme="dark"] .flat-plan-card__top {
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(86, 144, 221, 0.10),
      transparent 18rem
    ),
    #123452 !important;
}

html[data-theme="dark"] .flat-plan-card--ultimate .flat-plan-card__top {
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(86, 144, 221, 0.15),
      transparent 19rem
    ),
    linear-gradient(145deg, #17466a, #102f4d) !important;
}

html[data-theme="dark"] .flat-plan-prices,
html[data-theme="dark"] .flat-plan-prices > div {
  background: #0b263e !important;
}

html[data-theme="dark"] .flat-comparison-wrap {
  border-color: rgba(98, 181, 216, 0.24) !important;
  background: #0a2238 !important;
}

html[data-theme="dark"] .flat-comparison-table thead th {
  background: #123452 !important;
}

html[data-theme="dark"] .flat-comparison-table tbody th {
  background: #102f4d !important;
}

html[data-theme="dark"] .flat-comparison-table tbody td {
  background: #0b263e !important;
}

html[data-theme="dark"] .flat-comparison-table tbody tr:hover th,
html[data-theme="dark"] .flat-comparison-table tbody tr:hover td {
  background: #143b5d !important;
}

html[data-theme="dark"] .flat-plans-dialog__footer,
html[data-theme="dark"]
  #featureDetailsDialog
  .feature-details-dialog__panel
  > .feature-details-dialog__shared-footer {
  border-color: rgba(98, 181, 216, 0.18) !important;
  background:
    linear-gradient(
      90deg,
      #081b2c 0%,
      #0b263e 100%
    ) !important;
}

/* Featurettes */
html[data-theme="dark"] #featureDetailsDialog .feature-details-dialog__page {
  background: transparent !important;
}

html[data-theme="dark"] .feature-details-dialog__note {
  border-color: rgba(98, 181, 216, 0.24) !important;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(86, 144, 221, 0.10),
      transparent 13rem
    ),
    #102f4d !important;
}

html[data-theme="dark"]
  #featureDetailsDialog
  .feature-details-dialog__close-row {
  background: #081b2c !important;
}

/* VIN result popup */
html[data-theme="dark"] .vdash-vin-result__meta > div,
html[data-theme="dark"] .vdash-vin-result__status-card,
html[data-theme="dark"] .vdash-vin-result__section,
html[data-theme="dark"] .vdash-vin-result__section--api {
  border-color: rgba(98, 181, 216, 0.20) !important;
  background: #102f4d !important;
}

html[data-theme="dark"] .vdash-vin-result__price-list {
  background: #091f34 !important;
}

html[data-theme="dark"] .vdash-vin-result__price-item {
  border-color: rgba(98, 181, 216, 0.18) !important;
  background: #102b47 !important;
}

html[data-theme="dark"] .vdash-vin-result__category-row {
  border-color: rgba(98, 181, 216, 0.20) !important;
  background: #143b5d !important;
  color: #FDC82F !important;
}

html[data-theme="dark"] .vdash-vin-dialog__bottom-close {
  border-color: rgba(98, 181, 216, 0.18) !important;
  background:
    linear-gradient(
      180deg,
      #0b263e 0%,
      #071827 100%
    ) !important;
}

/* Expanded vehicle popup */
html[data-theme="dark"] .vehicle-browser__dialog-summary {
  border-color: rgba(98, 181, 216, 0.18) !important;
}

html[data-theme="dark"] .vehicle-browser__dialog-facts > div,
html[data-theme="dark"] .vehicle-browser__decoding-item,
html[data-theme="dark"] .vehicle-browser__engine-row,
html[data-theme="dark"] .vehicle-browser__transmission-list > div,
html[data-theme="dark"] .vehicle-browser__technical-grid > div,
html[data-theme="dark"] .vehicle-browser__note-list details {
  border-color: rgba(98, 181, 216, 0.20) !important;
  background: #102b47 !important;
}

html[data-theme="dark"] .vehicle-browser__dialog-extended {
  background:
    linear-gradient(
      180deg,
      #0b263e 0%,
      #081b2c 100%
    ) !important;
}

html[data-theme="dark"] .vehicle-browser__detail-section {
  border-color: rgba(98, 181, 216, 0.20) !important;
  background: #0e2d49 !important;
}

html[data-theme="dark"] .vehicle-browser__bottom-close {
  background:
    linear-gradient(
      180deg,
      #0b263e 0%,
      #071827 100%
    ) !important;
}

/* Screenshot popup */
html[data-theme="dark"] .screenshot-dialog__caption {
  border-color: rgba(98, 181, 216, 0.20) !important;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(86, 144, 221, 0.10),
      transparent 18rem
    ),
    linear-gradient(145deg, #123452 0%, #091f34 100%) !important;
}


/* v315 — subdued navy hardware cards in Dark Mode; Light Mode is untouched. */
html[data-theme="dark"] body #hardware .hardware-product {
  color: #e7f2f9 !important;
  border-color: rgba(134, 177, 238, 0.28) !important;
  background:
    radial-gradient(circle at 90% 0%, rgba(86, 144, 221, 0.13), transparent 52%),
    linear-gradient(150deg, #173650 0%, #102a42 55%, #0b2339 100%) !important;
  box-shadow:
    0 24px 64px rgba(2, 12, 18, 0.34),
    inset 0 1px 0 rgba(188, 232, 244, 0.09) !important;
}

html[data-theme="dark"] body #hardware .hardware-product__figure {
  background:
    radial-gradient(ellipse at 50% 56%, rgba(109, 172, 212, 0.13), transparent 67%) !important;
}

html[data-theme="dark"] body #hardware .hardware-product__heading h3 {
  color: #f3faff !important;
}

html[data-theme="dark"] body #hardware .hardware-product__body > p:not(.hardware-product__note) {
  color: #b9cfdd !important;
}

html[data-theme="dark"] body #hardware .hardware-product__body li {
  color: #d5e5ee !important;
}

html[data-theme="dark"] body #hardware .hardware-product__body li::before {
  color: #7dcced !important;
}

html[data-theme="dark"] body #hardware .hardware-product__badge {
  border-color: rgba(109, 190, 226, 0.40);
  background: rgba(75, 150, 193, 0.16);
  color: #afe7ff;
}

html[data-theme="dark"] body #hardware .hardware-product__badge--danger {
  border-color: rgba(251, 128, 128, 0.42);
  background: rgba(251, 128, 128, 0.11);
  color: #ffaaaa;
}

html[data-theme="dark"] body #hardware .hardware-product__restriction::before {
  color: #ff9f9f !important;
}

html[data-theme="dark"] body #hardware .hardware-product__body .hardware-product__note {
  border-left-color: #76c1e6 !important;
  background: rgba(79, 151, 193, 0.13) !important;
  color: #b9cfdd !important;
}

#hardware .hardware-product__cta {
  align-self: center !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

/* vdash-v237-vin-price-pill-specificity-fix */
/* v237 — override the older high-specificity dark-mode pill rule as well.
   Prices are plain text in both themes. */
body .vdash-vin-result__price,
html[data-theme="dark"] body .vdash-vin-result__price {
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body .vdash-vin-result__price {
  color: #071f2e !important;
}

html[data-theme="dark"] body .vdash-vin-result__price {
  color: #c7dbe2 !important;
}

/* vdash-v240-dark-carousel-card-reference */
/* Dark-mode carousel card: white image panel flush to the top, navy body below. */
html[data-theme="dark"] body #vehicles .vehicle-browser-card {
  display: flex !important;
  overflow: hidden !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  border-color: rgba(98, 181, 216, 0.36) !important;
  border-radius: 22px !important;
  background:
    linear-gradient(
      180deg,
      #111d2d 0%,
      #101a29 100%
    ) !important;
}

html[data-theme="dark"] body #vehicles .vehicle-browser-card__image {
  display: flex !important;
  width: 100% !important;
  height: 156px !important;
  flex: 0 0 156px !important;
  margin: 0 !important;
  padding: 10px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(98, 181, 216, 0.24) !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body #vehicles .vehicle-browser-card__image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  background: #ffffff !important;
}

html[data-theme="dark"] body #vehicles .vehicle-browser-card__body {
  display: grid !important;
  width: 100% !important;
  flex: 1 1 auto !important;
  margin: 0 !important;
  background:
    linear-gradient(
      180deg,
      #111d2d 0%,
      #101a29 100%
    ) !important;
}

html[data-theme="dark"] body #vehicles .vehicle-browser-card__platform {
  color: #fdc82f !important;
}

html[data-theme="dark"] body #vehicles .vehicle-browser-card strong {
  color: #ffffff !important;
}

html[data-theme="dark"] body #vehicles .vehicle-browser-card span {
  color: #aeb8c6 !important;
}

/* vdash-v243-carousel-hover-restore */
/* v243 — restore the original v225 carousel-card hover motion.
   Recent dark-mode structural fixes keep their layout/colors, but the pointer
   interaction again uses the original 200 ms lift behavior. */
#vehicles .vehicle-browser-card {
  transform: translateY(0);
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease !important;
}

#vehicles .vehicle-browser-card:hover,
#vehicles .vehicle-browser-card:focus-visible {
  border-color: rgba(38, 127, 169, 0.46) !important;
  box-shadow:
    0 16px 36px rgba(24, 80, 106, 0.15),
    0 0 0 1px rgba(98, 181, 216, 0.13) !important;
  outline: none;
  transform: translateY(-6px) !important;
}

/* Keep the restored motion in dark mode while retaining the darker shadow
   treatment introduced with the dark theme. */
html[data-theme="dark"] body #vehicles .vehicle-browser-card:hover,
html[data-theme="dark"] body #vehicles .vehicle-browser-card:focus-visible {
  border-color: rgba(98, 181, 216, 0.52) !important;
  box-shadow:
    0 22px 58px rgba(2, 12, 18, 0.34),
    0 0 0 1px rgba(98, 181, 216, 0.12) !important;
  transform: translateY(-6px) !important;
}

/* vdash-v245-text-button-no-zoom */
/* v245 — Text CTA buttons keep their existing fill/sweep animation,
   colors, glow and shadows, but no longer enlarge on hover. */
.uiverse-exact-button:hover,
.uiverse-exact-button:focus-visible {
  transform: none !important;
}

/* Keep the pressed feedback without scaling the button. */
.uiverse-exact-button:active {
  transform: translateY(2px) !important;
}

/* The neon text buttons never need a scale transform either; retain their
   existing fill/glow animation and small hover lift. */
.hero-download-glow:hover,
.hero-download-glow:focus-visible {
  scale: 1 !important;
}

/* vdash-v246-unified-x-buttons */
/* -------------------------------------------------------------------------
   v246 — unified X-button treatment.
   - Dark mode: every circular X/clear control uses the newer navy/blue style.
   - VIN search: browser-native search cancel controls stay hidden and the
     existing custom X gets the proper light/dark theme treatment.
   ------------------------------------------------------------------------- */

/* VIN clear X — light mode uses the same white/blue treatment as the light
   popup X buttons. */
body .vdash-vin-lookup__clear {
  border: 1px solid rgba(63, 159, 200, 0.30) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: #071f2e !important;
  box-shadow: 0 6px 16px rgba(7, 31, 46, 0.10) !important;
}

body .vdash-vin-lookup__clear.is-visible:hover,
body .vdash-vin-lookup__clear.is-visible:focus-visible {
  border-color: var(--blue-600) !important;
  background: var(--blue-600) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(38, 127, 169, 0.22) !important;
  outline: none !important;
}

/* Dark-mode X style — same navy/blue treatment as the updated FLAT Plans X. */
html[data-theme="dark"] body .flat-plans-dialog__close,
html[data-theme="dark"] body .screenshot-dialog__close,
html[data-theme="dark"] body .vehicle-browser__dialog-close,
html[data-theme="dark"] body .vehicle-browser__clear,
html[data-theme="dark"] body .vdash-vin-lookup__clear {
  border: 1px solid rgba(98, 181, 216, 0.46) !important;
  background:
    linear-gradient(
      180deg,
      #123a59 0%,
      #0d2b47 100%
    ) !important;
  color: #dcecf1 !important;
  box-shadow:
    0 8px 22px rgba(2, 12, 18, 0.28),
    inset 0 1px 0 rgba(188, 232, 244, 0.08) !important;
}

/* Match hover/focus for every dark-mode X control. */
html[data-theme="dark"] body .flat-plans-dialog__close:hover,
html[data-theme="dark"] body .flat-plans-dialog__close:focus-visible,
html[data-theme="dark"] body .screenshot-dialog__close:hover,
html[data-theme="dark"] body .screenshot-dialog__close:focus-visible,
html[data-theme="dark"] body .vehicle-browser__dialog-close:hover,
html[data-theme="dark"] body .vehicle-browser__dialog-close:focus-visible,
html[data-theme="dark"] body .vehicle-browser__clear.is-visible:hover,
html[data-theme="dark"] body .vehicle-browser__clear.is-visible:focus-visible,
html[data-theme="dark"] body .vdash-vin-lookup__clear.is-visible:hover,
html[data-theme="dark"] body .vdash-vin-lookup__clear.is-visible:focus-visible {
  border-color: rgba(141, 204, 228, 0.72) !important;
  background:
    linear-gradient(
      180deg,
      #174a6d 0%,
      #113552 100%
    ) !important;
  color: #ffffff !important;
  outline: none !important;
}

/* High-specificity focus-only states from older popup CSS must not reintroduce
   the previous teal/white treatment in dark mode. */
html[data-theme="dark"]
  body
  .vehicle-browser__dialog.is-open
  .vehicle-browser__dialog-close:focus-visible:not(:hover),
html[data-theme="dark"]
  body
  .screenshot-dialog.is-open
  .screenshot-dialog__close:focus-visible:not(:hover),
html[data-theme="dark"]
  body
  .flat-plans-dialog.is-open
  .flat-plans-dialog__close:focus-visible:not(:hover) {
  border-color: rgba(141, 204, 228, 0.72) !important;
  background:
    linear-gradient(
      180deg,
      #123a59 0%,
      #0d2b47 100%
    ) !important;
  color: #dcecf1 !important;
}

/* vdash-v248-dark-x-hover-animation */
/* v248 — restore the X hover animation without rotating the button shell.
   The shell stays stationary so its drop shadow always points downward.
   The X glyph itself rotates instead. */

/* Popup/search X glyphs animate independently from their button shell. */
html[data-theme="dark"] body .flat-plans-dialog__close span,
html[data-theme="dark"] body .screenshot-dialog__close span,
html[data-theme="dark"] body .vehicle-browser__dialog-close span,
html[data-theme="dark"] body .vehicle-browser__clear span,
html[data-theme="dark"] body .vdash-vin-lookup__clear span {
  transition:
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 180ms ease !important;
}

/* Keep popup/search button shells still on hover so their shadow never rotates. */
html[data-theme="dark"] body .flat-plans-dialog__close:hover,
html[data-theme="dark"] body .flat-plans-dialog__close:focus-visible,
html[data-theme="dark"] body .screenshot-dialog__close:hover,
html[data-theme="dark"] body .screenshot-dialog__close:focus-visible,
html[data-theme="dark"] body .vehicle-browser__dialog-close:hover,
html[data-theme="dark"] body .vehicle-browser__dialog-close:focus-visible,
html[data-theme="dark"] body .vehicle-browser__clear.is-visible:hover,
html[data-theme="dark"] body .vehicle-browser__clear.is-visible:focus-visible {
  transform: rotate(0deg) scale(1) !important;
  box-shadow:
    0 0 0 3px rgba(98, 181, 216, 0.14),
    0 10px 26px rgba(2, 12, 18, 0.34),
    inset 0 1px 0 rgba(188, 232, 244, 0.08) !important;
}

/* Rotate only the X glyph by 180° on hover/focus. */
html[data-theme="dark"] body .flat-plans-dialog__close:hover span:first-child,
html[data-theme="dark"] body .flat-plans-dialog__close:focus-visible span:first-child,
html[data-theme="dark"] body .screenshot-dialog__close:hover span:first-child,
html[data-theme="dark"] body .screenshot-dialog__close:focus-visible span:first-child,
html[data-theme="dark"] body .vehicle-browser__dialog-close:hover span:first-child,
html[data-theme="dark"] body .vehicle-browser__dialog-close:focus-visible span:first-child,
html[data-theme="dark"] body .vehicle-browser__clear.is-visible:hover span:first-child,
html[data-theme="dark"] body .vehicle-browser__clear.is-visible:focus-visible span:first-child {
  transform: translate(-50%, -50%) rotate(225deg) !important;
}

html[data-theme="dark"] body .flat-plans-dialog__close:hover span:last-child,
html[data-theme="dark"] body .flat-plans-dialog__close:focus-visible span:last-child,
html[data-theme="dark"] body .screenshot-dialog__close:hover span:last-child,
html[data-theme="dark"] body .screenshot-dialog__close:focus-visible span:last-child,
html[data-theme="dark"] body .vehicle-browser__dialog-close:hover span:last-child,
html[data-theme="dark"] body .vehicle-browser__dialog-close:focus-visible span:last-child,
html[data-theme="dark"] body .vehicle-browser__clear.is-visible:hover span:last-child,
html[data-theme="dark"] body .vehicle-browser__clear.is-visible:focus-visible span:last-child {
  transform: translate(-50%, -50%) rotate(135deg) !important;
}

/* VIN search X is vertically centered with translateY(-50%). Do not replace
   that transform on hover, otherwise the whole button drops downward. */
html[data-theme="dark"] body .vdash-vin-lookup__clear,
html[data-theme="dark"] body .vdash-vin-lookup__clear.is-visible:hover,
html[data-theme="dark"] body .vdash-vin-lookup__clear.is-visible:focus-visible {
  transform: translateY(-50%) !important;
}

html[data-theme="dark"] body .vdash-vin-lookup__clear.is-visible:hover,
html[data-theme="dark"] body .vdash-vin-lookup__clear.is-visible:focus-visible {
  box-shadow:
    0 0 0 3px rgba(98, 181, 216, 0.14),
    0 10px 26px rgba(2, 12, 18, 0.34),
    inset 0 1px 0 rgba(188, 232, 244, 0.08) !important;
}

html[data-theme="dark"] body .vdash-vin-lookup__clear.is-visible:hover span:first-child,
html[data-theme="dark"] body .vdash-vin-lookup__clear.is-visible:focus-visible span:first-child {
  transform: rotate(225deg) !important;
}

html[data-theme="dark"] body .vdash-vin-lookup__clear.is-visible:hover span:last-child,
html[data-theme="dark"] body .vdash-vin-lookup__clear.is-visible:focus-visible span:last-child {
  transform: rotate(135deg) !important;
}

/* Preserve the same downward shadow for keyboard-focus-only popup states. */
html[data-theme="dark"]
  body
  .vehicle-browser__dialog.is-open
  .vehicle-browser__dialog-close:focus-visible:not(:hover),
html[data-theme="dark"]
  body
  .screenshot-dialog.is-open
  .screenshot-dialog__close:focus-visible:not(:hover),
html[data-theme="dark"]
  body
  .flat-plans-dialog.is-open
  .flat-plans-dialog__close:focus-visible:not(:hover) {
  transform: rotate(0deg) scale(1) !important;
  box-shadow:
    0 0 0 3px rgba(98, 181, 216, 0.14),
    0 8px 22px rgba(2, 12, 18, 0.30),
    inset 0 1px 0 rgba(188, 232, 244, 0.08) !important;
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme="dark"] body .flat-plans-dialog__close span,
  html[data-theme="dark"] body .screenshot-dialog__close span,
  html[data-theme="dark"] body .vehicle-browser__dialog-close span,
  html[data-theme="dark"] body .vehicle-browser__clear span,
  html[data-theme="dark"] body .vdash-vin-lookup__clear span {
    transition-duration: 0.01ms !important;
  }
}

/* vdash-v251-dark-vin-image-and-search-fix */
/* v251
   1) Dark mode VIN-result image: keep the full car visible inside the frame.
   2) VIN search action row: align CHECK VIN with the search field more precisely.
*/

/* --- VIN result image, dark mode only --- */
html[data-theme="dark"] body .vdash-vin-result__image {
  width: 100% !important;
  height: clamp(136px, 10vw, 176px) !important;
  min-height: 0 !important;
  align-self: center !important;
  justify-self: stretch !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px !important;
  overflow: hidden !important;
  border: 2px solid rgba(98, 181, 216, 0.55) !important;
  border-radius: 18px !important;
  background: #0d2b47 !important;
  box-shadow:
    0 0 0 5px rgba(13, 43, 71, 0.96),
    0 14px 30px rgba(2, 12, 18, 0.28) !important;
}

html[data-theme="dark"] body .vdash-vin-result__image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  transform: none !important;
}

/* Keep empty/fallback VIN image boxes visually consistent. */
html[data-theme="dark"] body .vdash-vin-result__image--empty {
  height: clamp(136px, 10vw, 176px) !important;
  min-height: 0 !important;
  border: 2px solid rgba(98, 181, 216, 0.55) !important;
  border-radius: 18px !important;
  background: #0d2b47 !important;
  color: #8dcce4 !important;
}

@media (max-width: 860px) {
  html[data-theme="dark"] body .vdash-vin-result__image {
    height: 144px !important;
  }

  html[data-theme="dark"] body .vdash-vin-result__image--empty {
    height: 144px !important;
  }
}

/* vdash-v252-dark-find-your-volvo-image-frame */
/* v252 — Dark mode: frame the Find Your Volvo popup image the same way as the
   VIN result image, while keeping the full car visible. */
html[data-theme="dark"] body .vehicle-browser__dialog-image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 360px !important;
  padding: clamp(22px, 3vw, 34px) !important;
  background: linear-gradient(180deg, #112e49 0%, #0d2943 100%) !important;
  border-right: 1px solid rgba(98, 181, 216, 0.18) !important;
}

html[data-theme="dark"] body .vehicle-browser__dialog-image img {
  display: block !important;
  width: 100% !important;
  height: clamp(220px, 24vw, 340px) !important;
  max-width: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 4px !important;
  border: 2px solid rgba(98, 181, 216, 0.55) !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow:
    0 0 0 5px rgba(13, 43, 71, 0.96),
    0 14px 30px rgba(2, 12, 18, 0.28) !important;
}

@media (max-width: 980px) {
  html[data-theme="dark"] body .vehicle-browser__dialog-image img {
    height: 280px !important;
  }
}

@media (max-width: 760px) {
  html[data-theme="dark"] body .vehicle-browser__dialog-image {
    min-height: 0 !important;
    padding: 20px !important;
  }

  html[data-theme="dark"] body .vehicle-browser__dialog-image img {
    height: min(60vw, 260px) !important;
  }
}

/* vdash-v253-navbar-language-theme-icons */
/* Keep the widened language selector stable in the compact header. */
.site-header.is-compact .vdash-language-toggle {
  width: auto;
  min-width: 104px;
  flex-basis: auto;
  padding-inline: 9px;
}

@media (max-width: 420px) {
  .site-header.is-compact .vdash-language-toggle {
    min-width: 96px;
    padding-inline: 8px;
  }
}

/* vdash-v262-mobile-flat-comparison */
/* v262 — compact FLAT comparison for phones and smaller tablets. Wide desktop table is unchanged.
   Preserve the semantic HTML table and translated feature descriptions;
   CSS reformats each body row to one category + two labelled status cells. */
@media (max-width: 1100px) {
  /* The desktop popup reserves 44–54px at each side for oversized arrows.
     Free that space only for the compact comparison page. */
  #flatPlansDialog:has(.flat-plans-dialog__panel[data-flat-plans-page="1"]) {
    padding: 10px !important;
    place-items: center !important;
  }
  /* Both arrows lead to page one in this two-page dialog. Keep a single,
     reachable back arrow inside the top-left of the mobile comparison. */
  #flatPlansDialog .flat-plans-dialog__panel[data-flat-plans-page="1"]
    .flat-plans-dialog__switch--prev {
    top: 12px !important;
    bottom: auto !important;
    left: 10px !important;
    right: auto !important;
    width: 42px !important;
    height: 42px !important;
    transform: none !important;
  }
  #flatPlansDialog .flat-plans-dialog__panel[data-flat-plans-page="1"]
    .flat-plans-dialog__switch--prev:hover,
  #flatPlansDialog .flat-plans-dialog__panel[data-flat-plans-page="1"]
    .flat-plans-dialog__switch--prev:focus-visible {
    transform: none !important;
  }
  #flatPlansDialog .flat-plans-dialog__panel[data-flat-plans-page="1"]
    .flat-plans-dialog__switch--next {
    display: none !important;
  }

  /* On page 2, contain the dialog within the visual viewport so that touch
     gestures reach the only scrollable part: the comparison list. */
  #flatPlansDialog .flat-plans-dialog__panel[data-flat-plans-page="1"] {
    display: flex !important;
    flex-direction: column !important;
    width: calc(100vw - 20px) !important;
    height: calc(100dvh - 20px) !important;
    max-height: calc(100dvh - 20px) !important;
    min-height: 0 !important;
    margin: auto !important;
    overflow: hidden !important;
  }

  #flatPlansDialog .flat-plans-dialog__panel[data-flat-plans-page="1"]
    .flat-plans-dialog__pages {
    display: grid !important;
    flex: 1 1 auto !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  #flatPlansDialog .flat-plans-dialog__panel[data-flat-plans-page="1"]
    .flat-plans-dialog__page--comparison {
    display: flex !important;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  /* Header and footer remain fixed; ONLY the comparison content scrolls. */
  #flatPlansDialog .flat-plans-dialog__page--comparison
    .flat-plans-dialog__header--comparison {
    flex: 0 0 auto !important;
    padding-bottom: 12px !important;
  }

  #flatPlansDialog .flat-plans-dialog__page--comparison
    .flat-comparison-wrap {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 1 1 0% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 14px 10px !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    touch-action: pan-y !important;
    overscroll-behavior-y: contain !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: auto !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(98,181,216,.65) transparent !important;
  }

  #flatPlansDialog .flat-plans-dialog__page--comparison
    .flat-comparison-wrap::-webkit-scrollbar {
    display: block !important;
    width: 5px !important;
    height: 0 !important;
  }
  #flatPlansDialog .flat-plans-dialog__page--comparison
    .flat-comparison-wrap::-webkit-scrollbar-thumb {
    background: rgba(98,181,216,.65) !important;
    border-radius: 99px;
  }
  #flatPlansDialog .flat-plans-dialog__page--comparison
    .flat-comparison-wrap::-webkit-scrollbar-track {
    background: transparent !important;
  }
  /* Native mobile scrolling should not be overlaid by the desktop drag rail. */
  #flatPlansDialog > .vdash-popup-scrollbar {
    display: none !important;
  }

  #flatPlansDialog .flat-plans-dialog__page--comparison
    .flat-plans-dialog__footer--comparison {
    flex: 0 0 auto !important;
    margin-top: 0 !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  /* Each feature is its own clearly separated mobile card. */
  #flatPlansDialog .flat-comparison-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: auto !important;
    border: 0 !important;
    border-collapse: separate !important;
    background: transparent !important;
  }
  #flatPlansDialog .flat-comparison-table thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    border: 0 !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }
  #flatPlansDialog .flat-comparison-table tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 12px !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  #flatPlansDialog .flat-comparison-table tbody tr {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(63,159,200,.21) !important;
    border-radius: 14px !important;
    background: #f1f8fc !important;
    box-shadow: 0 4px 12px rgba(9,39,60,.055);
  }
  #flatPlansDialog .flat-comparison-table tbody th {
    display: block !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 15px 14px 12px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(63,159,200,.18) !important;
    border-radius: 0 !important;
    background: transparent !important;
    text-align: left !important;
    overflow-wrap: anywhere !important;
  }
  #flatPlansDialog .flat-comparison-table tbody th small {
    display: block !important;
    margin-top: 4px !important;
  }
  #flatPlansDialog .flat-comparison-table tbody td {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 11px 8px 12px !important;
    border: 0 !important;
    background: transparent !important;
    text-align: center !important;
    vertical-align: middle !important;
  }
  #flatPlansDialog .flat-comparison-table tbody td:nth-child(2) {
    border-right: 1px solid rgba(63,159,200,.16) !important;
  }
  #flatPlansDialog .flat-comparison-table tbody td:nth-child(2)::before {
    content: "CONFIG";
  }
  #flatPlansDialog .flat-comparison-table tbody td:nth-child(3)::before {
    content: "ULTIMATE";
  }
  #flatPlansDialog .flat-comparison-table tbody td::before {
    color: var(--navy-900);
    font-size: .68rem;
    font-weight: 950;
    letter-spacing: .055em;
    line-height: 1.25;
  }
  /* Retain source text for accessibility, visually show ONLY ✓ or –. */
  #flatPlansDialog .flat-comparison-table tbody .flat-comparison-status {
    display: inline-grid !important;
    place-items: center !important;
    width: 24px !important;
    min-width: 24px !important;
    height: 24px !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    font-size: 0 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
  #flatPlansDialog .flat-comparison-table tbody .flat-comparison-status::before {
    font-size: 1.35rem !important;
    font-weight: 950 !important;
    line-height: 1 !important;
  }
  #flatPlansDialog .flat-comparison-table tbody .flat-comparison-status--no::before {
    content: "–" !important;
  }

  /* Dark mode matches the existing navy/blue FLAT popup styling. */
  html[data-theme="dark"] body #flatPlansDialog .flat-comparison-table tbody tr {
    border-color: rgba(141,204,228,.21) !important;
    background: #132d48 !important;
    box-shadow: 0 6px 18px rgba(2,12,18,.16);
  }
  html[data-theme="dark"] body #flatPlansDialog .flat-comparison-table tbody th {
    border-bottom-color: rgba(141,204,228,.16) !important;
    color: #e7f1f6 !important;
  }
  html[data-theme="dark"] body #flatPlansDialog .flat-comparison-table tbody td,
  html[data-theme="dark"] body #flatPlansDialog .flat-comparison-table tbody th {
    background: transparent !important;
  }
  html[data-theme="dark"] body #flatPlansDialog .flat-comparison-table tbody td:nth-child(2) {
    border-right-color: rgba(141,204,228,.16) !important;
  }
  html[data-theme="dark"] body #flatPlansDialog .flat-comparison-table tbody td::before {
    color: #bbd6e6 !important;
  }
}

/* vdash-v263-mobile-super-cta-spacing */
/* Mobile: separate the SUPER J2534 feature list from its purchase button.
   Keep the existing centered CTA, fill animation, and desktop layout intact. */
@media (max-width: 760px) {
  #hardware .hardware-product--super .hardware-product__body > ul {
    margin-bottom: 24px !important;
  }
}

/* vdash-v265-theme-toggle-glow */
/* v310 — no resting halo on the theme switch in either color mode.
   Preserve the existing hover and keyboard-focus effects. */
.site-header .vdash-theme-toggle.hero-download-glow {
  /* Only this control has a steady native resting state. The familiar hover
     sweep, color transition and bulb icon animation still work. */
  animation: none;
}

/* Light mode: remove the old resting halo, glow reflection, and bulb glow.
   The border and icon remain visible; hover and focus treatments are unchanged. */
html:not([data-theme="dark"]) .site-header
  .vdash-theme-toggle.hero-download-glow:not(:hover):not(:focus-visible) {
  box-shadow: none !important;
  text-shadow: none !important;
}
html:not([data-theme="dark"]) .site-header
  .vdash-theme-toggle.hero-download-glow:not(:hover):not(:focus-visible)::before,
html:not([data-theme="dark"]) .site-header
  .vdash-theme-toggle.hero-download-glow:not(:hover):not(:focus-visible)::after {
  opacity: 0 !important;
}
html:not([data-theme="dark"]) .site-header
  .vdash-theme-toggle.hero-download-glow:not(:hover):not(:focus-visible)
  .hero-download-text {
  animation: none;
  text-shadow: none !important;
}

/* Dark mode: leave the border and bulb-off icon visible but suppress the
   native halo until pointer hover (or accessible keyboard focus). */
html[data-theme="dark"] .site-header
  .vdash-theme-toggle.hero-download-glow:not(:hover):not(:focus-visible) {
  box-shadow: none !important;
  text-shadow: none !important;
}
html[data-theme="dark"] .site-header
  .vdash-theme-toggle.hero-download-glow:not(:hover):not(:focus-visible)::before,
html[data-theme="dark"] .site-header
  .vdash-theme-toggle.hero-download-glow:not(:hover):not(:focus-visible)::after {
  opacity: 0 !important;
}
html[data-theme="dark"] .site-header
  .vdash-theme-toggle.hero-download-glow:not(:hover):not(:focus-visible)
  .hero-download-text {
  animation: none;
  text-shadow: none !important;
}

/* Keyboard focus should give the same full glow as hovering. */
.site-header .vdash-theme-toggle.hero-download-glow:focus-visible {
  color: rgba(4, 17, 31, 0.94);
  background: var(--hero-glow-color);
  box-shadow:
    inset 0 0 0.5em 0 rgba(255, 255, 255, 0.44),
    0 0 1.1em 0.08em var(--hero-glow-color) !important;
}
.site-header .vdash-theme-toggle.hero-download-glow:focus-visible::before {
  opacity: 0.92;
  filter: blur(1.45em);
}
.site-header .vdash-theme-toggle.hero-download-glow:focus-visible::after {
  opacity: 1;
}

/* vdash-v266-integrated-vin-search */
/* An integrated VIN input: the action and clear control share the search bar.
   Keep the original Uiverse ::before sweep for the submit action. */
.vdash-vin-lookup__form {
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: start;
  gap: 10px;
}
.vdash-vin-lookup__entry {
  --vin-action-width: 178px;
  position: relative;
  grid-column: 1 / -1;
  grid-row: 1;
  min-width: 0;
  width: 100%;
}
.vdash-vin-lookup__entry > .vdash-vin-lookup__field {
  width: 100%;
  height: 54px;
  min-height: 54px;
  grid-column: auto;
}
/* Reserve space for the search action and the clear X when text is entered. */
.vdash-vin-lookup__entry .vdash-vin-lookup__field input {
  padding-right: calc(var(--vin-action-width) + 66px) !important;
}
.vdash-vin-lookup__entry .vdash-vin-lookup__clear {
  right: calc(var(--vin-action-width) + 14px) !important;
}
/* The button now fits entirely inside the input's 14px outer rounding. */
.vdash-vin-lookup__entry > .vdash-vin-submit-layout.uiverse-exact-button {
  position: absolute !important;
  z-index: 3;
  top: 4px;
  right: 5px;
  display: inline-flex !important;
  width: var(--vin-action-width) !important;
  min-width: 0 !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 12px !important;
  align-items: center;
  justify-content: center;
  border-radius: 10px 11px 11px 10px !important;
  outline-offset: -2px !important;
  grid-column: auto !important;
  grid-row: auto !important;
  align-self: auto !important;
  justify-self: auto !important;
  line-height: 1 !important;
  margin: 0 !important;
}
/* Compact screens retain both the X and the complete, translated action. */
@media (max-width: 600px) {
  /* A shorter placeholder avoids showing a cut-off phrase on narrow screens;
     the full translated input label remains available to screen readers. */
  .vdash-vin-lookup__entry .vdash-vin-lookup__field input::placeholder {
    color: transparent !important;
  }
  .vdash-vin-lookup__entry .vdash-vin-lookup__field:has(input:placeholder-shown)::after {
    content: "VIN";
    position: absolute;
    left: 48px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #8ba0ab;
    font-size: 0.86rem;
    font-weight: 750;
    line-height: 1;
  }
  html[data-theme="dark"] .vdash-vin-lookup__entry .vdash-vin-lookup__field:has(input:placeholder-shown)::after {
    color: #7894a1;
  }
  .vdash-vin-lookup__entry { --vin-action-width: 138px; }
  .vdash-vin-lookup__entry > .vdash-vin-submit-layout.uiverse-exact-button {
    width: var(--vin-action-width) !important;
    min-width: 0 !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.02em !important;
    padding: 0 6px !important;
  }
}
@media (max-width: 380px) {
  .vdash-vin-lookup__entry { --vin-action-width: 114px; }
  .vdash-vin-lookup__entry > .vdash-vin-submit-layout.uiverse-exact-button {
    font-size: 0.66rem !important;
    letter-spacing: 0 !important;
    padding: 0 4px !important;
  }
}

/* vdash-v267-compact-mobile-vin-action */
/* v267 — Return space to entered VINs on phones without touching the desktop
   integrated search, the clear-X behavior, or the Uiverse filling animation. */
@media (max-width: 600px) {
  .vdash-vin-lookup__entry {
    --vin-action-width: 96px;
  }
  .vdash-vin-lookup__entry > .vdash-vin-submit-layout.uiverse-exact-button {
    font-size: 0.68rem !important;
    letter-spacing: 0 !important;
    padding: 0 3px !important;
  }
  /* Let longer translated labels wrap instead of overflowing a small button. */
  .vdash-vin-lookup__entry > .vdash-vin-submit-layout.uiverse-exact-button
    .uiverse-exact-button__label {
    white-space: normal !important;
    overflow-wrap: normal;
    line-height: 1.12 !important;
    text-align: center;
  }
  .vdash-vin-lookup__entry .vdash-vin-lookup__clear {
    width: 30px;
    height: 30px;
    right: calc(var(--vin-action-width) + 13px) !important;
  }
  .vdash-vin-lookup__entry .vdash-vin-lookup__field > svg {
    width: 18px;
    height: 18px;
    margin-left: 12px;
  }
  .vdash-vin-lookup__entry .vdash-vin-lookup__field input {
    padding-right: calc(var(--vin-action-width) + 45px) !important;
    font-size: 0.81rem !important;
    letter-spacing: 0 !important;
  }
}
@media (max-width: 380px) {
  .vdash-vin-lookup__entry {
    --vin-action-width: 80px;
  }
  .vdash-vin-lookup__entry > .vdash-vin-submit-layout.uiverse-exact-button {
    font-size: 0.60rem !important;
    letter-spacing: 0 !important;
    padding: 0 2px !important;
  }
  .vdash-vin-lookup__entry .vdash-vin-lookup__clear {
    width: 28px;
    height: 28px;
    right: calc(var(--vin-action-width) + 11px) !important;
  }
  .vdash-vin-lookup__entry .vdash-vin-lookup__field input {
    padding-right: calc(var(--vin-action-width) + 42px) !important;
    font-size: 0.69rem !important;
  }
  /* Reclaim the decorative magnifier's space after a VIN has been entered.
     It remains visible while the field is empty. */
  .vdash-vin-lookup__entry .vdash-vin-lookup__field:has(input:not(:placeholder-shown)) > svg {
    display: none !important;
  }
  .vdash-vin-lookup__entry .vdash-vin-lookup__field:has(input:not(:placeholder-shown)) input {
    padding-left: 10px !important;
  }
}

/* vdash-v268-mobile-flat-status-colors */
/* v268: phone/tablet availability clarity in the FLAT comparison.
   Dim CONFIG only where unavailable; use red for unavailable dashes.
   Keep checks, included labels, and desktop table colors unchanged. */
@media (max-width: 1100px) {
  body #flatPlansDialog .flat-comparison-table tbody
    td:nth-child(2):has(.flat-comparison-status--no)::before {
    color: #8393a4 !important;
  }
  body #flatPlansDialog .flat-comparison-table tbody
    .flat-comparison-status--no::before {
    color: #bf3445 !important;
  }
  html[data-theme="dark"] body #flatPlansDialog .flat-comparison-table tbody
    td:nth-child(2):has(.flat-comparison-status--no)::before {
    color: #8da0b3 !important;
  }
  html[data-theme="dark"] body #flatPlansDialog .flat-comparison-table tbody
    .flat-comparison-status--no::before {
    color: #ff6675 !important;
  }
}

/* vdash-v269-dark-decoding-pill-label-contrast */
/* Dark-mode vehicle decoding status labels: brighten text ONLY. Existing
   pill backgrounds, borders, dimensions and typography stay unchanged. */
html[data-theme="dark"] body .vehicle-browser__decoding-status {
  color: #86c8ed !important; /* IMPORTANT and other neutral/info labels */
}
html[data-theme="dark"] body .vehicle-browser__decoding-status--conditional {
  color: #efc378 !important;
}
html[data-theme="dark"] body .vehicle-browser__decoding-status--not-required,
html[data-theme="dark"] body .vehicle-browser__decoding-status--yes {
  color: #74dbaa !important;
}
html[data-theme="dark"] body .vehicle-browser__decoding-status--no {
  color: #f3a0a8 !important;
}

/* vdash-v281-tablet-compact-navigation */
/* v281 — tablet breakpoint only. Match the existing phone navigation on
   small tablets without changing the wide desktop layout or other sections. */
@media (min-width: 821px) and (max-width: 1100px) {
  .site-header .container.nav {
    display: flex;
    width: calc(100% - 32px);
  }
  .site-header .brand {
    margin-right: auto;
  }
  .site-header .nav-links {
    position: absolute;
    z-index: 60;
    inset: 100% 0 auto;
    display: none;
    width: 100%;
    height: calc(100dvh - var(--header-height, 74px));
    max-height: calc(100dvh - var(--header-height, 74px));
    margin: 0;
    padding: 20px 22px max(28px, calc(18px + env(safe-area-inset-bottom)));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: rgba(7, 39, 57, 0.985);
    overscroll-behavior-y: contain;
    transform: none;
    translate: none;
    -webkit-overflow-scrolling: touch;
    transition:
      inset 320ms cubic-bezier(0.22, 1, 0.36, 1),
      height 320ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .menu-open .site-header .nav-links {
    display: flex;
  }
  .site-header .nav-link {
    display: flex;
    flex: 0 0 auto;
    width: 100%;
    min-height: 54px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .site-header .nav-link::after {
    display: none;
  }
  .site-header .menu-toggle {
    display: grid;
  }
  .site-header .nav-actions .button--secondary {
    display: none;
  }
  .site-header .vdash-language-dropdown {
    right: 0;
  }
}

/* vdash-v282-nav-download-crisp-type */
/* Keep the existing navbar download button and glow, but render its glyphs
   sharply on tablet and fitted desktop screens. No other CTA is affected. */
.site-header .nav-actions > a.download-glow--nav {
  perspective: none;
  animation: none;
}
.site-header .nav-actions > a.download-glow--nav .hero-download-text,
.site-header .nav-actions > a.download-glow--nav .hero-download-faulty {
  animation: none;
  opacity: 1;
  text-shadow: none;
  filter: none;
}
.site-header .nav-actions > a.download-glow--nav .hero-download-text {
  transform: none;
}
/* On smaller tablets, compact navigation provides sufficient room for
   a readable label; undo the obsolete, exceptionally small 0.61rem type. */
@media (min-width: 821px) and (max-width: 1100px) {
  .site-header .nav-actions > a.download-glow--nav {
    font-size: 0.78rem;
    padding-inline: 0.72em;
  }
}
/* Keep the full desktop navigation fitting at medium desktop widths. */
@media (min-width: 1180px) and (max-width: 1320px) {
  .site-header .nav-actions > a.download-glow--nav {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }
}

/* vdash-v283-nav-language-crisp-type */
/* Match v282's crisp navbar download typography. Keep the selector's
   flag, blue frame, hover glow, dropdown and language-change logic intact. */
.site-header .nav-actions .vdash-language-toggle {
  perspective: none;
  animation: none;
}
.site-header .nav-actions .vdash-language-toggle .vdash-language-toggle__content,
.site-header .nav-actions .vdash-language-toggle .vdash-language-toggle__code {
  animation: none;
  opacity: 1;
  text-shadow: none;
  filter: none;
}
/* Compact tablet navbar has room for legible, unblurred text. */
@media (min-width: 821px) and (max-width: 1100px) {
  .site-header .nav-actions .vdash-language-toggle {
    font-size: 0.78rem;
    padding-inline: 0.72em;
  }
  .site-header .nav-actions .vdash-language-toggle__code {
    font-size: 0.78rem;
    letter-spacing: 0.025em;
  }
}
/* Keep the desktop navigation fitting just above the tablet breakpoint. */
@media (min-width: 1101px) and (max-width: 1320px) {
  .site-header .nav-actions .vdash-language-toggle__code {
    font-size: 0.72rem;
  }
}

/* vdash-editorial-v317 */
/*
 * VDASH v317 — precision-led editorial restyle.
 * Design reference: restrained Scandinavian automotive editorial + engineering software.
 * No animation, @keyframes, JS, asset, price, or markup changes.
 * All original motion/hover systems remain attached to their existing elements.
 */
:root {
  --vd-editorial-edge: #cedce4;
  --vd-editorial-rule: #dbe5eb;
  --vd-editorial-paper: #ffffff;
  --vd-editorial-stage: #f2f5f7;
  --vd-editorial-muted: #617d8d;
  --vd-editorial-ink: #122b3c;
  --vd-editorial-accent: #21578a;
  --vd-editorial-radius: 8px;
}
html[data-theme="dark"] {
  --vd-editorial-edge: #31506a;
  --vd-editorial-rule: #28445b;
  --vd-editorial-paper: #11273a;
  --vd-editorial-stage: #0c2031;
  --vd-editorial-muted: #a4bac8;
  --vd-editorial-ink: #f0f5f8;
  --vd-editorial-accent: #fdc82f;
}

/* A structured visual rhythm: no identical luminous wash on every section. */
html:not([data-theme="dark"]) :is(
  .feature-expando-section,.vehicle-browser-section,.recommended-hardware-section,
  .pricing-electric-section,.section--soft.pricing-electric-section
) {
  background: #ffffff;
}
html:not([data-theme="dark"]) :is(
  .vdash-vin-section,.journey-section,.card-beam-section,.faq-template-section
) {
  background: #f0f4f6;
}
html[data-theme="dark"] :is(
  .feature-expando-section,.vehicle-browser-section,.recommended-hardware-section,
  .pricing-electric-section,.section--soft.pricing-electric-section
) {
  background: #10283c;
}
html[data-theme="dark"] :is(
  .vdash-vin-section,.journey-section,.card-beam-section,.faq-template-section
) {
  background: #091c2c;
}
:is(.feature-expando-section,.vdash-vin-section,.vehicle-browser-section,
  .journey-section,.recommended-hardware-section,.card-beam-section,
  .pricing-electric-section,.faq-template-section) {
  border-top: 1px solid var(--vd-editorial-rule);
}

/* The hero keeps its original moving liquid/orb effects, now secondary to type. */
.hero.hero--liquid {
  background: linear-gradient(115deg, #05111f 0%, #102940 54%, #071827 100%);
}
.hero.hero--liquid .liquid-glow-layer { opacity: 0.47; }
.hero.hero--liquid .liquid-orb { opacity: 0.40; }
.hero.hero--liquid .liquid-poster-canvas { opacity: 0.33; }
.hero.hero--liquid .hero-grid--poster { gap: clamp(28px, 4vw, 64px); }
.hero.hero--liquid .hero-lede { max-width: 570px; }

/* Section titles: engineering-document hierarchy, not centered marketing cards. */
:is(.feature-expando-heading,.section-heading,.vehicle-browser-heading,.journey-head) {
  max-width: 940px;
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}
:is(.section-heading,.vehicle-browser-heading,.journey-head) > :is(h2,p) {
  text-align: left;
}
.section-heading > p:not(.eyebrow) { margin-left: 0; margin-right: 0; }
:is(.section-heading h2,.feature-expando-heading h2,.recommended-hardware__title,
  .faq-template-title) {
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
}
:is(.section-heading .eyebrow,.feature-expando-heading .eyebrow,
  .recommended-hardware__eyebrow,.faq-template-eyebrow) {
  letter-spacing: 0.14em;
  font-size: 0.77rem;
  font-weight: 850;
}
:is(.section-heading .eyebrow,.feature-expando-heading .eyebrow,
  .recommended-hardware__eyebrow,.faq-template-eyebrow)::before {
  width: 18px;
  flex-basis: 18px;
  height: 2px;
}
.recommended-hardware__eyebrow {
  width: fit-content;
  margin: 0 0 12px;
}
.recommended-hardware__title,
.recommended-hardware__intro {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}
.recommended-hardware__title { max-width: 950px; }
.recommended-hardware__intro { max-width: 710px; }
html:not([data-theme="dark"]) .section-heading p:not(.eyebrow) { color: #627c8d; }
html[data-theme="dark"] .section-heading p:not(.eyebrow) { color: #a6bdcb; }

/* Deliberate angular accents without disturbing button sweep/hover animations. */
:is(.hero-download-glow,.download-glow--nav,.split-fill-button,
  .uiverse-exact-button,.button,.flat-plans-trigger,
  .vehicle-browser__search,.vdash-vin-lookup__field) {
  border-radius: 6px;
}
:is(.pricing-card .uiverse-exact-button,.hardware-product__cta,.vdash-vin-submit-layout) {
  border-radius: 6px !important;
}
html:not([data-theme="dark"]) :is(.pricing-electric-card,.hardware-product,.vehicle-browser-card) {
  box-shadow: none;
}

/* Feature grid: features look like documented capabilities, not floating tiles. */
.feature-expando-grid { gap: clamp(26px, 3vw, 48px); }
.feature-expando-card {
  border-top: 1px solid var(--vd-editorial-edge);
  padding-top: 19px;
}
.feature-expando-icon {
  margin-bottom: 17px;
}
.feature-expando-card h3 {
  max-width: 23ch;
  font-size: 1.0rem;
  font-weight: 850;
  letter-spacing: 0.035em;
}
.feature-expando-card p { line-height: 1.65; }
html:not([data-theme="dark"]) .feature-expando-icon { color: var(--vdash-light-blue-ink, #2d729f); }
html[data-theme="dark"] .feature-expando-icon { color: #9ac2d6; }

/* VIN search and result panels: crisp control surfaces. */
.vdash-vin-lookup {
  border: 1px solid var(--vd-editorial-edge);
  border-radius: var(--vd-editorial-radius);
  box-shadow: none;
}
html:not([data-theme="dark"]) .vdash-vin-lookup { background: #ffffff; }
html[data-theme="dark"] .vdash-vin-lookup { background: #112a3f; box-shadow: none; }
.vdash-vin-lookup__field { box-shadow: none; }
:is(.vdash-vin-result__section,.vdash-vin-result__status-card,
  .vdash-vin-result__price-item,.vdash-vin-result__item,
  .vdash-vin-result__image) {
  border-radius: 6px;
  box-shadow: none;
}
.vdash-vin-result__section-head,
.vdash-vin-result__category-row { letter-spacing: 0.055em; }

/* Vehicle-browser cards retain their image tiles and animated horizontal scroll. */
.vehicle-browser {
  border: 1px solid var(--vd-editorial-edge);
  border-radius: 8px;
  box-shadow: none;
  backdrop-filter: none;
}
html:not([data-theme="dark"]) .vehicle-browser { background: #ffffff; }
html[data-theme="dark"] .vehicle-browser { background: #122b40; box-shadow: none; }
.vehicle-browser-card {
  border: 1px solid var(--vd-editorial-edge);
  border-radius: 6px;
  box-shadow: none;
}
.vehicle-browser-card__image {
  border-radius: 5px 5px 0 0;
}
html:not([data-theme="dark"]) .vehicle-browser-card { background: #f9fbfc; }
html[data-theme="dark"] .vehicle-browser-card { background: #10263a; box-shadow: none; }
.vehicle-browser__search {
  border: 1px solid var(--vd-editorial-edge);
  box-shadow: none;
}
html:not([data-theme="dark"]) .vehicle-browser__search { background: #f7f9fa; }
html[data-theme="dark"] .vehicle-browser__search { background: #0d2235; box-shadow: none; }
.vehicle-browser__nav { box-shadow: none; }

/* Workflow has an editorial timeline; its original numbered marker motion is untouched. */
.journey-step__content { border-radius: 6px; }
html:not([data-theme="dark"]) .journey-step__content p { color: #5f7988; }
html[data-theme="dark"] .journey-step__content p { color: #acc0cd; }

/* Hardware: two product modules with quiet studio-like materials. */
.hardware-product {
  border: 1px solid var(--vd-editorial-edge);
  border-radius: 8px;
  box-shadow: none;
}
html:not([data-theme="dark"]) .hardware-product { background: #f8fafb; }
html[data-theme="dark"] .hardware-product {
  background: #132b40;
  border-color: #38556a;
  box-shadow: none;
}
.hardware-product__figure,
.hardware-product__figure::before { border-radius: 7px 7px 2px 2px; }
.hardware-product__figure figcaption { border-radius: 0 0 5px 5px; }
.hardware-product__badge { border-radius: 3px; }
.hardware-product__body h3 { letter-spacing: -0.045em; }
.hardware-product__body .hardware-product__note {
  border-left-width: 2px;
  border-radius: 0;
}

/* Screenshot gallery remains a functional animated scanner/drag surface. */
.card-beam-stage,
.screenshot-beam-stage {
  border-radius: 7px;
  box-shadow: none;
}
.screenshot-beam-stage .beam-card-wrapper,
.screenshot-beam-stage .beam-card { border-radius: 4px; }

/* Pricing: consistent rectangular spec-sheet cards and one selected tier. */
.pricing-electric-grid { gap: 16px; }
.pricing-electric-card,
.pricing-grid .pricing-card.pricing-electric-card--active {
  border: 1px solid var(--vd-editorial-edge);
  border-radius: 8px;
  padding: 1px;
  box-shadow: none;
}
html:not([data-theme="dark"]) .pricing-electric-card:not(.pricing-electric-card--active) {
  background: #ffffff;
  box-shadow: none;
}
html[data-theme="dark"] .pricing-electric-card:not(.pricing-electric-card--active) {
  background: #122a40;
  box-shadow: none;
}
.pricing-card-content {
  border-radius: 6px;
}
html:not([data-theme="dark"]) .pricing-electric-card:not(.pricing-electric-card--active) .pricing-card-content {
  background: #ffffff;
}
html[data-theme="dark"] .pricing-electric-card:not(.pricing-electric-card--active) .pricing-card-content {
  background: #122a40;
}
.pricing-electric-card--active {
  border-color: #2c7896;
  box-shadow: none;
}
html:not([data-theme="dark"]) .pricing-electric-card--active .pricing-card-content {
  background: #10364e;
}
html[data-theme="dark"] .pricing-electric-card--active .pricing-card-content {
  background: #0a2236;
}
.pricing-electric-card .pricing-static-frame { border-radius: 7px; border-width: 1px; }
.pricing-electric-card .pricing-static-frame::before,
.pricing-electric-card .pricing-static-frame::after { display: none; }
.popular-badge,
.pricing-electric-card--active .popular-badge {
  border-radius: 3px;
  box-shadow: none;
}
.price strong { letter-spacing: -0.055em; }

/* FAQ: a straightforward technical knowledge index. Expand/collapse remains animated. */
.faq-template-list {
  width: min(1080px, 100%);
  border-top-width: 2px;
}
.faq-template-list summary { font-weight: 750; }
.faq-template-list details + details { border-top: 1px solid var(--vd-editorial-rule); }
.faq-template-answer { border-radius: 0; }
html:not([data-theme="dark"]) .faq-template-list,
html:not([data-theme="dark"]) .faq-template-list details + details {
  border-color: #cbd9e1;
}
html[data-theme="dark"] .faq-template-list,
html[data-theme="dark"] .faq-template-list details + details {
  border-color: #365268;
}

/* Popups: editorial white / deep navy sheets, still with their original slide and fade. */
:is(.flat-plans-dialog__panel,.feature-details-dialog__panel,
  .vehicle-browser__dialog-card,.screenshot-dialog__card) {
  border-radius: 10px;
  box-shadow: 0 25px 75px rgba(2, 14, 23, 0.22);
}
html:not([data-theme="dark"]) .flat-plans-dialog__panel {
  background: #f8fafb;
}
html[data-theme="dark"] .flat-plans-dialog__panel {
  background: #0e263a;
}
.flat-plan-card { border-radius: 7px; box-shadow: none; }
html:not([data-theme="dark"]) .flat-plan-card { background: #ffffff; }
html:not([data-theme="dark"]) .flat-plan-card__top,
html:not([data-theme="dark"]) .flat-plan-card--ultimate .flat-plan-card__top {
  background: #f8fafb;
}
html[data-theme="dark"] .flat-plan-card { background: #112a40; box-shadow: none; }
html[data-theme="dark"] .flat-plan-card__top,
html[data-theme="dark"] .flat-plan-card--ultimate .flat-plan-card__top {
  background: #142f46;
}
.flat-plans-dialog__header { border-bottom: 1px solid var(--vd-editorial-rule); }
.flat-plan-prices div { border-color: var(--vd-editorial-rule); }
:is(.vehicle-browser__detail-section,.feature-details-dialog__note,
  .vehicle-browser__dialog-facts) { border-radius: 6px; }

/* Closing remains dark, with the animated background intact and a cleaner edge. */
.closing-screen > .final-cta { border-top: 1px solid rgba(255,255,255,.14); }
.vdash-rich-footer__social { border-radius: 6px; }

/* Mobile and tablet: retain original grids and interactive behavior. */
@media (max-width: 820px) {
  .feature-expando-grid { gap: 26px; }
  .section-heading,.recommended-hardware__title,.recommended-hardware__intro { max-width: 100%; }
  .pricing-electric-card,.hardware-product,.vehicle-browser { border-radius: 7px; }
  .site-header .nav-links { box-shadow: none; }
}
@media (max-width: 600px) {
  .feature-expando-card { padding-top: 15px; }
  .section-heading { margin-bottom: 30px; }
  .hardware-product__figure { border-radius: 6px; }
  .flat-plans-dialog__panel,.screenshot-dialog__card,.vehicle-browser__dialog-card {
    border-radius: 8px;
  }
}

/* vdash-flat-surface-v318 */
/* VDASH v318 — one surface per section, rules instead of recursive cards.
   Blue buttons revert to v315; original animations and interactivity are intact. */
:root {
  --vd-table-rule: #cddae3;
  --vd-table-subtle: #e1e8ee;
}
html[data-theme="dark"] {
  --vd-table-rule: #395269;
  --vd-table-subtle: #2b4358;
}

/* Keep informational yellow headings and navbar underline (v316), not yellow buttons. */
html[data-theme="dark"] .vehicle-browser__detail-section h4 { color: #FDC82F !important; }
html[data-theme="dark"] .site-header .nav-link::after { background-color: #FDC82F !important; }

/* Summary information follows a specifications-table layout. */
.vehicle-browser__dialog-facts {
  column-gap: 24px !important;
  row-gap: 0 !important;
}
.vehicle-browser__dialog-facts > div,
html[data-theme="dark"] .vehicle-browser__dialog-facts > div {
  padding: 11px 0 13px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--vd-table-rule) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.vehicle-browser__dialog-facts dd { margin-top: 5px; }

/* Remove the shell of every inner section, not merely the roundness. */
.vehicle-browser__dialog-extended,
html[data-theme="dark"] .vehicle-browser__dialog-extended {
  background: transparent !important;
  column-gap: clamp(22px, 3vw, 42px);
  row-gap: clamp(25px, 3vw, 44px);
  padding: clamp(25px, 3.4vw, 44px);
}
.vehicle-browser__detail-section,
html[data-theme="dark"] .vehicle-browser__detail-section {
  min-width: 0;
  padding: 17px 0 0;
  border: 0 !important;
  border-top: 1px solid var(--vd-table-rule) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.vehicle-browser__detail-section h4 {
  margin: 0 0 17px;
  font-size: 0.94rem;
  letter-spacing: -0.015em;
}
/* The wide gallery owns the row if this vehicle has no decoding column. */
@media (min-width: 1100px) {
  .vehicle-browser__dialog-extended:not(:has(> .vehicle-browser__detail-section--decoding))
    > .vehicle-browser__detail-section--gallery { grid-column: 1 / -1; }
}

/* Readable comparison thumbnails, without another framed card around each photo. */
.vehicle-browser__gallery { gap: 16px; }
.vehicle-browser__gallery-card,
html[data-theme="dark"] .vehicle-browser__gallery-card {
  border: 0 !important;
  border-top: 2px solid var(--vd-table-rule) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.vehicle-browser__gallery-card.is-active,
html[data-theme="dark"] .vehicle-browser__gallery-card.is-active {
  border-top-color: #5ba7ce !important;
  box-shadow: none !important;
}
.vehicle-browser__gallery-card:hover,
.vehicle-browser__gallery-card:focus-visible { box-shadow: none !important; }
.vehicle-browser__gallery-image { border-radius: 0; }
.vehicle-browser__gallery-caption { padding: 11px 0 7px; }
.vehicle-browser__gallery-caption small {
  padding: 0;
  border-radius: 0;
  background: transparent;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}
.vehicle-browser__facelift-explanation,
html[data-theme="dark"] .vehicle-browser__facelift-explanation {
  padding: 2px 0 2px 15px;
  border: 0 !important;
  border-left: 2px solid #5ba7ce !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* The legacy dark theme used a second dark tile and a glowing photo border. */
html[data-theme="dark"] body .vehicle-browser__gallery-card,
html[data-theme="dark"] body .vehicle-browser__gallery-caption {
  background: transparent !important;
  box-shadow: none !important;
}
html[data-theme="dark"] body .vehicle-browser__gallery-caption small {
  border-radius: 0 !important;
  background: transparent !important;
}
html[data-theme="dark"] body .vehicle-browser__dialog-image img {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 2px !important;
  box-shadow: none !important;
}
@media (min-width: 701px) {
  .vehicle-browser__gallery {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 280px));
  }
}

/* Decoding support becomes a table of independently readable entries. */
.vehicle-browser__decoding-grid { column-gap: 24px; row-gap: 0; }
.vehicle-browser__decoding-item,
html[data-theme="dark"] .vehicle-browser__decoding-item {
  padding: 14px 0 16px;
  border: 0 !important;
  border-bottom: 1px solid var(--vd-table-subtle) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.vehicle-browser__decoding-status,
html[data-theme="dark"] .vehicle-browser__decoding-status {
  padding: 0 0 0 6px;
  border-radius: 0;
  background: transparent !important;
  font-size: 0.63rem;
  letter-spacing: 0.045em;
}
.vehicle-browser__decoding-item p { margin-top: 8px; }
.vehicle-browser__decoding-note {
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid var(--vd-table-rule);
}

/* Engine/transmission/technical datasets: no cards within cards. */
.vehicle-browser__engine-list { column-gap: 24px; row-gap: 0; }
.vehicle-browser__engine-row,
html[data-theme="dark"] .vehicle-browser__engine-row,
.vehicle-browser__transmission-list > div,
html[data-theme="dark"] .vehicle-browser__transmission-list > div,
.vehicle-browser__technical-grid > div,
html[data-theme="dark"] .vehicle-browser__technical-grid > div {
  padding: 12px 0;
  border: 0 !important;
  border-bottom: 1px solid var(--vd-table-subtle) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.vehicle-browser__transmission-list,
.vehicle-browser__technical-grid { gap: 0; }
.vehicle-browser__detail-section--engines,
html[data-theme="dark"] .vehicle-browser__detail-section--engines {
  padding: 0;
  overflow: hidden; /* Preserve the animated native details behavior. */
}
.vehicle-browser__engines-summary { padding: 17px 0; }
.vehicle-browser__engines-toggle {
  border-radius: 2px;
  background: transparent;
}
.vehicle-browser__engine-list { padding: 0 0 15px; }
.vehicle-browser__note-list { gap: 0; }
.vehicle-browser__note-list details,
html[data-theme="dark"] .vehicle-browser__note-list details {
  border: 0 !important;
  border-bottom: 1px solid var(--vd-table-subtle) !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.vehicle-browser__note-list summary { padding: 12px 0; }
.vehicle-browser__note-list p { padding: 0 0 14px; }

/* Related popups: keep one main sheet and use rows inside it. */
:is(.vehicle-browser__dialog-card,.flat-plans-dialog__panel,.screenshot-dialog__card) {
  border-radius: 5px;
}
.vdash-vin-result__meta > div,
.vdash-vin-result__status-card,
html[data-theme="dark"] .vdash-vin-result__meta > div,
html[data-theme="dark"] .vdash-vin-result__status-card {
  border-radius: 0 !important;
  box-shadow: none !important;
}
.vdash-vin-result__price-item,
html[data-theme="dark"] .vdash-vin-result__price-item {
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Flatten the lower-level nested surfaces in feature and FLAT dialogs. */
.feature-details-dialog__note,
html[data-theme="dark"] .feature-details-dialog__note {
  border-radius: 0 !important;
  border-left: 2px solid #5ba7ce !important;
  box-shadow: none !important;
}
.flat-plan-card { border-radius: 4px; }
.flat-plan-prices > div { border-radius: 0; }

/* Mobile: maintain content order and avoid dense tables. */
@media (max-width: 940px) {
  .vehicle-browser__dialog-extended { gap: 26px; }
  .vehicle-browser__dialog-facts { column-gap: 20px !important; }
}
@media (max-width: 700px) {
  .vehicle-browser__dialog-extended { padding: 18px; gap: 22px; }
  .vehicle-browser__decoding-grid { grid-template-columns: 1fr; }
  .vehicle-browser__engine-list { grid-template-columns: 1fr; }
}

/* vdash-precision-v319 */
/* v319: finishing the flat, technical interface. All motion and behavior are preserved. */

/* Last row of each two-column decoding table sits above the full-width note rule.
   Remove only the redundant short rule under the last item of each column. */
.vehicle-browser__decoding-grid > .vehicle-browser__decoding-item:nth-last-child(-n+2),
html[data-theme="dark"] .vehicle-browser__decoding-grid > .vehicle-browser__decoding-item:nth-last-child(-n+2) {
  border-bottom: 0 !important;
  padding-bottom: 7px;
}
.vehicle-browser__decoding-note {
  margin-top: 12px;
  padding-top: 14px;
}
@media (max-width: 700px) {
  /* Single-column stacking has only one final row. */
  .vehicle-browser__decoding-grid > .vehicle-browser__decoding-item:nth-last-child(2) {
    border-bottom: 1px solid var(--vd-table-subtle) !important;
    padding-bottom: 16px;
  }
}

/* Featurette overview copy needs breathing room after the header divider. */
#featureDetailsDialog .feature-details-dialog__body {
  padding-top: clamp(26px, 2.8vw, 38px);
}
@media (max-width: 760px) {
  #featureDetailsDialog .feature-details-dialog__body { padding-top: 26px; }
}

/* VIN input: a restrained search station, not a floating card around another form. */
.vdash-vin-lookup,
html:not([data-theme="dark"]) .vdash-vin-lookup,
html[data-theme="dark"] .vdash-vin-lookup {
  border: 0 !important;
  border-top: 1px solid var(--vd-editorial-edge) !important;
  border-bottom: 1px solid var(--vd-editorial-edge) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: clamp(24px, 3vw, 36px) 0 !important;
}
.vdash-vin-lookup__field,
html[data-theme="dark"] .vdash-vin-lookup__field {
  border-radius: 4px !important;
  box-shadow: none !important;
}

/* VIN result: one work surface, table rows instead of tiles-within-tiles. */
.vdash-vin-dialog__panel,
html[data-theme="dark"] .vdash-vin-dialog__panel {
  border-radius: 5px !important;
}
html:not([data-theme="dark"]) .vdash-vin-dialog__panel {
  background: #f8fafb !important;
  border-color: #c7d7e1 !important;
}
html[data-theme="dark"] .vdash-vin-dialog__panel {
  background: #0d2236 !important;
  border-color: #38546b !important;
}
.vdash-vin-result__top {
  border-bottom: 1px solid var(--vd-table-rule);
  padding-bottom: clamp(18px, 2vw, 28px);
}
.vdash-vin-result__image,
html[data-theme="dark"] .vdash-vin-result__image {
  border-radius: 2px !important;
  box-shadow: none !important;
}
.vdash-vin-result__image img { border-radius: 0 !important; }
.vdash-vin-result__meta {
  gap: 0 clamp(16px, 2vw, 28px) !important;
}
.vdash-vin-result__meta > div,
html[data-theme="dark"] .vdash-vin-result__meta > div {
  padding: 11px 0 10px !important;
  border: 0 !important;
  border-top: 1px solid var(--vd-table-subtle) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.vdash-vin-result__meta > div:hover { box-shadow: none !important; }
.vdash-vin-result__status-grid {
  gap: 0 !important;
  border-left: 1px solid var(--vd-table-rule);
  padding-left: clamp(12px, 1.2vw, 22px);
}
.vdash-vin-result__status-card,
html[data-theme="dark"] .vdash-vin-result__status-card {
  justify-content: flex-start;
  padding: 10px 0 12px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--vd-table-subtle) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.vdash-vin-result__status-card:last-child,
html[data-theme="dark"] .vdash-vin-result__status-card:last-child { border-bottom: 0 !important; }
.vdash-vin-result__status-card:hover { box-shadow: none !important; }
.vdash-vin-result__status-dot,
.vdash-vin-result__status-dot[data-tone] { box-shadow: none !important; }

/* Both datasets share the page; one central rule separates them. */
.vdash-vin-result__sections,
.vdash-vin-result__sections--api {
  gap: 0 !important;
}
.vdash-vin-result__section,
.vdash-vin-result__section--api,
html[data-theme="dark"] .vdash-vin-result__section,
html[data-theme="dark"] .vdash-vin-result__section--api {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.vdash-vin-result__section + .vdash-vin-result__section {
  border-left: 1px solid var(--vd-table-rule) !important;
  padding-left: clamp(16px, 1.6vw, 26px);
}
.vdash-vin-result__section:first-child { padding-right: clamp(16px, 1.6vw, 26px); }
.vdash-vin-result__section-head {
  padding: 8px 0 16px !important;
}
.vdash-vin-result__section-head h3 {
  padding-bottom: 13px;
  border-bottom-color: var(--vd-table-rule);
}
.vdash-vin-result__price-list,
html[data-theme="dark"] .vdash-vin-result__price-list {
  border: 0 !important;
  padding: 0 2px 6px !important;
  background: transparent !important;
}
.vdash-vin-result__category-row,
html[data-theme="dark"] .vdash-vin-result__category-row {
  margin: 12px 0 0 !important;
  padding: 11px 6px 9px !important;
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.vdash-vin-result__category-row:first-child { margin-top: 0 !important; }
.vdash-vin-result__price-item,
html[data-theme="dark"] .vdash-vin-result__price-item {
  margin: 0 !important;
  padding: 11px 6px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--vd-table-subtle) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.vdash-vin-result__price-item:hover,
html[data-theme="dark"] .vdash-vin-result__price-item:hover {
  background: rgba(91,167,206,0.045) !important;
  box-shadow: none !important;
}
.vdash-vin-result__price-item::before {
  background: transparent !important;
  color: var(--vdash-light-blue-ink, #3c97c5);
  border-radius: 0;
  font-size: 0.88rem;
}
.vdash-vin-result__price,
html[data-theme="dark"] .vdash-vin-result__price {
  min-width: 0;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.vdash-vin-result__section-empty { padding: 18px 6px; }
.vdash-vin-result__api-note { padding-inline: 6px; }

@media (max-width: 860px) {
  .vdash-vin-result__top {
    border-bottom: 1px solid var(--vd-table-rule);
    padding-bottom: 24px;
  }
  .vdash-vin-result__status-grid {
    border-left: 0;
    border-top: 1px solid var(--vd-table-rule);
    padding: 14px 0 0;
  }
  .vdash-vin-result__sections,.vdash-vin-result__sections--api {
    gap: 26px !important;
  }
  .vdash-vin-result__section + .vdash-vin-result__section {
    border-left: 0 !important;
    border-top: 1px solid var(--vd-table-rule) !important;
    padding: 24px 0 0;
  }
  .vdash-vin-result__section:first-child { padding-right: 0; }
  .vdash-vin-result__meta { gap: 0 18px !important; }
}

/* vdash-v322-flat-comparison-and-feature-fixes */
/* v322 — FLAT popup cleanup, comparison badges, and feature-switch ghosting fix */

/* 1) Put the VAT note below the two plan cards and remove the awkward divider feel. */
#flatPlansDialog .flat-plans-dialog__page--prices .flat-plans-dialog__header {
  padding-bottom: 18px;
}
#flatPlansDialog .flat-plans-dialog__plans {
  padding-bottom: 8px;
}
#flatPlansDialog .flat-plans-vat-intro {
  margin: 8px auto 0;
  padding: 0 24px 26px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 760;
  color: var(--ink-600);
}
html[data-theme="dark"] #flatPlansDialog .flat-plans-vat-intro {
  color: #c4d8e7;
}

/* 2) Comparison-page status pills: less bubbly, more interface-like. */
#flatPlansDialog .flat-comparison-status {
  display: inline-flex;
  min-height: 0;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid rgba(63, 159, 200, 0.18);
  border-radius: 8px;
  background: rgba(245, 249, 252, 0.92);
  box-shadow: none;
  font-size: 0.70rem;
  font-weight: 820;
  line-height: 1.2;
  white-space: nowrap;
}
#flatPlansDialog .flat-comparison-status::before {
  font-size: 0.78rem;
  line-height: 1;
}
#flatPlansDialog .flat-comparison-status--yes {
  border-color: rgba(22, 101, 52, 0.16);
  background: rgba(22, 101, 52, 0.06);
  color: #166534;
}
#flatPlansDialog .flat-comparison-status--no {
  border-color: rgba(71, 85, 105, 0.16);
  background: rgba(71, 85, 105, 0.05);
  color: #475569;
}
html[data-theme="dark"] #flatPlansDialog .flat-comparison-status {
  border-color: rgba(141, 204, 228, 0.16);
  background: rgba(255, 255, 255, 0.04);
}
html[data-theme="dark"] #flatPlansDialog .flat-comparison-status--yes {
  border-color: rgba(110, 231, 183, 0.18);
  background: rgba(16, 185, 129, 0.10);
  color: #9de8c8;
}
html[data-theme="dark"] #flatPlansDialog .flat-comparison-status--no {
  border-color: rgba(191, 200, 214, 0.12);
  background: rgba(191, 200, 214, 0.07);
  color: #c2d1df;
}

/* 3) Reduce page-switch text bleed in Feature details. */
#featureDetailsDialog .feature-details-dialog__pages {
  overflow: hidden !important;
  isolation: isolate;
  contain: paint;
}
#featureDetailsDialog .feature-details-dialog__page {
  contain: layout paint style;
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
}
#featureDetailsDialog .feature-details-dialog__page.popup-page-is-outgoing .feature-details-dialog__header,
#featureDetailsDialog .feature-details-dialog__page.popup-page-is-outgoing .feature-details-dialog__body {
  opacity: 0 !important;
}
#featureDetailsDialog .feature-details-dialog__header h2,
#featureDetailsDialog .feature-details-dialog__header p,
#featureDetailsDialog .feature-details-dialog__overview h3,
#featureDetailsDialog .feature-details-dialog__overview li,
#featureDetailsDialog .feature-details-dialog__note,
#featureDetailsDialog .feature-details-dialog__note * {
  text-shadow: none !important;
}

/* vdash-v323-flat-popup-cleanup */
/* Remove the rules beneath BOTH FLAT popup headers. Leave the actual plan
   and comparison-table grid separators intact. */
#flatPlansDialog .flat-plans-dialog__page--prices > .flat-plans-dialog__header,
#flatPlansDialog .flat-plans-dialog__page--comparison > .flat-plans-dialog__header {
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Status cells are text labels, never pills. Override older comparison styles
   as well as the small-screen icon-only variant. */
#flatPlansDialog .flat-comparison-status,
#flatPlansDialog .flat-comparison-table tbody .flat-comparison-status {
  display: inline !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  line-height: inherit !important;
  white-space: normal !important;
}
#flatPlansDialog .flat-comparison-status::before,
#flatPlansDialog .flat-comparison-table tbody .flat-comparison-status::before {
  content: none !important;
  display: none !important;
}
#flatPlansDialog .flat-comparison-status--yes,
#flatPlansDialog .flat-comparison-table tbody .flat-comparison-status--yes {
  color: #166534 !important;
}
#flatPlansDialog .flat-comparison-status--no,
#flatPlansDialog .flat-comparison-table tbody .flat-comparison-status--no {
  color: #526476 !important;
}
html[data-theme="dark"] #flatPlansDialog .flat-comparison-status--yes,
html[data-theme="dark"] #flatPlansDialog .flat-comparison-table tbody .flat-comparison-status--yes {
  color: #9de8c8 !important;
}
html[data-theme="dark"] #flatPlansDialog .flat-comparison-status--no,
html[data-theme="dark"] #flatPlansDialog .flat-comparison-table tbody .flat-comparison-status--no {
  color: #c2d1df !important;
}

/* vdash-v325-preview-frame-parity */
/* v345: single, soft-edged frame shared by the two large vehicle previews.
   Preserve the v323 light-mode proportions (2px blue stroke, 18px radius,
   4px internal pad), but replace the hard 5px ring with a diffused glow.
   Carousel thumbnails, facelift images, and all other media are untouched. */

html:not([data-theme="dark"]) body .vdash-vin-result__image,
html[data-theme="dark"] body .vdash-vin-result__image,
html:not([data-theme="dark"]) body .vehicle-browser__dialog-image img,
html[data-theme="dark"] body .vehicle-browser__dialog-image img {
  --vdash-preview-stroke: rgba(98, 181, 216, 0.72);
  --vdash-preview-glow-near: rgba(98, 181, 216, 0.30);
  --vdash-preview-glow-far: rgba(98, 181, 216, 0.12);
  --vdash-preview-depth: rgba(17, 59, 85, 0.11);
  box-sizing: border-box;
  padding: 4px !important;
  border: 2px solid var(--vdash-preview-stroke) !important;
  border-radius: 18px !important;
  background: #edf6fa !important;
  box-shadow:
    0 0 12px 3px var(--vdash-preview-glow-near),
    0 0 28px 7px var(--vdash-preview-glow-far),
    0 12px 28px var(--vdash-preview-depth) !important;
}

html[data-theme="dark"] body .vdash-vin-result__image,
html[data-theme="dark"] body .vehicle-browser__dialog-image img {
  --vdash-preview-glow-near: rgba(98, 181, 216, 0.34);
  --vdash-preview-glow-far: rgba(98, 181, 216, 0.13);
  --vdash-preview-depth: rgba(2, 12, 18, 0.28);
  /* White image contents still contrast against dark surrounding UI. */
  background: #edf6fa !important;
}

html:not([data-theme="dark"]) body .vdash-vin-result__image img,
html[data-theme="dark"] body .vdash-vin-result__image img {
  border-radius: 12px !important;
  background: #ffffff !important;
}

html:not([data-theme="dark"]) body .vehicle-browser__dialog-image img,
html[data-theme="dark"] body .vehicle-browser__dialog-image img {
  /* The large Find Your Volvo image itself is the framed element. */
  background: #ffffff !important;
}

/* vdash-v326-light-vin-frame-unclip */
/* v346 — give the large VIN preview a little more top/left breathing room
   so the diffused frame glow is not clipped on those sides. The frame style
   itself stays unchanged. */
@media (min-width: 861px) {
  #vdashVinDialog .vdash-vin-result {
    padding-top: 16px;
  }

  #vdashVinDialog .vdash-vin-result__top {
    padding-top: 10px;
    padding-left: clamp(18px, 1.45vw, 26px);
  }
}

/* vdash-v330-hero-closing-theme-colors */
/* v330 — Theme-aware colors for Hero and Get VDASH.
   Color properties only; no transitions, transforms, animations, geometry or timings changed. */

/* LIGHT: hero sits naturally under the steel-blue navbar and above the light page. */
html:not([data-theme="dark"]) .hero.hero--liquid {
  color: #10283b;
  background: linear-gradient(115deg, #f5f9fb 0%, #e9f2f7 49%, #dbeaf2 100%);
}
html:not([data-theme="dark"]) .hero.hero--liquid::before {
  background:
    linear-gradient(90deg, rgba(33, 87, 138, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(33, 87, 138, 0.042) 1px, transparent 1px);
}
html:not([data-theme="dark"]) .hero.hero--liquid h1 { color: #10283b; }
html:not([data-theme="dark"]) .hero.hero--liquid h1 span { color: #21578a; text-shadow: none; }
html:not([data-theme="dark"]) .hero.hero--liquid .hero-lede { color: #496579; }
html:not([data-theme="dark"]) .hero.hero--liquid .hero-word-static,
html:not([data-theme="dark"]) .hero.hero--liquid .hero-word-slices > i { color: #21578a; }
html:not([data-theme="dark"]) .hero.hero--liquid .hero-poster-word small { color: #426c86; }
html:not([data-theme="dark"]) .hero.hero--liquid .hero-poster-word::before {
  background: linear-gradient(90deg, transparent, rgba(33, 87, 138, 0.45));
}
html:not([data-theme="dark"]) .hero.hero--liquid .liquid-orb--one {
  background: radial-gradient(circle at 35% 35%, rgba(159, 208, 230, 0.84) 0%, rgba(77, 155, 193, 0.42) 36%, rgba(77, 155, 193, 0) 72%);
}
html:not([data-theme="dark"]) .hero.hero--liquid .liquid-orb--two {
  background: radial-gradient(circle at 45% 42%, rgba(136, 195, 226, 0.75) 0%, rgba(79, 144, 183, 0.34) 40%, rgba(79, 144, 183, 0) 74%);
}
html:not([data-theme="dark"]) .hero.hero--liquid .liquid-orb--three {
  background: radial-gradient(circle at 50% 50%, rgba(192, 226, 238, 0.72) 0%, rgba(105, 178, 202, 0.27) 42%, rgba(105, 178, 202, 0) 75%);
}

/* DARK: retain a deep engineered navy, with crisp type and brand accents. */
html[data-theme="dark"] .hero.hero--liquid {
  color: #f3f8fc;
  background: linear-gradient(115deg, #061523 0%, #0e293f 54%, #091e30 100%);
}
html[data-theme="dark"] .hero.hero--liquid h1 { color: #f5f9ff; }
html[data-theme="dark"] .hero.hero--liquid h1 span { color: #a8d2f3; text-shadow: none; }
html[data-theme="dark"] .hero.hero--liquid .hero-lede { color: #c4d6e4; }
html[data-theme="dark"] .hero.hero--liquid .hero-word-static,
html[data-theme="dark"] .hero.hero--liquid .hero-word-slices > i { color: #fdc82f; }
html[data-theme="dark"] .hero.hero--liquid .hero-poster-word small { color: #ccdeed; }

/* LIGHT: Get VDASH echoes the hero but with a distinct, slightly deeper panel. */
html:not([data-theme="dark"]) .final-cta.final-cta--sine {
  color: #10283b;
  background: linear-gradient(90deg, #edf4f8 0%, #e5f0f6 49%, #d3e5ee 100%) !important;
  border-top-color: rgba(33, 87, 138, 0.16);
}
html:not([data-theme="dark"]) .final-cta.final-cta--sine::before {
  background:
    linear-gradient(90deg, rgba(33, 87, 138, 0.043) 1px, transparent 1px),
    linear-gradient(rgba(33, 87, 138, 0.037) 1px, transparent 1px) !important;
}
html:not([data-theme="dark"]) .final-cta h2 { color: #10283b; }
html:not([data-theme="dark"]) .final-cta .eyebrow { color: var(--vdash-light-blue-ink, #2876a1); }
html:not([data-theme="dark"]) .final-cta p:not(.eyebrow) { color: #4b6678; }
html:not([data-theme="dark"]) .final-cta .uiverse-exact-button {
  color: #21578a;
  background: rgba(250, 253, 255, 0.88);
  outline-color: #397fa9;
  box-shadow: none;
}
html:not([data-theme="dark"]) .final-cta .uiverse-exact-button::before { background-color: #21578a; }
html:not([data-theme="dark"]) .final-cta .uiverse-exact-button:hover,
html:not([data-theme="dark"]) .final-cta .uiverse-exact-button:focus-visible {
  color: #ffffff;
  outline-color: #21578a;
  box-shadow: 0 7px 18px rgba(33, 87, 138, 0.13);
}
html:not([data-theme="dark"]) .final-cta #footerNeonLogo .st0 { fill: #254b65; }
/* The visible Illustrator wordmark uses literal white SVG fills, not only .st0. */
html:not([data-theme="dark"]) .final-cta #footerNeonLogo #finalArtwork path[fill="#ffffff"] { fill: #254b65; }
html:not([data-theme="dark"]) .final-cta #footerNeonLogo .st2 { fill: #bc8b0a; }
html:not([data-theme="dark"]) .final-cta #footerNeonLogo .st3 { fill: #21578a; }
html:not([data-theme="dark"]) .final-cta #footerNeonLogo .soft { stroke: #4b94bc; }
html:not([data-theme="dark"]) .final-cta #footerNeonLogo .head { stroke: #21578a; }
html:not([data-theme="dark"]) .final-cta #footerNeonLogo #traceGradient stop:nth-child(1) { stop-color: #21578a; }
html:not([data-theme="dark"]) .final-cta #footerNeonLogo #traceGradient stop:nth-child(2) { stop-color: #3f99c6; }
html:not([data-theme="dark"]) .final-cta #footerNeonLogo #traceGradient stop:nth-child(3) { stop-color: #a8d1e4; }
html:not([data-theme="dark"]) .final-cta #footerNeonLogo #traceGradient stop:nth-child(4) { stop-color: #21578a; }

/* DARK: deepen the closing panel; preserve the bright animated D5T5 mark. */
html[data-theme="dark"] .final-cta.final-cta--sine {
  color: #f3f8fc;
  background: linear-gradient(90deg, #061522 0%, #0b273e 52%, #103854 100%) !important;
  border-top-color: rgba(150, 197, 222, 0.16);
}
html[data-theme="dark"] .final-cta h2 { color: #f5f9ff; }
html[data-theme="dark"] .final-cta .eyebrow { color: #82c6e6; }
html[data-theme="dark"] .final-cta p:not(.eyebrow) { color: #c4dbe9; }
html[data-theme="dark"] .final-cta .uiverse-exact-button {
  color: #5ab7df;
  background: rgba(5, 19, 32, 0.38);
  outline-color: #52acd4;
}
html[data-theme="dark"] .final-cta .uiverse-exact-button::before { background-color: #338db6; }
html[data-theme="dark"] .final-cta .uiverse-exact-button:hover,
html[data-theme="dark"] .final-cta .uiverse-exact-button:focus-visible {
  color: #ffffff;
  outline-color: #71c3e6;
}

/* vdash-v331-wordmark-spacing */
/* Match the footer VDASH wordmark tracking in the Hero and navbar.
   This inherits automatically into the Hero's scanner letter layers. */
.hero.hero--liquid .hero-word-stage,
.site-header .brand-wordmark {
  letter-spacing: 0.08em;
}

/* Restore the original brand yellow for the Hero in Light Mode. */
html:not([data-theme="dark"]) .hero.hero--liquid .hero-word-static,
html:not([data-theme="dark"]) .hero.hero--liquid .hero-word-slices > i {
  color: #FDC82F;
}

/* vdash-v332-wordmark-and-scanner-colors */
/* v332: consistent moderate spacing for all three VDASH wordmarks. */
.hero.hero--liquid .hero-word-stage,
.site-header .brand-wordmark,
.vdash-rich-footer__brand-link .footer-brand-wordmark {
  letter-spacing: 0.04em;
}

/* Restore Light Mode's blue Hero wordmark, including its sliced scan layers. */
html:not([data-theme="dark"]) .hero.hero--liquid .hero-word-static,
html:not([data-theme="dark"]) .hero.hero--liquid .hero-word-slices > i {
  color: #21578A;
}

/* A defined blue laser for the pale Light Mode Hero and Get VDASH areas.
   Both use .hero-word-scanner; only color and glow are changed here. */
html:not([data-theme="dark"]) .hero-word-scanner {
  background: #155F99;
  box-shadow:
    0 0 0.035em rgba(12, 63, 113, 0.86),
    0 0 0.105em rgba(21, 95, 153, 0.53),
    0 0 0.21em rgba(21, 116, 174, 0.26);
}
html:not([data-theme="dark"]) .hero-word-scanner::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(21, 96, 153, 0.12),
    rgba(11, 73, 125, 0.20),
    rgba(21, 96, 153, 0.12),
    transparent
  );
}
html:not([data-theme="dark"]) .hero-word-scanner::after {
  background: radial-gradient(
    ellipse at center,
    rgba(23, 97, 154, 0.17),
    transparent 67%
  );
}
html:not([data-theme="dark"]) .hero-word-scanner > span,
html:not([data-theme="dark"]) .hero-word-scanner > span::before,
html:not([data-theme="dark"]) .hero-word-scanner > span::after {
  background: #257AAE;
  box-shadow: 0 0 0.08em 0.018em rgba(20, 100, 160, 0.64);
}

/* vdash-v333-status-and-light-buttons */
/* v333 — Flat-plan exclusion color and coherent light-mode CTA styling.
   Color-only overrides. Preserve the original Uiverse sweeps, easing,
   timing, transform and VIEW FLAT PLANS differentiation. */

/* Statuses remain unboxed text, with a legible red exclusion color. */
html:not([data-theme="dark"]) #flatPlansDialog .flat-comparison-status--no,
html:not([data-theme="dark"]) #flatPlansDialog .flat-comparison-table tbody .flat-comparison-status--no {
  color: #b42332 !important;
}
html[data-theme="dark"] #flatPlansDialog .flat-comparison-status--no,
html[data-theme="dark"] #flatPlansDialog .flat-comparison-table tbody .flat-comparison-status--no {
  color: #ff7584 !important;
}

/* Regular Light Mode CTA buttons adopt Get VDASH's restrained blue palette. */
html:not([data-theme="dark"]) .uiverse-exact-button:not(.flat-plans-trigger) {
  color: #21578a;
  background: rgba(250, 253, 255, 0.88);
  outline-color: #397fa9;
  box-shadow: none;
}
html:not([data-theme="dark"]) .uiverse-exact-button:not(.flat-plans-trigger)::before {
  background-color: #21578a;
}
html:not([data-theme="dark"]) .uiverse-exact-button:not(.flat-plans-trigger):is(:hover, :focus-visible) {
  color: #ffffff;
  outline-color: #21578a;
  box-shadow: 0 7px 18px rgba(33, 87, 138, 0.13);
}

/* VIEW FLAT PLANS remains the distinct solid-blue action with white sweep. */
html:not([data-theme="dark"]) .flat-plans-trigger.uiverse-exact-button {
  color: #ffffff !important;
  background: #21578a !important;
  outline-color: #21578a !important;
  box-shadow: none;
}
html:not([data-theme="dark"]) .flat-plans-trigger.uiverse-exact-button::before {
  background-color: #ffffff;
}
html:not([data-theme="dark"]) .flat-plans-trigger.uiverse-exact-button:is(:hover, :focus-visible) {
  color: #21578a !important;
  background: #21578a !important;
  outline-color: #21578a !important;
  box-shadow: 0 7px 18px rgba(33, 87, 138, 0.13);
}

/* vdash-v334-page-progress-and-laser-polish */
/* Keep the circular back-to-top control unchanged when the progress ring is full. */
.page-progress.is-complete .page-progress__action,
.page-progress.is-complete .page-progress__action:hover,
.page-progress.is-complete .page-progress__action:focus-visible {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--vdash-light-blue-ink, var(--blue-700)) !important;
}
.page-progress.is-complete .page-progress__action::before {
  content: none !important;
}
/* Preserve the pre-existing hover feedback and circular scroll-progress stroke. */
.page-progress.is-complete .page-progress__action:hover,
.page-progress.is-complete .page-progress__action:focus-visible {
  color: var(--vdash-light-blue-ink, var(--blue-500)) !important;
}

/* vdash-v339-light-blue-text */
/* Match Get VDASH button blue for light-theme accent text only.
   Existing fallback colors remain untouched in dark mode and on dark surfaces. */
html:not([data-theme="dark"]) {
  --vdash-light-blue-ink: #21578A;
}
/* The six Everything You Need for Volvo icons use the same accent blue.
   Existing hover/focus effects retain their original behavior. */
html:not([data-theme="dark"]) .feature-expando-icon {
  color: #21578A;
}

/* vdash-v341-centered-vin-vat-disclosure */
/* Center the VAT note in its own breathing-space row beneath the two VIN price
   lists; keep the lists scrollable and the Close footer fixed. */
@media (min-width: 861px) {
  #vdashVinDialog .vdash-vin-result {
    grid-template-rows: auto minmax(0, 1fr) clamp(92px, 10dvh, 140px);
  }
  #vdashVinDialog .vdash-vin-result__vat-disclosure {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    margin: 0;
    padding: 12px 20px;
    text-align: center;
    align-self: stretch;
  }
}
/* The stacked mobile VIN result retains compact spacing. */

/* vdash-v342-light-popup-controls */
/* v342 — unify light-theme popup X / Close buttons with Get VDASH blue.
   Color properties only: existing transforms, hover animations, dimensions,
   and dark-theme treatments remain unchanged. */
html:not([data-theme="dark"]) body .flat-plans-dialog__close,
html:not([data-theme="dark"]) body .screenshot-dialog__close,
html:not([data-theme="dark"]) body .vehicle-browser__dialog-close,
html:not([data-theme="dark"]) body .vehicle-browser__clear,
html:not([data-theme="dark"]) body .vdash-vin-lookup__clear {
  border-color: #21578A !important;
  background: rgba(250, 253, 255, 0.94) !important;
  color: #21578A !important;
  box-shadow: 0 5px 15px rgba(33, 87, 138, 0.10) !important;
}
html:not([data-theme="dark"]) body .flat-plans-dialog__close:is(:hover, :focus-visible),
html:not([data-theme="dark"]) body .screenshot-dialog__close:is(:hover, :focus-visible),
html:not([data-theme="dark"]) body .vehicle-browser__dialog-close:is(:hover, :focus-visible),
html:not([data-theme="dark"]) body .vehicle-browser__clear:is(:hover, :focus-visible),
html:not([data-theme="dark"]) body .vdash-vin-lookup__clear:is(:hover, :focus-visible) {
  border-color: #21578A !important;
  background: #21578A !important;
  color: #ffffff !important;
  box-shadow: 0 7px 18px rgba(33, 87, 138, 0.17) !important;
}
html:not([data-theme="dark"]) body .vdash-vin-dialog__close-bottom,
html:not([data-theme="dark"]) body #featureDetailsDialog .feature-details-dialog__close-button {
  border-color: #21578A !important;
  background: rgba(250, 253, 255, 0.94) !important;
  color: #21578A !important;
  box-shadow: 0 5px 15px rgba(33, 87, 138, 0.08) !important;
}
html:not([data-theme="dark"]) body .vdash-vin-dialog__close-bottom:is(:hover, :focus-visible),
html:not([data-theme="dark"]) body #featureDetailsDialog .feature-details-dialog__close-button:is(:hover, :focus-visible) {
  border-color: #21578A !important;
  background: #21578A !important;
  color: #ffffff !important;
  box-shadow: 0 7px 18px rgba(33, 87, 138, 0.13) !important;
}

/* vdash-v343-highlight-small-dark */
/* Give the featured SMALL tier in Dark Mode the same clear hierarchy it has
   against the white cards in Light Mode. No animation or layout changes. */
html[data-theme="dark"] #pricing .pricing-electric-card--active {
  background: #1C4B6B;
  border-color: #67AFD0;
  box-shadow: 0 0 0 1px rgba(103, 175, 208, 0.20);
}
html[data-theme="dark"] #pricing .pricing-electric-card--active .pricing-card-content {
  background: #1C4B6B;
}
html[data-theme="dark"] #pricing .pricing-electric-card--active .plan-name {
  color: #C5F0FF;
}

/* vdash-v344-small-light-cta */
/* Light Mode SMALL: match the cyan outlined treatment of Dark Mode's
   SPONSORED and PRO actions; keep the original skew/fill animation. */
html:not([data-theme="dark"]) #pricing .pricing-electric-card--active .uiverse-exact-button {
  color: #5ab7df;
  background: transparent;
  outline-color: #52acd4;
  box-shadow: none;
}
html:not([data-theme="dark"]) #pricing .pricing-electric-card--active .uiverse-exact-button::before {
  background-color: #338db6;
}
html:not([data-theme="dark"]) #pricing .pricing-electric-card--active .uiverse-exact-button:is(:hover, :focus-visible) {
  color: #ffffff;
  background: transparent;
  outline-color: #71c3e6;
  box-shadow: 0 7px 18px rgba(33, 87, 138, 0.13);
}

/* vdash-v348-progress-arrow-finish */
/* Keep the finished scroll ring and its arrow visually paired without filling
   the back-to-top button. Only the completed state is affected. */
.page-progress .page-progress__action svg {
  transition: color 360ms ease, filter 500ms ease, transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
/* Match the completed progress arrow to Dark Mode in both themes. */
html:not([data-theme="dark"]) .page-progress.is-complete .page-progress__action {
  color: #72e4ff !important;
}
html[data-theme="dark"] .page-progress.is-complete .page-progress__action {
  color: #72e4ff !important;
}
.page-progress.is-complete .page-progress__action svg {
  filter: drop-shadow(0 0 4px rgba(114, 228, 255, 0.72))
          drop-shadow(0 0 10px rgba(63, 159, 200, 0.42));
}
/* The old complete-state rule cancelled hover transforms; bring back the
   normal hover lift/focus effect without restoring the solid blue fill. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .page-progress.is-past-hero.is-complete .page-progress__action:hover {
    transform: translateY(-2px) scale(1.04) !important;
  }
}
.page-progress.is-past-hero.is-complete .page-progress__action:focus-visible {
  transform: translateY(-2px) scale(1.04) !important;
}
html:not([data-theme="dark"]) .page-progress.is-past-hero.is-complete .page-progress__action:is(:hover, :focus-visible) {
  color: #a9f3ff !important;
}
html[data-theme="dark"] .page-progress.is-past-hero.is-complete .page-progress__action:is(:hover, :focus-visible) {
  color: #a9f3ff !important;
}
.page-progress.is-past-hero.is-complete .page-progress__action:is(:hover, :focus-visible) svg {
  filter: drop-shadow(0 0 6px rgba(114, 228, 255, 0.96))
          drop-shadow(0 0 15px rgba(63, 159, 200, 0.65));
}
@media (prefers-reduced-motion: reduce) {
  .page-progress .page-progress__action svg { transition: none !important; }
  .page-progress.is-past-hero.is-complete .page-progress__action:is(:hover, :focus-visible) { transform: none !important; }
}

/* vdash-v350-hardware-badges-text-only */
/* Product distinctions are plain text labels, not chips or badges. */
#hardware .hardware-product__badge,
html[data-theme="dark"] body #hardware .hardware-product__badge {
  display: inline-block;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
