:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#163d33;background:#f7f8f2;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header{max-width:1100px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:28px 32px;border-bottom:1px solid #dbe4d7}a{color:inherit;text-underline-offset:4px}.brand{font-size:32px;font-weight:750;letter-spacing:-1px;text-decoration:none}.brand span{font-weight:400}header>a:not(.brand){font-size:13px}main{max-width:680px;margin:52px auto;padding:0 24px}.flow{min-height:65vh}.eyebrow{font-size:11px;letter-spacing:2px;color:#5a7167;margin-bottom:26px;font-weight:700}h1{font-size:clamp(32px,5vw,48px);line-height:1.12;letter-spacing:-1.6px;font-weight:550;margin:22px 0;white-space:pre-line}h1:focus{outline:none}h2{font-size:20px;letter-spacing:-.4px;margin:26px 0 16px}p,li{line-height:1.6;font-size:15px}.lead{font-size:18px;color:#556d61;line-height:1.55;margin-bottom:28px}.progress{display:flex;list-style:none;padding:0;gap:10px;margin-bottom:34px}.progress li{flex:1;border-top:3px solid #d7dfd1;padding-top:9px;font-size:12px;color:#526558}.progress .current{border-color:#234d3f;color:#234d3f;font-weight:700}.progress .complete{border-color:#a5b78f}.field{display:flex;flex-direction:column;gap:8px;margin:22px 0;font-size:14px;font-weight:600}input,select{font:inherit;font-size:17px;width:100%;padding:16px;border:1px solid #becbbc;border-radius:10px;background:white;color:#163d33;min-width:0}small{display:block;color:#65766a;font-size:12px;line-height:1.5;font-weight:400}button{font:inherit;cursor:pointer}button,a,input,select,summary{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #426b35}.primary{display:block;width:100%;border:0;border-radius:12px;padding:18px 20px;background:#234e3c;color:white;font-weight:650;margin:28px 0 12px}.primary:hover{background:#173b2e}.secondary,.choice{padding:17px 19px;border:1px solid #cbd6c6;border-radius:12px;background:#fff;color:#234e3c;text-align:left}.secondary{display:block;margin:16px 0}.choices{display:grid;gap:12px;margin:23px 0}.choice{width:100%;font-weight:550;min-height:58px}.choice.selected{border:2px solid #395d36;background:#edf2e5}.text-button{background:none;border:0;color:#315842;text-decoration:underline;text-underline-offset:4px;padding:14px 0;font-size:14px;display:block}.notice{padding:15px 18px;border-radius:10px;background:#ecf1e3;font-size:13px}.privacy{font-size:12px;color:#526558;margin:30px 0}.check{display:flex;gap:12px;font-size:14px;line-height:1.5;margin:22px 0}.check input{width:20px;height:20px;flex-shrink:0;margin:2px 0}.error{background:#fff0e9;color:#893a29;padding:16px;border-radius:8px}.count{font-size:22px;letter-spacing:-.5px}details{border-top:1px solid #d7dfd1;margin:22px 0;padding-top:15px}summary{cursor:pointer;font-size:14px;font-weight:600}details p{font-size:14px}.vest,.explore{background:#fff;border:1px solid #d9e1d3;border-radius:16px;padding:22px;margin:22px 0}.review-row{padding:17px 0;border-bottom:1px solid #d8e1d2;display:grid;grid-template-columns:1fr auto;gap:8px;font-size:14px}.review-row .text-button{grid-column:1/-1;padding:0;font-size:12px;text-align:left}.big-number{font-size:clamp(50px,10vw,76px);letter-spacing:-3px;font-weight:550;margin:10px 0 22px}.result-label{font-size:13px;text-transform:uppercase;letter-spacing:1px;color:#65776a}.sample{font-size:12px;background:#fff0d3;color:#765627;padding:10px 14px;border-radius:8px}.date-row{display:flex;gap:15px;align-items:center}.date-row .field{flex:1}.date-row button{flex-shrink:0}footer{text-align:center;border-top:1px solid #dce3d5;padding:24px;color:#526558;font-size:12px;line-height:1.9}@media(max-width:520px){header{padding:22px 20px}main{margin:30px auto;padding:0 22px}.progress li{font-size:11px}.lead{font-size:16px}h1{letter-spacing:-1px}.vest,.explore{padding:18px}.review-row{grid-template-columns:1fr}.primary{min-height:56px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.legal{max-width:720px;margin:auto;line-height:1.7}.legal h1{font-size:clamp(30px,7vw,48px)}.legal h2{font-size:21px;margin-top:32px}.legal p{overflow-wrap:anywhere}

