*{box-sizing:border-box;margin:0;padding:0}
:root{--ink:#18212f;--muted:#5e6978;--line:#dbe3ec;--paper:#fff;--blue:#10b981;--blue-dark:#047857;--teal:#059669;--soft:#d1fae5}
body{background:linear-gradient(180deg,#fff 0,#f6f9fc 100%);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.65}
.container{max-width:1180px;margin:auto;padding:0 28px}
header{padding:30px 0 15px}.site-name{color:#111827;font-size:1.85rem;font-weight:900;letter-spacing:-.035em;text-decoration:none}
.breadcrumb{align-items:center;display:flex;flex-wrap:wrap;font-size:.9rem;gap:8px;margin-top:18px}.breadcrumb a{color:var(--blue-dark);text-decoration:none}.breadcrumb a:hover{text-decoration:underline}.breadcrumb span{color:#718096}
.calculator-header{max-width:860px;padding:42px 0 30px}.section-kicker{color:var(--teal);font-size:.78rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.calculator-title{font-family:Georgia,serif;font-size:clamp(2.25rem,5vw,4.1rem);letter-spacing:-.045em;line-height:1.04;margin:9px 0 17px}.calculator-intro{color:var(--muted);font-size:1.16rem;max-width:780px}
.archetype-label{color:#64748b;font-size:.76rem;font-weight:800;letter-spacing:.09em;margin-top:8px;text-transform:uppercase}
.layout{align-items:start;display:grid;gap:26px;grid-template-columns:minmax(0,1.08fr) minmax(310px,.92fr);margin-bottom:62px}
.card{background:var(--paper);border:1px solid var(--line);border-radius:18px;box-shadow:0 12px 35px rgba(30,64,110,.07)}
.calculator-form-card{padding:30px}.calculator-form-card h2{font-family:Georgia,serif;font-size:1.55rem;margin-bottom:22px}
.form-grid{display:grid;gap:20px;grid-template-columns:repeat(2,minmax(0,1fr))}.form-group label{display:block;font-weight:750;margin-bottom:7px}.input-wrap{align-items:center;background:#fff;border:1px solid #bac8d8;border-radius:10px;display:flex;overflow:hidden}.input-wrap:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px rgba(16,185,129,.12)}.input-wrap input,.input-wrap select{background:transparent;border:0;color:var(--ink);font:inherit;min-width:0;outline:0;padding:13px 14px;width:100%}.input-wrap em{background:#f2f6fb;border-left:1px solid var(--line);color:var(--muted);font-size:.88rem;font-style:normal;padding:13px 12px;white-space:nowrap}.hint{color:var(--muted);font-size:.82rem;line-height:1.4;margin-top:7px}
.actions{display:flex;gap:10px;margin-top:25px}.calculate-btn,.clear-btn{border:0;border-radius:10px;cursor:pointer;font:inherit;font-weight:800;padding:13px 20px}.calculate-btn{background:var(--blue-dark);color:#fff}.calculate-btn:hover{background:#102d5a}.clear-btn{background:#edf2f7;color:#3e4b5d}
.results{background:linear-gradient(150deg,#047857,#059669);color:#fff;padding:30px;position:sticky;top:20px}.primary-result{border-bottom:1px solid rgba(255,255,255,.24);padding-bottom:22px}.primary-result .label{font-size:.84rem;font-weight:750;letter-spacing:.08em;opacity:.82;text-transform:uppercase}.primary-result .value{font-family:Georgia,serif;font-size:clamp(2.35rem,5vw,3.7rem);font-weight:700;line-height:1.1;margin-top:8px}.metric-grid{display:grid;gap:14px;margin-top:22px}.metric{background:rgba(255,255,255,.11);border-radius:11px;padding:13px 15px}.metric-label{font-size:.8rem;opacity:.78}.metric-value{font-size:1.18rem;font-weight:800;margin-top:2px}.result-note{font-size:.88rem;line-height:1.55;margin-top:20px;opacity:.88}.error{background:#fff1f0;border:1px solid #fecaca;border-radius:9px;color:#991b1b;margin-top:18px;padding:11px 13px}
.editorial-content{margin:0 auto 72px;max-width:970px}.content-section{margin:0 0 44px}.content-section h2{font-family:Georgia,serif;font-size:clamp(1.65rem,3vw,2.25rem);line-height:1.2;margin-bottom:14px}.content-section h3{font-size:1.08rem;line-height:1.35}.content-section p+p{margin-top:14px}.content-section a{color:var(--blue-dark);font-weight:650;text-decoration-thickness:1px;text-underline-offset:3px}.article-section{max-width:810px}.note-section{border-left:4px solid var(--teal);padding:7px 0 7px 24px}.content-card{padding:27px 30px}.formula-box{background:#172334;border-radius:12px;color:#fff;font-family:ui-monospace,Consolas,monospace;margin:15px 0;padding:19px 22px;overflow-wrap:anywhere}.split-section{display:grid;gap:28px;grid-template-columns:1fr}.split-section.comparison-split{grid-template-columns:1fr 1fr}.split-section>div{border-top:2px solid var(--line);padding-top:17px}.split-section p{margin-top:8px}
.step-list{counter-reset:steps;display:grid;gap:17px;list-style:none;margin-top:18px}.step-list li{padding-left:46px;position:relative}.step-list li:before{align-items:center;background:var(--soft);border-radius:50%;color:var(--blue-dark);content:counter(steps);counter-increment:steps;display:flex;font-weight:850;height:31px;justify-content:center;left:0;position:absolute;top:0;width:31px}.check-list{display:grid;gap:12px;margin:18px 0 0 20px}.method-note{color:var(--muted);font-size:.93rem;line-height:1.6;margin-top:13px}
.faq-list{display:grid;gap:0}.faq-item{border-top:1px solid var(--line);padding:19px 0}.faq-item:first-child{border-top:0}.faq-item p{color:var(--muted);margin-top:7px}
footer{border-top:1px solid var(--line);color:#718096;padding:30px 0 40px;text-align:center}.footer-links{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}.footer-links a{color:#64748b;text-decoration:none}

/* Purpose-driven page types: shared branding, materially different working surfaces. */
.page-archetype--quick .calculator-header{padding-bottom:22px}
.page-archetype--quick .calculator-title{font-size:clamp(2.15rem,4vw,3.45rem);max-width:760px}
.page-archetype--quick .layout{grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);margin-bottom:48px}
.page-archetype--quick .results{border-radius:10px;box-shadow:none;top:14px}
.page-archetype--quick .editorial-content{max-width:820px}
.page-archetype--quick .content-card{border-radius:10px;box-shadow:none}
.page-archetype--quick .example-section{border-bottom:1px solid var(--line);padding-bottom:26px}

.page-archetype--planner .calculator-header{background:linear-gradient(135deg,#ecfdf5,#f0fdfa);border:1px solid #a7f3d0;border-radius:26px;margin:26px 0 34px;max-width:none;padding:38px 42px}
.page-archetype--planner .calculator-header .calculator-intro{max-width:850px}
.page-archetype--planner .layout{grid-template-columns:minmax(340px,.82fr) minmax(0,1.18fr)}
.page-archetype--planner .results{background:linear-gradient(145deg,#064e3b,#0f766e);position:static}
.page-archetype--planner .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.page-archetype--planner .editorial-content{display:grid;gap:0 42px;grid-template-columns:repeat(2,minmax(0,1fr));max-width:1080px}
.page-archetype--planner .editorial-content>.content-section{max-width:none}
.page-archetype--planner .process-section,.page-archetype--planner .record-section,.page-archetype--planner .faq-section{grid-column:1/-1}
.page-archetype--planner .process-section{background:#f0fdfa;border-color:#99f6e4}

.page-archetype--audit .calculator-header{border-left:8px solid #059669;margin:32px 0 36px;max-width:940px;padding:14px 0 14px 30px}
.page-archetype--audit .layout{grid-template-columns:1fr;margin-bottom:54px}
.page-archetype--audit .calculator-form-card{border-radius:12px;box-shadow:none}
.page-archetype--audit .results{align-items:stretch;background:#ecfdf5;border:1px solid #6ee7b7;border-radius:12px;color:var(--ink);display:grid;gap:18px;grid-template-columns:minmax(220px,.75fr) minmax(0,2.25fr);position:static}
.page-archetype--audit .primary-result{border-bottom:0;border-right:1px solid #a7f3d0;padding:8px 22px 8px 0}
.page-archetype--audit .primary-result .label{color:#047857;opacity:1}
.page-archetype--audit .metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin:0}
.page-archetype--audit .metric{background:#fff;border:1px solid #d1fae5;color:var(--ink)}
.page-archetype--audit .metric-label{color:#64748b;opacity:1}
.page-archetype--audit .editorial-content{display:grid;gap:0 46px;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);max-width:1080px}
.page-archetype--audit .editorial-content>.content-section{max-width:none}
.page-archetype--audit .record-section,.page-archetype--audit .process-section{grid-column:1/-1}
.page-archetype--audit .record-section{border-top:4px solid #10b981;padding-top:26px}

.page-archetype--comparison .calculator-header{margin-left:auto;margin-right:auto;text-align:center}
.page-archetype--comparison .calculator-header .calculator-intro{margin-left:auto;margin-right:auto}
.page-archetype--comparison .layout{grid-template-columns:1fr}
.page-archetype--comparison .calculator-form-card{background:#f8fafc;border-radius:28px;box-shadow:none}
.page-archetype--comparison .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.page-archetype--comparison .results{align-items:center;background:linear-gradient(90deg,#047857,#0f766e);display:grid;gap:24px;grid-template-columns:minmax(230px,.7fr) minmax(0,1.3fr);position:static}
.page-archetype--comparison .primary-result{border-bottom:0;border-right:1px solid rgba(255,255,255,.28)}
.page-archetype--comparison .metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin:0}
.page-archetype--comparison .editorial-content{display:grid;gap:0 46px;grid-template-columns:repeat(2,minmax(0,1fr));max-width:1100px}
.page-archetype--comparison .editorial-content>.content-section{max-width:none}
.page-archetype--comparison .example-section,.page-archetype--comparison .method-section,.page-archetype--comparison .record-section{grid-column:1/-1}
.page-archetype--comparison .example-section{background:#172334;border-color:#172334;color:#fff}

.page-archetype--analysis .calculator-header{background:#172334;border-radius:4px;color:#fff;margin:30px 0 38px;max-width:none;padding:42px}
.page-archetype--analysis .calculator-header .section-kicker,.page-archetype--analysis .calculator-header .archetype-label{color:#6ee7b7}
.page-archetype--analysis .calculator-header .calculator-intro{color:#dbe7f2}
.page-archetype--analysis .layout{grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr)}
.page-archetype--analysis .calculator-form-card{border-radius:4px;box-shadow:none}
.page-archetype--analysis .results{background:#fff;border:3px solid #172334;border-radius:4px;color:var(--ink);position:static}
.page-archetype--analysis .primary-result{border-color:var(--line)}
.page-archetype--analysis .primary-result .label{color:#047857;opacity:1}
.page-archetype--analysis .metric{background:#f1f5f9}
.page-archetype--analysis .metric-label{color:#64748b;opacity:1}
.page-archetype--analysis .editorial-content{display:grid;gap:0 48px;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);max-width:1080px}
.page-archetype--analysis .editorial-content>.content-section{max-width:none}
.page-archetype--analysis .method-section,.page-archetype--analysis .record-section{grid-column:1/-1}
.page-archetype--analysis .method-section{border-left:0;border-top:5px solid #059669;padding:24px 0 0}

.page-archetype--outcome .calculator-header{margin-bottom:12px;max-width:960px}
.page-archetype--outcome .calculator-title{color:#064e3b}
.page-archetype--outcome .layout{background:#f8fafc;border:1px solid var(--line);border-radius:22px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:32px}
.page-archetype--outcome .calculator-form-card{border:0;border-radius:0;box-shadow:none}
.page-archetype--outcome .results{background:#fff;border:0;border-left:6px solid #059669;border-radius:0;box-shadow:none;color:var(--ink);position:static}
.page-archetype--outcome .primary-result{border-color:var(--line)}
.page-archetype--outcome .primary-result .label{color:#047857;opacity:1}
.page-archetype--outcome .metric{background:#ecfdf5;border-radius:0}
.page-archetype--outcome .metric-label{color:#64748b;opacity:1}
.page-archetype--outcome .editorial-content{max-width:900px}
.page-archetype--outcome .topic-section{border-left:3px solid #a7f3d0;padding-left:25px}
.page-archetype--outcome .record-section{background:#f8fafc;margin-left:0;padding:30px}

@media(max-width:780px){.container{padding:0 18px}.layout,.page-archetype .layout{grid-template-columns:1fr}.results{position:static}.form-grid,.page-archetype--comparison .form-grid,.split-section,.split-section.comparison-split{grid-template-columns:1fr}.calculator-header{padding-top:28px}.calculator-form-card,.results,.content-card{padding:22px}.editorial-content{margin-bottom:48px}.page-archetype--planner .calculator-header,.page-archetype--analysis .calculator-header{border-radius:12px;margin-top:18px;padding:28px 22px}.page-archetype--planner .editorial-content,.page-archetype--audit .editorial-content,.page-archetype--comparison .editorial-content,.page-archetype--analysis .editorial-content{display:block}.page-archetype--audit .results,.page-archetype--comparison .results{display:block}.page-archetype--audit .primary-result,.page-archetype--comparison .primary-result{border-bottom:1px solid;border-right:0;margin-bottom:18px;padding-bottom:18px}.page-archetype--audit .metric-grid,.page-archetype--planner .metric-grid,.page-archetype--comparison .metric-grid{grid-template-columns:1fr}.page-archetype--outcome .layout{border-radius:12px;padding:18px}.page-archetype--outcome .record-section{margin-left:0}.page-archetype--audit .calculator-header{padding-left:20px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Calculator-specific editorial layouts added during the 2026-08 Education review. */
.editorial-section{width:min(960px,100%);max-width:960px;margin:0 auto 30px;padding-left:0;padding-right:0}
.editorial-section.card{padding:27px 29px}
.editorial-section.editorial-callout{background:#ecfdf5;border-left:3px solid #10b981;padding:23px 27px}
.editorial-section.editorial-columns:not(.card){column-count:2;column-gap:40px}
.editorial-section.editorial-columns h2,.editorial-section.editorial-columns dl,.editorial-section.editorial-columns .faq-list{column-span:all}
.editorial-section .input-definitions{display:grid;grid-template-columns:minmax(180px,.36fr) minmax(0,1fr);gap:0;margin:16px 0}
.editorial-section .input-definitions dt,.editorial-section .input-definitions dd{padding:12px 14px;border-bottom:1px solid var(--line)}
.editorial-section .input-definitions dt{font-weight:800;background:#f8fafc}
.editorial-section .input-definitions dd{color:#374151;margin:0}
.editorial-section .faq-list details{background:#fff;border:1px solid var(--line);border-radius:11px;margin:10px 0;padding:0 18px}
.editorial-section .faq-list summary{cursor:pointer;font-weight:800;padding:16px 0}
.editorial-section .faq-answer p{padding:0 0 16px;margin:0;color:#4b5563}
.primary-result .value{max-width:100%;overflow-wrap:anywhere;word-break:break-word}
@media(max-width:780px){.editorial-section,.editorial-section.card,.editorial-section.editorial-callout{width:100%;padding-left:0;padding-right:0}.editorial-section.card,.editorial-section.editorial-callout{padding:21px}.editorial-section.editorial-columns:not(.card){column-count:1}.editorial-section .input-definitions{grid-template-columns:1fr}.editorial-section .input-definitions dd{padding-top:8px}}
