.list-row { position: relative; }
.list-row:hover, .list-row:focus-within { background: #f0f5eb; }
.list-row-link { position: static; }
.list-row-link::after { content: ''; position: absolute; inset: 0; z-index: 1; cursor: pointer; }
.list-row-link:focus-visible { outline: none; }
.list-row-link:focus-visible::after { outline: 2px solid #527858; outline-offset: -3px; }
.list-row .list-row-action, .list-row a:not(.list-row-link), .list-row button, .list-row input, .list-row select, .list-row summary { position: relative; z-index: 2; }
th:has(> .table-sort-control) { padding: 0; }
.table-sort-control { display: flex; align-items: center; gap: 8px; min-height: 48px; width: 100%; padding: 13px 18px; color: #596e5c; font: inherit; font-weight: 600; letter-spacing: inherit; text-align: inherit; white-space: nowrap; border: 0; border-radius: 0; background: transparent; cursor: pointer; }
.table-sort-control:hover { background: #edf3e8; color: #234e3d; }
.table-sort-control:focus-visible { outline: 2px solid #527858; outline-offset: -3px; }
.table-sort-indicator { display: inline-block; position: relative; flex: none; width: 12px; height: 18px; color: #7c927d; }
.table-sort-indicator::before, .table-sort-indicator::after { content: ''; position: absolute; left: 3px; width: 6px; height: 6px; box-sizing: border-box; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.table-sort-indicator::before { top: 3px; transform: rotate(225deg); }
.table-sort-indicator::after { bottom: 3px; transform: rotate(45deg); }
th[aria-sort=ascending] > .table-sort-control, th[aria-sort=descending] > .table-sort-control { background: #edf3e8; color: #234e3d; }
th[aria-sort=ascending] .table-sort-indicator, th[aria-sort=descending] .table-sort-indicator { color: #234e3d; }
th[aria-sort=ascending] .table-sort-indicator::after, th[aria-sort=descending] .table-sort-indicator::before { opacity: .2; }
[data-list-region][aria-busy=true] { cursor: progress; }
.list-update-error { margin: 0; padding: 12px 18px; color: #a43333; background: #fff0ed; font-size: 14px; }
.payment-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid; border-radius: 100px; font-size: 13px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.payment-status-paid { color: #17643c; background: #e3f3e9; border-color: #bddfc9; }
.payment-status-unpaid { color: #a43333; background: #fff0ed; border-color: #efcbc5; }
.payment-status-partial { color: #8a5d13; background: #fff5dc; border-color: #ecd89d; }
.payment-status-draft { color: #606a71; background: #edf0f2; border-color: #d7dde1; }
.payment-status-voided { color: #6e4646; background: #f3e9e9; border-color: #ddc5c5; }
.payment-status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.payment-status svg { flex: none; }
@media (max-width: 1100px) {
    .customer-table.list-table thead { display: block; position: static; width: auto; height: auto; clip-path: none; overflow: visible; white-space: normal; background: #fafbf6; }
    .customer-table.list-table thead tr { display: flex; flex-wrap: wrap; }
    .customer-table.list-table thead th { display: block; flex: 1 1 auto; border: 0; }
    .customer-table.list-table .table-sort-control { justify-content: center; padding: 12px; }
    .customer-table.list-table .customer-row td:first-child { grid-column: 1 / -1; }
}
@media print {
    .table-sort-indicator, .list-update-error { display: none !important; }
    .table-sort-control { min-height: 0; padding: 0; color: inherit; background: none !important; }
    .list-row-link::after { display: none; }
}
@media screen and (max-width: 600px) {
    .customer-table.list-table thead tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
