.loan-calculator{position:relative;z-index:91;box-sizing:border-box;min-width:0;margin-top:24px;margin-bottom:24px;padding:clamp(18px,3vw,30px);border:1px solid #d9bd7c;background:linear-gradient(145deg,#fffdf7,#f5f1e4);color:#103e32;box-shadow:0 5px 18px #26382c0a}
.loan-calculator *{box-sizing:border-box}
.loan-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}
.loan-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px}
.loan-eyebrow{margin:0 0 7px;color:#8b6b22;font-size:12px;font-weight:800;letter-spacing:.08em}
.loan-heading h2{margin:0;color:#073a2d;font-size:clamp(24px,3vw,34px);line-height:1.2}
.loan-intro{margin:9px 0 0;color:#53675f;line-height:1.55}
.loan-jump{flex:0 0 auto;display:inline-flex;align-items:center;min-height:42px;padding:0 15px;border:1px solid #b79a58;background:#fffdf7;color:#104638;text-decoration:none;font-weight:750}
#loan-form{display:block!important;min-width:0;padding:20px;border:1px solid #e4d6b6;background:#fffefa}
.loan-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:16px}
.loan-field{min-width:0;display:flex;flex-direction:column;gap:7px}
.loan-field label{font-weight:750;line-height:1.4;color:#153d33}
.loan-input-wrap{display:flex;align-items:center;min-width:0;min-height:48px;border:1px solid #c9b67f;background:#fff;color:#163e33}
.loan-input-wrap:focus-within{outline:2px solid #b99a4e;outline-offset:2px}
.loan-input-wrap input{width:100%;min-width:0;min-height:46px;padding:10px 12px;border:0;outline:0;background:transparent;color:#0a392c;font:inherit;font-size:16px}
.loan-input-wrap span{flex:0 0 auto;padding:0 12px;color:#6e5a29;font-size:13px;font-weight:700;white-space:nowrap}
.loan-field select{width:100%;min-height:48px;padding:10px 12px;border:1px solid #c9b67f;border-radius:0;background:#fff;color:#103e32;font:inherit;font-size:16px}
.loan-field :is(input,select)[aria-invalid=true]{border-color:#a32727!important;outline-color:#a32727!important}
.loan-error{min-height:1.2em;color:#a32727;font-size:13px;line-height:1.35}
.loan-input-note,.loan-method{color:#53675f;font-size:13px;line-height:1.55}
.loan-input-note{margin:13px 0 0}
.loan-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:17px}
.loan-actions button{min-height:46px;padding:0 19px;border:1px solid #073a2d;border-radius:0;font:inherit;font-weight:800;cursor:pointer}
.loan-calculate{background:linear-gradient(180deg,#285f4d,#073c2c);color:#ffe8a7}
.loan-clear{background:#fffdf7;color:#174438;border-color:#b99a4e!important}
.loan-actions button:focus-visible,.loan-jump:focus-visible,.loan-schedule summary:focus-visible{outline:3px solid #b18b33;outline-offset:3px}
.loan-results{margin-top:22px;padding-top:19px;border-top:1px solid #e2d5b7}
.loan-results[hidden]{display:none}
.loan-results h3{margin:0 0 14px;color:#083a2d;font-size:22px}
.loan-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr));gap:10px}
.loan-summary-cell{display:flex;flex-direction:column;justify-content:space-between;gap:8px;min-width:0;min-height:76px;padding:13px;border:1px solid #dfd1ad;background:#fffefa}
.loan-summary-cell span{color:#586961;font-size:13px;line-height:1.35}
.loan-summary-cell strong{overflow-wrap:anywhere;color:#073a2d;font-size:17px}
.loan-summary-cell:nth-child(7),.loan-summary-cell:nth-child(8),.loan-summary-cell:nth-child(9){background:#eff4ee;border-color:#bfd1c4}
.loan-extremes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}
.loan-extremes article{min-width:0;padding:15px;border-left:3px solid #b6974f;background:#fffefa}
.loan-extremes h4{margin:0 0 8px;color:#173f34}
.loan-extremes p{margin:4px 0;color:#52645c;overflow-wrap:anywhere}
.loan-extremes p strong{color:#073a2d}
.loan-extremes .loan-extreme-month{font-weight:750;color:#8a671f}
.loan-schedule{margin-top:18px;border:1px solid #dfd1ad;background:#fffefa}
.loan-schedule summary{padding:14px 16px;color:#103e32;font-weight:800;cursor:pointer}
.loan-scroll-hint{margin:0;padding:0 14px 10px;color:#596c63;font-size:13px}
.loan-table-scroll{width:100%;max-width:100%;overflow:auto;overscroll-behavior-inline:contain;border-top:1px solid #e7dec9}
.loan-table-scroll:focus-visible{outline:2px solid #b6974f;outline-offset:-2px}
.loan-table-scroll table{width:100%;min-width:900px;border-collapse:collapse;font-variant-numeric:tabular-nums}
.loan-table-scroll th,.loan-table-scroll td{padding:10px 12px;border-bottom:1px solid #e9e1ce;text-align:right;white-space:nowrap}
.loan-table-scroll thead th{position:sticky;top:0;background:#103f33;color:#ffedbd;font-size:13px}
.loan-table-scroll thead th:first-child,.loan-table-scroll tbody th{text-align:center}
.loan-table-scroll tbody th{color:#173e33}
.loan-table-scroll tbody tr:nth-child(even){background:#f8f6ed}
.loan-table-scroll tfoot{background:#eef3eb;font-weight:800;color:#103e32}
.loan-table-scroll tfoot th{text-align:left;white-space:normal}
.loan-disclaimer{margin:19px 0 8px;padding:13px 15px;border-left:3px solid #b6974f;background:#f5f0e0;color:#344b40;font-size:13px;line-height:1.6}
.loan-method{margin:9px 0 0}
@media(max-width:620px){.loan-calculator{margin-top:17px;margin-bottom:17px;padding:15px}.loan-heading{flex-direction:column;gap:12px;margin-bottom:17px}.loan-jump{min-height:42px}#loan-form{padding:14px}.loan-fields{grid-template-columns:minmax(0,1fr);gap:10px}.loan-input-wrap,.loan-field select{min-height:46px}.loan-extremes{grid-template-columns:minmax(0,1fr);gap:9px}.loan-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.loan-summary-cell{padding:11px;min-height:82px}.loan-summary-cell strong{font-size:15px}.loan-actions button{flex:1 1 145px}.loan-table-scroll table{min-width:850px}}
