[hidden]{display:none!important}.mortgage-summary{margin-top:24px;padding:24px;background:#edf3f8;border-radius:12px}.mortgage-summary .result-lead{border:0;padding:0;color:#173f67}.mortgage-summary .result-lead strong{display:block;font-size:2.5rem}.mortgage-summary p,.calculator-results>p{font-size:.88rem;line-height:1.6}.mortgage-summary dl{margin-bottom:0}.mortgage-summary dl>div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-top:1px solid #ccd9e4}.mortgage-summary dd{margin:0;font-weight:700}.calculator-results h2{margin:0;font-size:1.6rem;color:white}.housing-total{margin-top:20px}.cash-total span{line-height:1.6;display:block}.tax-subtotal{font-weight:800}.calculator-results{align-self:start}.calculator-form small{line-height:1.6}.calculator-form input,.calculator-form select{max-width:100%}@media(max-width:600px){.mortgage-summary{padding:18px}.mortgage-summary dl>div{font-size:.88rem}}.mortgage-summary .result-lead span,.mortgage-summary .result-lead small{color:#173f67}.housing-total strong{display:block;margin-top:8px;font-size:1.6rem;color:#173f67}

.closing-inputs{display:grid;gap:18px;margin:24px 0}.closing-inputs label{display:block}.closing-inputs label>span{display:block;font-size:.9rem;font-weight:700;margin-bottom:8px}.closing-inputs small{display:block;font-size:.78rem;line-height:1.6;margin-top:6px;color:#d5e2ed}.closing-inputs input,.closing-inputs select,.legal-entry input{width:100%;min-width:0;color:#142f40;background:white;border:1px solid #a5b6c4;border-radius:0;padding:13px;font:inherit}.closing-inputs .money-input input{padding-left:34px}.closing-inputs .suffix-input input{padding-right:34px}.closing-inputs b,.legal-entry b{color:#536875}.legal-entry dd{width:150px;flex-shrink:0}.legal-entry .money-input input{padding-left:28px}.closing-note{font-size:.78rem!important;line-height:1.6;color:#d5e2ed}.calculator-results .result-warning{color:#142f40}@media(max-width:400px){.legal-entry dd{width:120px}}
.closing-inputs .money-input input,.closing-inputs .suffix-input input,.legal-entry .money-input input{border:0;flex:1;width:0;min-width:0;padding:13px 10px;background:transparent;outline:0}.closing-inputs .money-input,.closing-inputs .suffix-input,.legal-entry .money-input{background:white}.legal-entry dd{width:150px}.closing-inputs select{box-sizing:border-box}

/* Readable closing-panel labels at desktop and mobile sizes. */
.calculator-results{display:block}
.calculator-results dt{color:#ffffff;font-size:.95rem;font-weight:500;line-height:1.55}
.calculator-results dd{font-size:1.05rem;line-height:1.55}
.calculator-results dl>div{padding:1rem 0;border-bottom:1px solid #526879;align-items:center}
.calculator-results .tax-subtotal dt{font-weight:800}
.calculator-results>p,.calculator-results .closing-note,.closing-inputs small{color:#f0f5fa}
.calculator-results .closing-note{font-size:.85rem!important;line-height:1.65}
.calculator-results .legal-entry .money-input{border-color:#d7e3ee}

.optional-deposit{border-top:1px solid #526879;margin-top:24px;padding-top:24px}.optional-deposit label>span{display:block;font-size:.95rem;font-weight:700;line-height:1.5;margin-bottom:10px}.optional-deposit small{display:block;font-size:.85rem;line-height:1.6;margin-top:8px;color:#f0f5fa}.optional-deposit input{width:0;flex:1;min-width:0;padding:13px 10px;color:#142f40;font:inherit}.optional-deposit .money-input{background:white}.deposit-deduction{font-size:.95rem;display:flex;justify-content:space-between;gap:16px;line-height:1.5}.optional-deposit b{color:#536875}
