.installment-notice{padding:12px 14px;background:#fff8e7;border-left:3px solid #aa791b;color:#4c411f;line-height:1.55;margin-bottom:20px}
.installment-fields,.installment-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}
.installment-fields label,#installment-form>label{display:grid;gap:6px;min-width:0}
.installment-fields input,#installment-form textarea,#installment-signer{width:100%;box-sizing:border-box}
.installment-totals{padding:16px 0;border-block:1px solid #ddd}.installment-totals strong{display:block;font-size:20px;margin-top:5px}
.installment-table{overflow:auto;max-height:380px}.installment-table table{width:100%;border-collapse:collapse;white-space:nowrap}.installment-table th,.installment-table td{padding:9px;text-align:right;border-bottom:1px solid #ddd}.installment-table th{position:sticky;top:0;background:#f6f6f7}.installment-table th:first-child,.installment-table td:first-child{text-align:left}
.installment-terms{white-space:pre-wrap;line-height:1.6;margin:16px 0;overflow-wrap:anywhere}.installment-history{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid #ddd}.installment-history p{margin:5px 0}
#installment-pad{display:block;width:100%;aspect-ratio:10/3;height:auto;background:#fff;border:1px solid #767676;border-radius:4px;touch-action:none;margin:16px 0}
.installment-consent{display:flex;align-items:flex-start;gap:10px;margin:20px 0;line-height:1.5}.installment-consent input{width:18px;height:18px;flex:0 0 18px;margin-top:3px}
@media(max-width:600px){.installment-fields,.installment-totals{grid-template-columns:1fr}.installment-history{align-items:flex-start;flex-direction:column}}
.modal-backdrop:has(.installment-modal){z-index:2000}
.installment-modal .modal-head,.installment-modal .modal-foot{flex-shrink:0}
.installment-modal .modal-body{min-height:0}
.installment-modal input:not([type=checkbox]),.installment-modal textarea{font:inherit;color:var(--ink,#293238);padding:10px 12px;border:1px solid #bdc9cd;border-radius:4px;background:#fff;min-height:42px}
.installment-modal textarea{resize:vertical}
