.loan-page{padding:25px 0 65px;max-width:1180px}.loan-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin:20px 0 30px}.loan-heading .eyebrow{color:var(--muted);font-size:9px;margin-bottom:13px}.loan-heading h1{font-size:45px;max-width:650px;line-height:1.22}.loan-heading>div>p:last-child{max-width:600px;color:var(--muted);font-size:12px;margin-top:17px;line-height:1.9}.loan-preview{display:flex;align-items:center;gap:8px;font-size:9px;color:var(--muted);white-space:nowrap;margin-bottom:4px}.loan-preview .icon{width:16px}.loan-preview>span{border:1px solid var(--line);padding:3px 7px;border-radius:4px;margin-left:5px}.loan-property{display:flex;align-items:center;gap:17px;border-block:1px solid var(--line);padding:18px 0;margin-bottom:30px}.loan-property>img{width:64px;height:64px;border-radius:7px}.loan-property>div{display:flex;flex-direction:column;gap:5px;flex:1}.loan-property small{color:var(--muted);font-size:9px;letter-spacing:.04em}.loan-property strong{font-size:14px;font-weight:600}.loan-property>label{font-size:9px;color:var(--muted);position:relative;padding-right:25px}.loan-property select{display:block;margin-top:4px;font-size:11px;color:var(--ink);max-width:360px;padding:7px 0;min-height:35px}.loan-property>label>.icon{position:absolute;right:0;bottom:10px;width:15px}.loan-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:28px;align-items:start}.loan-input-card{border:1px solid var(--line);border-radius:11px;background:#fff;padding:29px}.loan-section-title{display:flex;align-items:center;gap:15px;margin-bottom:27px}.loan-section-title h2{font-size:27px}.loan-index{display:inline-flex;justify-content:center;align-items:center;border:1px solid #c5cec0;color:#5d6e5e;border-radius:50%;width:31px;height:31px;font-size:9px;letter-spacing:.04em;flex-shrink:0}.loan-field{margin-bottom:25px;min-width:0}.loan-field>label,.loan-label-row>label,.loan-method legend{font-size:11px;font-weight:650;display:block;margin-bottom:9px}.loan-label-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.loan-label-row output{font-size:10px;color:var(--forest);font-weight:650}.loan-number-wrap{display:flex;align-items:center;gap:8px;min-height:53px;border:1px solid #cfd6c9;border-radius:6px;background:#fcfcf9;padding:0 15px;transition:border-color .2s}.loan-number-wrap:focus-within{outline:2px solid #56755f;outline-offset:2px}.loan-number-wrap:has(input[aria-invalid=true]){border-color:#a53e2f}.loan-number-wrap input{font-size:19px;font-weight:600;letter-spacing:-.035em;border:0;background:transparent;width:100%;outline:0;min-width:0;padding:10px 0;appearance:textfield}.loan-number-wrap input::-webkit-outer-spin-button,.loan-number-wrap input::-webkit-inner-spin-button{appearance:none}.loan-number-wrap>span{color:var(--muted);font-size:10px;white-space:nowrap}.loan-number-wrap.compact{max-width:135px}.loan-field small{display:block;font-size:9px;color:var(--muted);line-height:1.8;margin-top:8px}.loan-field #loan-edited{color:#916243}.loan-two-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}.loan-two-fields .loan-field{margin-bottom:21px}.loan-range{appearance:none;display:block;width:100%;margin:20px 0 9px;height:4px;background:#dce3d5;border-radius:20px;cursor:pointer;accent-color:var(--forest);background-image:linear-gradient(var(--forest),var(--forest));background-repeat:no-repeat;background-size:30% 100%}.loan-range::-webkit-slider-thumb{appearance:none;width:20px;height:20px;background:var(--forest);border:4px solid #fff;border-radius:50%;box-shadow:0 0 0 1px var(--forest)}.loan-range::-moz-range-thumb{width:14px;height:14px;background:var(--forest);border:3px solid white;border-radius:50%}.range-ends{display:flex;justify-content:space-between;font-size:9px;color:var(--muted)}.loan-term-presets{display:flex;gap:5px;margin-top:10px;flex-wrap:wrap}.loan-term-presets button{border:1px solid var(--line);border-radius:4px;min-width:32px;min-height:31px;font-size:10px;padding:4px 8px}.loan-term-presets button[aria-pressed=true]{background:var(--sage);border-color:#9aaf96;color:var(--forest);font-weight:700}.loan-method{border:0;margin:0;padding:0;min-width:0}.loan-method legend{padding:0}.loan-method>label{display:flex;gap:10px;border:1px solid var(--line);border-radius:7px;padding:13px 14px;margin-top:9px;cursor:pointer;align-items:flex-start}.loan-method>label:has(input:checked){background:#f3f6ef;border-color:#718d6a}.loan-method input{accent-color:var(--forest);margin:4px 0 0;width:15px;height:15px;flex-shrink:0}.loan-method strong{display:block;font-size:11px;font-weight:650}.loan-method small{display:block;color:var(--muted);font-size:10px;line-height:1.8;margin-top:4px}.loan-result-card{border:1px solid #244e42;background:var(--forest);color:#fff;border-radius:11px;padding:30px;position:sticky;top:22px}.loan-result-top{display:flex;align-items:center;gap:13px;margin-bottom:34px}.loan-result-top .loan-index{color:#d8e7d1;border-color:#91aa8c60}.loan-result-top .eyebrow{font-size:9px;letter-spacing:.12em;color:#d4decf}.loan-result-top>.icon{margin-left:auto;transform:rotate(-35deg);width:20px;color:#d4decf}.payment-label{font-size:12px;color:#d4dfd3;margin-bottom:9px}.loan-main-payment{font-family:var(--serif);font-size:clamp(33px,3.9vw,52px);line-height:1.3;letter-spacing:-.05em;overflow-wrap:anywhere}.loan-last-payment{font-size:11px;color:#d2e0cc;margin-top:12px;line-height:1.8}.loan-result-divider{height:1px;background:#d8e4d130;margin:29px 0 23px}.loan-breakdown{margin:0}.loan-breakdown>div{display:flex;justify-content:space-between;align-items:baseline;gap:15px;margin-bottom:17px}.loan-breakdown dt{font-size:11px;color:#d1ddce}.loan-breakdown dd{margin:0;text-align:right;font-size:13px;font-weight:650}.loan-composition{display:flex;height:7px;overflow:hidden;border-radius:4px;margin-top:25px;background:#6e8a6a}.loan-composition>span:first-child{background:#e1e9d3;width:50%}.loan-composition>span:last-child{background:#7c9c79;width:50%}.composition-legend{display:flex;gap:18px;font-size:9px;color:#d0ddcc;margin-top:11px;flex-wrap:wrap}.composition-legend>span{display:flex;align-items:center;gap:6px}.composition-legend i{display:block;width:7px;height:7px;background:#e1e9d3;border-radius:2px;flex-shrink:0}.composition-legend>span:last-child i{background:#7c9c79}.loan-total{border-top:1px solid #d8e4d130;margin-top:26px;padding-top:21px;display:flex;justify-content:space-between;gap:15px;align-items:baseline}.loan-total span{font-size:11px;color:#d1ddce}.loan-total strong{font-size:18px;font-weight:600;letter-spacing:-.035em;text-align:right}.loan-purchase{display:flex;justify-content:space-between;gap:15px;align-items:baseline;margin-top:12px;color:#d2dfcd;font-size:10px}.loan-purchase strong{font-weight:500;text-align:right}.loan-result-note{display:flex;gap:9px;color:#dae5d5;border-top:1px solid #d8e4d130;margin-top:26px;padding-top:17px;font-size:9px;line-height:1.8}.loan-result-note>.icon{width:15px;height:15px;margin-top:3px}.loan-result-card.stale .loan-main-payment{opacity:.4}.loan-status{font-size:10px;color:var(--muted);margin-top:16px;line-height:1.7}.loan-error{font-size:10px;color:#96362d;line-height:1.7;margin-top:7px}.loan-retry{margin-top:15px;min-height:40px;font-size:11px}.loan-stress{display:flex;gap:20px;align-items:center;padding:23px 28px;border:1px solid #d6dfce;background:#ebefe5;border-radius:9px;margin:27px 0 43px}.stress-icon{font-family:var(--serif);font-size:34px;color:#456848;flex-shrink:0}.loan-stress>div:nth-child(2){flex:1}.loan-stress h2{font-size:23px;margin-bottom:8px}.loan-stress p{font-size:10px;line-height:1.8;color:var(--muted);max-width:580px}.stress-numbers{display:flex;flex-direction:column;text-align:right;gap:3px;flex-shrink:0}.stress-numbers>span{font-size:10px;color:#536b51}.stress-numbers>strong{font-size:19px;font-weight:650;color:var(--forest);letter-spacing:-.04em}.stress-numbers>small{font-size:9px;color:var(--muted)}.loan-schedule{border:1px solid var(--line);background:#fff;padding:28px;border-radius:10px;min-width:0}.loan-schedule .loan-section-title{gap:15px;align-items:center;margin-bottom:12px}.loan-schedule .loan-section-title .eyebrow{font-size:8px;color:var(--muted);margin-bottom:5px}.loan-schedule h2{font-size:28px}.schedule-toggle{display:flex;margin-left:auto;background:#f1f3ec;border-radius:6px;padding:4px;flex-shrink:0}.schedule-toggle button{padding:8px 12px;font-size:10px;min-height:35px;border-radius:4px}.schedule-toggle .active{background:#fff;box-shadow:0 1px 4px #18362710;color:var(--forest);font-weight:700}.loan-graph-note{color:var(--muted);font-size:10px;margin:16px 0 22px;max-width:700px}.loan-chart{height:200px;margin-top:15px}.loan-chart svg{width:100%;height:100%;display:block;overflow:visible}.loan-chart .chart-axis{stroke:#dedfd7;stroke-width:1}.loan-chart text{font-family:var(--sans);font-size:10px;fill:#69736c}.chart-legend{justify-content:flex-end;color:var(--muted);margin:12px 0 22px}.chart-legend i{background:var(--forest)}.chart-legend>span:last-child i{background:#a9bca0}.loan-table-wrap{overflow-x:auto;max-width:100%;border-top:1px solid var(--line)}.loan-table{width:100%;border-collapse:collapse;min-width:580px;font-size:11px;line-height:1.7}.loan-table th{color:var(--muted);font-size:9px;font-weight:600;padding:16px 11px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap;background:#fafbf7}.loan-table th:first-child,.loan-table td:first-child{text-align:left}.loan-table td{text-align:right;padding:14px 11px;border-bottom:1px solid #eceee7;white-space:nowrap}.loan-table tr:last-child td{border-bottom:0}.loan-table tbody tr:hover{background:#f5f7f0}.loan-show-all{margin-top:22px;min-height:44px}.loan-assumptions{border-block:1px solid var(--line);margin-top:30px;padding:20px 0}.loan-assumptions summary{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:600;cursor:pointer;list-style:none;min-height:30px}.loan-assumptions summary::-webkit-details-marker{display:none}.loan-assumptions summary .icon{width:16px;transition:transform .2s}.loan-assumptions[open] summary .icon{transform:rotate(180deg)}.loan-assumptions>p{font-size:11px;color:var(--muted);line-height:1.9;max-width:900px;margin-top:13px}.loan-assumptions>a{display:inline-block;font-size:10px;color:var(--forest);text-decoration:underline;margin-top:14px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1000px){.loan-heading h1{font-size:38px}.loan-heading{align-items:flex-start}.loan-preview{white-space:normal;flex-wrap:wrap;max-width:140px;font-size:8px}.loan-layout{gap:20px;grid-template-columns:1fr 1fr}.loan-input-card,.loan-result-card{padding:22px}.loan-section-title h2{font-size:24px}.loan-two-fields{gap:13px}.loan-main-payment{font-size:39px}.loan-schedule h2{font-size:24px}.loan-property select{max-width:280px}.loan-breakdown dd{font-size:11px}.loan-breakdown dt{font-size:10px}.loan-total strong{font-size:16px}.loan-purchase{font-size:9px}.loan-schedule{padding:22px}}
@media(max-width:760px){.loan-layout{grid-template-columns:1fr}.loan-result-card{position:static}.loan-main-payment{font-size:47px}.loan-heading h1{font-size:35px}.loan-preview{display:none}.loan-property{gap:12px;flex-wrap:wrap}.loan-property>div{min-width:200px}.loan-property>label{width:100%;border-top:1px solid var(--line);padding-top:10px;margin-top:3px}.loan-property select{max-width:100%;width:100%;padding-right:15px}.loan-property>label>.icon{bottom:11px}.loan-input-card{padding:24px}.loan-result-card{padding:26px}.loan-stress{padding:21px;gap:15px;flex-wrap:wrap}.stress-numbers{margin-left:45px;text-align:left}.loan-stress h2{font-size:25px}.loan-schedule .loan-section-title{flex-wrap:wrap}.loan-schedule .loan-section-title>div:nth-child(2){flex:1}.schedule-toggle{margin-top:9px;margin-left:46px}.loan-chart{height:175px}.loan-table{font-size:10px}.loan-table th{font-size:9px}.loan-page{padding-bottom:40px}.loan-heading{margin-top:14px}.loan-heading>div>p:last-child{font-size:12px;line-height:1.9}.loan-section-title h2{font-size:26px}.loan-two-fields{gap:18px}.loan-result-card .loan-breakdown dd{font-size:13px}.loan-result-card .loan-breakdown dt{font-size:11px}.loan-total strong{font-size:19px}.loan-purchase{font-size:10px}.loan-property>img{width:58px;height:58px}.loan-property strong{font-size:13px}}
@media(max-width:420px){.loan-heading h1{font-size:33px}.loan-heading .eyebrow{font-size:8px}.loan-input-card{padding:20px}.loan-section-title{gap:12px}.loan-section-title h2{font-size:25px}.loan-two-fields{grid-template-columns:1fr;gap:0}.loan-main-payment{font-size:39px}.loan-breakdown>div{flex-wrap:wrap;gap:3px 12px}.loan-breakdown dd{margin-left:auto}.loan-property>div{min-width:0}.loan-range{height:5px;margin-top:24px}.loan-term-presets button{min-width:41px;min-height:40px}.loan-method>label{padding:14px 12px}.loan-method strong{font-size:12px}.loan-method small{font-size:10px}.loan-result-card{padding:22px}.loan-stress h2{font-size:22px}.loan-stress p{font-size:10px}.loan-schedule{padding:18px}.loan-schedule h2{font-size:25px}.loan-schedule .loan-section-title>.loan-index{display:none}.schedule-toggle{margin-left:0}.chart-legend{justify-content:flex-start}.loan-total{flex-wrap:wrap}.loan-total strong{margin-left:auto}.loan-purchase{flex-wrap:wrap}.loan-purchase strong{margin-left:auto}.loan-label-row output{font-size:9px}.loan-assumptions>p{font-size:10px}.loan-number-wrap input{font-size:21px}}
.loan-intro-note{font-size:10px;color:var(--muted);margin:-10px 0 26px;line-height:1.8}.loan-mobile-summary{display:none}
@media(max-width:760px){body:has(.loan-page) .mobile-bottom{display:none}.loan-mobile-summary{position:fixed;bottom:0;left:0;right:0;z-index:25;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 20px max(13px,env(safe-area-inset-bottom));border-top:1px solid #cad4c2;background:#f7f8f1f5;backdrop-filter:blur(14px)}.loan-mobile-summary>div{min-width:0}.loan-mobile-summary small{display:block;font-size:9px;color:var(--muted);line-height:1.5}.loan-mobile-summary strong{display:block;font-size:20px;font-weight:650;color:var(--forest);letter-spacing:-.04em;overflow-wrap:anywhere}.loan-mobile-summary .button{font-size:10px;padding:10px 13px;max-width:43%;line-height:1.5}.loan-page{padding-bottom:85px}.loan-intro-note{font-size:9px}}
