/* DriveForma guest vehicle detail preview only.
 * Load after guest.css; the structural :has() gates match the two detail
 * templates, never the showroom, booking, payment or staff workspace.
 * Existing image navigation, payment controls, disclosures and CTA links stay
 * in their original DOM. No price or payment data is manufactured by CSS.
 */
@font-face {
  font-family: "Manrope Guest Preview";
  src: url("assets/Manrope-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) {
  --ink: #162832;
  --ink-2: #455761;
  --ink-3: #65716f;
  --ink-4: #7b8581;
  --red: #4b46c8;
  --bg: #f5f4ee;
  --canvas: #f5f4ee;
  --card: #fff;
  --surface: #eeeee7;
  --surface-2: #e7e9e1;
  --line: #dde1d6;
  --hair: #1628321f;
  --hair-2: #16283212;
  --hair-3: #16283233;
  --r: 10px;
  --r-s: 7px;
  --r-l: 12px;
  --ring: 0 0 0 3px #4b46c822;
  --gd-dock-space: calc(104px + env(safe-area-inset-bottom));
  --gd-gallery-top: 76px;
  --gd-gallery-h: min(45vw, calc(100svh - 232px));
  margin: 0;
  min-width: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Manrope Guest Preview", "Manrope", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "PingFang TC", "Noto Sans KR", sans-serif;
  line-height: 1.55;
  font-optical-sizing: auto;
}

body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t))::before { background: #f5f4ee; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(a, button, input, select, summary):focus-visible {
  outline: 2px solid #4b46c8;
  outline-offset: 3px;
}

