.finance-calculator-section { padding-top: 48px; padding-bottom: 16px; }
.finance-calculator-section + .page-section { padding-top: 40px; }
.credit-heading { max-width: 790px; margin: 0 auto 36px; text-align: center; }
.credit-heading h2 { margin: 14px 0 22px; font-size: clamp(29px,3.6vw,48px); font-weight: 400; line-height: 1.12; }
.credit-heading > p:last-child { color: #69655e; font-size: 16px; line-height: 1.7; }
.credit-heading strong { color: #292925; font-weight: 600; }
.credit-calculator { display: grid; grid-template-columns: 1fr 1fr; max-width: 1080px; margin: auto; border: 1px solid #c4ad83; background: #fff; box-shadow: 0 16px 50px #362c1c09; }
.credit-controls,.credit-result { min-width: 0; padding: clamp(24px,3vw,44px); }
.credit-controls { background: #faf8f3; }
.credit-step { margin: 0 0 32px; color: #8b6a37; font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.credit-controls fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.credit-controls label { display: block; margin-bottom: 12px; color: #20221f; font-size: 16px; font-weight: 600; }
.credit-controls label span { margin-left: 6px; color: #777166; font-size: 12px; font-weight: 400; }
.credit-amount-control { display: grid; grid-template-columns: 48px minmax(0,1fr) 48px; align-items: stretch; border: 1px solid #cfc6b7; background: #fff; }
.credit-amount-picker { position: relative; }
.credit-amount-options { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 10; max-height: min(360px,60dvh); overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; border: 1px solid #c4ad83; background: #fff; box-shadow: 0 12px 28px #362c1c20; }
.credit-amount-options[hidden] { display: none; }
.credit-amount-option { min-height: 44px; padding: 12px 18px; color: #262623; font-size: 17px; font-variant-numeric: tabular-nums; cursor: pointer; border-bottom: 1px solid #f2eee7; }
.credit-amount-option:last-child { border-bottom: 0; }
.credit-amount-option[aria-selected=true] { color: #806238; font-weight: 600; }
.credit-amount-option:hover,.credit-amount-option[data-active=true] { background: #f3ecdf; }
.credit-amount-options { touch-action: pan-y pinch-zoom; }
.credit-amount-input input[readonly] { cursor: pointer; caret-color: transparent; user-select: none; }
.credit-amount-control button { min-width: 44px; min-height: 58px; padding: 0; border: 0; color: #806238; background: #f5f0e7; font-size: 26px; cursor: pointer; transition: background .15s; touch-action: manipulation; }
.credit-amount-control button:hover:not(:disabled) { background: #e8dcc7; }
.credit-amount-control button:disabled { opacity: .35; cursor: default; }
.credit-amount-input { display: flex; align-items: center; min-width: 0; gap: 8px; padding: 0 14px; }
.credit-amount-input > span { font-size: 22px; color: #96713b; }
.credit-controls .credit-amount-input input { width: 100%; min-width: 0; height: 58px; padding: 0; border: 0; background: transparent; font-size: 24px; font-weight: 500; font-variant-numeric: tabular-nums; appearance: textfield; -moz-appearance: textfield; }
.credit-amount-input input::-webkit-inner-spin-button,.credit-amount-input input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.credit-amount-control:focus-within { border-color: #98733c; box-shadow: inset 0 0 0 1px #98733c; }
.credit-controls .credit-amount-input input:focus,.credit-controls .credit-amount-input input:focus-visible { outline: none; box-shadow: none; border: 0; }
.credit-controls .credit-amount-control button:focus-visible { outline-offset: -4px; }
.credit-amount-control button:active:not(:disabled) { background: #ddc9a5; }
.credit-amount-adjustment { margin: 8px 0 0; color: #806238; font-size: 12px; line-height: 1.5; }
.credit-amount-adjustment:empty { display: none; }
.credit-controls input[type=range] { display: block; width: 100%; height: 32px; margin: 18px 0 0; padding: 0; accent-color: #a4824a; cursor: pointer; }
.credit-controls button:focus-visible,.credit-controls input:focus-visible { outline: 2px solid #98733c; outline-offset: 2px; }
.credit-field-hint { margin: 7px 0 34px; color: #777166; font-size: 13px; line-height: 1.55; }
.credit-term-heading,.credit-range-labels { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.credit-term-heading label { margin: 0; }
.credit-term-heading output { font-size: 20px; font-weight: 600; white-space: nowrap; }
.credit-range-labels { margin-top: 6px; font-size: 12px; color: #777166; }
.credit-status { min-height: 44px; margin: 32px 0 0; color: #716550; font-size: 13px; line-height: 1.6; }
.credit-controls .text-link { margin-top: 12px; min-height: 44px; }
.credit-result { border-left: 1px solid #e6dfd3; }
.credit-rate-label { display: block; color: #58564e; font-size: 14px; }
.credit-rate { display: block; margin: 8px 0 10px; color: #94713c; font-size: clamp(38px,4vw,54px); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; overflow-wrap: anywhere; }
.credit-result-caption { display: block; color: #777166; font-size: 12px; line-height: 1.5; }
.credit-facts { margin: 27px 0; }
.credit-facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid #eee8de; }
.credit-facts dt { color: #716a60; font-size: 13px; }
.credit-facts dd { flex-shrink: 0; margin: 0; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.credit-facts .credit-total { padding-top: 17px; border-bottom: 0; }
.credit-result .button { width: 100%; min-height: 52px; padding: 16px; text-align: center; white-space: normal; line-height: 1.4; }
.credit-checked { margin: 18px 0 0; color: #777166; font-size: 11px; line-height: 1.6; }
.credit-result[aria-busy=true] .credit-rate { opacity: .4; }
.credit-rate { transition: opacity .2s ease; }
.credit-disclosure { max-width: 1080px; margin: 22px auto 0; color: #777166; font-size: 12px; line-height: 1.7; }
.credit-disclosure p { margin: 0 0 10px; }
.credit-disclosure a { color: #806238; text-decoration: underline; text-underline-offset: 3px; }
@media(max-width:760px) {
  .finance-calculator-section { padding-top: 32px; padding-bottom: 12px; }
  .finance-calculator-section + .page-section { padding-top: 28px; }
  .credit-heading { margin-bottom: 26px; }
  .credit-calculator { grid-template-columns: minmax(0,1fr); }
  .credit-controls,.credit-result { padding: 24px 20px; }
  .credit-result { border-left: 0; border-top: 1px solid #e6dfd3; }
  .credit-step { margin-bottom: 24px; }
  .credit-status { margin-top: 20px; }
  .credit-facts > div { gap: 10px; }
  .credit-facts dd { font-size: 16px; }
  .credit-facts dt { font-size: 12px; }
}
@media(prefers-reduced-motion:reduce) { .credit-rate { transition: none; } }
