/**
 * GPS FINANCE — SINGLE CALCULATOR VISUAL + CONVERSION ARCHITECTURE
 * Reference: /novated-lease-interest-rate-calculator
 * Scope: exactly 21 approved calculator routes via gps-calculator-system body.
 *
 * Native calculator DOM IDs, JavaScript engines, results, content, attribution,
 * lead forms and CTA hrefs are deliberately unchanged. Tokens and reusable
 * layout primitives below own the presentation across different calculators.
 * Styles are loaded only on calculator routes, after the site stylesheets.
 */

/* 01. Shared foundation and design tokens */
body.gps-calculator-system {
  --calc-navy: #071628;
  --calc-navy-2: #102b46;
  --calc-cyan: #087b78;
  --calc-cyan-light: #20dfc4;
  --calc-copy: #1b3549;
  --calc-muted: #4d6274;
  --calc-line: #dbe6e5;
  --calc-off: #f5f8f7;
  --calc-focus: #007e91;
  --calc-radius: 15px;
  --calc-shadow: 0 10px 32px rgba(7, 22, 40, .065);
  --calc-shell: 1180px;
  --calc-hero: linear-gradient(135deg, #071628, #102b46);
}
body.gps-calculator-system :is(
  .prime-calc-page,.gsd,.gbc,.gbp,.grf,.rm01,.nvc,
  .ato-calculator-page,.property-capacity-page,.pxcal-layout,
  section.hero,section.content-section,section.section,section.section-alt,
  section.quote-section
) {
  font-family: var(--font-sans, Inter, Arial, sans-serif);
}
body.gps-calculator-system :is(
 .gsd-shell,.gbc-shell,.gbp-shell,.grf-shell,.rm01-shell,
 .nvc-wrap,.pxcal-shell,.prime-calc-page>.container
) { max-width: var(--calc-shell); }
body.gps-calculator-system :is(
 .prime-calc-page,.gsd,.gbc,.gbp,.grf,.rm01,.nvc,
 .ato-calculator-page,.property-capacity-page,.pxcal-layout
) :is(p,li) { overflow-wrap: break-word; }
body.gps-calculator-system :is(
 .prime-calc-page,.gsd,.gbc,.gbp,.grf,.rm01,.nvc,
 .ato-calculator-page,.property-capacity-page,.pxcal-layout
) :is(h1,h2,h3) { text-wrap: balance; }

/* 02. One hero: Novated Lease dark navy + readable answer-first copy */
body.gps-calculator-system :is(
 .prime-ref-hero,.gsd-hero,.gbc-hero,.gbp-hero,.grf-hero,
 .rm01-hero,.nvc-hero,.seo-hero,.pxcal-layout,section.hero
) {
  background: var(--calc-hero) !important;
  color: #fff !important;
  padding-block: clamp(33px, 4vw, 52px) !important;
  border: 0;
}
body.gps-calculator-system :is(
 .prime-ref-hero,.gsd-hero,.gbc-hero,.gbp-hero,.grf-hero,
 .rm01-hero,.nvc-hero,.seo-hero,.pxcal-copy,section.hero
) h1 {
  font-family: var(--font-serif, Georgia, serif) !important;
  font-size: clamp(2.12rem, 4.55vw, 4.15rem) !important;
  font-weight: 700 !important;
  letter-spacing: -.035em !important;
  line-height: 1.07 !important;
  color: #fff !important;
  max-width: 1040px;
  margin-block: 10px 14px !important;
  text-align: left !important;
}
body.gps-calculator-system :is(
 .prime-ref-hero,.gsd-hero,.gbc-hero,.gbp-hero,.grf-hero,
 .rm01-hero,.nvc-hero,.seo-hero,.pxcal-copy,section.hero
) :is(p,.gps-editorial-intro,.prime-lead,.hero-desc,.seo-hero-lead) {
  font-size: clamp(15.5px, 1.65vw, 18px) !important;
  line-height: 1.58 !important;
  color: #e9f2f6 !important;
  max-width: 900px;
  text-align: left !important;
}
body.gps-calculator-system :is(
 .prime-ref-hero,.gsd-hero,.gbc-hero,.gbp-hero,.grf-hero,
 .rm01-hero,.nvc-hero,.seo-hero,.pxcal-copy,section.hero
) :is(.prime-kicker,.gsd-kicker,.gbc-kicker,.gbp-kicker,.grf-kicker,
 .rm01-kicker,.nvc-tag,.pxcal-eyebrow,.eyebrow) {
  color: var(--calc-cyan-light) !important;
  font-size: 11px !important;
  letter-spacing: .105em !important;
}
body.gps-calculator-system .pxcal-layout .pxcal-copy { padding: 20px 0 10px; }
body.gps-calculator-system section.hero .container { text-align: left !important; }
body.gps-calculator-system section.hero .hero-ctas {
  justify-content: flex-start !important;
}

/* 03. One content rhythm: same Novated Lease section widths and spacing */
body.gps-calculator-system :is(
 .prime-calc-page>.section,.prime-calc-page>.section-alt,
 .gsd-top,.gbc-slice,.gbp-section,.grf-top,.rm01-body,.nvc-main,
 .ato-calculator-page>.section,.ato-calculator-page>.section-alt,
 .property-capacity-page>.section,.property-capacity-page>.section-alt,
 section.content-section,section.quote-section,section.section,section.section-alt
) {
  padding-block: clamp(32px, 4.5vw, 58px);
}
body.gps-calculator-system :is(
 .gsd-top,.gbc-slice,.grf-top,.rm01-body,.nvc-main,
 .prime-calc-page>.section,.ato-calc-section
) { background-color: var(--calc-off); }
body.gps-calculator-system :is(
 .gsd,.gbc,.gbp,.grf,.rm01,.nvc,.prime-calc-page,
 .ato-calculator-page,.property-capacity-page
) :is(h2,h3) {
  font-family: var(--font-serif, Georgia, serif);
  letter-spacing: -.02em;
  line-height: 1.18;
}
body.gps-calculator-system :is(
 .gsd,.gbc,.gbp,.grf,.rm01,.nvc,.prime-calc-page,
 .ato-calculator-page,.property-capacity-page
) h2 {
  font-size: clamp(1.55rem, 2.75vw, 2.4rem);
  color: var(--calc-navy);
}
body.gps-calculator-system :is(
 .gsd-shell,.gbc-shell,.gbp-shell,.grf-shell,.rm01-shell,.nvc-wrap
) { width: min(var(--calc-shell), calc(100% - 36px)); margin-inline: auto; }
body.gps-calculator-system :is(
 .prime-calc-grid,.gsd-grid,.gbc-top,.gbp-layout,.grf-grid,
 .rm01-grid,.nvc-layout,.pxcal-shell,.two-col,.pb-grid,.payday-layout
) { gap: clamp(16px, 2.2vw, 30px) !important; align-items: start; }

/* 04. Shared input/result surface: white panels, cyan edge, deep navy type */
body.gps-calculator-system :is(
 .prime-calc-panel,.gsd-panel,.gbc-card,.gbp-panel,.grf-panel,
 .rm01-card,.nvc-panel,.pxcal-card,.ato-panel,.pb-card,
 .card-accented,.nl-calc,.payday-calculator-card
) {
  border: 1px solid var(--calc-line) !important;
  border-radius: var(--calc-radius) !important;
  background-color: #fff !important;
  box-shadow: var(--calc-shadow);
  min-width: 0;
}
body.gps-calculator-system :is(
 .prime-calc-panel,.gsd-panel,.gbc-card,.gbp-panel,.grf-panel,
 .rm01-card,.nvc-panel,.pxcal-card,.ato-panel,.pb-card,.card-accented
):first-child { border-top: 3px solid var(--calc-cyan-light) !important; }
body.gps-calculator-system :is(
 .prime-calc-panel,.gsd-panel,.gbc-card,.gbp-panel,.grf-panel,
 .rm01-card,.nvc-panel,.pxcal-card,.ato-panel,.pb-card,.card-accented
) h2 { font-size: clamp(1.35rem, 2.15vw, 1.85rem); }
body.gps-calculator-system :is(
 .gsd,.gbc,.gbp,.grf,.rm01,.nvc,.prime-calc-page,
 .ato-calculator-page,.property-capacity-page,.pxcal-layout
) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
 select,textarea),
