.nafaka-debt{--debt-line:var(--line,#dedbd5);max-width:840px;min-width:0;font-variant-numeric:tabular-nums}
.debt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px}.debt-grid>div{min-width:0}
.nafaka-debt label{display:block;font-weight:600;margin:0 0 8px}.nafaka-debt small,.nafaka-debt .debt-note{display:block;font-size:14px;line-height:1.65;color:var(--muted,#68655f);margin:8px 0 0}
.nafaka-debt input,.nafaka-debt select{box-sizing:border-box;width:100%;min-width:0;min-height:48px;padding:10px 12px;border:1px solid var(--debt-line);border-radius:2px;background:var(--paper,#fbfaf8);color:var(--ink,#292826);font:inherit}
.nafaka-debt input:focus,.nafaka-debt select:focus,.nafaka-debt button:focus-visible,.debt-scroll:focus-visible{outline:2px solid var(--accent,#7d514c);outline-offset:2px}
.nafaka-debt button{min-height:46px;padding:9px 18px;border:1px solid var(--ink,#292826);border-radius:2px;background:var(--ink,#292826);color:var(--paper,#fff);font:inherit;cursor:pointer}.nafaka-debt .debt-secondary{background:transparent;color:var(--ink,#292826)}
.debt-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}.nafaka-debt button:disabled{opacity:.6;cursor:wait}
.nafaka-debt .debt-payments{margin:30px 0 0;padding:20px 0 0;border:0;border-top:1px solid var(--debt-line);min-width:0}.debt-payments legend{font-weight:600;padding-right:14px}.debt-payment{padding:20px 0;border-bottom:1px solid var(--debt-line)}.debt-payment h3{font-size:17px!important;margin:0 0 16px!important}.debt-payment .debt-remove{margin-top:12px;padding:6px 12px;font-size:14px}.debt-payment [data-payment-note]{font-size:15px}
.nafaka-debt .debt-details{margin:24px 0;border-top:1px solid var(--debt-line);padding-top:16px;min-width:0}.debt-details>summary{min-height:32px;cursor:pointer;line-height:1.6}.debt-details[open]>summary{margin-bottom:16px}.debt-details label{margin-top:16px}.debt-details .debt-details{margin:14px 0;padding-top:12px}.nafaka-debt .debt-check{display:flex;gap:12px;align-items:flex-start;margin-top:26px;font-weight:400}.debt-check input{width:20px;min-height:20px;height:20px;margin:3px 0;flex:0 0 20px;accent-color:var(--ink,#292826)}
.nafaka-debt .debt-result{border-top:1px solid var(--debt-line);margin-top:32px;padding-top:24px;min-width:0}.nafaka-debt .debt-total{font-size:clamp(28px,5vw,40px);font-weight:600;letter-spacing:-.02em;margin:8px 0 12px}.debt-summary{margin:22px 0}.debt-summary>div{display:flex;justify-content:space-between;gap:18px;padding:10px 0;border-bottom:1px solid var(--debt-line)}.debt-summary dt{font-size:15px}.debt-summary dd{margin:0;white-space:nowrap}.debt-summary .debt-net{font-weight:600}.debt-warning{font-size:14px;line-height:1.65;border-left:2px solid var(--accent,#7d514c);padding:8px 0 8px 16px;margin:18px 0}.debt-error{color:#7b2925}.debt-scroll{overflow-x:auto;max-width:100%;min-width:0}.debt-table{width:100%;border-collapse:collapse;font-size:13px}.debt-table caption{text-align:left;font-size:14px;padding:0 0 12px}.debt-table th,.debt-table td{text-align:left;padding:11px 9px;border-bottom:1px solid var(--debt-line);white-space:nowrap}.debt-table th{font-weight:600}.debt-payment-ledger{margin:0 0 20px;font-size:14px;line-height:1.7}.debt-contact{font-size:15px;line-height:1.8;margin-top:26px}.nafaka-debt [hidden]{display:none!important}
@media(max-width:600px){.debt-grid{grid-template-columns:minmax(0,1fr);gap:18px}.nafaka-debt input[type=date],.nafaka-debt input[type=month]{min-width:0}.debt-summary>div{display:block}.debt-summary dd{margin-top:5px}.nafaka-debt select{font-size:15px}.debt-table{font-size:12px}.debt-actions button{max-width:100%}}

.debt-important{max-width:840px;margin:24px 0 28px;padding:18px 20px;border:2px solid var(--accent,#7d514c);background:color-mix(in srgb,var(--accent,#7d514c) 8%,var(--paper,#fbfaf8));color:var(--ink,#292826);line-height:1.7}
.debt-important h3{font-size:18px!important;line-height:1.35;margin:0 0 10px!important;font-weight:700}
.debt-important p{margin:8px 0}.debt-important p:last-child{margin-bottom:0}

@media print{.nafaka-debt input,.nafaka-debt select,.debt-payments,.debt-check,.debt-actions,.debt-contact{display:none}.debt-scroll{overflow:visible}.debt-table{font-size:9px}.debt-table th,.debt-table td{padding:4px}.debt-result{border:0}.debt-details{break-inside:auto}}

.debt-step-intro{max-width:760px;margin:0 0 18px;line-height:1.65}
.debt-important{padding:14px 17px;margin:18px 0 24px;border-left:3px solid var(--accent,#7d514c);background:var(--paper,#fbfaf8)}
.debt-important h3{margin:0 0 7px;font-size:17px}.debt-important p{margin:7px 0;line-height:1.6}
@media(max-width:600px){.debt-important{padding:12px 14px}}
.debt-step-label{font-weight:650;margin:22px 0 12px;line-height:1.45}
