/* Local density study. All original calculator fields and data remain available. */
.local-preview-note{max-width:1240px;margin:0 auto;padding:5px 20px;color:#64748b;font-size:10px;display:flex;justify-content:space-between;gap:10px}.local-preview-note a{color:#2563eb;text-decoration:none}.container{max-width:1240px}.header-container{height:59px}.brand-icon{width:34px;height:36px;font-size:19px;border-radius:9px}.brand-name{font-size:19px}.logo-area{gap:9px}.nav-links{gap:21px}.nav-link{font-size:13px}.header-container>.btn{font-size:12px;padding:9px 13px}.compact-menu{display:none}
#calculator{padding-top:7px!important;padding-bottom:24px!important}#calculator>.section-header{margin-bottom:12px!important}.section-tag{font-size:10px;padding:2px 9px}#page-title{font-size:28px!important;line-height:1.3;margin:3px 0!important}#calculator>.section-header>p{font-size:12px!important;max-width:750px!important}.calculator-grid{grid-template-columns:1fr 1.12fr;gap:18px;align-items:start}.calc-inputs-card,.calc-results-card{padding:16px;border-radius:13px;box-shadow:0 2px 7px #0f172a06}.calc-card-intro{margin-bottom:11px;gap:10px}.calc-card-intro h2{font-size:17px}.calc-card-intro p{font-size:10px;line-height:1.4}.calc-inputs-card .input-group{margin-bottom:7px}.input-label-row{margin-bottom:4px}.input-label-row label{font-size:12px}.calc-inputs-card .number-input,.calc-inputs-card .select-input{min-height:33px;height:33px;font-size:13px;padding:5px 10px;border-radius:7px}.calc-inputs-card .currency-symbol{font-size:12px;left:10px}.calc-inputs-card .currency-input{padding-left:24px!important}.calc-inputs-card .suffix-input{padding-right:28px!important}.calc-inputs-card .input-suffix{font-size:12px;right:10px}.compact-value-input{width:70%}.compact-field-row{gap:12px}.linked-input-group{margin-bottom:8px}.linked-input-group .input-group{margin-bottom:3px}.compact-input-group{margin-bottom:8px!important}.range-bounds{font-size:10px;margin-top:0}.calc-inputs-card input[type=range]{height:4px;display:block;margin:8px 0 3px}.linked-help-text,.help-text{font-size:10px;line-height:1.3;margin-top:3px}.ownership-costs{padding:9px;border-radius:9px;margin-top:1px}.ownership-costs-heading{gap:8px;margin-bottom:7px}.ownership-costs-icon{width:25px;height:25px;flex-basis:25px;border-radius:7px;font-size:11px}.ownership-costs-heading h3{font-size:13px;line-height:1.25}.ownership-costs-heading p{font-size:10px}.ownership-cost-grid{gap:7px}.cost-field{padding:6px;border-radius:6px}.cost-field>label,.property-extras-grid label{font-size:11px}.cost-sub-label{font-size:9px;margin-bottom:3px;line-height:1.3}.property-tax-inputs{gap:6px}.ownership-costs .number-input,.ownership-costs .select-input{height:30px;min-height:30px;font-size:12px;padding-top:4px;padding-bottom:4px}.pmi-note{font-size:9px;line-height:1.4;margin-top:5px}.property-extras{margin-top:6px}.property-extras summary{font-size:10px;padding-top:6px}.property-extras summary small{font-size:9px}.property-extras-grid{margin-top:6px;padding-top:7px}.input-section-divider{font-size:11px;gap:9px;margin:9px 0 6px}.finance-inputs{margin-bottom:0}.accordion-toggle{margin-top:7px;padding:8px 10px;font-size:11px;border-radius:7px;min-height:34px}.calc-inputs-card .mt-3{margin-top:7px!important}
.total-payment-box{padding:10px 14px;margin-bottom:10px;border-radius:9px}.total-label{font-size:10px;letter-spacing:.5px}.total-amount{font-size:37px;line-height:1.1;margin:3px 0}.total-amount span{font-size:16px}.loan-amount-badge{font-size:11px}.dti-summary-cards{gap:8px;margin-bottom:10px;grid-template-columns:1fr 1fr 1.2fr}.dti-metric-box{padding:6px 7px;border-radius:8px}.dti-label{font-size:9px}.dti-val{font-size:17px}.dti-status-pill{font-size:8px;padding:2px 6px;line-height:1.4}.breakdown-chart-wrapper{margin-bottom:11px}.breakdown-bars{height:8px;margin-bottom:8px}.breakdown-legend{gap:5px;display:grid;grid-template-columns:1fr 1fr;column-gap:20px}.legend-item{font-size:11px;line-height:1.35;gap:6px;min-width:0}.legend-name{font-size:11px}.legend-val{font-size:11px;white-space:nowrap}.legend-item .dot{width:7px;height:7px;flex-shrink:0}.max-payment-section{padding:10px;margin:0 0 11px;border-radius:9px}.max-payment-title{font-size:12px;margin-bottom:3px;gap:6px}.programs-help{font-size:9px;line-height:1.5;color:#64748b;margin:0 0 8px}.max-payment-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;align-items:start}.compact-program.max-card{padding:0;border-width:1px;border-radius:7px;opacity:1;transition:box-shadow .15s}.compact-program>summary{cursor:pointer;padding:9px 8px;list-style:none;min-height:94px}.compact-program>summary::-webkit-details-marker{display:none}.max-card-header{margin-bottom:7px;gap:3px}.max-card-name{font-size:11px;line-height:1.25}.program-chevron{font-size:15px;line-height:1;color:#64748b;flex-shrink:0}.compact-amount-row{display:flex;justify-content:space-between;align-items:baseline;gap:4px;flex-wrap:wrap}.compact-program .max-card-amount{font-size:19px;line-height:1.2;margin:0}.compact-program .max-card-dti{font-size:8px;padding:1px 3px;background:none!important;color:#64748b!important;white-space:nowrap}.compact-program .qual-badge{font-size:7px;letter-spacing:0;line-height:1.35;padding:2px 4px;margin:6px 0 0;max-width:100%}.compact-program .qual-badge i{display:none}.compact-program>.max-card-desc{padding:12px;border-top:1px solid #e2e8f0;font-size:12px;line-height:1.65;color:#475569}.compact-program[open]{grid-column:1/-1;box-shadow:0 3px 12px #0f172a0b}.compact-program[open]>summary{min-height:auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 13px}.compact-program[open] .max-card-header{margin:0;min-width:135px}.compact-program[open] .max-card-name{font-size:13px}.compact-program[open] .program-chevron{transform:rotate(180deg)}.compact-program[open] .compact-amount-row{gap:12px}.compact-program[open] .qual-badge{margin:0;font-size:9px}.compact-program[open] .max-card-dti{font-size:10px}.compact-program:focus-within{outline:2px solid #2563eb;outline-offset:2px}.payoff-booster-card{padding:10px 12px;margin-bottom:9px;border-radius:8px}.booster-header{font-size:11px;margin-bottom:5px}.booster-body>label{font-size:11px}.extra-input-row{gap:10px;margin-top:3px}.extra-val{font-size:12px}.savings-alert{font-size:10px;padding:5px 7px;margin-top:6px;line-height:1.4}.amortization-action-box{margin:9px 0!important}.calc-results-card .btn{font-size:11px;padding:8px 12px;border-radius:7px;min-height:34px}.results-cta{margin-top:9px}
.section-block{padding:30px 0}.section-header{margin-bottom:22px}.section-header h2{font-size:25px}.section-header p{font-size:13px}.loan-types-grid{gap:12px}.compact-library.loan-card{padding:0;align-self:start;display:block;border-radius:10px;transform:none}.compact-library>summary{padding:16px;list-style:none;cursor:pointer}.compact-library>summary::-webkit-details-marker{display:none}.compact-library h3{font-size:16px;margin-bottom:6px}.compact-library .loan-desc{font-size:11px;line-height:1.55;margin-bottom:7px}.library-hint{font-size:10px;font-weight:700;color:#2563eb}.library-body{padding:14px 16px;border-top:1px solid #e2e8f0}.compact-library[open]{grid-column:span 2}.compact-library[open] .library-hint{font-size:0}.compact-library[open] .library-hint::after{content:'Hide program details −';font-size:10px}.compact-library .loan-features li{font-size:12px}.compact-library .loan-card-badge{position:static;display:inline-block;margin-bottom:12px}.compact-library .btn{font-size:12px}.compact-library .loan-features{margin-bottom:14px}
@media(max-width:1050px){.max-payment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-program>summary{min-height:83px}.compact-program .max-card-name{font-size:12px}.compact-program .qual-badge{font-size:8px}.compact-program .max-card-dti{font-size:9px}.nav-links{gap:13px}.nav-link{font-size:11px}.brand-name{font-size:17px}.header-container>.btn{font-size:10px;padding:8px 10px}.calc-card-intro p{max-width:145px}.calc-card-intro{align-items:center}}
@media(min-width:761px) and (max-width:900px){.calculator-grid{grid-template-columns:1fr 1fr}.compact-field-row{gap:8px}.calc-inputs-card,.calc-results-card{padding:13px}.max-card-name{font-size:11px}.breakdown-legend{grid-template-columns:1fr}.calc-card-intro{display:block}.calc-card-intro p{max-width:none;text-align:left;margin-top:3px}.ownership-cost-grid{grid-template-columns:1fr 1fr}.cost-sub-label{font-size:8px}.property-tax-inputs{gap:4px;grid-template-columns:1fr 1.2fr}}
@media(max-width:900px){.compact-menu{display:inline-grid;place-items:center;width:38px;height:38px;border:1px solid #dbe4f0;background:white;border-radius:7px;color:#2563eb;font-size:19px;margin-left:10px;cursor:pointer}.header-container>.btn{margin-left:auto}.nav-links.compact-nav-open{display:flex;position:absolute;left:0;right:0;top:59px;background:white;box-shadow:0 5px 10px #0f172a15;padding:12px 20px;flex-wrap:wrap;justify-content:center;gap:10px 22px}.nav-link{font-size:13px}}
@media(max-width:760px){.calculator-grid{grid-template-columns:1fr;gap:13px}.container{padding:0 14px}.local-preview-note{padding:5px 14px;font-size:8px}#page-title{font-size:25px!important}#calculator>.section-header>p{font-size:11px!important}.calc-card-intro{display:flex;align-items:center}.calc-card-intro p{font-size:9px;max-width:160px;margin:0}.calc-inputs-card,.calc-results-card{padding:13px}.calc-inputs-card .input-row-dual{grid-template-columns:1fr 1fr;gap:10px}.calc-inputs-card .ownership-cost-grid{grid-template-columns:1fr 1fr;gap:6px}.calc-inputs-card .number-input,.calc-inputs-card .select-input{min-height:36px;height:36px;font-size:14px}.calc-inputs-card .ownership-costs .number-input,.calc-inputs-card .ownership-costs .select-input{min-height:34px;height:34px;font-size:12px}.calc-inputs-card .input-label-row label{font-size:11px}.compact-field-row .input-group{margin-bottom:6px}.compact-value-input{width:65%}.cost-field>label{font-size:10px}.cost-sub-label{font-size:8px;min-height:11px}.property-tax-inputs{gap:4px;grid-template-columns:1fr 1.3fr}.ownership-costs .currency-input{padding-left:20px!important}.ownership-costs .currency-symbol{left:7px;font-size:11px}.ownership-costs .suffix-input{padding-right:19px!important}.ownership-costs .input-suffix{right:6px;font-size:10px}.linked-help-text,.help-text{font-size:9px}.max-payment-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.compact-program>summary{min-height:88px;padding:11px}.compact-program .max-card-name{font-size:12px}.compact-program .qual-badge{font-size:8px}.compact-program .max-card-amount{font-size:20px}.compact-program[open]>summary{flex-wrap:wrap;gap:7px 12px}.compact-program[open] .max-card-header{min-width:0;width:100%}.compact-program[open] .qual-badge{font-size:8px}.breakdown-legend{grid-template-columns:1fr 1fr;gap:7px 13px}.legend-name,.legend-val{font-size:10px}.legend-item{gap:5px}.dti-label{font-size:8px}.dti-val{font-size:16px}.dti-status-pill{font-size:7px}.max-payment-title{font-size:12px}.programs-help{font-size:9px}.loan-types-grid{grid-template-columns:1fr 1fr!important;gap:10px}.compact-library>summary{padding:12px}.compact-library h3{font-size:14px}.compact-library .loan-desc{font-size:10px}.library-hint{font-size:9px}.compact-library[open]{grid-column:1/-1}.section-header h2{font-size:22px}.section-header p{font-size:12px}}
@media(max-width:360px){.calc-card-intro{display:block}.calc-card-intro p{text-align:left;max-width:none;margin-top:3px}.local-preview-note a{display:none}.brand-name{font-size:15px}.ownership-costs .number-input,.ownership-costs .select-input{padding-left:5px;padding-right:5px}.breakdown-legend{grid-template-columns:1fr}.cost-field{padding:5px}.cost-sub-label{font-size:7.5px}}
