/* Focused debt comparison and matching section heading styles. */
html:has(#debt-calculator:target){scroll-padding-top:83px}
body.debt-consolidation-page main>.dc-wizard{padding:36px 0;min-height:calc(100svh - 83px);scroll-margin-top:0!important;background:#f7faf8;color:#172d24}
.dc-wizard [hidden]{display:none!important}
.dc-wizard>.container{max-width:1360px}
.dw-intro{text-align:center;margin:0 auto 28px;max-width:850px}
.dw-intro .eyebrow{margin:0 0 10px}
.dw-intro h2{font-size:clamp(2rem,3.2vw,3rem)!important;line-height:1.12!important;margin:0 0 12px!important}
.dw-intro p{margin:0;font-size:1rem;line-height:1.6}
.dw-progress{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0;margin:0 0 24px;font-size:.88rem;font-weight:750}
.dw-progress li{display:flex;align-items:center;gap:9px;padding:12px;border-bottom:3px solid #d3e2d9;color:#52675c}
.dw-progress span{display:grid;place-items:center;flex:0 0 28px;height:28px;border:1px solid #bdcec3;border-radius:50%;font-variant-numeric:tabular-nums}
.dw-progress [aria-current=step]{color:#007a39;border-color:#00a14b}
.dw-progress [aria-current=step] span,.dw-progress .dw-complete span{background:#007a39;color:#fff;border-color:#007a39}
.dw-workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start}
.dw-main{min-width:0;background:#fff;border:1px solid #d6e4dc;border-radius:20px;padding:clamp(22px,2.3vw,36px)}
.dw-kicker{font-size:.76rem!important;line-height:1.5!important;text-transform:uppercase;letter-spacing:.1em;color:#007a39;font-weight:800;margin:0 0 8px!important}
.dw-step h3{font-size:clamp(1.5rem,2.3vw,2rem)!important;line-height:1.22!important;margin:0 0 12px!important;letter-spacing:-.025em}
.dw-step h3:focus{outline:none}
.dw-description{font-size:.98rem!important;line-height:1.65!important;color:#52675c;margin:0 0 26px!important;max-width:72ch}
.dw-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 24px}
.dw-fields label{display:flex;flex-direction:column;gap:8px;font-size:.9rem;font-weight:750;min-width:0;line-height:1.5}
.dw-fields input,.dw-fields select{box-sizing:border-box;width:100%;min-width:0;min-height:48px;border:1px solid #8da598;border-radius:9px;padding:11px 13px;background:#fff;color:#172d24;font:inherit;font-weight:500;font-variant-numeric:tabular-nums}
.dw-fields small,.dw-help{font-size:.82rem!important;line-height:1.6!important;font-weight:400;color:#52675c}
.dw-fields [aria-invalid=true]{border:2px solid #9e2824}
.dc-wizard :is(input,select,button,a,summary):focus-visible{outline:3px solid #007a39;outline-offset:3px}
.dw-details{margin-top:24px;border-top:1px solid #d6e4dc;padding-top:18px;font-size:.88rem;line-height:1.65}
.dw-details summary{cursor:pointer;font-weight:750;color:#007a39;min-height:32px}
.dw-details p{font-size:.88rem!important;line-height:1.65!important;margin:14px 0}
.dw-details .dw-fields{margin-top:18px}
.dw-check{display:flex;align-items:center;gap:10px;font-weight:700;margin-top:20px;font-size:.88rem}
.dw-check input{width:20px;height:20px;accent-color:#007a39;flex-shrink:0}
.dw-totals{background:#edf5f0;border:1px solid #d0e2d6;border-radius:20px;padding:26px 24px}
.dw-totals h3{font-size:1rem!important;line-height:1.5!important;margin:0 0 18px!important}
.dw-big{font-size:clamp(1.7rem,3vw,2.8rem)!important;line-height:1.12!important;letter-spacing:-.04em;font-weight:850;font-variant-numeric:tabular-nums;margin:0!important;overflow-wrap:anywhere}
.dw-unit{font-size:.8rem!important;color:#52675c;margin:6px 0 20px!important;line-height:1.5!important}
.dc-wizard dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 16px;font-size:.82rem;line-height:1.5;margin:0}
.dc-wizard dt{color:#52675c;min-width:0}.dc-wizard dd{text-align:right;margin:0;font-weight:750;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;max-width:16ch}
.dw-totals hr{border:0;border-top:1px solid #c8dbce;margin:22px 0}
.dw-totals .dw-help{margin:20px 0 0!important}
.dw-total-label{font-weight:800;color:#172d24!important}
.dw-proposed-summary{border-top:1px solid #c8dbce;margin-top:22px;padding-top:20px}
.dw-proposed-summary>p{font-size:.82rem;margin:0 0 8px;line-height:1.6}.dw-proposed-summary strong{font-size:1.6rem;font-variant-numeric:tabular-nums}.dw-proposed-summary [data-cost-summary]{margin-top:8px;color:#52675c}
.dw-navigation{display:flex;align-items:center;gap:16px;margin:24px 0 0}
.dw-navigation>[data-edit]{margin-inline-start:auto}
.dw-navigation p{flex:1;text-align:right;font-size:.85rem;color:#52675c;margin:0}
.dc-wizard .button{font-size:.9rem;line-height:1.4;min-height:46px;padding:12px 22px;text-align:center;white-space:normal}
.dw-privacy{font-size:.8rem!important;line-height:1.6!important;color:#52675c;max-width:90ch;margin:20px auto 0!important;text-align:center}
.dw-notice,.dw-ltv{padding:16px 18px;background:#f1f6f3;border-radius:10px;font-size:.85rem!important;line-height:1.65!important;margin:22px 0 0!important}
.dw-notice p,.dw-ltv p{font-size:.85rem!important;line-height:1.65!important;margin:0 0 8px!important}.dw-notice p:last-child,.dw-ltv p:last-child{margin-bottom:0!important}
.dw-ltv strong{font-size:1.1rem}.dw-ltv[data-warning=true]{background:#fff4e6;border-left:4px solid #95601e}.dw-ltv a{color:#006b32}
.dw-error{background:#fff0ef;border-left:4px solid #9e2824;color:#84211e;padding:16px;font-size:.95rem;line-height:1.6;margin-bottom:20px}
.dw-debt-editor{border:1px solid #c8dbce;border-radius:12px;padding:22px;background:#fafcfb}
.dw-debt-editor h4{margin:0 0 20px;font-size:1rem}
.dw-inline-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:22px}
.dw-text-button{border:0;background:none;color:#007a39;font:inherit;font-size:.85rem;text-decoration:underline;cursor:pointer;min-height:44px;padding:8px}
.dw-debt-list{display:grid;gap:10px;margin-bottom:18px}.dw-debt-list:empty{margin:0}
.dw-saved-debt{display:flex;gap:16px;align-items:center;justify-content:space-between;border:1px solid #d6e4dc;border-radius:10px;padding:14px 18px;font-size:.9rem}
.dw-saved-debt p{font-size:.82rem!important;margin:5px 0 0!important;line-height:1.5!important;color:#52675c}
.dw-debt-actions{display:flex;flex-shrink:0;gap:4px}
.dw-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.dw-payment-card{border:1px solid #d6e4dc;border-radius:12px;padding:22px;min-width:0}.dw-payment-card h4{font-size:1rem;margin:0 0 20px}.dw-proposed{background:#f0f8f3;border-color:#a1cfb2}
.dw-payment-card .dw-big{font-size:clamp(1.7rem,2.6vw,2.4rem)!important}
.dw-difference{text-align:center;margin:22px 0;padding:22px;background:#edf5f0;border-radius:12px}.dw-difference p{font-size:.9rem!important;margin:0 0 8px!important;line-height:1.6!important}.dw-difference strong{font-size:2rem;font-variant-numeric:tabular-nums;color:#007a39}.dw-difference[data-increase=true]{background:#fff1f0}.dw-difference[data-increase=true] strong{color:#c62828}.dw-difference [data-difference-note]{margin:8px 0 0!important;font-size:.8rem!important;color:#52675c}
.dw-results-facts{font-size:.85rem;line-height:1.8}.dw-results-facts p{font-size:.85rem!important;line-height:1.8!important;margin:0 0 8px!important}
.dw-result-cta{text-align:center;margin-top:26px}.dw-result-cta>p{max-width:58ch;margin:12px auto 0;font-size:.85rem!important;line-height:1.6!important;color:#52675c}
.dc-wizard:has([data-step="3"]:not([hidden])) .dw-workspace{grid-template-columns:minmax(0,1fr)}
.dc-wizard:has([data-step="3"]:not([hidden])) .dw-totals{display:none}
@media(min-width:1101px){.dw-main{min-height:420px}.dc-wizard>.container{min-height:calc(100svh - 155px);display:flex;flex-direction:column}.dc-wizard [data-wizard-content]{flex:1;display:flex;flex-direction:column}.dc-wizard form{flex:1;display:flex;flex-direction:column}.dw-navigation{margin-top:auto;padding-top:24px}.dw-progress{margin-bottom:28px}}
@media(max-width:1100px){html:has(#debt-calculator:target){scroll-padding-top:74px}body.debt-consolidation-page main>.dc-wizard{min-height:calc(100svh - 74px)}.dw-workspace{grid-template-columns:minmax(0,1fr) 270px;gap:20px}.dw-totals{padding:22px 18px}}
@media(max-width:800px){.dw-workspace{grid-template-columns:1fr}.dw-progress{font-size:.75rem;gap:3px}.dw-progress li{flex-direction:column;text-align:center;padding:8px 3px;gap:6px}.dw-totals{padding:22px}.dw-totals .dw-big{font-size:2rem!important}.dw-navigation{flex-wrap:wrap}.dw-navigation p{display:none}.dw-navigation>[data-next]{margin-left:auto}.dw-intro{margin-bottom:22px}.dw-main{padding:24px}.dw-comparison{gap:12px}}
@media(max-width:540px){body.debt-consolidation-page main>.dc-wizard{padding:28px 0}.dw-fields,.dw-comparison{grid-template-columns:1fr}.dw-main{padding:22px 18px;border-radius:14px}.dw-debt-editor{padding:18px 14px}.dw-progress{font-size:.66rem}.dw-progress span{flex-basis:24px;width:24px;height:24px}.dw-inline-actions{flex-direction:column;align-items:stretch}.dw-saved-debt{align-items:flex-start;flex-direction:column;gap:4px}.dw-debt-actions{align-self:flex-end}.dw-navigation .button{padding:12px 16px;font-size:.85rem}.dw-navigation{gap:10px}.dw-payment-card .dw-big{font-size:2.2rem!important}}
@media(prefers-reduced-motion:reduce){html:has(#debt-calculator:target){scroll-behavior:auto!important}}

.dc-wizard:has([data-step="3"]:not([hidden])) .dw-intro{display:none}
.dw-payment-breakdown{margin-top:16px;font-size:.82rem;line-height:1.5}
.dw-payment-breakdown summary{color:#007a39;font-weight:700;cursor:pointer;min-height:28px}
.dw-payment-breakdown dl{margin-top:12px}
.dw-result-brief{text-align:center;font-size:.85rem!important;line-height:1.65!important;margin:14px auto!important;max-width:95ch}
.dw-result-cta{margin-top:18px}
.dc-wizard:has([data-step="3"]:not([hidden])) .dw-main{min-height:0}
.dc-wizard:has([data-step="3"]:not([hidden])) .dw-description{max-width:none}

/* Step one units are visible inside controls and excluded from entered values. */
.dw-input-unit{position:relative;display:block;width:100%;font-weight:500}
.dw-input-unit>span{position:absolute;top:50%;transform:translateY(-50%);color:#52675c;pointer-events:none;line-height:1}
.dw-input-money>span{left:14px}
.dw-input-money>input{padding-left:34px}
.dw-input-percent>span{right:14px}
.dw-input-percent>input{padding-right:38px;appearance:textfield;-moz-appearance:textfield}
.dw-input-percent>input::-webkit-inner-spin-button,.dw-input-percent>input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.dw-fields.dw-housing-fields{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none}
.dw-housing-fields label{justify-content:space-between}
@media(max-width:540px){.dw-fields.dw-housing-fields{grid-template-columns:minmax(0,1fr)}}

/* Input steps: equal card heights and actions aligned to the input card. */
@media(min-width:801px){
 .dc-wizard:has(:is([data-step="0"],[data-step="1"],[data-step="2"]):not([hidden])) .dw-workspace{align-items:stretch}
 .dc-wizard:has(:is([data-step="0"],[data-step="1"],[data-step="2"]):not([hidden])) .dw-navigation{width:calc(100% - 328px);align-self:flex-start;margin-top:24px;padding-top:0}
}
@media(min-width:801px) and (max-width:1100px){
 .dc-wizard:has(:is([data-step="0"],[data-step="1"],[data-step="2"]):not([hidden])) .dw-navigation{width:calc(100% - 290px)}
}

/* Match the two section labels while preserving their established green. */
body.debt-consolidation-page .dc-overview .program-education-heading>.eyebrow,
body.debt-consolidation-page .dw-intro>.eyebrow{font-size:1rem;line-height:1.6;color:#00843D}
.dw-intro h2>.dw-heading-accent{color:#00A14B}

.dc-wizard [data-debt-limit] a{color:#007a39;text-decoration:underline;text-underline-offset:3px;font-weight:700}

/* Step two actions, heading accent, and equal space around the entry hint. */
#dw-step-1>.dw-heading-accent,#dw-step-2>.dw-heading-accent{color:#00A14B}
.dc-wizard [data-cancel-debt]{color:#9e2824;text-decoration:underline;text-underline-offset:3px}
.dc-wizard:has([data-step="1"]:not([hidden])) .dw-main{display:flex;flex-direction:column;padding-bottom:28px}
[data-step="1"]{display:flex;flex-direction:column;flex:1}
[data-step="1"]>[data-add-debt]{align-self:flex-start}
.dc-wizard:has([data-step="1"]:not([hidden])) .dw-main:has([data-debt-entry-help]:not([hidden])){padding-bottom:0}
[data-step="1"]>[data-debt-entry-help]{display:flex;align-items:center;flex:1;margin:0!important;padding:28px 0}

/* Step three uses the full input-card width and previews the monthly total. */
#dw-step-2+.dw-description{max-width:none;text-wrap:pretty}
.dw-payment-preview{border-top:1px solid #c8dbce;margin-top:20px;padding-top:18px}
.dw-payment-preview>p{font-size:.82rem;line-height:1.6;margin:0 0 8px}
.dw-payment-preview [data-payment-pi]{margin-top:10px;color:#52675c}

.dw-payment-preview [data-payment-note]{margin:10px 0 0!important}
.dw-payment-preview [data-payment-pi]:empty{display:none}

/* Compare complete monthly totals consistently in preview and final results. */
.dw-payment-preview[data-payment-state="increase"] [data-total="newPayment"]{color:#c62828}
.dw-payment-preview[data-payment-state="decrease"] [data-total="newPayment"]{color:#00A14B}
.dw-payment-preview:is([data-payment-state="unchanged"],[data-payment-state="unavailable"]) [data-total="newPayment"]{color:#172d24}
.dw-proposed[data-payment-state="increase"],.dw-difference[data-payment-state="increase"]{background:#fff1f0;border-color:#e8a4a0}
.dw-proposed[data-payment-state="decrease"],.dw-difference[data-payment-state="decrease"]{background:#f0f8f3;border-color:#a1cfb2}
.dw-proposed[data-payment-state="unchanged"],.dw-difference[data-payment-state="unchanged"]{background:#f4f6f5;border-color:#d6e4dc}
.dw-proposed[data-payment-state="increase"] [data-result="newTotal"],.dw-difference[data-payment-state="increase"] [data-result="difference"],.dw-proposed[data-payment-state="increase"] .dw-kicker{color:#c62828}
.dw-proposed[data-payment-state="decrease"] [data-result="newTotal"],.dw-difference[data-payment-state="decrease"] [data-result="difference"]{color:#00A14B}
.dw-proposed[data-payment-state="unchanged"] [data-result="newTotal"],.dw-difference[data-payment-state="unchanged"] [data-result="difference"]{color:#172d24}
.dw-difference [data-difference-label]{color:#000}
.dw-difference [data-difference-label] [data-change-word]{font:inherit;font-weight:800;color:#000}

/* Step four: one balanced action group and one full-width bottom disclosure. */
[data-step="3"] .dw-difference{margin-bottom:0}
.dw-result-action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;min-height:180px;padding:32px 0}
.dw-result-action>.dw-result-brief{max-width:none;width:100%;margin:0!important}
.dw-result-action>.dw-result-cta{display:flex;justify-content:center;width:100%;margin:0}
.dw-result-action+.dw-details{margin-top:0}
.dc-wizard:has(:is([data-step="2"],[data-step="3"]):not([hidden])) .dw-privacy{max-width:none}

/* Cash-out nearest-rate disclosure and the marker adjacent to the percent unit. */
.dc-wizard [data-cashout-nearest-footnote]{font-size:.85rem!important;line-height:1.65!important;margin:8px 0 0!important}
.dc-wizard .rate-nearest-mark{color:#007a39;font-weight:800}
.dc-wizard [data-cashout-input-mark]{right:14px}
.dc-wizard .dw-input-percent:has([data-cashout-input-mark])>span:first-of-type{right:27px}
.dc-wizard .dw-input-percent:has([data-cashout-input-mark])>input{padding-right:50px}
.dc-wizard [data-rate-assumptions-open]{align-self:start;justify-self:start;margin-top:8px}