body.gps-calculator-system :is(
 section.section,section.content-section,section.section-alt,section.quote-section
) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea) {
  min-height: 45px;
  border-radius: 9px !important;
  border: 1.5px solid #c9d5d0 !important;
  color: var(--calc-navy) !important;
  background-color: #fff !important;
  font-family: inherit;
  font-size: max(16px, 1rem);
}
body.gps-calculator-system :is(
 .gsd,.gbc,.gbp,.grf,.rm01,.nvc,.prime-calc-page,
 .ato-calculator-page,.property-capacity-page,.pxcal-layout,
 section.section,section.content-section,section.section-alt,section.quote-section
) :is(input,select,textarea,button,a):focus-visible {
  outline: 3px solid var(--calc-focus) !important;
  outline-offset: 3px;
}
body.gps-calculator-system :is(
 .prime-calc-page,.gsd,.gbc,.gbp,.grf,.rm01,.nvc,
 .ato-calculator-page,.property-capacity-page,.pxcal-layout
) :is(label,legend) { color: var(--calc-navy); }
body.gps-calculator-system :is(
 .prime-result-grid,.gbc-metrics,.gbp-metrics,.nvc-results,.rm01-metrics
) > * {
  border-radius: 11px;
}
body.gps-calculator-system :is(
 .prime-calc-panel,.gsd-panel,.gbc-card,.gbp-panel,.grf-panel,
 .rm01-card,.nvc-panel,.pxcal-card,.ato-panel,.pb-card
) :is(p,small) { line-height: 1.6; }

