.rpt-debt{min-width:0}.rpt-debt-title{margin:0 0 12px}.rpt-debt-nav{display:flex;flex-wrap:wrap;gap:4px 14px;margin:0 0 14px;border-bottom:1px solid var(--line)}.rpt-debt-nav button{min-height:44px;padding:8px 4px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--text);font-weight:600}.rpt-debt-nav button[aria-pressed=true]{border-bottom-color:var(--blue);color:var(--accent-ink)}.rpt-debt-form{display:grid;gap:10px;margin-bottom:12px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--card)}.rpt-debt-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,168px),1fr));gap:8px 12px}.rpt-debt-grid label{display:grid;align-content:start;gap:4px;min-width:0;font-weight:600}.rpt-debt-grid :is(input,select){box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:var(--input-bg, var(--card));color:var(--input-text, var(--text));font-size:16px}.rpt-debt-btn{min-height:44px;max-width:100%;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--text);overflow-wrap:anywhere;font-weight:600}.rpt-debt-btn--primary{border-color:var(--blue);background:var(--blue);color:var(--on-primary)}.rpt-debt-actions{display:flex;flex-wrap:wrap;gap:8px}.rpt-debt-exports{margin-block:10px}.rpt-debt [hidden],.rpt-debt-error:empty{display:none!important}.rpt-debt-error{margin:0;color:var(--danger-text)}.rpt-debt-advanced summary{display:list-item;min-height:44px;padding:10px 4px;cursor:pointer;font-weight:600}.rpt-debt-party{position:relative;min-width:0}.rpt-debt-suggestions{position:absolute;inset-inline:0;top:56px;z-index:8;max-height:230px;overflow:auto;padding:4px;border:1px solid var(--line);border-radius:10px;background:var(--card);box-shadow:var(--shadow)}.rpt-debt-suggestions .rpt-debt-btn{width:100%;text-align:start}.rpt-debt [data-debt-party]{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;overflow-wrap:anywhere}.rpt-debt [data-debt-totals] h4{margin:10px 0 6px}.rpt-debt-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px;margin-bottom:12px}.rpt-debt-totals section{min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--card)}.rpt-debt-totals h5,.rpt-debt-totals dl{margin:0}.rpt-debt-totals dl{padding-top:6px}.rpt-debt-totals dl div{display:flex;flex-wrap:wrap;gap:4px 10px;justify-content:space-between}.rpt-debt-totals dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums}.rpt-debt-reconciliation{padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--muted)}.rpt-debt-scroll{max-width:100%;overflow:auto}.rpt-debt-table{width:100%}.rpt-debt-table td{vertical-align:top}.rpt-debt-table td small{display:block;margin-block:3px;color:var(--muted)}.rpt-debt-table td:nth-child(1),.rpt-debt-table td:nth-child(2){min-width:9rem;max-width:18rem;overflow-wrap:anywhere}.rpt-debt-number{white-space:nowrap;text-align:end;font-variant-numeric:tabular-nums}.rpt-debt-status{font-weight:600}.rpt-debt-modal .rpt-debt-dialog{box-sizing:border-box;display:flex;flex-direction:column;width:min(100%,900px);max-height:100%;border:1px solid var(--line);border-radius:14px;background:var(--card)}.rpt-debt-dialog header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-bottom:1px solid var(--line)}.rpt-debt-dialog h3{margin:0}.rpt-debt-dialog [data-debt-dialog-body]{min-height:0;overflow:auto;padding:12px}.rpt-debt-context{margin:0;overflow-wrap:anywhere}.rpt-debt-opening{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr));gap:8px 16px;padding:12px;border:1px solid var(--line);border-radius:8px}.rpt-debt-opening dt{font-weight:600}.rpt-debt-opening dd{margin:4px 0 0;font-variant-numeric:tabular-nums}.rpt-debt-payment-pagination{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding-top:8px}@media(max-width:768px){.rpt-debt-grid input[type=date]{height:44px!important;min-height:44px!important;max-height:44px!important}.rpt-debt-table,.rpt-debt-table tbody,.rpt-debt-table tr{display:block}.tbl.rpt-debt-table{min-width:0}.rpt-debt-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.rpt-debt-table tbody{display:grid;gap:8px}.rpt-debt-table tbody tr{padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:var(--card)}.rpt-debt-table tbody td[data-label]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);align-items:start;gap:4px 8px;width:100%;min-width:0;max-width:none;padding:5px 0;border:0;white-space:normal;text-align:start;overflow-wrap:anywhere}.rpt-debt-table td[data-label]:before{content:attr(data-label);color:var(--muted)}.rpt-debt-table td[data-label] small{grid-column:2;margin:0}}@media(max-width:520px){.rpt-debt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rpt-debt-form>.rpt-debt-grid>label:first-child,.rpt-debt-party{grid-column:1 / -1}.rpt-debt-exports .rpt-debt-btn{flex:1 1 0;padding-inline:6px}}
