/* Debt payoff widget - one compact fieldset per debt. */
.dp-list { display: grid; gap: 8px; }
.dp-debt {
    position: relative; margin: 0; padding: 8px 10px 10px; min-width: 0;
    border: 1px solid var(--e-line); border-radius: 10px; background: var(--e-surface);
}
.dp-debt[hidden] { display: none; }
.dp-title { padding: 0 4px; font-size: .86em; font-weight: 650; color: var(--e-ink); }
.dp-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dp-fields .e-affix { padding: 0 6px; }
.dp-fields .e-input { padding-left: 7px; padding-right: 7px; }
.dp-remove {
    position: absolute; top: -2px; right: 8px; font: inherit; font-size: .78em; cursor: pointer;
    background: var(--e-bg); color: var(--e-ink-2); border: 1px solid var(--e-line-strong); border-radius: 6px; padding: 2px 8px;
}
.dp-remove:focus-visible { outline: 2px solid var(--e-focus); outline-offset: 2px; }
.dp-remove[hidden], .e-btns .e-btn[hidden] { display: none; }
@media (max-width: 360px) {
    .dp-fields { grid-template-columns: 1fr 1fr; }
    .dp-fields .e-field:first-child { grid-column: 1 / -1; }
}