/* 05. One conversion language: hierarchy + sizes, existing CTA text/URL intact */
body.gps-calculator-system :is(
 .gsd,.gbc,.gbp,.grf,.rm01,.nvc,.prime-calc-page,.pxcal-layout,
 .ato-calculator-page,.property-capacity-page,
 section.hero,section.section,section.section-alt,section.content-section,
 section.quote-section
) :is(.cta-primary,.gbc-btn,.gbp-btn,.grf-btn,.gsd-btn,
 .rm01-cta,.nvc-cta,.pxcal-next,.prime-form button[type="submit"],
 button[type="submit"],.calc-button) {
  border-radius: 10px !important;
  min-height: 46px;
  font-weight: 750;
  line-height: 1.25;
  transition: background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
body.gps-calculator-system :is(
 .gsd,.gbc,.gbp,.grf,.rm01,.nvc,.prime-calc-page,.pxcal-layout,
 .ato-calculator-page,.property-capacity-page,
 section.hero,section.section,section.section-alt,section.content-section,
 section.quote-section
) :is(.cta-primary,.gbc-btn,.gbp-btn,.grf-btn,.gsd-btn,
 .rm01-cta,.nvc-cta,.pxcal-next,.prime-form button[type="submit"]) {
  background: var(--calc-cyan) !important;
  border: 1px solid var(--calc-cyan) !important;
  color: #fff !important;
  text-decoration: none;
}
body.gps-calculator-system :is(
 .gsd,.gbc,.gbp,.grf,.rm01,.nvc,.prime-calc-page,.pxcal-layout,
 .ato-calculator-page,.property-capacity-page,
 section.hero,section.section,section.section-alt,section.content-section,
 section.quote-section
) :is(.cta-primary,.gbc-btn,.gbp-btn,.grf-btn,.gsd-btn,
 .rm01-cta,.nvc-cta,.pxcal-next,.prime-form button[type="submit"]):hover {
  background: #075d60 !important;
  box-shadow: 0 5px 18px rgba(7, 22, 40, .13);
}
body.gps-calculator-system :is(
 .gsd,.gbc,.gbp,.grf,.rm01,.nvc,.prime-calc-page,.pxcal-layout,
 .ato-calculator-page,.property-capacity-page,
 section.hero,section.section,section.section-alt,section.content-section,
 section.quote-section
) :is(.cta-secondary,.btn-outline-white,.btn-outline-navy) {
  min-height: 45px;
  border-radius: 10px !important;
}
body.gps-calculator-system :is(
 .gbc-banner,.grf-promo,.gbp-cta,.ato-final-cta,.seo-final-cta,
 .prime-cta,.nvc-banner,.rm01-more
) { border-radius: var(--calc-radius); }
body.gps-calculator-system :is(
 .gbc-banner,.grf-promo,.gbp-cta,.ato-final-cta,.seo-final-cta,
 .prime-cta,.nvc-banner
) {
  background: var(--calc-hero);
  padding: clamp(19px, 2.8vw, 28px);
}

/* 06. Research / example / FAQ presentation, same card grammar everywhere */
body.gps-calculator-system :is(
 .gps-worked-example,.gps-editorial-section,.gps-sourced-questions,.gps-editorial-faqs
) { max-width: var(--calc-shell); margin-inline: auto; }
body.gps-calculator-system :is(.gps-worked-example,.gps-editorial-section) {
  border-radius: var(--calc-radius);
  border: 1px solid var(--calc-line);
  background: #fff;
}
body.gps-calculator-system .gps-question-card {
  border-radius: 12px;
  border: 1px solid var(--calc-line);
  border-left: 3px solid var(--calc-cyan);
  background: #f8fbfa;
  box-shadow: none;
}
body.gps-calculator-system :is(
 .gsd,.gbc,.gbp,.grf,.rm01,.nvc,.prime-calc-page,
 .ato-calculator-page,.property-capacity-page,
 section.section,section.content-section,section.section-alt,section.quote-section
) details {
  border-radius: 10px;
}
body.gps-calculator-system :is(
 .gsd,.gbc,.gbp,.grf,.rm01,.nvc,.prime-calc-page,
 .ato-calculator-page,.property-capacity-page,
 section.section,section.content-section,section.section-alt,section.quote-section
) details summary { cursor: pointer; color: var(--calc-navy); }
body.gps-calculator-system :is(
 .gsd,.gbc,.gbp,.grf,.rm01,.nvc,.prime-calc-page,
 .ato-calculator-page,.property-capacity-page,
 section.section,section.content-section,section.section-alt,section.quote-section
) :is(table,.gps-table-scroll) { max-width: 100%; }
body.gps-calculator-system :is(
 .gsd,.gbc,.gbp,.grf,.rm01,.nvc,.prime-calc-page,
 .ato-calculator-page,.property-capacity-page,
 section.section,section.content-section,section.section-alt,section.quote-section
) a:not([class*="btn"]):not([class*="cta"]) { text-underline-offset: 2px; }

/* 07. Mobile parity: calculator and CTA remain prominent, no side clipping */
@media (max-width: 820px) {
 body.gps-calculator-system :is(
  .prime-calc-grid,.gsd-grid,.gbc-top,.gbp-layout,.grf-grid,
  .rm01-grid,.nvc-layout,.pxcal-shell,.two-col,.pb-grid,.payday-layout
 ) { grid-template-columns: minmax(0, 1fr) !important; }
 body.gps-calculator-system :is(
  .gsd-shell,.gbc-shell,.gbp-shell,.grf-shell,.rm01-shell,.nvc-wrap,.pxcal-shell
 ) { width: calc(100% - 32px); }
 body.gps-calculator-system :is(
  .prime-calc-panel,.gsd-panel,.gbc-card,.gbp-panel,.grf-panel,
  .rm01-card,.nvc-panel,.pxcal-card,.ato-panel,.card-accented
 ) { padding: clamp(17px, 4vw, 23px) !important; }
 body.gps-calculator-system :is(
  .prime-ref-hero,.gsd-hero,.gbc-hero,.gbp-hero,.grf-hero,
  .rm01-hero,.nvc-hero,.seo-hero,.pxcal-layout,section.hero
 ) { padding-block: 31px 36px !important; }
 body.gps-calculator-system :is(
  .prime-ref-hero,.gsd-hero,.gbc-hero,.gbp-hero,.grf-hero,
  .rm01-hero,.nvc-hero,.seo-hero,.pxcal-copy,section.hero
 ) h1 { font-size: clamp(2.0rem, 7.7vw, 2.75rem) !important; }
}
@media (max-width: 560px) {
 body.gps-calculator-system :is(
  .prime-form,.gsd-fields,.gbc-inputs,.gbp-fields,.grf-fields,
  .rm01-fields,.nvc-grid,.payday-grid-2
 ) { grid-template-columns: minmax(0,1fr) !important; }
 body.gps-calculator-system :is(
  .gsd,.gbc,.gbp,.grf,.rm01,.nvc,.prime-calc-page,
  .ato-calculator-page,.property-capacity-page,
  section.section,section.content-section,section.section-alt,section.quote-section
 ) :is(.cta-primary,.gbc-btn,.gbp-btn,.grf-btn,.gsd-btn,.rm01-cta,.nvc-cta) {
   max-width: 100%;
 }
}
@media (prefers-reduced-motion: reduce) {
 body.gps-calculator-system :is(a,button,input,select,textarea) {
   transition-duration: .01ms !important;
   animation-duration: .01ms !important;
 }
}

/* ATO results have their own dynamic badges. Keep WCAG AA contrast when
 * the shared white-panel surface replaces the legacy tinted panel. */
body.gps-calculator-system .ato-calculator-page #resultBadge {
  color: #073c45 !important;
  background: #ddf5ee !important;
  border: 1px solid #78b9ab !important;
}
body.gps-calculator-system .ato-calculator-page .ato-table-row.total {
  background-color: #102b46 !important;
  color: #fff !important;
}
body.gps-calculator-system .ato-calculator-page .ato-table-row.total :is(span,b,strong,#atoTotal,#financeTotal) {
  color: #fff !important;
}

