.dashboard-page{background:#f5f4ee}.prototype-banner{padding:11px 6.5%;display:flex;align-items:center;gap:11px;background:#e9ede3;color:#556b61;font-size:10px;letter-spacing:.2px}.prototype-banner>span:last-child{margin-left:auto}.dashboard-shell{max-width:1320px;margin:auto;padding:55px 40px 30px}.dash-heading{display:flex;justify-content:space-between;align-items:center;gap:35px;margin-bottom:25px}.dash-heading h1{font-family:'Libre Caslon Display',Georgia,serif;font-size:62px;line-height:1.02;font-weight:400;letter-spacing:-1px;margin:20px 0}.dash-heading h1 em{color:#9b825a;font-weight:400}.dash-heading p{color:#6b7d7e;font-size:12px}.dash-heading-actions{display:flex;flex-direction:column;align-items:flex-end;gap:14px}.fiction-badge{font-size:8px;letter-spacing:1.4px;background:#e9e7db;color:#807155;padding:6px 10px;border-radius:3px}.dashboard-notice{font-size:11px;padding:14px 18px;background:#fffdf7;border:1px solid #dce1d5;border-left:3px solid #ae966c;line-height:1.7}.scenario-section{display:flex;justify-content:space-between;align-items:center;gap:25px;margin:38px 0 8px}.scenario-section h2{font-family:'Libre Caslon Display',Georgia,serif;font-size:28px;font-weight:400;margin:0}.scenario-section p{font-size:11px;color:#6c7d7b;margin:3px 0}.scenario-buttons{display:flex;gap:4px;background:#e8ece5;border-radius:5px;padding:5px}.scenario-buttons button{font-size:10px;border:0;background:transparent;color:#647976;padding:10px 14px;border-radius:3px;white-space:nowrap}.scenario-buttons button[aria-pressed=true]{background:#fffefa;color:#183d48;box-shadow:0 2px 8px #15344010}.scenario-caption{color:#7a8075;font-size:10px;margin:12px 0 22px}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:24px}.metric-card{background:#fffefa;border:1px solid #e0e3d9;border-radius:5px;padding:20px 18px;min-height:155px}.metric-card.primary{background:#143744;border-color:#143744;color:#fff}.metric-label{font-size:9px;letter-spacing:.6px;color:#6a7e7c}.primary .metric-label{color:#bfd0ca}.metric-value{font-family:'Libre Caslon Display',Georgia,serif;font-size:32px;line-height:1.2;letter-spacing:-.5px;margin:15px 0 9px;white-space:nowrap}.metric-note{font-size:9px;line-height:1.6;color:#85918a}.primary .metric-note{color:#b7c8bf}.dashboard-grid{display:grid;grid-template-columns:.95fr 1.2fr;gap:24px}.dashboard-card{background:#fffefa;border:1px solid #dfe4d8;border-radius:6px;padding:27px}.card-heading h2,.next-steps h2{font-family:'Libre Caslon Display',Georgia,serif;font-size:32px;line-height:1.1;font-weight:400;margin:13px 0 8px}.card-heading>p,.next-steps>div>p{font-size:11px;color:#78857c;margin:0}.card-heading .eyebrow{font-size:8px}.donut-area{display:flex;align-items:center;gap:20px;padding:28px 0 20px}.donut-area>div:first-child{width:47%;max-width:210px;flex-shrink:0}.donut-area svg{width:100%;display:block}.expense-legend{flex:1}.legend-row{display:flex;align-items:baseline;gap:7px;font-size:9px;margin:9px 0}.legend-row i{display:inline-block;width:7px;height:7px;border-radius:2px;flex-shrink:0}.legend-row strong{margin-left:auto;font-size:9px;white-space:nowrap;font-weight:500}.chart-details{border-top:1px solid #e2e7dc;padding-top:15px;font-size:10px;color:#5d7374}.chart-details summary{cursor:pointer}.chart-details table{width:100%;border-collapse:collapse;margin-top:15px;font-size:10px}.chart-details th{text-align:left;font-weight:500}.chart-details td,.chart-details th{padding:8px 4px;border-bottom:1px solid #e5e9df}.chart-details td:not(:first-child),.chart-details th:not(:first-child){text-align:right}.cash-chart{padding-top:25px;min-height:260px}.cash-chart svg{width:100%;height:auto;display:block}.chart-key{display:flex;gap:18px;font-size:9px;color:#7c8c85;margin:0 0 25px}.chart-key i{display:inline-block;width:12px;height:3px;margin-right:6px;vertical-align:middle}.cash-key{background:#416b6c}.reserve-key{background:#b79a66}.unknown-chart{background:#f1f2e9;border-radius:5px;padding:25px;font-size:12px;color:#6e7f78;line-height:1.7}.next-steps{display:grid;grid-template-columns:.7fr 1fr;gap:45px;margin-top:24px}.next-steps ol{list-style:none;counter-reset:steps;margin:0;padding:0}.next-steps li{counter-increment:steps;display:grid;grid-template-columns:23px 1fr;gap:12px;font-size:12px;padding:13px 0;border-bottom:1px solid #e3e7dc}.next-steps li:last-child{border:0}.next-steps li:before{content:'0' counter(steps);font-size:9px;color:#ab946d;padding-top:4px}.next-steps li span{font-size:10px;display:block;color:#78867d;margin-top:4px}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px}.assumption-details{padding:19px 24px;font-size:12px}.assumption-details summary{cursor:pointer;font-weight:500}.assumption-details p{font-size:11px;color:#6c807c;line-height:1.7}.assumption-details h3{font-size:12px;font-weight:500;margin:20px 0 7px}.closing-note{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:70px;padding:55px 0 25px}.closing-note h2{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;font-size:37px;line-height:1.1;margin:0}.closing-note h2 em{font-weight:400;color:#a28a61}.closing-note p{font-size:11px;color:#7b877e;line-height:1.8}#plan-dialog{width:min(960px,94vw);max-height:90vh;border:1px solid #d8dfd3;border-radius:8px;padding:0;color:#183543;background:#fffdf7;box-shadow:0 30px 120px #102e3e40}#plan-dialog::backdrop{background:#102e3e88;backdrop-filter:blur(3px)}#dashboard-form{padding:30px}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.dialog-heading h2{font-family:'Libre Caslon Display',Georgia,serif;font-size:37px;line-height:1.1;font-weight:400;margin:12px 0}.dialog-heading button{font-size:28px;color:#738279;background:none;border:0;padding:8px}.dialog-intro{font-size:11px;color:#74847a;max-width:690px;line-height:1.7}.question-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:25px}.question-grid fieldset{border:1px solid #dfe4d8;border-radius:5px;padding:18px;min-width:0}.question-grid legend{font-family:'DM Sans',Arial,sans-serif;font-size:12px;font-weight:500;margin:0;padding:0 5px;line-height:1.5}.question-grid legend>span{color:#a38c66;font-size:9px;margin-right:7px}.question-grid label{font-size:10px;margin:0 0 12px}.question-grid select,.question-grid input[type=number],.question-grid input[type=month]{height:39px;font-size:11px;margin-top:6px;background:#fffdf7;width:100%;border:1px solid #cfd8cc;border-radius:3px;color:#21414b;padding:0 10px}.question-grid .field-help{font-size:9px;margin-bottom:0}.question-grid .field-grid{gap:10px}.toggle-label{display:flex;align-items:center;gap:8px;font-weight:400!important}.toggle-label input{accent-color:#224b53}.dialog-actions{border-top:1px solid #dfe5d7;margin-top:25px;padding-top:20px;display:flex;align-items:center;justify-content:space-between;gap:20px}.dialog-actions p{font-size:10px;color:#7f8d80}.dashboard-page svg text{font-family:'DM Sans',Arial,sans-serif}.table-scroll{overflow-x:auto}.chart-details caption{text-align:left;color:#7d8a82;margin-bottom:10px}@media(max-width:1100px){.dashboard-shell{padding:40px 25px}.metric-value{font-size:27px}.dashboard-grid{grid-template-columns:1fr 1.1fr}.donut-area{flex-direction:column}.donut-area>div:first-child{width:180px}.expense-legend{width:100%}.legend-row{margin:6px 0}.scenario-section{align-items:flex-start}.scenario-buttons button{font-size:9px;padding:10px}.cash-chart{min-height:300px}}@media(max-width:760px){.prototype-banner{flex-wrap:wrap;font-size:9px;padding:10px 6%}.prototype-banner>span:last-child{margin-left:17px;width:100%}.dash-heading{align-items:flex-start}.dash-heading h1{font-size:48px}.dash-heading-actions{max-width:200px}.dash-heading-actions .button{font-size:10px;padding:12px 15px;gap:12px}.fiction-badge{font-size:6px;letter-spacing:.7px}.scenario-section{flex-direction:column;gap:15px}.metric-grid{grid-template-columns:1fr 1fr}.metric-value{font-size:32px}.dashboard-grid{grid-template-columns:1fr}.donut-area{flex-direction:row}.donut-area>div:first-child{width:45%}.cash-chart{min-height:0}.details-grid{gap:15px}.closing-note{gap:30px}.next-steps{gap:25px}.question-grid{gap:12px}#dashboard-form{padding:23px}}@media(max-width:520px){.dashboard-shell{padding:30px 17px}.dash-heading{display:block}.dash-heading h1{font-size:46px}.dash-heading-actions{max-width:none;align-items:flex-start;gap:10px;margin-top:20px}.dash-heading-actions .button{font-size:11px;padding:14px 17px}.fiction-badge{font-size:7px}.dash-heading .eyebrow{font-size:7px}.scenario-buttons{width:100%}.scenario-buttons button{white-space:normal;flex:1;font-size:9px;padding:9px 6px}.metric-grid{gap:10px}.metric-card{padding:17px 13px;min-height:145px}.metric-value{font-size:27px}.metric-label{font-size:8px}.metric-note{font-size:8px}.dashboard-card{padding:21px 18px}.card-heading h2{font-size:30px}.donut-area{gap:14px}.legend-row{font-size:8px}.legend-row strong{font-size:8px}.next-steps,.details-grid,.closing-note{grid-template-columns:1fr;gap:20px}.closing-note{padding:35px 0 20px}.closing-note h2{font-size:33px}.question-grid{grid-template-columns:1fr}.dialog-heading h2{font-size:30px}.dialog-actions{align-items:flex-start;flex-direction:column;gap:5px}.dialog-actions .button{width:100%}.chart-details td,.chart-details th{font-size:8px;padding:7px 3px}.chart-key{font-size:8px;gap:10px}.source-details{overflow-wrap:anywhere}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.optional-questions{font-size:10px;color:#657d73;margin:10px 0}.optional-questions summary{cursor:pointer;padding:6px 0}.optional-questions>label:first-of-type{margin-top:10px}.metric-value{font-size:clamp(23px,2.2vw,32px)}@media(max-width:520px){.metric-value{font-size:clamp(20px,6.3vw,27px)}}
/* Review copy stays readable on phones and larger displays. */
.prototype-banner,.dash-heading p,.dashboard-notice,.scenario-section p,.scenario-caption,.metric-label,.metric-note,.card-heading p,.legend-row,.legend-row strong,.chart-key,.chart-details,.chart-details td,.chart-details th,.next-steps p,.next-steps li,.next-steps li span,.assumption-details p,.closing-note p,.dialog-intro,.dialog-actions p,.optional-questions,.field-help{font-size:14px;line-height:1.55}
.fiction-badge{font-size:12px;letter-spacing:.8px}.question-grid label,.question-grid select,.question-grid input,.assumption-details summary,.chart-details summary{font-size:16px}.question-grid legend{font-size:18px}.metric-label{letter-spacing:.4px}.legend-row{gap:9px}.metric-card,.dashboard-card{min-width:0}.metric-note{overflow-wrap:anywhere}
@media(max-width:520px){.prototype-banner{flex-wrap:wrap}.prototype-banner>span:last-child{margin-left:0}.metric-grid{grid-template-columns:1fr}.legend-row,.legend-row strong,.chart-key,.chart-details td,.chart-details th{font-size:14px}.table-scroll,#expense-table{overflow-x:auto}.metric-value{font-size:30px}.dashboard-notice{font-size:14px}}
.scenario-buttons button,.unknown-chart p,.unknown-chart strong{font-size:14px;line-height:1.5}.card-heading .eyebrow,.next-steps .eyebrow{font-size:12px;letter-spacing:1px}.dash-heading .eyebrow{font-size:12px}
/* Detailed preview: body copy remains comfortably readable. */
.allocation-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;border:1px solid #dfe4d8;border-radius:6px;background:#fdfcf6;padding:20px;margin:0 0 25px}.allocation-summary div{display:flex;flex-direction:column;gap:7px;font-size:14px;color:#6b7c74}.allocation-summary strong{font-size:20px;color:#234b54;font-weight:500}.allocation-summary p{grid-column:1/-1;font-size:14px;line-height:1.6;color:#7d7965;margin:0}.education-glossary{font-size:15px;line-height:1.65}.education-glossary dt{font-weight:600;margin-top:14px}.education-glossary dd{margin:3px 0 0;color:#5f7773}.education-glossary [lang=he]{font-size:17px}.detailed-resources{margin-top:24px;font-size:15px;line-height:1.7}.detailed-resources summary{font-size:16px;font-weight:600;cursor:pointer}.detailed-resources a{color:#245967;text-decoration:underline;text-underline-offset:3px}.detailed-resources li{margin-bottom:16px}.question-grid .field-help,.question-grid label,.question-grid select,.question-grid input[type=number],.question-grid input[type=month],.optional-questions{font-size:15px;line-height:1.6}.question-grid select,.question-grid input[type=number],.question-grid input[type=month]{height:46px}.dialog-intro,.dialog-actions p,.assumption-details p{font-size:15px;line-height:1.65}.question-grid .field-help{margin-top:8px;margin-bottom:14px}.cash-card .chart-details table{min-width:650px}.expense-card .chart-details table{min-width:350px}@media(max-width:760px){.allocation-summary{grid-template-columns:1fr;gap:17px}.allocation-summary div{flex-direction:row;justify-content:space-between;align-items:baseline;gap:15px}.allocation-summary strong{white-space:nowrap;font-size:18px}.detailed-resources{padding:20px}.question-grid label,.question-grid select,.question-grid input[type=number],.question-grid input[type=month]{font-size:16px}}@media(max-width:520px){.allocation-summary div{flex-direction:column;gap:3px}.dialog-heading h2{font-size:30px}.question-grid .field-help{font-size:14px}.question-grid legend{font-size:17px}}
/* Keep questionnaire controls aligned, including native iOS month inputs. */
#dashboard-form,#dashboard-form fieldset,#dashboard-form label,#dashboard-form .field-grid{box-sizing:border-box;min-width:0;max-width:100%}
#dashboard-form .field-grid{align-items:end}
#dashboard-form select,#dashboard-form input[type=number],#dashboard-form input[type=month]{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;margin-top:8px}
#dashboard-form input[type=month]{appearance:none;-webkit-appearance:none;text-align:left;padding:10px;line-height:1.4}
#dashboard-form input[type=month]::-webkit-date-and-time-value{text-align:left;min-width:0}
@media(max-width:600px){#dashboard-form .field-grid{grid-template-columns:minmax(0,1fr);gap:0}#dashboard-form .question-grid{grid-template-columns:minmax(0,1fr)}#dashboard-form .question-grid fieldset{width:100%;padding:18px}#dashboard-form .question-grid legend{max-width:100%;box-sizing:border-box}#dashboard-form label{display:block;width:100%}#dashboard-form .toggle-label{display:flex}}

.child-care-card{min-width:0;padding:14px;border:1px solid #d9dfd2;border-radius:6px}.child-care-card .field-help{font-size:14px;line-height:1.6}
