/* Calculator editorial uplift only: no input, result-engine or trust-badge overrides. */
.gps-calculator-editorial{color:#12334b}
.gps-calculator-editorial .gps-editorial-intro{max-width:74ch;line-height:1.65;margin:1rem 0 0}
.gps-calculator-editorial .gps-worked-example{margin:1.5rem auto 2rem;max-width:960px;padding:1.4rem;border:1px solid #cbdce8;border-radius:12px;background:#fff}
.gps-calculator-editorial .gps-worked-example h2{color:#09243b;margin:0 0 .9rem}
.gps-calculator-editorial .gps-table-scroll{overflow-x:auto;max-width:100%}
.gps-calculator-editorial .gps-worked-example table{width:100%;border-collapse:collapse;min-width:420px}
.gps-calculator-editorial .gps-worked-example caption{text-align:left;font-weight:600;padding:.5rem 0;color:#294b65}
.gps-calculator-editorial .gps-worked-example th,.gps-calculator-editorial .gps-worked-example td{border-bottom:1px solid #d9e5ed;text-align:left;padding:.75rem .6rem;vertical-align:top}
.gps-calculator-editorial .gps-worked-example th{width:60%;font-weight:600}
.gps-calculator-editorial .gps-worked-example p{line-height:1.65;margin:.9rem 0 0}
.gps-calculator-editorial a:focus-visible{outline:3px solid #007fa3;outline-offset:3px}
@media(max-width:480px){.gps-calculator-editorial .gps-worked-example{padding:1rem;border-radius:8px}}

.gps-calculator-editorial.gps-editorial-section{max-width:1040px;margin:1.25rem auto;padding:1.3rem 18px;background:#fff;color:#12334b}
.gps-calculator-editorial.gps-editorial-section h2{color:#09243b;margin:.3rem 0 1rem}
.gps-calculator-editorial.gps-editorial-section p{line-height:1.65}
.gps-calculator-editorial.gps-editorial-section table{width:100%;border-collapse:collapse;min-width:360px}
.gps-calculator-editorial.gps-editorial-section th,.gps-calculator-editorial.gps-editorial-section td{padding:.65rem;border-bottom:1px solid #d9e5ed;text-align:left;vertical-align:top}
.gps-calculator-editorial.gps-editorial-section th{font-weight:600}
.gps-calculator-editorial.gps-editorial-section caption{text-align:left;color:#294b65;padding:.5rem 0}

.gps-calculator-editorial .gps-editorial-faqs{margin:1.6rem 0 0}
.gps-calculator-editorial .gps-editorial-faqs h2{font-size:1.4rem}
.gps-calculator-editorial .gps-editorial-faqs details{border-bottom:1px solid #d9e5ed;padding:.8rem 0}
.gps-calculator-editorial .gps-editorial-faqs summary{cursor:pointer;font-weight:650;color:#09243b}
.gps-calculator-editorial .gps-editorial-faqs details p{margin:.7rem 0 0;line-height:1.6}
.gps-calculator-editorial .gps-table-scroll:focus-visible{outline:3px solid #007fa3;outline-offset:3px}

/* Scoped evidence cards: no effects on calculators or third-party logos. */
.gps-calculator-editorial .gps-sourced-questions{margin:1.5rem 0;max-width:960px}
.gps-calculator-editorial .gps-sourced-questions>p{font-size:.95rem;color:#294b65;line-height:1.65}
.gps-calculator-editorial .gps-question-card{border:1px solid #ccdde8;border-left:3px solid #087b90;border-radius:9px;padding:1rem 1.1rem;margin:.9rem 0;background:#f8fbfd}
.gps-calculator-editorial .gps-question-card h3{font-size:1.03rem;color:#09243b;margin:0 0 .55rem}
.gps-calculator-editorial .gps-question-card p{font-size:.94rem;line-height:1.6;margin:.45rem 0}
.gps-calculator-editorial .gps-question-card .gps-evidence-source{font-size:.83rem;color:#405d70}
.gps-calculator-editorial .gps-question-card a{color:#075e79;text-decoration:underline;text-underline-offset:2px}
.gps-calculator-editorial .gps-editorial-faqs summary:focus-visible{outline:3px solid #007fa3;outline-offset:3px}

/* Benchmark dark hero: answer-first summary needs deliberate light contrast. */
.gps-calculator-editorial.nl .nl-hero .gps-editorial-intro{color:#e9f2f6;font-size:16px;line-height:1.55;max-width:72ch;margin:0 0 12px}

/* Accessibility remediation confined to calculator templates. */
.gps-calculator-editorial.nl .nl-help{color:#45596a}
.gps-calculator-editorial.nl a:not(.nl-btn){text-decoration:underline;text-underline-offset:2px}
.gps-calculator-editorial.nl a:not(.nl-btn):focus-visible{outline:3px solid #06c3b5;outline-offset:3px}

/* Light-surface headings and result placeholders identified by axe contrast audit. */
.gps-calculator-editorial.nl .nl-kicker{color:#00655f}
.gps-calculator-editorial.nl .nl-hero .nl-kicker{color:var(--t)}
.gps-calculator-editorial.nl .nl-result-empty{color:#415468}

/* Complete contrast corrections on quote decoder's pale panels and related cards. */
.gps-calculator-editorial.nl .nl-section .nl-kicker,.gps-calculator-editorial.nl .nl-two .nl-kicker,.gps-calculator-editorial.nl .nl-form-wrap .nl-kicker{color:#004e49!important}
.gps-calculator-editorial.nl .nl-related a span,.gps-calculator-editorial.nl .nl-source,.gps-calculator-editorial.nl .nl-review{color:#3e5263!important}
.gps-calculator-editorial.nl .nl-hero .nl-kicker{color:#22e6c7!important}

/* BYO finance panel uses a dark background; its small kicker must remain light. */
.gps-calculator-editorial.nl .nl-section.dark .nl-kicker{color:#22e6c7!important}