/* 08. Screenshot-verified reference parity.
 * Earlier page-family normalization forces a PALE prime-calculator hero with
 * highly specific !important rules. Override it here only for these 21 tools;
 * keep guide pages and unrelated page families completely untouched.
 */
body.gps-calculator-system .gps-family--calculator .prime-calc-page .prime-ref-hero,
body.gps-calculator-system .gps-family--calculator .prime-ref-hero {
  background: var(--calc-hero) !important;
  background-color: var(--calc-navy) !important;
  padding-block: clamp(33px, 4vw, 52px) !important;
}
body.gps-calculator-system .gps-family--calculator .prime-calc-page .prime-ref-hero h1,
body.gps-calculator-system .gps-family--calculator .prime-ref-hero h1 {
  color: #fff !important;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif) !important;
  font-size: clamp(2.12rem, 4.55vw, 4.15rem) !important;
  line-height: 1.07 !important;
  font-weight: 730 !important;
}
body.gps-calculator-system .gps-family--calculator .prime-calc-page .prime-ref-hero :is(.prime-lead,.gps-editorial-intro),
body.gps-calculator-system .gps-family--calculator .prime-ref-hero :is(.prime-lead,.gps-editorial-intro) {
  color: #e9f2f6 !important;
  font-size: clamp(15.5px,1.65vw,18px) !important;
  line-height: 1.58 !important;
}
body.gps-calculator-system :is(
  .prime-ref-hero,.gsd-hero,.gbc-hero,.gbp-hero,.grf-hero,
  .rm01-hero,.nvc-hero,.seo-hero,.pxcal-copy,section.hero
) h1 {
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif) !important;
}
body.gps-calculator-system :is(
  .gsd,.gbc,.gbp,.grf,.rm01,.nvc,.prime-calc-page,
  .ato-calculator-page,.property-capacity-page
) :is(h2,h3) {
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif) !important;
}
/* Navy commentary cards retain white copy, including their headings. */
body.gps-calculator-system .gsd .gsd-sidebar,
body.gps-calculator-system .gsd .gsd-sidebar :is(h2,h3,p,li) {
  color: #fff !important;
}
body.gps-calculator-system .gsd .gsd-sidebar h2 {
  font-size: clamp(1.5rem,2.6vw,2rem) !important;
}
/* Honor reference mobile typography even where old .gps-family overrides exist. */
@media(max-width:820px) {
  body.gps-calculator-system .gps-family--calculator .prime-calc-page .prime-ref-hero {
    padding-block: 31px 36px !important;
  }
  body.gps-calculator-system .gps-family--calculator .prime-calc-page .prime-ref-hero h1 {
    font-size: clamp(2.0rem,7.7vw,2.75rem) !important;
  }
}


