.funding-main { max-width: 1260px; }
.funding-page-heading { margin-block: clamp(4px, 2vw, 29px) 26px; }
.funding-page-heading h1 { font-weight: 670; font-size: clamp(36px, 5vw, 61px); }
.funding-page-heading .lead { max-width: 42rem; word-break: keep-all; }
.funding-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.12fr); gap: clamp(14px, 2.3vw, 34px); align-items: start; }
.funding-form, .funding-result { min-width: 0; background: var(--white); border: 1px solid var(--line); }
.funding-form { padding: clamp(17px, 2.5vw, 31px); }
.funding-form-title, .funding-timeline-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px 12px; }
.funding-form-title h2 { font-size: 22px; letter-spacing: -.04em; }
.funding-example { padding: 5px 9px; min-height: 36px; border: 1px solid #b6c1af; border-radius: 3px; background: #eef2e8; font-size: 12px; font-weight: 740; }
.funding-example:hover { background: #e2ebdf; }
.funding-note { color: var(--muted); font-size: 12px; margin: 6px 0 13px; word-break: keep-all; }
.funding-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.funding-field { display: grid; gap: 4px; min-width: 0; color: var(--ink); font-weight: 720; font-size: 13px; }
.funding-field small { color: var(--muted); font-size: 11px; font-weight: 590; }
.funding-input { display: flex; align-items: stretch; gap: 6px; min-height: 45px; padding-inline-end: 10px; border: 1px solid #b9c0af; border-radius: 4px; background: #fffefa; }
.funding-input > span { display: grid; place-items: center; color: var(--muted); font-size: 11px; flex-shrink: 0; }
.funding-input input { width: 100%; min-width: 0; padding: 8px 0 8px 10px; border: 0; border-radius: 3px; background: none; font: 650 16px/1.2 SUIT, sans-serif; font-variant-numeric: tabular-nums; color: var(--ink); }
.funding-input input::placeholder { color: #707b71; font-weight: 500; }
.funding-input input[aria-invalid="true"] { color: #923d26; }
.funding-input:has(input[aria-invalid="true"]) { border-color: #a95035; }
.funding-input:has(input:disabled) { opacity: .58; }
.funding-input:focus-within { outline: 2px solid #648771; outline-offset: 1px; }
.funding-input input:focus-visible { outline: 0; }
.funding-input input[type="number"] { appearance: textfield; }
.funding-input input::-webkit-inner-spin-button, .funding-input input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.funding-cash-note { margin-block: 9px 17px; }
.funding-form fieldset { min-width: 0; border: 0; border-top: 1px solid var(--line); padding: 6px 0 0; margin: 0 0 17px; }
.funding-form legend { padding: 0 9px 0 0; font-weight: 750; }
.funding-sale-fields > .funding-field { max-inline-size: 210px; }
.funding-conditions .funding-note:first-of-type { margin-top: 0; }
#funding-balance-percent { margin-block: 7px 0; font-weight: 750; }
.funding-error { color: #923d26; margin: 7px 0 11px; font-weight: 730; word-break: keep-all; }
.funding-calculate { min-height: 44px; width: 100%; padding: 7px 12px; border-radius: 3px; color: var(--white); background: var(--green); font-weight: 750; text-align: left; }
.funding-calculate span { float: right; }
.funding-calculate:hover { background: var(--green-deep); }
.funding-privacy { margin: 8px 0 0; }

.funding-result { scroll-margin-block-start: 12px; }
.funding-result-heading { padding: clamp(18px, 2.8vw, 32px); background: var(--green-deep); color: #fbf7ed; }
.funding-result-heading h2 { color: #f0e4c8; font-size: clamp(15px, 1.9vw, 21px); font-weight: 690; }
.funding-result-price { font-size: clamp(32px, 4.1vw, 54px); font-weight: 740; letter-spacing: -.055em; line-height: 1.14; margin: 7px 0 9px; font-variant-numeric: tabular-nums; }
.funding-result-description { max-width: 43em; margin: 0; color: #e2eadd; font-size: 13px; word-break: keep-all; }
.funding-result-cash { display: flex; align-items: center; justify-content: space-between; gap: 8px 15px; color: #f2ead9; border-top: 1px solid #62766b; margin-block-start: 15px; padding-block-start: 11px; font-size: 13px; }
.funding-result-cash strong { font-size: 18px; color: #ffebc9; text-align: right; }
.funding-result-content { padding: clamp(15px, 2.5vw, 29px); }
.funding-result-content h3 { margin: 0; font-size: 17px; font-weight: 750; }
.funding-table { width: 100%; border-collapse: collapse; margin: 6px 0 8px; font-size: 13px; font-variant-numeric: tabular-nums; }
.funding-table th, .funding-table td { border-bottom: 1px solid var(--line); padding: 7px 6px; text-align: right; }
.funding-table thead th { color: var(--muted); font-size: 11px; font-weight: 720; }
.funding-table :is(th, td):first-child { text-align: left; padding-inline-start: 0; }
.funding-table :is(th, td):last-child { padding-inline-end: 0; }
.funding-table tbody th { font-weight: 740; }
.funding-table tbody td { font-weight: 620; }
.funding-table td > small { display: block; color: var(--muted); line-height: 1.3; }
.funding-table .funding-emphasis { background: #eef2e8; }
.funding-timeline-title { margin-top: 22px; }
.funding-scenarios { display: flex; gap: 3px; padding: 3px; border: 1px solid #d9ddce; border-radius: 4px; background: #eef0e4; }
.funding-scenarios button { min-height: 31px; padding: 2px 7px; font-size: 11px; font-weight: 740; border-radius: 3px; }
.funding-scenarios button[aria-pressed="true"] { color: var(--white); background: var(--green); }
.funding-timeline :is(th, td):nth-child(2) { text-align: left; }
.funding-timeline :is(th, td):first-child { width: 24%; }
.funding-disclosure { padding: 12px clamp(15px, 2.5vw, 29px); color: var(--muted); font-size: 12px; word-break: keep-all; }
.funding-disclosure p { margin: 3px 0; }

@media (max-width: 840px) {
  .funding-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 390px) {
  .funding-fields { gap: 8px; }
  .funding-input { padding-inline-end: 7px; }
  .funding-table th, .funding-table td { padding-inline: 3px; }
}
