.receivables-customer-root{--receivables-customer-bg:var(--r-bg);--receivables-customer-surface:var(--r-panel);--receivables-customer-border:var(--r-border);--receivables-customer-text:var(--r-text);--receivables-customer-muted:var(--r-muted);--receivables-customer-accent:var(--r-gold);--receivables-customer-warning:#2b2517;--receivables-customer-error:#f2a5a5;color:var(--receivables-customer-text)}
.receivables-customer-header,.receivables-customer-summary,.receivables-customer-tools,.receivables-customer-table-wrap,.receivables-customer-pagination,.receivables-customer-warnings,.receivables-customer-state{margin:1rem 0;padding:1.25rem;color:var(--receivables-customer-text);background:var(--receivables-customer-surface);border:1px solid var(--receivables-customer-border);border-radius:var(--r-radius)}
.receivables-customer-header{display:flex;justify-content:space-between;gap:1rem}.receivables-customer-header-actions,.receivables-customer-pagination{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.receivables-customer-header-actions .receivables-button,.receivables-customer-pagination .receivables-button{color:var(--receivables-customer-text);background:var(--receivables-customer-bg);border-color:var(--receivables-customer-border)}
.receivables-customer-meta{display:grid;grid-template-columns:repeat(2,minmax(12rem,1fr));gap:.75rem 1.5rem}.receivables-customer-meta dt{color:var(--receivables-customer-muted)}.receivables-customer-meta dd{margin:.2rem 0;color:var(--receivables-customer-text);font-weight:600}.receivables-customer-user-value{color:inherit;unicode-bidi:isolate;overflow-wrap:anywhere}
.receivables-customer-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.receivables-customer-summary-card{padding:1rem;color:var(--receivables-customer-text);background:var(--receivables-customer-bg);border:1px solid var(--receivables-customer-border);border-radius:10px}.receivables-customer-summary-card p{font-weight:700}
.receivables-customer-tools{display:flex;gap:1rem;flex-wrap:wrap}.receivables-customer-tools label{display:grid;gap:.4rem;min-width:14rem;color:var(--receivables-customer-text)}.receivables-customer-tools input,.receivables-customer-tools select,.receivables-customer-pagination select{min-height:44px;padding:.6rem;color:var(--receivables-customer-text);background:var(--receivables-customer-bg);border:1px solid var(--receivables-customer-border);border-radius:9px}.receivables-customer-tools select option,.receivables-customer-pagination select option{color:var(--receivables-customer-text);background:var(--receivables-customer-bg)}.receivables-customer-results{margin:.75rem 0;color:var(--receivables-customer-muted)}
.receivables-customer-table-wrap{overflow-x:auto}.receivables-customer-table{width:100%;color:var(--receivables-customer-text);background:var(--receivables-customer-surface);border-collapse:collapse}.receivables-customer-table th{color:var(--receivables-customer-accent);background:var(--receivables-customer-bg)}.receivables-customer-table th,.receivables-customer-table td{padding:.75rem;border-bottom:1px solid var(--receivables-customer-border);text-align:left}.receivables-customer-table tbody tr:hover{background:color-mix(in srgb,var(--receivables-customer-surface) 82%,var(--receivables-customer-muted))}.receivables-customer-sort{min-height:44px;color:inherit;background:transparent;border:0;font-weight:700}.receivables-customer-amount{white-space:nowrap;font-variant-numeric:tabular-nums;unicode-bidi:isolate}
.receivables-customer-pagination .receivables-button:disabled{color:var(--receivables-customer-muted);background:var(--receivables-customer-bg);border-style:dashed;cursor:not-allowed;opacity:.65}.receivables-customer-warnings{color:var(--receivables-customer-text);background:var(--receivables-customer-warning);border-color:var(--receivables-customer-accent)}.receivables-customer-banner{padding:.8rem 1rem;color:var(--receivables-customer-text);background:var(--receivables-customer-surface);border:1px solid var(--receivables-customer-accent);border-inline-start-width:4px;border-radius:10px}.receivables-customer-banner.is-error{color:var(--receivables-customer-error);border-color:var(--receivables-customer-error)}
.receivables-customer-root :focus-visible{outline:3px solid var(--receivables-customer-accent);outline-offset:3px}
@media(max-width:800px){.receivables-customer-header{display:block}.receivables-customer-meta{grid-template-columns:1fr}.receivables-customer-summary-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.receivables-customer-summary-grid{grid-template-columns:1fr}.receivables-customer-table-wrap{overflow:visible;padding:0;border:0;background:transparent}.receivables-customer-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.receivables-customer-table,.receivables-customer-table tbody,.receivables-customer-table tr,.receivables-customer-table td{display:block;width:100%}.receivables-customer-table tr{box-sizing:border-box;margin-bottom:1rem;padding:.75rem;color:var(--receivables-customer-text);background:var(--receivables-customer-surface);border:1px solid var(--receivables-customer-border);border-radius:10px}.receivables-customer-table td{box-sizing:border-box;display:grid;grid-template-columns:minmax(7rem,40%) 1fr;gap:.5rem;border:0}.receivables-customer-table td::before{color:var(--receivables-customer-muted);content:attr(data-label);font-weight:700}.receivables-customer-table td span{text-align:right;overflow-wrap:anywhere}.receivables-customer-amount{white-space:normal}}
