:root{--ink:#172b24;--muted:#64756d;--green:#087b48;--dark:#075337;--mint:#eaf7ef;--line:#dfe8e2;--bg:#f7f9f7;--white:#fff}*{box-sizing:border-box}.pr-demo{margin:0;background:var(--bg);color:var(--ink);font:15px/1.6 Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.pr-demo button,.pr-demo input,.pr-demo select{font:inherit}.pr-demo button{cursor:pointer}.pr-demo a{color:var(--green)}.pr-demo main{max-width:1120px;margin:auto;padding:25px 24px 48px}.pr-demo .crumb{font-size:12px;color:var(--muted);margin-bottom:13px}.pr-demo .intro{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:21px}.pr-demo .eyebrow{font-size:11px;letter-spacing:1.3px;color:var(--green);font-weight:800;text-transform:uppercase}.pr-demo h1{font-size:clamp(29px,4vw,42px);letter-spacing:-1.8px;line-height:1.15;margin:7px 0 10px}.pr-demo h2{font-size:23px;letter-spacing:-.6px;line-height:1.3;margin:0 0 8px}.pr-demo h3{font-size:16px;margin:0 0 8px;line-height:1.35}.pr-demo p{margin:0 0 12px}.pr-demo .muted{color:var(--muted)}.pr-demo .small{font-size:12px}.pr-demo .intro p{margin:0;max-width:690px}.pr-demo .tag{white-space:nowrap;border:1px solid var(--line);background:#fff;border-radius:30px;padding:6px 12px;font-weight:600;font-size:12px;color:var(--green)}.pr-demo .layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:22px;align-items:start}.pr-demo .stack{display:grid;gap:20px;min-width:0}.pr-demo .card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:22px;overflow:hidden}.pr-demo .calculator{padding:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.pr-demo .inputpane,.pr-demo .resultpane{padding:24px;min-width:0}.pr-demo .resultpane{background:#f5faf6;border-left:1px solid var(--line)}.pr-demo .mode{display:flex;border:1px solid var(--line);padding:3px;border-radius:9px;background:#f5f7f5;margin:18px 0 20px;gap:3px}.pr-demo .mode button{flex:1;background:none;border:0;padding:8px 5px;white-space:normal;font-size:12px;font-weight:650;color:var(--muted);border-radius:6px}.pr-demo .mode button.active{background:#fff;color:var(--green);box-shadow:0 1px 4px #182a201a}.pr-demo .field{margin-bottom:17px}.pr-demo .field label{display:block;font-size:12px;font-weight:700;margin-bottom:6px}.pr-demo .control{display:flex;align-items:center;background:#fff;border:1px solid #cddbd2;border-radius:9px;gap:8px;padding:0 12px;min-height:46px}.pr-demo .control:focus-within{outline:2px solid #36a66b;outline-offset:1px}.pr-demo .control span{color:var(--muted);font-weight:600;font-size:13px}.pr-demo .control input,.pr-demo .control select{width:100%;min-width:0;outline:0;border:0;background:transparent;color:var(--ink);font-weight:650;padding:11px 0}.pr-demo .control input::-webkit-inner-spin-button{appearance:none}.pr-demo .fieldrow{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pr-demo .actions{display:flex;gap:8px}.pr-demo .primary,.pr-demo .secondary{border:1px solid var(--green);border-radius:9px;padding:11px 15px;font-size:13px;font-weight:750}.pr-demo .primary{background:var(--green);color:white;flex:1}.pr-demo .secondary{background:white;color:var(--green)}.pr-demo .notice{font-size:11px;color:var(--muted);margin-top:10px;margin-bottom:0}.pr-demo .heroresult{background:var(--dark);color:white;padding:20px;border-radius:12px;margin-top:15px;position:relative;overflow:hidden}.pr-demo .heroresult:after{content:'';width:160px;height:160px;border:25px solid #ffffff0a;position:absolute;border-radius:50%;right:-70px;top:-74px;pointer-events:none}.pr-demo .heroresult .label{color:#d1e9d8;font-size:12px}.pr-demo .heroresult strong{display:block;font-size:clamp(28px,3.2vw,38px);line-height:1.2;letter-spacing:-1.3px;margin:6px 0 8px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.pr-demo .delta{display:inline-block;background:#ffffff20;color:#e5ffeb;padding:3px 8px;border-radius:6px;font-size:12px;font-weight:700}.pr-demo .metrics{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.pr-demo .metric{border:1px solid var(--line);background:white;padding:12px;border-radius:9px;min-width:0}.pr-demo .metric span{display:block;font-size:11px;color:var(--muted);line-height:1.3}.pr-demo .metric strong{display:block;font-size:18px;letter-spacing:-.5px;margin-top:4px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.pr-demo .metric.wide{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px}.pr-demo .metric.wide strong{font-size:14px;margin:0}.pr-demo .copyrow{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-top:12px}.pr-demo .linkbutton{background:transparent;border:0;color:var(--green);font-size:12px;font-weight:700;padding:4px}.pr-demo .sidebar{display:grid;gap:16px}.pr-demo .sidebar .card{padding:17px}.pr-demo .related{display:flex;gap:10px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line);text-decoration:none;font-size:13px;color:var(--ink);font-weight:650}.pr-demo .related:last-child{border-bottom:0;padding-bottom:2px}.pr-demo .relIcon{display:grid;place-items:center;width:33px;height:33px;flex-shrink:0;background:var(--mint);border-radius:8px;color:var(--green);font-size:15px}.pr-demo .arrow{margin-left:auto;color:#87978d}.pr-demo .ad{min-height:80px;border:1px dashed #dce3db;border-radius:10px;display:grid;place-items:center;color:#879489;background:#f3f6f2;font-size:10px;letter-spacing:1.4px;text-align:center}.pr-demo .sectionhead{display:flex;justify-content:space-between;gap:12px;align-items:start;margin-bottom:17px}.pr-demo .sectionhead p{margin:0}.pr-demo .graph{display:grid;gap:14px;margin:20px 0}.pr-demo .barline{display:grid;grid-template-columns:60px minmax(0,1fr) 86px;gap:10px;align-items:center;font-size:12px}.pr-demo .barline b{text-align:right;font-variant-numeric:tabular-nums}.pr-demo .track{height:23px;background:#edf1ed;border-radius:6px;overflow:hidden;display:flex}.pr-demo .bar{height:100%;background:#aabbb0;border-radius:5px;transition:width .2s}.pr-demo .bar.after{background:var(--green)}.pr-demo .tablewrap{overflow-x:auto}.pr-demo table{border-collapse:collapse;width:100%;font-size:13px;white-space:nowrap}.pr-demo th,.pr-demo td{text-align:right;padding:10px 8px;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}.pr-demo th:first-child,.pr-demo td:first-child{text-align:left}.pr-demo th{font-size:11px;color:var(--muted);background:#f5f7f5}.pr-demo td:last-child{font-weight:700;color:var(--green)}.pr-demo .explain{display:grid;gap:15px}.pr-demo .step{display:grid;grid-template-columns:30px 1fr;gap:12px;align-items:start}.pr-demo .num{border-radius:50%;background:var(--mint);color:var(--green);font-weight:800;width:30px;height:30px;display:grid;place-items:center;font-size:13px}.pr-demo .step h3{margin:3px 0 6px}.pr-demo .equation{background:#f5f7f5;border:1px solid var(--line);border-radius:8px;padding:12px 14px;font-size:clamp(14px,2vw,17px);font-weight:650;overflow-wrap:anywhere}.pr-demo .formula{background:#edf7ee;border:1px solid #d1e8d8;border-radius:10px;padding:16px;margin-top:16px}.pr-demo .formula p{margin:0}.pr-demo .insight{border-left:3px solid var(--green);padding:4px 0 4px 12px;margin-top:18px;color:#395448;font-size:13px}.pr-demo .learn{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:17px}.pr-demo .learn article{border:1px solid var(--line);border-radius:10px;padding:15px}.pr-demo .learn p{font-size:13px;color:var(--muted);margin:0}.pr-demo .learn .relIcon{margin-bottom:10px}.pr-demo main details{padding:14px 0;border-bottom:1px solid var(--line)}.pr-demo main details:last-child{border:0;padding-bottom:0}.pr-demo main summary{cursor:pointer;font-weight:700;font-size:14px}.pr-demo main details p{font-size:13px;color:var(--muted);margin:10px 0 0}.pr-demo .hidden{display:none!important}.pr-demo .error{color:#932f31;font-size:12px;margin-bottom:10px}@media(max-width:1000px){.pr-demo .layout{grid-template-columns:minmax(0,1fr) 220px}.pr-demo .inputpane,.pr-demo .resultpane{padding:18px}.pr-demo .navlinks{gap:12px}}@media(max-width:800px){.pr-demo .layout{grid-template-columns:1fr}.pr-demo .sidebar{grid-template-columns:1fr 1fr}.pr-demo .intro{align-items:start}.pr-demo .tag{display:none}}@media(max-width:560px){.pr-demo main{padding:18px 14px 30px}.pr-demo .calculator{grid-template-columns:1fr}.pr-demo .resultpane{border-left:0;border-top:1px solid var(--line)}.pr-demo .card{padding:17px}.pr-demo .inputpane,.pr-demo .resultpane{padding:18px}.pr-demo .sidebar,.pr-demo .learn{grid-template-columns:1fr}.pr-demo .barline{grid-template-columns:47px minmax(0,1fr) 78px;gap:7px}.pr-demo .sectionhead{display:block}.pr-demo .heroresult strong{font-size:36px}.pr-demo .stack{gap:14px}.pr-demo h2{font-size:21px}.pr-demo .metric strong{font-size:18px}}
.pr-demo a.related{color:var(--ink);text-decoration:none}.pr-demo a.related:hover{text-decoration:underline}.pr-demo a.related>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}
/* Dark mode for the pay raise page (demo layout). */
html.dark .pr-demo{background:#0b0b0e;color:#e5e7eb}
html.dark .pr-demo{--ink:#e5e7eb;--muted:#9ca3af;--green:#6ee7a0;--line:#2a2a33;--mint:#17271d}
html.dark .pr-demo .card,html.dark .pr-demo .metric,html.dark .pr-demo .learn article,html.dark .pr-demo .equation,html.dark .pr-demo .sidebar .card{background:#141418;border-color:#2a2a33;color:#e5e7eb}
html.dark .pr-demo .resultpane{background:#101a14;border-color:#2a2a33}
html.dark .pr-demo .heroresult{background:#0f3b27}
html.dark .pr-demo .mode{background:#101014;border-color:#2a2a33}
html.dark .pr-demo .mode button{color:#9ca3af}
html.dark .pr-demo .mode button.active{background:#1f1f26;color:#6ee7a0}
html.dark .pr-demo .control{background:#0f1116;border-color:#333340}
html.dark .pr-demo .control input,html.dark .pr-demo .control select{color:#f8fafc;background:transparent}
html.dark .pr-demo .control select option{background:#141418;color:#f8fafc}
html.dark .pr-demo .control span{color:#9ca3af}
html.dark .pr-demo input::placeholder{color:#6b7280}
html.dark .pr-demo .secondary{background:#141418;color:#6ee7a0;border-color:#2f6b4d}
html.dark .pr-demo .primary{background:#1f8a57;border-color:#1f8a57;color:#fff}
html.dark .pr-demo .formula{background:#0f1c15;border-color:#1f3a2b;color:#e5e7eb}
html.dark .pr-demo .num{background:#17271d;color:#6ee7a0}
html.dark .pr-demo .ad{background:#17171c;border-color:#2a2a33;color:#9ca3af}
html.dark .pr-demo th{background:#101014;color:#9ca3af}
html.dark .pr-demo td,html.dark .pr-demo th{border-color:#2a2a33}
html.dark .pr-demo td:last-child{color:#6ee7a0}
html.dark .pr-demo .track{background:#22222a}
html.dark .pr-demo .bar{background:#4b5b52}
html.dark .pr-demo .bar.after{background:#6ee7a0}
html.dark .pr-demo .insight{color:#cbd5e1;border-color:#6ee7a0}
html.dark .pr-demo .tag{background:#141418;border-color:#2a2a33;color:#6ee7a0}
html.dark .pr-demo .muted,html.dark .pr-demo .small{color:#9ca3af}
html.dark .pr-demo .relIcon{background:#17271d;color:#6ee7a0}
html.dark .pr-demo .related{color:#e5e7eb;border-color:#2a2a33}
html.dark .pr-demo a.related{color:#e5e7eb}
html.dark .pr-demo .arrow{color:#6b7280}
html.dark .pr-demo main details{border-color:#2a2a33}
html.dark .pr-demo main summary{color:#e5e7eb}
html.dark .pr-demo .linkbutton{color:#6ee7a0}
html.dark .pr-demo .notice{color:#9ca3af}
html.dark .pr-demo .error{color:#fca5a5}
/* Sidebar related list: one row per calculator, no nested boxes, no legacy icons. */
.pr-demo .sidebar #related{display:block!important;border:0!important;background:none!important;box-shadow:none!important;padding:0!important;margin:0!important}
.pr-demo .sidebar #related a.related{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;width:100%!important;min-height:0!important;padding:13px 0!important;margin:0!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:none!important;box-shadow:none!important;font-size:13px!important;font-weight:650!important;line-height:1.35!important;color:var(--ink)!important;text-decoration:none!important}
.pr-demo .sidebar #related a.related:last-child{border-bottom:0!important}
.pr-demo .sidebar #related a.related::before,.pr-demo .sidebar #related a.related::after{content:none!important;display:none!important}
.pr-demo .sidebar #related a.related>span:nth-child(1){flex:none;width:33px;height:33px;display:grid;place-items:center;border-radius:8px;background:var(--mint);color:var(--green);font-size:15px}
.pr-demo .sidebar #related a.related>span:nth-child(2){flex:1;min-width:0;font-size:13px;font-weight:650;color:var(--ink);overflow-wrap:anywhere}
.pr-demo .sidebar #related a.related>span:nth-child(3){flex:none;margin-left:auto;color:#87978d}
html.dark .pr-demo .sidebar #related a.related{border-color:#2a2a33!important;color:#e5e7eb!important}
html.dark .pr-demo .sidebar #related a.related>span:nth-child(2){color:#e5e7eb}
/* Even spacing between the sections of the content column. */
.pr-demo .stack{gap:16px!important}
.pr-demo .stack>*{margin:0!important}
.pr-demo .stack #reactions,.pr-demo .stack .reactions-card,.pr-demo .stack #references,.pr-demo .stack .refs-card,.pr-demo .stack #faq,.pr-demo .stack .card-keep{margin:0!important;max-width:none!important;width:100%!important}
.pr-demo .stack .faq-related{margin:0!important;padding:0!important}
/* Modern mode switch: a rounded segmented control with a soft active pill, a smooth transition and a clear focus ring. */
.pr-demo .mode{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border:1px solid var(--line);border-radius:999px;background:#eef2ef;margin:18px 0 20px}
.pr-demo .mode button{position:relative;min-height:40px;padding:8px 14px;border:0;border-radius:999px;background:transparent;color:#5b6b63;font-size:13px;font-weight:600;letter-spacing:.01em;transition:background-color .2s ease,color .2s ease,box-shadow .2s ease}
.pr-demo .mode button:hover:not(.active){color:var(--ink)}
.pr-demo .mode button.active{background:#ffffff;color:var(--green);font-weight:700;box-shadow:0 1px 2px rgba(16,24,40,.08),0 2px 6px rgba(16,24,40,.06)}
.pr-demo .mode button:focus-visible{outline:2px solid #36a66b;outline-offset:2px}
html.dark .pr-demo .mode{background:#0f1116;border-color:#2a2a33}
html.dark .pr-demo .mode button{color:#9ca3af}
html.dark .pr-demo .mode button:hover:not(.active){color:#e5e7eb}
html.dark .pr-demo .mode button.active{background:#22222b;color:#6ee7a0;box-shadow:0 1px 2px rgba(0,0,0,.4)}
/* Typography: one family (Inter), a clear weight scale, and readable sizes. */
.pr-demo{font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-weight:400;font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.pr-demo h1{font-weight:700;letter-spacing:-.025em;line-height:1.15}
.pr-demo h2{font-weight:650;letter-spacing:-.015em;line-height:1.3}
.pr-demo h3{font-weight:600;line-height:1.35}
.pr-demo p,.pr-demo li,.pr-demo td{font-weight:400}
.pr-demo label,.pr-demo th,.pr-demo .eyebrow,.pr-demo main summary{font-weight:600}
.pr-demo .eyebrow{letter-spacing:.12em}
.pr-demo .control input,.pr-demo .control select{font-weight:600;font-size:16px}
.pr-demo .metric strong,.pr-demo .heroresult strong,.pr-demo .equation{font-weight:700}
.pr-demo .mode button{font-weight:600}
.pr-demo .mode button.active{font-weight:700}
.pr-demo .primary,.pr-demo .secondary{font-weight:700;letter-spacing:.005em}
.pr-demo .related,.pr-demo a.related{font-weight:600}
.pr-demo .notice,.pr-demo .small{font-size:13px;line-height:1.5}
.pr-demo .muted{font-weight:400}
.pr-demo .learn p,.pr-demo .step p{font-size:15px}
.pr-demo .learn article h3{font-size:16px}
.pr-demo .sectionhead h2{font-size:22px}
@media(max-width:560px){.pr-demo h1{font-size:30px}.pr-demo h2{font-size:21px}}
/* Site header stays the normal white bar on every calculator page. */
.pr-demo .site-header{background:#ffffff!important;border-bottom:1px solid #e5e7eb!important}
.pr-demo .site-header .bar, .pr-demo .site-header .nav{background:transparent!important}
.pr-demo .site-header .nav a, .pr-demo .site-header .nav .nav-menu>summary{background:transparent!important;color:#111827!important;border:0!important;box-shadow:none!important}
html.dark .pr-demo .site-header{background:#0b0b0e!important;border-color:#2a2a33!important}
html.dark .pr-demo .site-header .nav a, html.dark .pr-demo .site-header .nav .nav-menu>summary{color:#f1f5f9!important}
/* Related links on calculator pages use the same row style as the pay raise page. */
.pr-demo #related h2,.pr-demo .cal-related h2,.pr-demo #calRelTitle{color:#111827!important;font-size:16px!important;letter-spacing:0!important;text-transform:none!important}
html.dark .pr-demo #related h2,html.dark .pr-demo .cal-related h2{color:#f1f5f9!important}
html body.pr-demo #related h2, html body.pr-demo #related h2.cal-h2, html body.pr-demo aside #related > h2, html body.pr-demo .cal-sidebar h2 { color:#111827!important; text-transform:none!important; letter-spacing:0!important; font-size:16px!important; font-weight:650!important; }
html.dark body.pr-demo #related h2, html.dark body.pr-demo .cal-sidebar h2 { color:#f1f5f9!important; }
/* Calculator titles: visible, one size for every calculator page. */
.pr-demo h1.pr-title{position:static!important;width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important;white-space:normal!important;margin:0 0 6px!important;font-size:clamp(28px,3.6vw,40px);font-weight:700;letter-spacing:-.025em;line-height:1.15;color:var(--ink)}
html.dark .pr-demo h1.pr-title{color:#f1f5f9}
/* Page background: white, as before. */
html body.pr-demo, .pr-demo, .pr-demo main { background:#ffffff!important; }
html.dark body.pr-demo, html.dark .pr-demo, html.dark .pr-demo main { background:#0b0b0e!important; }
/* The question sentence above the calculator repeated the form and results, so it is hidden. */
.pr-demo #qvSentence, .pr-demo .ins-sentence, .pr-demo #qvHero, .pr-demo #qvEmpty { display:none!important; }
/* The "How it is worked out" block (heading and generated steps) is removed from calculator pages. The elements stay in place for the scripts. */
.pr-demo h3:has(+ #qvWhy), .pr-demo #qvWhy, .pr-demo #qvUndo { display:none!important; }
.pr-demo .pr-updated{margin:0 0 14px;font-size:13px;color:#6b7280;font-weight:400}
html.dark .pr-demo .pr-updated{color:#9ca3af}
/* One left edge on every calculator: title, updated date, calculator card, what-if, guide, FAQ, references and reactions all line up. */
.pr-demo main, .pr-demo .page-main{margin-left:0!important;margin-right:0!important}
.pr-demo h1.pr-title, .pr-demo .pr-updated, .pr-demo [id$="Form"].calc-card, .pr-demo #whatIf, .pr-demo #guide, .pr-demo #faq, .pr-demo #references, .pr-demo #reactions, .pr-demo #questionView, .pr-demo #payRaiseInsight, .pr-demo #compare, .pr-demo #calculator{margin-left:0!important;margin-right:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important}
/* Centre the calculator page: the content column and its sections are centred in the page. */
.pr-demo main, .pr-demo .page-main, .pr-demo .page-grid{margin-left:auto!important;margin-right:auto!important;max-width:1120px!important}
.pr-demo .page-grid{width:100%!important}
/* Same column for every block: each top-level block is a card with the same border, radius, padding and gap, so content lines up. */
.pr-demo .page-main > #hero, .pr-demo .page-main > #questionView, .pr-demo .page-main > #whatIf, .pr-demo .page-main > #compare, .pr-demo .page-main > #extra, .pr-demo .page-main > #breakdown, .pr-demo .page-main > #guide, .pr-demo .page-main > #references, .pr-demo .page-main > #faq, .pr-demo .page-main > #reactions, .pr-demo .page-main > div.formula-words, .pr-demo .page-main > section.card-keep, .pr-demo .page-main > [id$="Form"].calc-card, .pr-demo .page-main > #payRaiseInsight {
  background:#ffffff!important; border:1px solid #e5e7eb!important; border-radius:14px!important; padding:20px!important; margin:0 0 16px!important; box-shadow:none!important; width:100%!important; max-width:100%!important; box-sizing:border-box!important; }
.pr-demo .page-main > .faq-related{margin:0!important;padding:0!important;border:0!important;background:none!important}
.pr-demo .page-main > .ad-reserve{margin:0 0 16px!important}
html.dark .pr-demo .page-main > #hero, html.dark .pr-demo .page-main > #questionView, html.dark .pr-demo .page-main > #whatIf, html.dark .pr-demo .page-main > #compare, html.dark .pr-demo .page-main > #extra, html.dark .pr-demo .page-main > #breakdown, html.dark .pr-demo .page-main > #guide, html.dark .pr-demo .page-main > #references, html.dark .pr-demo .page-main > #faq, html.dark .pr-demo .page-main > #reactions, html.dark .pr-demo .page-main > div.formula-words, html.dark .pr-demo .page-main > section.card-keep, html.dark .pr-demo .page-main > [id$="Form"].calc-card, html.dark .pr-demo .page-main > #payRaiseInsight { background:#141418!important; border-color:#2a2a33!important; }
/* The calculator inside the form card has no box of its own, so its content lines up with the card. */
.pr-demo .page-main > [id$="Form"].calc-card > #calculator, .pr-demo #calculator.mc-calculator{background:transparent!important;border:0!important;box-shadow:none!important;margin:0!important;padding:0!important;width:100%!important;max-width:100%!important}
/* The title is always the first thing in the content column, as plain text (not inside a card). */
.pr-demo .page-main > h1.pr-title, .pr-demo .page-main > p.pr-updated{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0 0 6px!important}
.pr-demo .page-main > p.pr-updated{margin-bottom:16px!important}
.pr-demo #hero{background:transparent!important;border:0!important;padding:0!important}
.pr-demo #questionView{display:none!important}
/* Primary result on every calculator: the first result is the dark, larger answer, as on the pay raise page. */
html body.pr-demo .mc-result.is-primary, html body.pr-demo #calculator .mc-result.is-primary, html body.pr-demo #calculator.mc-calculator .mc-results .mc-result.is-primary { background:#0f3b27!important; border:1px solid #0f3b27!important; border-radius:12px!important; padding:20px!important; box-shadow:none!important; }
html body.pr-demo .mc-result.is-primary .mc-result-label, html body.pr-demo .mc-result.is-primary .mc-result-sub { color:#d1e9d8!important; }
html body.pr-demo .mc-result.is-primary .mc-result-value { color:#ffffff!important; font-size:clamp(28px,3.2vw,38px)!important; font-weight:700!important; }
html.dark html body.pr-demo .mc-result.is-primary { background:#f1f5f9!important; border-color:#f1f5f9!important; }
html.dark html body.pr-demo .mc-result.is-primary .mc-result-value { color:#111827!important; }
html.dark html body.pr-demo .mc-result.is-primary .mc-result-label, html.dark html body.pr-demo .mc-result.is-primary .mc-result-sub { color:#374151!important; }
html body.pr-demo #calculator .mc-result.is-primary .mc-result-value, html body.pr-demo #calculator.mc-calculator .mc-results .mc-result.is-primary .mc-result-value { color:#ffffff!important; }
html body.pr-demo #calculator .mc-result.is-primary .mc-result-label, html body.pr-demo #calculator .mc-result.is-primary .mc-result-sub, html body.pr-demo #calculator.mc-calculator .mc-results .mc-result.is-primary .mc-result-label, html body.pr-demo #calculator.mc-calculator .mc-results .mc-result.is-primary .mc-result-sub { color:#d1e9d8!important; }
html.dark html body.pr-demo #calculator .mc-result.is-primary .mc-result-value { color:#111827!important; }
html.dark html body.pr-demo #calculator .mc-result.is-primary .mc-result-label, html.dark html body.pr-demo #calculator .mc-result.is-primary .mc-result-sub { color:#374151!important; }
/* Empty leftover block above the What if section is hidden. */
html body.pr-demo .page-main > #hero { display:none!important; }
/* The calculator box is always drawn, on every calculator page. */
html body.pr-demo .page-main > [id$="Form"], html body.pr-demo .page-main > div[id$="Form"].calc-card { background:#ffffff!important; border:1px solid #e5e7eb!important; border-radius:14px!important; padding:20px!important; margin:0 0 16px!important; box-shadow:none!important; width:100%!important; box-sizing:border-box!important; }
html.dark html body.pr-demo .page-main > [id$="Form"] { background:#141418!important; border-color:#2a2a33!important; }
html body.pr-demo div[id$="Form"].calc-card { border:1px solid #e5e7eb!important; border-radius:14px!important; }
html.dark html body.pr-demo div[id$="Form"].calc-card { border-color:#2a2a33!important; }
/* Breakdown card (like the take-home page). */
.pr-demo .cv3-breakdown{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;margin:0 0 16px;box-sizing:border-box;width:100%}
.pr-demo .cv3-breakdown h2{font-size:16px;font-weight:650;margin:0 0 12px;color:var(--ink)}
.pr-demo .cv3-breakdown-grid{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;align-items:center}
.pr-demo .cv3-legend{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.pr-demo .cv3-legend li{display:grid;grid-template-columns:12px minmax(0,1fr) auto;gap:10px;align-items:center;font-size:15px;color:var(--ink)}
.pr-demo .cv3-legend li b{font-weight:700;font-variant-numeric:tabular-nums}
.pr-demo .cv3-legend li.is-total{border-top:1px solid var(--line);padding-top:10px;font-weight:600}
.pr-demo .cv3-dot{width:12px;height:12px;border-radius:50%;display:inline-block}
.pr-demo .cv3-note{font-size:13px;color:var(--muted);margin:14px 0 0}
@media(max-width:560px){.pr-demo .cv3-breakdown-grid{grid-template-columns:1fr;justify-items:center}}
html.dark .pr-demo .cv3-breakdown{background:#141418;border-color:#2a2a33}
/* No divider lines above the guide sections. */
html body.pr-demo #guide .g-card, html body.pr-demo #guide .g-card + .g-card, html body.pr-demo #guide > * { border-top: 0 !important; }
html body.pr-demo #guide hr, html body.pr-demo hr { display: none !important; }
html body.pr-demo #guide > div, html body.pr-demo #guide > section { border-top: 0 !important; }
/* No divider line inside the calculator card (under the form and results). */
html body.pr-demo [id$="Form"].calc-card hr, html body.pr-demo [id$="Form"].calc-card > #calculator > hr, html body.pr-demo #calculator hr, html body.pr-demo #calculator .mc-footer, html body.pr-demo #calculator > * + * { border-top: 0 !important; }
html body.pr-demo #calculator hr { display: none !important; }
/* Calculator pages: the related calculators sit in their own column beside the calculator and never cover the results. */
html body.pr-demo .page-grid { display:grid!important; grid-template-columns:minmax(0,1fr) 272px!important; gap:24px!important; align-items:start!important; width:100%!important; max-width:1120px!important; }
html body.pr-demo .page-grid > .page-main { min-width:0!important; width:auto!important; max-width:100%!important; }
html body.pr-demo .page-grid > .cal-sidebar, html body.pr-demo aside.cal-sidebar { position:sticky!important; top:92px!important; left:auto!important; right:auto!important; width:auto!important; max-width:100%!important; transform:none!important; margin:0!important; align-self:start!important; z-index:auto!important; }
@media (max-width:900px){ html body.pr-demo .page-grid { grid-template-columns:minmax(0,1fr)!important; } html body.pr-demo .page-grid > .cal-sidebar { position:static!important; } }
/* Header on calculator pages: compact. */
html body.pr-demo .site-header .bar { padding-top:10px!important; padding-bottom:10px!important; min-height:0!important; gap:6px 16px!important; }
html body.pr-demo .site-header .brand { font-size:20px!important; }
html body.pr-demo .site-header .brand .mark { width:30px!important; height:30px!important; }
html body.pr-demo .site-header .nav > a, html body.pr-demo .site-header .nav > details.nav-menu > summary { height:36px!important; min-height:36px!important; font-size:15px!important; padding:0 10px!important; }
html body.pr-demo .site-header .search { height:36px!important; }
html body.pr-demo .site-header .search input { font-size:14px!important; }
html body.pr-demo .site-header .icon-btn { width:36px!important; height:36px!important; }
/* A clear gap between the header and the sidebar, and the sidebar stays below the header while scrolling. */
html body.pr-demo .page-grid > .cal-sidebar, html body.pr-demo aside.cal-sidebar { top:112px!important; }
/* Sidebar and calculator start on the same line from the first paint: the title, the updated line and the advert span the full width,
   and the calculator and the sidebar share the row below them (no script, so nothing moves on landing). */
html body.pr-demo .page-grid { display:grid!important; grid-template-columns:minmax(0,1fr) 272px!important; align-items:start!important; }
html body.pr-demo .page-grid > .page-main { display:contents!important; }
html body.pr-demo .page-grid > .page-main > h1.pr-title, html body.pr-demo .page-grid > .page-main > p.pr-updated, html body.pr-demo .page-grid > .page-main > .ad-reserve, html body.pr-demo .page-grid > .page-main > .ad-cream { grid-column:1 / -1!important; grid-row:auto!important; margin:0 0 12px!important; }
html body.pr-demo .page-grid > .page-main > [id$="Form"] { grid-column:1!important; }
html body.pr-demo .page-grid > .cal-sidebar, html body.pr-demo aside.cal-sidebar { grid-column:2!important; grid-row:4!important; margin:0!important; align-self:start!important; position:sticky!important; top:112px!important; }
/* No calculation loading bar: the numbers simply change. */
html body.pr-demo #calcProgress, html body.pr-demo .calc-progress, html body.pr-demo [id$="Progress"] { display:none!important; }
/* Modern result meter and no fade-in on the result tiles. */
html body.pr-demo .mc-results .mc-result { animation:none!important; }
html body.pr-demo .mc-result.is-primary { position:relative; }
html body.pr-demo .mc-result .pr-meter { margin-top:12px; height:4px; border-radius:999px; background:rgba(255,255,255,.14); overflow:hidden; }
html body.pr-demo .mc-result .pr-meter span { display:block; height:100%; width:0%; border-radius:999px; background:linear-gradient(90deg,#34d399,#6ee7a0); }
html body.pr-demo .mc-result:not(.is-primary) .pr-meter { display:none; }
html.dark html body.pr-demo .mc-result .pr-meter { background:rgba(0,0,0,.12); }
html.dark html body.pr-demo .mc-result .pr-meter span { background:linear-gradient(90deg,#065f46,#059669); }
/* The meter bar is removed: only the numbers roll. */
html body.pr-demo .mc-result .pr-meter { display:none!important; }
/* Everything in the content column stays in column 1; only the sidebar sits in column 2. */
html body.pr-demo .page-grid > .page-main > * { grid-column:1!important; }
html body.pr-demo .page-grid > .page-main > h1.pr-title, html body.pr-demo .page-grid > .page-main > p.pr-updated, html body.pr-demo .page-grid > .page-main > .ad-reserve, html body.pr-demo .page-grid > .page-main > .ad-cream { grid-column:1 / -1!important; }
html body.pr-demo .page-grid > .cal-sidebar, html body.pr-demo aside.cal-sidebar { grid-column:2!important; }
/* Odometer results: each digit is a short column that rolls to its new value. */
html body.pr-demo .mc-result-value { font-variant-numeric: tabular-nums; }
html body.pr-demo .od { display:inline-block; position:relative; height:1em; line-height:1em; width:.62em; overflow:hidden; vertical-align:bottom; text-align:center; }
html body.pr-demo .od-strip { display:flex; flex-direction:column; transition:transform .7s cubic-bezier(.2,.8,.2,1); will-change:transform; }
html body.pr-demo .od-strip > span { display:block; height:1em; line-height:1em; }
html body.pr-demo .od-sep { display:inline-block; vertical-align:bottom; line-height:1em; }
html body.pr-demo .od-strip > span::before { content: attr(data-d); }
/* Spaces between a value and its unit are kept in the rolling results (e.g. "5 years"). */
html body.pr-demo .od-sep { white-space: pre; }
html body.pr-demo .mc-result-value { white-space: pre-wrap; }
/* Results stay hidden until their first value arrives: no dash, no zero, just the figures rolling in. */
html body.pr-demo .mc-result-value { opacity:0; }
html body.pr-demo .mc-result-value[data-od-live] { opacity:1; transition:opacity .25s ease; }
@media (prefers-reduced-motion: reduce) { html body.pr-demo .mc-result-value { opacity:1; } }

/* lead line under the title, same as the pay raise page */
html body.pr-demo .pr-lead{margin:-6px 0 4px;font-size:16px;line-height:1.5;color:#475569;max-width:68ch}
html.dark body.pr-demo .pr-lead,html[data-theme="dark"] body.pr-demo .pr-lead{color:#aab4c3}

/* what-if tool */
html body.pr-demo #whatIf{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:20px!important;padding:24px!important;box-shadow:none!important}
html body.pr-demo #whatIf>h2{margin:0 0 14px!important;color:#111827!important;font-size:1.2rem!important}
.wi-tool{display:grid;gap:16px}
.wi-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.wi-field{display:grid;gap:6px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#475569}
.wi-field[hidden]{display:none}
.wi-controls:has(.wi-field[hidden]){grid-template-columns:1fr}
.wi-pick,.wi-box{height:46px;border:1px solid #cbd5e1;border-radius:12px;padding:0 12px;font:600 16px inherit;background:#f8fafc;color:#111827;text-transform:none;letter-spacing:0;width:100%}
.wi-range{width:100%;accent-color:#14532d}
.wi-out{border:1px solid #e2e8f0;border-radius:14px;padding:16px 18px;display:grid;gap:4px}
.wi-label{font-size:13px;font-weight:700;color:#475569}
.wi-value{font-size:32px;font-weight:800;color:#111827;line-height:1.1}
.wi-delta{font-size:15px;color:#475569}
.wi-delta.up{color:#166534}.wi-delta.down{color:#b91c1c}
html.dark .wi-pick,html.dark .wi-box{background:#1a1f27;border-color:#334155;color:#f1f5f9}
html.dark .wi-out{border-color:#2a2a33}html.dark .wi-value{color:#f8fafc}
html.dark body.pr-demo #whatIf{background:#141418!important;border-color:#2a2a33!important}
html.dark body.pr-demo #whatIf>h2{color:#f1f5f9!important}

/* lead line spans the full width and the sidebar sits one row lower, next to the calculator card */
html body.pr-demo .page-grid > .page-main > p.pr-lead{grid-column:1/-1!important;margin:0 0 6px!important;background:transparent!important;border:0!important;padding:0!important}
html body.pr-demo .page-grid > .cal-sidebar, html body.pr-demo aside.cal-sidebar{grid-row:4 / span 3!important}

/* tighter title block: title, updated date and lead line sit close together */
html body.pr-demo .page-grid > .page-main > h1.pr-title{line-height:1.15!important;margin:0!important}
html body.pr-demo .page-grid > .page-main > p.pr-updated{margin:-16px 0 0!important;line-height:1.3!important}
html body.pr-demo .page-grid > .page-main > p.pr-lead{margin:-10px 0 0!important;line-height:1.5!important}

/* advert first, then title, updated date and lead line */
html body.pr-demo .page-grid > .page-main > .ad-reserve{order:-1!important;margin:0 0 4px!important}

/* no layout shift on refresh: the hint line is gone and every result value keeps a fixed height */
html body.pr-demo #calcHint, html body.pr-demo .mc-result-note{display:none!important}
html body.pr-demo .mc-result-value{display:block;line-height:1.2!important;min-height:1.2em}
html body.pr-demo .od{height:1.2em;line-height:1.2em}
html body.pr-demo .od-strip>span{height:1.2em;line-height:1.2em}
html body.pr-demo .od-sep{line-height:1.2em}

/* slightly tighter rhythm between sections */
html body.pr-demo .page-grid{gap:18px 24px!important}

/* phones and tablets: one column; the sidebar goes below the calculator */
@media (max-width: 900px) {
  html body.pr-demo .page-grid { grid-template-columns: minmax(0, 1fr) !important; }
  html body.pr-demo .page-grid > .cal-sidebar, html body.pr-demo aside.cal-sidebar { grid-column: 1 !important; grid-row: auto !important; position: static !important; top: auto !important; }
  html body.pr-demo .page-grid > .page-main > * { grid-column: 1 !important; }
}

/* phone: a clear title, then date and summary with even, small gaps */
@media (max-width: 560px) {
  html body.pr-demo .page-grid > .page-main > h1.pr-title { font-size: 28px !important; line-height: 1.15 !important; margin: 4px 0 0 !important; }
  html body.pr-demo .page-grid > .page-main > p.pr-updated { margin: -8px 0 0 !important; font-size: 12.5px !important; }
  html body.pr-demo .page-grid > .page-main > p.pr-lead { margin: -6px 0 0 !important; font-size: 15px !important; line-height: 1.5 !important; color: #475569; }
  html body.pr-demo .page-grid > .page-main > .ad-reserve { margin: 0 !important; }
  html body.pr-demo .page-grid { gap: 14px !important; }
}

/* phone: the calculator card uses its width, with a small even inset */
@media (max-width: 560px) {
  html body.pr-demo [id$="Form"].calc-card { padding: 12px !important; }
  html body.pr-demo #calculator .mc-grid { padding: 4px !important; }
  html body.pr-demo #calculator .actions, html body.pr-demo #calculator .mc-actions { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10px !important; width: 100% !important; }
  html body.pr-demo #calculator .actions > *, html body.pr-demo #calculator .mc-actions > * { width: 100% !important; margin: 0 !important; }
}
@media (max-width: 560px) {
  html body.pr-demo .page-main > div[id$="Form"].calc-card { padding: 12px !important; }
  html body.pr-demo .page-main #calculator.mc-calculator .mc-grid, html body.pr-demo .page-main #calculator.mc-calculator .mc-inputs { padding-left: 4px !important; padding-right: 4px !important; }
}

/* Result values: large digits, fitted to the card they sit in.
   calc-page.js stores the length of each value in --n; the font size is the card's width divided by the length, up to a cap,
   so a short figure such as $94.36 is shown very large and a long one such as $1,234,567.89 shrinks just enough to stay inside the card. */
html body #calculator.planner-look.mc-calculator .mc-result { container-type: inline-size; }
html body #calculator.planner-look.mc-calculator .mc-result-value {
  --cap: 41px;
  font-size: 34px !important;
  font-size: clamp(22px, calc(100cqw / (max(var(--n, 8), 4) * 0.65)), var(--cap)) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.025em !important;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
html body #calculator.planner-look.mc-calculator .mc-result.is-primary .mc-result-value { --cap: 56px; font-size: 45px !important; font-size: clamp(26px, calc(100cqw / (max(var(--n, 8), 4) * 0.65)), var(--cap)) !important; }
html body #calculator.planner-look.mc-calculator .mc-result-value.mc-result-value--text { font-size: 22px !important; font-size: clamp(18px, 7cqw, 28px) !important; line-height: 1.2 !important; letter-spacing: -0.01em !important; }

/* What-if: quick-tap buttons instead of a drop-down */
.wi-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.wi-chips[hidden]{display:none}
.wi-chip{min-height:44px;padding:0 16px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font:600 14px inherit;cursor:pointer;transition:background-color .12s,border-color .12s}
.wi-chip:hover{border-color:var(--green)}
.wi-chip[aria-pressed="true"]{background:var(--green);border-color:var(--green);color:#fff}
.wi-chip:focus-visible{outline:3px solid var(--green);outline-offset:2px}
