.db-calculator{display:grid;grid-template-columns:370px minmax(0,1fr);gap:28px;align-items:start;margin-top:30px}.db-mobile-glance{display:none}.db-bands,.db-incomplete,.db-inputs,.db-metrics section,.db-summary{background:#fff;border:1px solid var(--site-line);border-radius:18px;padding:28px;min-width:0;box-shadow:0 5px 18px #48331d05}.db-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.db-panel-heading h2{font-size:18px;font-weight:600;line-height:1.7}.db-panel-heading>span{font-size:12px;color:var(--site-muted);white-space:nowrap}.db-fields{display:grid;gap:18px}.db-fields .mortgage-field{margin:0}.db-fields .mortgage-field>span:first-child{font-size:14px}.db-fields .mortgage-input-wrap{min-height:48px}.db-fields .mortgage-input-wrap input{font-size:17px;min-width:0;width:100%}.db-fields .mortgage-field-error,.db-fields .mortgage-field-hint{font-size:12px;line-height:1.9}.db-choice{margin-top:22px;min-width:0}.db-choice legend{font-size:14px;font-weight:500;margin-bottom:10px}.db-choice>div{display:grid;gap:5px;padding:4px;background:#f5f3ee;border:1px solid var(--site-line);border-radius:10px}.db-cities>div{grid-template-columns:repeat(2,minmax(0,1fr))}.db-grades>div{grid-template-columns:repeat(3,minmax(0,1fr))}.db-choice button{min-height:44px;min-width:0;border-radius:7px;padding:6px 4px;font-size:13px;color:var(--site-muted);overflow-wrap:anywhere}.db-choice button[aria-pressed=true]{background:#fff;color:var(--site-orange);box-shadow:0 2px 5px #48331d0c}.db-adjust>p,.db-choice p,.db-input-note,.db-metrics p,.db-scope{font-size:12px;line-height:1.95;color:var(--site-muted);margin-top:10px}.db-input-note{border-top:1px solid var(--site-line);padding-top:18px;margin-top:18px}.db-adjust{margin-top:22px;min-width:0}.db-adjust summary{display:flex;align-items:center;min-height:44px;font-size:14px;font-weight:500;cursor:pointer}.db-adjust-row{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:0 8px;align-items:center;min-width:0}.db-adjust-row span{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.db-adjust-row b{font-size:12px;font-weight:500;color:var(--site-muted);text-align:right}.db-adjust-row input{grid-column:1/-1;width:100%;min-width:0;min-height:44px;accent-color:var(--site-orange)}.db-adjust>button{min-height:44px;margin-top:8px;color:var(--site-orange);font-size:13px}.db-adjust-error{font-size:12px;line-height:1.9;color:#ad3326;margin-top:8px}.db-results{display:flex;flex-direction:column;gap:18px;min-width:0;scroll-margin-top:180px}.db-results:focus{outline:2px solid var(--site-orange);outline-offset:5px;border-radius:18px}.db-summary{background:linear-gradient(135deg,#fff,#fdfaf5);padding:30px}.db-main-amount{font-size:clamp(34px,4vw,54px);font-weight:550;line-height:1.5;letter-spacing:-.045em;color:var(--site-orange);font-variant-numeric:tabular-nums;margin:6px 0 18px;overflow-wrap:anywhere}.db-decision{font-size:15px;line-height:1.95;color:var(--site-muted);overflow-wrap:anywhere}.db-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;min-width:0}.db-actions button{min-height:44px;max-width:100%}.db-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.db-bands h2,.db-metrics h2{font-size:17px;font-weight:600;line-height:1.8}.db-metrics strong{display:block;margin:8px 0;font-size:22px;font-weight:550;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.db-bands h2{margin-bottom:8px}.db-bands>div{display:flex;justify-content:space-between;gap:16px;align-items:baseline;padding:10px 0;border-top:1px solid var(--site-line);font-size:14px;line-height:1.8;min-width:0}.db-bands>div span{min-width:0;overflow-wrap:anywhere}.db-bands>div span:last-child{color:var(--site-muted);text-align:right}.db-incomplete h2{font-size:18px;font-weight:600;line-height:1.7;margin-bottom:12px}.db-incomplete p{font-size:14px;line-height:1.9;color:var(--site-muted)}.db-calculator button:focus-visible{outline:2px solid var(--site-orange);outline-offset:3px}@media(max-width:1000px){.db-calculator{grid-template-columns:310px minmax(0,1fr);gap:20px}.db-bands,.db-inputs,.db-metrics section,.db-summary{padding:22px}.db-main-amount{font-size:36px}.db-grades>div,.db-metrics{grid-template-columns:1fr}}@media(max-width:760px){.db-calculator{grid-template-columns:1fr;gap:18px;margin-top:24px}.db-bands,.db-incomplete,.db-inputs,.db-metrics section,.db-summary{padding:22px 20px;border-radius:15px}.db-panel-heading h2{font-size:17px}.db-panel-heading>span{white-space:normal;text-align:right}.db-main-amount{font-size:clamp(29px,9vw,40px)}.db-decision{font-size:14px}.db-fields .mortgage-input-wrap input{font-size:16px}.db-choice button{font-size:13px}.db-metrics{grid-template-columns:1fr}.db-mobile-glance{display:flex;position:sticky;top:68px;z-index:20;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;background:#fffdf8;border:1px solid #dfd1bf;border-radius:12px;box-shadow:0 4px 12px #48331d08}.db-mobile-glance>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 12px;min-width:0}.db-mobile-glance span{font-size:12px;color:var(--site-muted)}.db-mobile-glance strong{font-size:17px;font-weight:550;color:var(--site-orange);overflow-wrap:anywhere}.db-mobile-glance strong.is-large{font-size:14px}.db-mobile-glance button{min-height:44px;flex-shrink:0;color:var(--site-orange);font-size:13px}.db-reading{min-width:0}}