.result-section{border:1px solid #d9e1d3;border-radius:12px;margin:14px 0;background:white;overflow:hidden}.result-section h3{margin:0}.section-toggle{width:100%;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px;border:0;background:transparent;color:inherit;text-align:left;font-weight:600;line-height:1.5}.section-toggle::after{content:'+';font-size:24px;flex-shrink:0}.section-toggle[aria-expanded=true]::after{content:'−'}.result-section .explore{border:0;border-radius:0;margin:0;padding-top:0}.explore[hidden]{display:none}.scenario-status{padding:0 20px 16px}

/* Constrain native Safari date controls, including inside flex rows and cards. */
.field{min-width:0;max-width:100%}
input[type="date"]{display:block;box-sizing:border-box;min-width:0;min-inline-size:0;width:100%;max-width:100%;max-inline-size:100%;min-height:56px;-webkit-appearance:none;appearance:none;text-align:left}
input[type="date"]::-webkit-date-and-time-value{min-width:0;text-align:left}
input[type="date"]::-webkit-datetime-edit{min-width:0;padding:0}
.result-amount{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 16px;margin:10px 0 16px}
.result-amount .big-number{margin:0;overflow-wrap:anywhere;min-width:0}
.amount-direction{font-size:22px;font-weight:600;line-height:1.3}
.result-totals{border-top:1px solid #d7dfd1;border-bottom:1px solid #d7dfd1;margin:24px 0;padding:8px 0}
.result-totals>div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;font-size:15px;line-height:1.5}
.result-totals dd{margin:0;font-weight:650;white-space:nowrap}
@media(max-width:380px){.result-totals>div{flex-wrap:wrap;gap:4px}.amount-direction{font-size:20px}}
@media(max-width:380px){.date-row{flex-wrap:wrap;gap:0}.date-row .field{flex:1 1 100%}.date-row button{margin-left:auto}}

.scenario-result{border-top:1px solid #d7dfd1;padding-top:12px;margin-top:20px}.scenario-result h4{margin:8px 0;font-size:18px}.payment-date{font-weight:600}

.prior-subsection{border:1px solid #d7dfd1;border-radius:10px;margin:22px 0}.prior-body{padding:0 18px 18px}.prior-body[hidden]{display:none}

.results-sticky{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:1fr 1fr;gap:16px;background:#f7f8f2;border:1px solid #cbd6c6;border-radius:12px;padding:14px 18px;margin:0 0 24px;box-shadow:0 3px 12px #163d3312}
.results-sticky span{display:block;font-size:12px;line-height:1.4;color:#4b6257}.results-sticky strong{display:block;font-size:24px;line-height:1.3;margin-top:5px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.results-sticky .summary-owed strong{color:#a5362b}.results-sticky .summary-refund strong{color:#236746}.results-sticky .summary-even strong{color:#163d33}
.summary-updated{animation:summary-highlight 1.8s ease-out}.prior-benefit{padding:0 20px 16px}.prior-note{font-size:14px;color:#4b6257}h1,input,select,button,summary{scroll-margin-top:130px}
@keyframes summary-highlight{from{background:#e1ebca}to{background:#f7f8f2}}
@media(max-width:380px){.results-sticky{padding:12px;gap:10px}.results-sticky strong{font-size:21px}.results-sticky span{font-size:11px}}
@media(prefers-reduced-motion:reduce){.summary-updated{animation:none;background:#edf2e5}}

/* Date validation: keep the correction with its field and reveal it on Continue. */
.field input[aria-invalid="true"]{border:2px solid #a5362b;background:#fffaf8}
.field-error,.validation-summary{color:#a5362b;font-weight:600}
.field-error{display:block;margin-top:8px}
.field-error[hidden],.validation-summary[hidden]{display:none}
.validation-summary{margin:20px 0 10px}
.field input:focus-visible{outline:3px solid #557947;outline-offset:3px}

/* Readable helper text and consistent validation across controls. */
small,.privacy,footer,.eyebrow,.progress li{font-size:14px}
.field-error{color:#a5362b;font-weight:600}
[aria-invalid="true"]{border:2px solid #a5362b}
.check{flex-wrap:wrap}.check>span{flex:1}.check>.field-error{flex-basis:100%;margin-left:32px}
.review-row .text-button{font-size:14px;min-height:44px}
@media(max-width:520px){.progress li{font-size:12px}.results-sticky span{font-size:12px}}

.reviewed-value{padding:12px 0;border-bottom:1px solid #d7dfd1;display:grid;grid-template-columns:1fr auto;gap:8px;font-size:15px;line-height:1.5}
.reviewed-value>details{grid-column:1/-1;border:0;padding:0;margin:0}
.reviewed-value>details>summary{font-weight:400;color:#315842;min-height:32px}
.vest-entry>summary{font-size:18px;line-height:1.5}
.vest-entry>summary small{margin-top:6px}
.vest-entry[open]>summary{margin-bottom:20px}
@media(max-width:380px){.reviewed-value{grid-template-columns:1fr}.vest-entry>summary{font-size:16px}}

.planner-updates{margin-top:2rem;padding:1.5rem;border:1px solid #c9d5c4;border-radius:18px;background:#eef2e5}.planner-updates input{box-sizing:border-box;width:100%;margin:.5rem 0 1rem}.planner-updates button{margin-bottom:.5rem}.planner-updates [hidden]{display:none!important}

.brand .product-name{font-size:20px;font-weight:500;letter-spacing:-.4px}
