.calculator-content{justify-content:flex-start;padding:22px 0 36px}.calculator-shell{padding:0 clamp(18px,5vw,90px)}.calculator-content,.calculator-shell .kpss-nav,.calculator-shell .kpss-footer{width:min(1160px,100%)}.calculator-content .kpss-page-intro{align-items:center;margin-bottom:17px;gap:20px}.calculator-content .kpss-eyebrow{margin-bottom:10px;font-size:14px;letter-spacing:.14em}.calculator-content .kpss-eyebrow span{width:26px}.calculator-content h1{font-size:clamp(26px,2.5vw,34px);line-height:1.05}.calculator-content .kpss-page-intro>div:first-child>p:last-child{margin-top:8px;font-size:13px;line-height:1.5}.calculator-content h1 span{color:var(--blue)}.calculator-stamp{display:grid;gap:5px;border-left:3px solid var(--yellow);padding:9px 15px}.calculator-stamp strong{font-size:18px;letter-spacing:-.035em}.calculator-stamp span{color:var(--muted);font-size:10px}
.calculator-layout{display:grid;grid-template-columns:minmax(320px,.95fr) minmax(0,1.2fr);gap:22px;align-items:start}.entry-panel,.preview-panel,.comparison-panel,.method-panel{border:1px solid var(--line);border-radius:3px;background:var(--surface)}.entry-panel{padding:25px}.section-heading,.preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.calculator-content h2{margin:8px 0 0;font-size:23px;letter-spacing:-.035em;font-weight:750}.panel-description,.preview-description{margin:12px 0 18px;color:var(--muted);font-size:12px;line-height:1.65}.text-button{padding:8px 0;border:0;background:none;color:var(--blue);font-size:11px;cursor:pointer;white-space:nowrap}
.answer-head,.answer-row{display:grid;grid-template-columns:minmax(0,1fr) 61px 61px 47px;gap:8px;align-items:center}.answer-head{padding:12px 0;border-bottom:1px solid var(--line);font-size:9px;color:var(--muted);letter-spacing:.05em}.answer-head span:not(:first-child){text-align:center}.answer-row{padding:13px 0;border-bottom:1px solid #e5e7df}.answer-name strong{display:block;font-size:12px;font-weight:700;line-height:1.4}.answer-name small{display:block;margin-top:4px;font-size:10px;color:var(--muted)}.answer-row input{min-width:0;width:100%;height:40px;padding:4px;border:1px solid #c4ceca;border-radius:2px;background:#fff;color:var(--ink);text-align:center;font-size:14px;appearance:textfield;-moz-appearance:textfield}.answer-row input::-webkit-inner-spin-button{appearance:none}.answer-row input[aria-invalid="true"]{border-color:#a33732;background:#fff5ef}.answer-net{font-size:13px;text-align:center;font-weight:750;color:var(--blue);font-variant-numeric:tabular-nums}.input-section{border-bottom:1px solid var(--line)}.input-section summary{padding:18px 0;font-size:12px;font-weight:700;cursor:pointer}.input-section summary span{margin-left:4px;color:var(--muted);font-size:10px;font-weight:400}.branch-field{display:grid;gap:8px;margin:15px 0}.branch-field label,.source-selector{font-size:12px;font-weight:650}.branch-field select,.source-selector select,.type-picker select{width:100%;min-height:40px;padding:0 10px;border:1px solid #c4ceca;background:#fff;color:var(--ink);border-radius:2px}
.calculate-button{display:flex;width:100%;min-height:48px;justify-content:space-between;align-items:center;margin-top:23px;padding:0 16px;border:0;border-radius:2px;background:var(--navy);color:var(--paper);font-size:13px;font-weight:700;cursor:pointer}.calculate-button span:last-child{color:var(--yellow);font-size:24px}.calculate-button:hover{background:#2d5267}.entry-footnote{color:var(--muted);font-size:10px;line-height:1.7;margin:12px 0 0}.calculator-error{margin:16px 0 0;line-height:1.6}
.preview-panel{padding:25px;background:#eef1ed}.preview-heading{align-items:flex-end}.type-picker{display:grid;gap:3px;color:var(--muted);font-size:9px}.type-picker select{min-width:90px;min-height:36px;font-size:12px;font-weight:700}.net-summary{display:grid;grid-template-columns:1fr 1fr;padding:19px 0 23px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:18px 0 22px}.net-summary>div{display:grid;grid-template-columns:auto 1fr;align-items:baseline;column-gap:6px}.net-summary>div+div{padding-left:25px;border-left:1px solid var(--line)}.net-summary span{grid-column:1/-1;font-size:9px;letter-spacing:.08em;color:var(--muted);margin-bottom:7px}.net-summary strong{font-size:30px;letter-spacing:-.045em;font-variant-numeric:tabular-nums}.net-summary small{color:var(--muted);font-size:11px}.year-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.year-card{min-width:0;padding:14px 7px 11px;background:var(--surface);border:1px solid var(--line);text-align:center}.year-card:last-child{border-top:3px solid var(--yellow);padding-top:12px}.year-card .year{font-size:11px;font-weight:700}.year-card strong{display:block;font-size:clamp(17px,2.1vw,25px);letter-spacing:-.055em;margin:16px 0 4px;font-variant-numeric:tabular-nums}.year-card small{display:block;min-height:27px;font-size:8px;line-height:1.5;color:var(--muted)}.year-bar{height:3px;margin-top:13px;background:#e4e8df}.year-bar span{display:block;height:100%;background:var(--blue)}.year-card:last-child .year-bar span{background:#b48725}
.estimate-note{display:flex;gap:10px;margin-top:23px;padding-top:17px;border-top:1px solid var(--line)}.estimate-note>span{display:grid;width:19px;height:19px;flex:none;place-items:center;border:1px solid var(--blue);border-radius:50%;color:var(--blue);font-size:12px}.estimate-note p{margin:0;color:var(--muted);font-size:10px;line-height:1.7}.estimate-note strong{display:block;margin-bottom:3px;color:var(--ink);font-size:11px}.results-status{color:var(--blue);font-size:11px;line-height:1.6;margin:16px 0 0}.comparison-panel{padding:25px;margin-top:24px}.outline-button{min-height:36px;padding:0 12px;border:1px solid var(--blue);background:transparent;color:var(--ink);font-size:11px;font-weight:650;cursor:pointer}.comparison-toolbar{display:flex;gap:15px;align-items:center;justify-content:space-between;margin-top:22px;color:var(--muted);font-size:11px}.comparison-toolbar label{display:flex;gap:7px;align-items:center}.comparison-toolbar input{accent-color:var(--blue)}
.table-scroll{overflow-x:auto}.comparison-table,.statistics-table{width:100%;border-collapse:collapse;text-align:left;font-variant-numeric:tabular-nums}.comparison-table{min-width:700px}.comparison-table th,.statistics-table th{padding:13px 12px;background:#e9ede7;color:var(--blue);font-size:10px;font-weight:750;letter-spacing:.05em}.comparison-table td,.comparison-table tbody th,.statistics-table td{padding:16px 12px;border-bottom:1px solid var(--line);font-size:13px}.comparison-table tbody th{background:transparent;color:var(--ink);letter-spacing:0;min-width:125px}.comparison-table td strong{font-size:18px;font-weight:700}.comparison-table td small{display:block;color:var(--muted);font-size:9px;line-height:1.6;margin-top:5px;max-width:170px}.comparison-table .featured-row{background:#f4f1df}.comparison-table tbody th button{border:0;padding:0;color:inherit;background:none;font:inherit;font-weight:750;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.method-panel{margin-top:24px}.method-panel>details+details{border-top:1px solid var(--line)}.method-panel summary{padding:20px 25px;cursor:pointer;font-size:13px;font-weight:700}.method-panel summary span{float:right;color:var(--muted);font-size:10px;font-weight:400}.method-copy,.source-content{padding:0 25px 22px}.method-copy p{margin:0 0 12px;max-width:940px;color:var(--muted);font-size:12px;line-height:1.8}.method-copy strong{color:var(--ink)}.source-links{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:16px 0 24px}.source-links div{border-left:2px solid var(--yellow);padding-left:10px}.source-links strong{display:block;font-size:13px;margin-bottom:8px}.source-links a{display:block;color:var(--blue);margin:6px 0;font-size:10px}.source-selector{display:grid;gap:9px;max-width:330px;margin-bottom:18px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.no-script{margin:20px;padding:20px;background:var(--surface)}.calculator-content :focus-visible{outline:2px solid var(--blue);outline-offset:3px}[hidden]{display:none!important}
@media(max-width:820px){.calculator-layout{grid-template-columns:1fr}.year-card strong{font-size:27px}.calculator-stamp{display:none}}@media(max-width:560px){.calculator-content{padding-top:32px}.entry-panel,.preview-panel,.comparison-panel{padding:18px}.calculator-content h1{font-size:42px}.calculator-content h2{font-size:21px}.answer-head,.answer-row{grid-template-columns:minmax(0,1fr) 55px 55px 42px;gap:5px}.year-cards{gap:4px}.year-card{padding-right:3px;padding-left:3px}.year-card strong{font-size:21px}.year-card small{font-size:8px}.comparison-toolbar{align-items:flex-start;flex-direction:column;gap:8px}.method-panel summary{padding:18px}.method-panel summary span{display:block;float:none;margin-top:8px}.method-copy,.source-content{padding-right:18px;padding-left:18px}.source-links{grid-template-columns:repeat(3,1fr);gap:16px}}

.year-card.reference-card strong{font-size:clamp(12px,1.4vw,19px);letter-spacing:-.04em}@media(max-width:820px){.year-card.reference-card strong{font-size:22px}}@media(max-width:560px){.year-card.reference-card strong{font-size:12px}}

.level-picker{max-width:360px;margin:0 0 17px}.level-picker select{font-size:14px;min-height:46px}
@media(max-width:560px){.calculator-content .kpss-eyebrow{font-size:12px}.calculator-content h1{font-size:28px}}

/* Calculator page styling aligned with the supplied homepage design. */
body:has(.calculator-shell) { background: #f7f9f7; }
.calculator-shell { padding: 0; }
.calculator-shell .kpss-nav, .calculator-shell .kpss-footer, .calculator-shell .calculator-content { width: min(1200px, calc(100% - 40px)); }
.calculator-shell .kpss-nav { min-height: 82px; border-bottom: 1px solid #dfe7e4; border-radius: 0; background: #fff; color: #173847; }
.calculator-shell .kpss-brand { color: #173847; }
.calculator-shell .kpss-brand span { color: #f3b63f; }
.calculator-shell .home-link { color: #173847; }
.calculator-shell .home-link:hover { color: #19647a; }
.calculator-shell .kpss-nav-actions .account-entry { min-height: 44px; padding: 0 17px; border-color: #dfe7e4; border-radius: 10px; background: #fff; color: #173847; }
.calculator-shell .kpss-nav-actions .account-entry:hover { border-color: #9eb6ba; background: #f4f8f7; color: #19647a; }
.calculator-content { padding: 63px 0 35px; }
.calculator-content .kpss-page-intro { align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 53px; }
.calculator-content .kpss-page-intro > div:first-child { max-width: 760px; }
.calculator-content .kpss-eyebrow { gap: 11px; margin-bottom: 0; color: #19647a; font-size: 11px; letter-spacing: .14em; }
.calculator-content .kpss-eyebrow span { width: 9px; height: 9px; border-radius: 50%; background: #f3b63f; }
.calculator-content h1 { margin: 30px 0 17px; color: #173847; font-size: clamp(38px, 4.2vw, 52px); font-weight: 800; letter-spacing: -.047em; line-height: 1.12; }
.calculator-content .kpss-page-intro > div:first-child > p:last-child { max-width: 690px; margin: 0; color: #5d7480; font-size: 17px; line-height: 1.65; }
.calculator-content .level-picker { display: grid; min-width: 340px; max-width: 340px; gap: 12px; margin: 0; padding: 21px; border: 1px solid #dfe7e4; border-radius: 16px; background: #fff; box-shadow: 0 14px 42px #193d4509; }
.calculator-content .level-picker label { color: #5d7480; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.calculator-content .level-picker select { min-height: 57px; padding: 0 16px; border: 1px solid #dfe7e4; border-radius: 10px; background: #fff; color: #173847; font-size: 15px; }
.calculator-section-top { display: flex; align-items: center; justify-content: space-between; margin: 0 0 20px; padding: 0 0 16px; border-top: 1px solid #dfe7e4; color: #5d7480; }
.calculator-section-top span { padding-top: 20px; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.calculator-layout { grid-template-columns: minmax(0,.96fr) minmax(0,1.04fr); gap: 22px; align-items: stretch; }
.entry-panel, .preview-panel, .comparison-panel, .method-panel { position: relative; overflow: hidden; border: 1px solid #dfe7e4; border-radius: 18px; background: #fff; box-shadow: 0 14px 42px #193d4509; }
.entry-panel, .preview-panel, .comparison-panel { padding: 29px 27px 21px; }
.entry-panel::before, .preview-panel::before, .comparison-panel::before { position: absolute; top: 0; right: 0; left: 0; height: 5px; background: #f3b63f; content: ""; }
.preview-panel { background: #f4f8f7; }
.preview-panel::before { background: #19647a; }
.calculator-content h2 { color: #173847; font-size: 30px; letter-spacing: -.04em; }
.selection-kicker { color: #19647a; font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.panel-description, .preview-description { color: #5d7480; font-size: 13px; }
.text-button { color: #19647a; font-size: 12px; }
.answer-head, .answer-row { grid-template-columns: minmax(0,1fr) 74px 74px 61px; gap: 12px; }
.answer-head { color: #83939a; font-size: 10px; letter-spacing: .08em; }
.answer-row { min-height: 94px; }
.answer-name strong { color: #173847; font-size: 14px; }
.answer-name small { color: #83939a; font-size: 12px; }
.answer-row input { height: 50px; border-color: #dfe7e4; border-radius: 8px; color: #173847; font-size: 16px; }
.answer-net { color: #19647a; font-size: 14px; }
.input-section { border-color: #dfe7e4; }
.input-section summary { color: #173847; font-size: 13px; }
.input-section summary span { color: #83939a; }
.branch-field select, .source-selector select, .type-picker select { min-height: 42px; border-color: #dfe7e4; border-radius: 8px; color: #173847; }
.calculate-button { min-height: 63px; border-radius: 10px; background: #173847; font-size: 15px; }
.calculate-button:hover { background: #255363; }
.calculate-button span:last-child { color: #f3b63f; }
.entry-footnote, .results-status { color: #5d7480; font-size: 12px; }
.preview-heading { align-items: center; }
.type-picker { color: #83939a; font-size: 10px; }
.type-picker select { border-radius: 8px; }
.preview-description { margin: 15px 0 28px; }
.net-summary { padding: 19px 17px; border: 0; border-radius: 12px; background: #eaf2f4; }
.net-summary span { color: #83939a; font-size: 10px; }
.net-summary strong { color: #173847; }
.net-summary small { color: #5d7480; }
.year-cards { gap: 10px; }
.year-card { padding: 18px 8px 17px; border: 1px solid #dfe7e4; border-radius: 11px; background: #fff; }
.year-card:last-child { padding-top: 15px; border-top: 4px solid #f3b63f; }
.year-card .year { color: #173847; font-size: 13px; }
.year-card strong { color: #173847; font-size: clamp(17px, 2vw, 25px); }
.year-card small { color: #83939a; font-size: 9px; }
.year-bar { border-radius: 3px; background: #dfe7e4; }
.year-bar span, .year-card:last-child .year-bar span { border-radius: inherit; background: #19647a; }
.estimate-note { gap: 12px; border-color: #dfe7e4; }
.estimate-note > span { border-color: #19647a; color: #19647a; }
.estimate-note p { color: #5d7480; font-size: 11px; }
.estimate-note strong { color: #173847; font-size: 12px; }
.comparison-panel { margin-top: 22px; }
.outline-button { min-height: 40px; border-color: #dfe7e4; border-radius: 9px; color: #173847; }
.comparison-table th, .statistics-table th { background: #eaf2f4; color: #19647a; }
.comparison-table td, .comparison-table tbody th, .statistics-table td { border-color: #dfe7e4; }
.comparison-table .featured-row { background: #fdf3d8; }
.method-panel { margin-top: 22px; }
.method-panel summary { color: #173847; }
.method-panel summary span { color: #5d7480; }
.method-copy p { color: #5d7480; }
.method-copy strong { color: #173847; }
.source-links a { color: #19647a; }
.calculator-content :focus-visible { outline-color: #19647a; }
.calculator-shell .kpss-footer { margin-top: 25px; padding: 25px 0; border-color: #dfe7e4; color: #5d7480; }
.calculator-shell .kpss-footer a { color: #173847; }
.calculator-shell .kpss-footer a::first-letter { color: #f3b63f; }
/* Keep the calculator aligned with the supplied full-width reference layout. */
.calculator-shell { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.calculator-shell .kpss-nav {
    width: 100vw;
    min-height: 83px;
    margin-left: calc(50% - 50vw);
    padding: 0 max(calc((100vw - 1200px) / 2), 20px);
}
.calculator-shell .calculator-content { padding-top: 63px; }
.calculator-shell .calculator-content h1 { font-size: 51px; font-weight: 750; letter-spacing: -2.4px; line-height: 1.12; }
.calculator-section-top { margin-bottom: 20px; padding: 21px 0 0; }
.calculator-section-top span { padding-top: 0; line-height: 13px; }
.entry-panel .section-heading h2 { margin-top: 16px; }
.entry-panel .panel-description { margin-top: 16px; margin-bottom: 27px; }
.answer-head { padding: 0 0 13px; }
.input-section summary { display: flex; min-height: 62px; align-items: center; padding: 0; }
.input-section summary::marker { color: #19647a; }
.input-section summary span { margin-left: auto; }
.calculate-button { margin-top: 29px; }
.entry-footnote { margin-top: 16px; line-height: 1.6; }
.preview-heading { align-items: flex-start; }
.preview-heading h2 { margin: 16px 0 12px; }
.type-picker { min-width: 97px; margin-top: 0; gap: 9px; }
.type-picker select { min-height: 48px; }
.preview-description { margin: 1px 0 27px; }
.net-summary { margin-bottom: 34px; padding-bottom: 19px; }
.net-summary strong { font-size: 34px; line-height: 1.3; }
.net-summary span { font-size: 11px; }
.net-summary small { margin-left: 10px; font-size: 13px; }
.years-label { margin: 0 0 15px; color: #5d7480; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.year-card { padding-bottom: 20px; background: #f4f8f7; }
.year-card:last-child { padding-top: 15px; border-color: #ebd8a9; border-top: 4px solid #f3b63f; background: #fdf3d8; }
.year-card strong { margin: 23px 0 12px; font-size: 29px; }
.year-card small { min-height: 0; font-size: 10px; }
.year-bar { display: none; }
.estimate-note {
    display: block;
    margin-top: 34px;
    padding: 20px 18px;
    border: 0;
    border-radius: 12px;
    background: #f4f8f7;
}
.estimate-note-heading { display: flex; align-items: center; gap: 12px; color: #173847; font-size: 13px; font-weight: 750; }
.estimate-note-heading > span { display: grid; width: 25px; height: 25px; flex: none; place-items: center; border: 0; border-radius: 50%; background: #eaf2f4; color: #19647a; font-size: 14px; }
.estimate-note p { margin: 11px 0 0 37px; color: #5d7480; font-size: 12px; line-height: 1.55; }
.results-status { margin: 21px 0 0; color: #19647a; font-size: 13px; line-height: 1.2; }
.calculator-helper { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 12px 14px; border-radius: 9px; background: #f4f8f7; color: #5d7480; font-size: 12px; line-height: 1.55; }
.calculator-helper span { display: grid; width: 18px; height: 18px; flex: none; place-items: center; border: 1px solid #19647a; border-radius: 50%; color: #19647a; font-size: 11px; }
@media (max-width: 560px) {
    .calculator-shell .kpss-nav { min-height: 72px; }
    .calculator-shell .calculator-content { padding-top: 38px; }
    .calculator-shell .calculator-content h1 { font-size: 38px; }
    .calculator-shell .calculator-content, .calculator-shell .kpss-footer { width: 100%; }
}
@media(max-width:900px) {
    .calculator-content .kpss-page-intro { align-items: stretch; }
    .calculator-content .level-picker { min-width: 0; max-width: 460px; }
}
@media(max-width:820px) {
    .calculator-layout { grid-template-columns: 1fr; }
    .calculator-content .level-picker { max-width: none; }
}
@media(max-width:600px) {
    .calculator-shell { padding: 0 19px; }
    .calculator-shell .kpss-nav { height: 72px; min-height: 72px; }
    .calculator-content { padding: 38px 0 25px; }
    .calculator-content .kpss-page-intro { gap: 22px; margin-bottom: 32px; }
    .calculator-section-top { margin-bottom: 15px; padding-bottom: 13px; }
    .calculator-section-top span { padding-top: 17px; font-size: 9px; }
    .calculator-content h1 { margin: 22px 0 12px; font-size: 38px; }
    .calculator-content .kpss-page-intro > div:first-child > p:last-child { font-size: 14px; }
    .calculator-content .level-picker { padding: 16px; }
    .entry-panel, .preview-panel, .comparison-panel { padding: 25px 17px 19px; }
    .calculator-content h2 { font-size: 25px; }
    .answer-head, .answer-row { grid-template-columns: minmax(0,1fr) 55px 55px 42px; gap: 5px; }
    .answer-row { min-height: 90px; }
    .year-cards { gap: 4px; }
    .year-card { padding: 16px 3px 13px; }
    .year-card:last-child { padding-top: 13px; }
    .year-card strong { font-size: 21px; }
    .year-card small { font-size: 8px; }
    .calculator-shell .kpss-footer { margin-top: 14px; align-items: flex-start; flex-direction: row; }
}
