/* IQlator v1.11.7 — shared amortization schedule */
.iq-amort{margin:22px 0 0;border:1px solid #d7e4f4;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(26,62,105,.06);overflow:hidden}
.iq-amort-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:20px 22px;border-bottom:1px solid #e4edf7;background:linear-gradient(180deg,#f8fbff,#fff)}
.iq-amort-head h2{margin:0 0 5px;font-size:21px;color:#10233f}.iq-amort-head p{margin:0;color:#62748b;font-size:14px;line-height:1.5}
.iq-amort-toggle{border:1px solid #bed1ea;background:#fff;color:#174b8c;border-radius:10px;padding:9px 13px;font-weight:700;cursor:pointer;white-space:nowrap}
.iq-amort-body{padding:20px 22px}.iq-amort.is-collapsed .iq-amort-body{display:none}
.iq-amort-controls{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:end;margin-bottom:16px}
.iq-amort-extra{display:flex;flex-direction:column;gap:5px;min-width:190px}.iq-amort-extra label{font-size:12px;font-weight:700;color:#50647d}.iq-amort-extra input{border:1px solid #cbd9e9;border-radius:10px;padding:10px 12px;font:inherit;max-width:190px}
.iq-amort-tabs{display:inline-flex;padding:3px;background:#eef4fb;border-radius:11px;gap:3px}.iq-amort-tab{border:0;background:transparent;color:#526982;border-radius:8px;padding:8px 13px;font-weight:700;cursor:pointer}.iq-amort-tab.active{background:#fff;color:#146ef5;box-shadow:0 1px 5px rgba(36,73,115,.13)}
.iq-amort-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 17px}.iq-amort-stat{background:#f7faff;border:1px solid #e0eaf6;border-radius:12px;padding:12px}.iq-amort-stat span{display:block;color:#687b92;font-size:12px;margin-bottom:4px}.iq-amort-stat strong{color:#15365f;font-size:16px}
.iq-amort-table-wrap{width:100%;overflow-x:auto;border:1px solid #e1e9f3;border-radius:12px}.iq-amort-table{width:100%;border-collapse:collapse;min-width:690px;font-size:13px}.iq-amort-table th{position:sticky;top:0;background:#f4f8fd;color:#415974;text-align:right;padding:11px 12px;border-bottom:1px solid #dce6f2;white-space:nowrap}.iq-amort-table th:first-child,.iq-amort-table td:first-child{text-align:left}.iq-amort-table td{text-align:right;padding:10px 12px;border-bottom:1px solid #edf2f7;color:#334a64;white-space:nowrap}.iq-amort-table tr:last-child td{border-bottom:0}.iq-amort-note{margin:12px 0 0;color:#708198;font-size:12px;line-height:1.5}.iq-amort-empty{padding:16px;border-radius:12px;background:#fff8e7;color:#765717;border:1px solid #f1dfad}
@media(max-width:760px){.iq-amort-head{padding:17px;flex-direction:column}.iq-amort-body{padding:16px}.iq-amort-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.iq-amort-controls{align-items:stretch;flex-direction:column}.iq-amort-extra input{max-width:none;width:100%;box-sizing:border-box}.iq-amort-tabs{align-self:flex-start}}
@media(max-width:430px){.iq-amort-summary{grid-template-columns:1fr 1fr}.iq-amort-stat strong{font-size:14px}}