/* A quiet, light dealer header gives the vehicle the visual weight. */
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .topbar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 25;
  min-height: 64px;
  padding-inline: clamp(20px, 3vw, 48px);
  background: #f5f4eef5;
  color: var(--ink);
  border-bottom: 1px solid var(--hair);
  box-shadow: none;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.tb-brand, .tb-link, .tb-lang button, .tb-lang-cur, .topbar .share-pill) { color: var(--ink); }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .tb-brand .mk { background: #4b46c8; box-shadow: none; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.tb-link.cur, .tb-lang-wide, .tb-lang-cur, .topbar .share-pill) { background: #16283206; box-shadow: none; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .tb-link.cur { color: #4b46c8; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.tb-lang .globe, .tb-lang-cur .chev) { color: var(--ink-3); }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .tb-lang-wide button.on { background: #fff; color: #4b46c8; box-shadow: 0 1px 3px #1628320a; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .topbar .share-pill.bad { color: #925b17; background: #f7ebd8; }

/* Whole source photographs remain visible. Framed dealer images retain the
 * original template's top alignment and framing rules. */
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gal {
  width: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #eeeee9;
  box-shadow: none;
}
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gal-track { width: 100%; background: #eeeee9; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.gal > img, .gal-track img) { mix-blend-mode: normal; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.gal > img:not(.hf), .gal-track img:not(.hf)) { object-fit: contain; object-position: center; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.gal-arr, .gal-zoom, .gal-back) {
  color: var(--ink);
  background: #f5f4eef0;
  border: 1px solid #16283214;
  box-shadow: none;
}
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gal-n { background: #162832c7; border: 0; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .thumbs {
  gap: 10px;
  max-width: none;
  margin: 0;
  padding: 14px 20px;
  scrollbar-width: thin;
  scrollbar-color: #bec8c0 transparent;
}
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .thumbs img { width: 72px; height: 54px; border-radius: 5px; opacity: .6; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .thumbs img.on { opacity: 1; box-shadow: 0 0 0 2px #4b46c8; }

/* The right panel reads as one editorial column, rather than stacked cards. */
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.body, .wrap2) {
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 22px 24px 40px;
  overflow: visible;
  background: var(--canvas);
}
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.title, .nd-t) {
  margin: 12px 0 0;
  font-size: clamp(30px, 2.7vw, 42px);
  font-weight: 620;
  letter-spacing: -.04em;
  line-height: 1.14;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.eyebrow, .nd-t .stk) { margin-top: 12px; font-size: 11px; line-height: 1.5; letter-spacing: .09em; white-space: normal; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.trim, .nd-t small) { font-size: 17px; font-weight: 450; line-height: 1.5; letter-spacing: -.01em; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.tags, .badges) { gap: 6px; margin-top: 18px; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .badge { border-radius: 4px; box-shadow: none; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .badge.key { background: #efedf9; color: #4b46c8; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .toolrow { margin: 0 0 12px; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .pricebox {
  margin: 22px 0 0;
  padding: 22px 0 26px;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--hair);
  border-radius: 0;
  box-shadow: none;
}
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .pricebox .p { font-size: clamp(34px, 2.9vw, 44px); font-weight: 580; line-height: 1.13; letter-spacing: -.045em; overflow-wrap: anywhere; }
/* The editable down-payment amount has a separate, unwrapped currency prefix. */
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .dp-cur { font-size: 17px; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .paytog { display: flex; width: 100%; gap: 4px; margin-top: 12px; padding: 4px; border-radius: 7px; background: #e7e9e1; box-shadow: none; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .paytog button { flex: 1; min-width: 0; border-radius: 4px; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .paytog button.on { color: #4b46c8; box-shadow: 0 1px 4px #1628320a; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .payhead { display: block; }
/* Optional payment-method controls use only methods present in the page.
 * A preview script must own selection, accessible state and real values.
 */
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gd-purchase-tabs { display: flex; gap: 4px; width: 100%; margin: 20px 0 16px; padding: 4px; border-radius: 7px; background: #e7e9e1; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gd-purchase-tabs button { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 8px; border: 0; border-radius: 4px; background: transparent; color: var(--ink-3); font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gd-purchase-tabs button:is([aria-selected="true"], .is-active) { background: #fff; color: #4b46c8; box-shadow: 0 1px 4px #1628320a; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gd-purchase-panel[hidden] { display: none; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .pay { gap: 10px; margin-top: 14px; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .pay .pp { padding: 14px 12px; background: #fff; border: 1px solid var(--hair); border-radius: 7px; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .pay .pp .v { font-size: 19px; line-height: 1.4; overflow-wrap: anywhere; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .dp { padding: 14px; margin-top: 18px; border: 1px solid var(--hair); background: #eeeee7; border-radius: 7px; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.dp-go, .dp-q.on) { background: #4b46c8; border-color: #4b46c8; color: #fff; box-shadow: none; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .dp-q { border-radius: 5px; min-height: 44px; padding-inline: 10px; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .fee-link { min-height: 44px; color: #4b46c8; text-decoration: underline; text-underline-offset: 4px; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .sec { padding: 28px 0; margin: 0; border: 0; border-top: 1px solid var(--hair); border-radius: 0; background: transparent; box-shadow: none; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .sec h2 { font-size: 21px; line-height: 1.3; letter-spacing: -.025em; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.kv-i, .doc-btn, .col-c, .ot-row, .part, .trust) { box-shadow: none; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.col-c.on, .part.on) { border-color: #4b46c8; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .part input { accent-color: #4b46c8; }

/* The existing booking/arrival, SMS and call anchors become a page-wide dock.
 * Optional .gd-summary markup can be inserted by the preview transform using
 * the current server-rendered price; it is deliberately absent from CSS.
 */
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .cta-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  padding: 16px clamp(20px, 3vw, 48px) calc(16px + env(safe-area-inset-bottom));
  background: #f5f4eef5;
  border: 0;
  border-top: 1px solid #16283224;
  box-shadow: 0 -4px 24px #16283205;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .cta-in { display: flex; align-items: center; justify-content: flex-end; gap: 12px; width: 100%; max-width: none; margin: 0; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .cta-sec { flex: 0 0 64px; min-width: 0; min-height: 52px; border-radius: 6px; background: transparent; border: 1px solid var(--hair); box-shadow: none; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .cta-btn { flex: 0 1 300px; min-width: 0; min-height: 52px; padding: 12px 20px; border-radius: 6px; background: #4b46c8; color: #fff; font-size: 15px; font-weight: 650; line-height: 1.3; box-shadow: none; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gd-summary { flex: 1 1 180px; min-width: 0; margin-right: auto; color: var(--ink); }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gd-summary-label { display: block; color: var(--ink-3); font-size: 11px; line-height: 1.4; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gd-summary-price { display: block; font-size: 26px; font-weight: 620; letter-spacing: -.035em; line-height: 1.25; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gd-summary-note { display: block; color: var(--ink-3); font-size: 11px; line-height: 1.4; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.gd-summary-prefix, .gd-summary-unit) { font-size: 12px; font-weight: 500; letter-spacing: 0; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gd-summary { text-decoration: none; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.gd-funding-only, .pp)[hidden] { display: none !important; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .g-disc { max-width: none; margin: 0; padding: 24px clamp(20px, 3vw, 48px); border-top: 1px solid var(--hair); }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .foot-sp { height: var(--gd-dock-space); }

@media (min-width: 1080px) {
  /* Used detail owns a wrapper; new detail's gallery and panel are siblings.
   * Keep the same named tracks for both without moving functional markup.
   */
  body:has(> .wrap > .body > .title) > .wrap,
  body:has(> .wrap2 > .nd-t) {
    display: grid;
    align-items: start;
    align-content: start;
    grid-template-columns: [full-start main-start] minmax(0, 62fr) [main-end rail-start] minmax(360px, 38fr) [rail-end full-end];
    column-gap: 0;
    max-width: none;
    margin: 0;
  }
  body:has(> .wrap > .body > .title) > .wrap { grid-template-rows: auto; }
  body:has(> .wrap2 > .nd-t) { grid-template-rows: auto auto auto auto auto; }
  body:has(> .wrap2 > .nd-t) > .gvs-wrap { grid-column: full; grid-row: 1; }
  body:has(> .wrap2 > .nd-t) > .topbar { grid-column: full; grid-row: 2; }
  body:has(> .wrap2 > .nd-t) > .gal { grid-column: main; grid-row: 3; }
  body:has(> .wrap2 > .nd-t) > .thumbs { grid-column: main; grid-row: 3; }
  body:has(> .wrap2 > .nd-t) > .wrap2 { grid-column: rail; grid-row: 3; }
  body:has(> .wrap2 > .nd-t) > .g-disc { grid-column: full; grid-row: 4; }
  body:has(> .wrap2 > .nd-t) > .foot-sp { grid-column: full; grid-row: 5; }
  body:has(> .wrap > .body > .title) > .wrap > :is(.gal, .thumbs) { grid-column: main; grid-row: 1; }
  body:has(> .wrap > .body > .title) > .wrap > .body { grid-column: rail; grid-row: 1; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gal {
    position: sticky;
    top: var(--gd-gallery-top);
    align-self: start;
    display: flex;
    align-items: center;
    height: var(--gd-gallery-h);
    min-height: 0;
  }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gal-track { height: 100%; align-items: center; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.gal > img, .gal-track img) { height: 100%; max-height: 100%; aspect-ratio: auto; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gal-none { width: 100%; height: 100%; aspect-ratio: auto; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .thumbs {
    position: sticky;
    top: calc(var(--gd-gallery-top) + var(--gd-gallery-h) + 14px);
    align-self: start;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 4px 28px 12px;
    margin: calc(var(--gd-gallery-h) + 14px) 0 0;
    background: var(--canvas);
  }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.body, .wrap2) { min-height: calc(100svh - 64px); padding: 28px clamp(28px, 3vw, 56px) 48px; border-left: 1px solid var(--hair); }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .g-nav { display: none; }
}

@media (max-width: 1079px) {
  /* Let the gallery, thumbnails and price panel follow the document on phones
   * and tablets. The contact/booking dock remains fixed below them.
   */
  body:has(> .wrap2 > .nd-t),
  body:has(> .wrap > .body > .title) > .wrap { display: block; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gal { position: relative; height: auto; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.gal > img:not(.hf), .gal-track img:not(.hf), .gal-none) { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .thumbs { position: static; flex-wrap: nowrap; overflow-x: auto; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.body, .wrap2) { padding-inline: clamp(20px, 5vw, 48px); }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .g-nav { margin: 0; padding: 10px 24px; border-top: 1px solid var(--hair); }
}

@media (max-width: 700px) {
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) { --gd-dock-space: calc(108px + env(safe-area-inset-bottom)); }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .topbar { min-height: 58px; gap: 6px; padding-inline: 16px; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .tb-brand { max-width: 53%; font-size: 14px; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .tb-right { gap: 4px; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .thumbs { gap: 8px; padding: 12px 20px; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .thumbs img { width: 64px; height: 48px; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.body, .wrap2) { padding: 18px 22px 30px; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.title, .nd-t) { font-size: 30px; line-height: 1.16; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .pricebox .p { font-size: 36px; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .sec { padding-block: 24px; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .cta-bar { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .cta-in { gap: 8px; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .cta-sec { position: relative; flex: 0 0 44px; min-height: 48px; padding: 8px; }
  /* Keep the real text as the accessible link name when visual space is tight. */
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .cta-sec span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .cta-btn { flex: 1 1 116px; min-height: 48px; max-width: none; padding: 10px; font-size: 13px; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gd-summary { flex: 1 1 82px; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gd-summary-price { font-size: 20px; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.gd-summary-label, .gd-summary-note) { font-size: 10px; line-height: 1.35; }
}

@media (max-width: 700px) {
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) { --gd-dock-space: calc(136px + env(safe-area-inset-bottom)); }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .cta-in:has(.gd-summary) { flex-wrap: wrap; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gd-summary { flex: 1 0 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1px 12px; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gd-summary-label { grid-column: 1; font-size: 11px; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gd-summary-price { grid-column: 2; grid-row: 1 / 3; font-size: 24px; text-align: right; white-space: nowrap; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gd-summary-prefix { display: block; font-size: 10px; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gd-summary-unit { font-size: 10px; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gd-summary-note { grid-column: 1; }
}

@media (hover: hover) and (pointer: fine) {
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.cta-btn, .dp-go):hover { background: #3c37ad; filter: none; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.tb-link, .topbar .share-pill, .cta-sec):hover { background: #e7e9e1; color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.cta-btn, .cta-sec, .dp-q, .part, .col-c) { transition: none; }
}

/* Demo readability pass: retain the established geometry and palette. */
body:has(> .topbar):not(.app-shell) { font-size: 15px; font-weight: 480; }
body:has(> .topbar):not(.app-shell) :is(.tb-brand, .tb-link, .share-pill, .cta-btn, .dp-go, .dp-h, .paytog button, .gd-purchase-tabs button) { font-weight: 650; }
body:has(> .topbar):not(.app-shell) :is(.tb-brand, .tb-link, .share-pill, .cta-btn, .dp-go, .paytog button, .gd-purchase-tabs button) { font-size: 14px; }
body:has(> .topbar):not(.app-shell) :is(.vc-t, .ns-title) { font-weight: 650; }
body:has(> .topbar):not(.app-shell) :is(.vc-m, .vc-fin, .ns-meta) { font-size: 15px; font-weight: 500; }
body:has(> .topbar):not(.app-shell) :is(.vc-m .stk, .vc-fin .fin-sub, .vc-fact, .vc-chip, .vc-pick) { font-size: 12px; font-weight: 550; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.title, .nd-t, .sec h2) { font-weight: 650; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.trim, .nd-t small) { font-weight: 550; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.eyebrow, .nd-t .stk, .badge) { font-size: 12px; font-weight: 600; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.pd-line, .pd-total, .fin-sub, .fin-note, .taxnote, .note, .sub, .dp-note, .dp-q) { font-size: 13px; font-weight: 500; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.kv dd, .fin, .fee-link) { font-size: 15px; font-weight: 550; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gd-summary-label { font-size: 12px; font-weight: 600; }
body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gd-summary-note { font-size: 12px; }
@media (max-width: 700px) {
  body:has(> .topbar):not(.app-shell) :is(input, select, textarea) { font-size: 16px; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .dp-cur { font-size: 16px; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) :is(.title, .nd-t) { font-size: 32px; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gd-summary-label { font-size: 12px; }
  body:is(:has(> .wrap > .body > .title), :has(> .wrap2 > .nd-t)) .gd-summary-note { font-size: 11px; }
}