/* 09. Explicit foreground pairing on every shared dark conversion surface.
 * PR #94 set navy backgrounds without resetting inherited dark copy (especially
 * .prime-cta strong and .prime-narrow p). Never depend on inherited text colour
 * when a component changes surface. Keep this scoped to calculator routes.
 */
body.gps-calculator-system :is(
  .prime-cta,.gbc-banner,.grf-promo,.gbp-cta,.ato-final-cta,
  .seo-final-cta,.nvc-banner,.rm01-more
) {
  background: var(--calc-hero) !important;
  color: #f2f7fa !important;
  border-color: rgba(255,255,255,.18);
}
body.gps-calculator-system :is(
  .prime-cta,.gbc-banner,.grf-promo,.gbp-cta,.ato-final-cta,
  .seo-final-cta,.nvc-banner,.rm01-more
) :is(h2,h3,h4,strong,b,em,legend,small,p,li,span) {
  color: #f2f7fa !important;
}
body.gps-calculator-system :is(
  .prime-cta,.gbc-banner,.grf-promo,.gbp-cta,.ato-final-cta,
  .seo-final-cta,.nvc-banner,.rm01-more
) :is(h2,h3,h4,strong) { color: #fff !important; }
body.gps-calculator-system :is(
  .prime-cta,.gbc-banner,.grf-promo,.gbp-cta,.ato-final-cta,
  .seo-final-cta,.nvc-banner,.rm01-more
) a:not(.cta-primary):not([class*="btn"]):not([class*="cta"]) {
  color: #8cf4e8 !important;
  text-decoration-color: currentColor;
}
body.gps-calculator-system .prime-cta .cta-primary,
body.gps-calculator-system :is(
  .gbc-banner,.grf-promo,.gbp-cta,.ato-final-cta,.seo-final-cta,
  .nvc-banner,.rm01-more
) :is(.cta-primary,.gbc-btn,.gbp-btn,.grf-btn,.nvc-cta,.rm01-cta) {
  color: #fff !important;
  background-color: var(--calc-cyan) !important;
}
/* Deliberate light editorial cards retain dark type even near dark promos. */
body.gps-calculator-system :is(
  .gps-worked-example,.gps-editorial-section,.gps-question-card,
  .prime-calc-panel,.gsd-panel,.gbc-card,.gbp-panel,.grf-panel,
  .rm01-card,.nvc-panel,.pxcal-card,.ato-panel,.pb-card
) { color: var(--calc-copy); }
body.gps-calculator-system .prime-disclaimer {
  color: #4d6274 !important;
}

/* 10. Decision-specific editorial depth: readable, responsive and crawlable. */
body.gps-calculator-system .gps-decision-guide {
  background: #f5f8f7;
  color: var(--calc-copy);
}
body.gps-calculator-system .gps-decision-guide .prime-narrow {
  max-width: 960px;
  margin-inline: auto;
}
body.gps-calculator-system .gps-decision-guide h2 {
  margin: 0 0 18px;
  color: var(--calc-navy);
}
body.gps-calculator-system .gps-decision-guide h3 {
  color: var(--calc-navy);
  font-size: clamp(1.2rem,2vw,1.55rem);
  margin: 24px 0 12px;
}
body.gps-calculator-system .gps-decision-guide p,
body.gps-calculator-system .gps-decision-guide li {
  color: var(--calc-copy);
  line-height: 1.75;
  max-width: 80ch;
}
body.gps-calculator-system .gps-decision-guide .gps-decision-scenario {
  background: #fff;
  padding: clamp(18px,3vw,28px);
  border: 1px solid var(--calc-line);
  border-radius: var(--calc-radius);
  box-shadow: var(--calc-shadow);
  margin: 26px 0;
}
body.gps-calculator-system .gps-decision-guide table {
  width: 100%;
  border-collapse: collapse;
  min-width: 410px;
}
body.gps-calculator-system .gps-decision-guide :is(th,td) {
  padding: 12px 14px;
  border-bottom: 1px solid var(--calc-line);
  color: var(--calc-copy);
  text-align: left;
  vertical-align: top;
}
body.gps-calculator-system .gps-decision-guide thead th {
  background: #e8f2f1;
  color: #09283f;
}
body.gps-calculator-system .gps-decision-guide .gps-scenario-note,
body.gps-calculator-system .gps-decision-guide .gps-decision-source {
  font-size: .9rem;
  color: var(--calc-muted);
}
body.gps-calculator-system .gps-decision-guide a {
  color: #006e75;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.gps-calculator-system .gps-decision-guide .gps-decision-related {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 25px;
  padding-left: 20px;
}
@media(max-width:560px) {
 body.gps-calculator-system .gps-decision-guide .gps-decision-scenario { padding: 16px; }
 body.gps-calculator-system .gps-decision-guide .gps-decision-related { display: block; }
}

/* Decision cases: clear editorial blocks, not promotional cards. */
body.gps-calculator-system .gps-decision-cases {
  margin: 28px 0;
}
body.gps-calculator-system .gps-decision-case {
  padding: 15px 0 17px 18px;
  border-left: 3px solid #0a827a;
  border-bottom: 1px solid var(--calc-line);
  margin: 0 0 15px;
  background: transparent;
}
body.gps-calculator-system .gps-decision-case h4 {
  margin: 0 0 8px;
  font-family: var(--font-sans, Inter, Arial, sans-serif);
  font-size: 1.08rem;
  font-weight: 750;
  line-height: 1.3;
  color: var(--calc-navy);
}
body.gps-calculator-system .gps-decision-case p {
  margin: 0;
  color: var(--calc-copy);
  max-width: 79ch;
}

/* Correct three native promo link variants where pale teal text inherited the
 * dark-surface link rule while the link itself retained a bright teal fill. */
body.gps-calculator-system :is(
  .gbc-banner,.gbp-cta,.grf-promo
) a {
  color: #fff !important;
  background: #087b78 !important;
  border: 1px solid #087b78 !important;
  border-radius: 10px;
  text-decoration: none !important;
}
body.gps-calculator-system :is(.gbc-banner,.gbp-cta,.grf-promo) a:hover {
  background: #075d60 !important;
  border-color: #075d60 !important;
  color: #fff !important;
}
/* Readable captions for new static worked scenarios. */
body.gps-calculator-system .gps-decision-guide table caption {
  color: #294b65;
  font-size: .93rem;
  font-weight: 650;
  text-align: left;
  padding: 0 0 12px;
}

/* Override earlier highly-specific :not(...) link rules in the same stylesheet.
 * White on #087b78 is > 5:1, avoiding cyan-on-cyan native promo buttons. */
body.gps-calculator-system .gps-calculator-app-shell :is(.gbc-banner,.gbp-cta,.grf-promo) a:not(.cta-primary):not([class*="btn"]):not([class*="cta"]),
body.gps-calculator-system :is(.gbc-banner,.gbp-cta,.grf-promo) a:not(.cta-primary):not([class*="btn"]):not([class*="cta"]) {
  background: #087b78 !important;
  border-color: #087b78 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}
body.gps-calculator-system .gps-calculator-app-shell :is(.gbc-banner,.gbp-cta,.grf-promo) a:not(.cta-primary):not([class*="btn"]):not([class*="cta"]):hover,
body.gps-calculator-system :is(.gbc-banner,.gbp-cta,.grf-promo) a:not(.cta-primary):not([class*="btn"]):not([class*="cta"]):hover {
  background: #075d60 !important;
  color: #ffffff !important;
}
