.receivables-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap;margin-bottom:20px}.receivables-head h2{margin:0 0 8px}.receivables-head p{margin:0;max-width:760px;color:var(--text-secondary);line-height:1.5}.receivables-tabs{display:flex;gap:8px;margin-bottom:20px}.receivables-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}.receivables-summary article{display:flex;flex-direction:column;gap:8px;padding:20px;background:#fff;border:1px solid #e5e7eb;border-radius:14px;min-width:0}.receivables-summary strong{font-size:clamp(21px,2vw,30px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.receivables-summary small,.receivables-summary span{color:var(--text-secondary);line-height:1.4}.receivables-controls{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0 10px}.receivables-controls input{flex:1;min-width:220px}.receivables-controls input,.receivables-controls select{font:inherit;border:1px solid #d1d5db;border-radius:8px;padding:11px;background:#fff}.receivables-table-scroll{overflow-x:auto;border:1px solid #e5e7eb;border-radius:12px;margin-top:16px}.receivables-table{width:100%;min-width:1080px;border-collapse:collapse;background:#fff;font-size:13px;text-align:left}.receivables-table th{padding:14px 12px;background:#f8fafc;vertical-align:bottom;color:#475569}.receivables-table td{padding:16px 12px;vertical-align:top;border-top:1px solid #e5e7eb;line-height:1.5}.receivables-table td:first-child{min-width:180px;max-width:290px;overflow-wrap:anywhere}.receivables-table td>span,.receivables-table td>small,.receivables-table td>strong{display:block}.receivables-table td>small{color:#64748b;margin-top:5px}.receivables-table .is-money{text-align:right;font-variant-numeric:tabular-nums;min-width:110px}.receivables-open{color:#b91c36;font-size:16px;white-space:nowrap}.receivables-state{font-size:12px;font-weight:700;border-radius:8px;padding:6px 9px;line-height:1.4}.receivables-state.is-partial{background:#fff7ed;color:#9a3412}.receivables-state.is-unpaid{background:#fff1f2;color:#9f1239}.receivables-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px;min-width:160px}.receivables-actions .btn{font-size:12px}.receivables-table .receivables-due{color:#b91c1c;font-weight:600}.receivables-history td{padding:0 12px 12px;border-top:0;background:#fcfcfd}.receivables-note{font-size:12px;color:#92400e;margin:0;padding:8px 0}.receivables-empty{text-align:center;padding:32px;color:var(--text-secondary)}.receivables-export-note{font-size:12px;color:var(--text-secondary);margin:8px 0}.receivables-subnav{padding-left:28px!important;font-size:13px}.receivables-table .payment-case-history{margin:0}.receivables-table .payment-case-history summary{padding:9px 12px}.receivables-summary[hidden],[data-receivables-panel][hidden]{display:none!important}
@media(max-width:1000px){.receivables-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.receivables-head h2{font-size:24px}.receivables-head .payment-review-actions{width:100%}.receivables-summary{gap:8px}.receivables-summary article{padding:13px}.receivables-summary strong{font-size:22px}.receivables-controls{flex-direction:column}.receivables-controls input{min-width:0}.receivables-table{min-width:0}.receivables-table thead{display:none}.receivables-table,.receivables-table tbody,.receivables-table tr,.receivables-table td{display:block}.receivables-table tr:not(.receivables-history){border-top:3px solid #e5e7eb;padding:12px}.receivables-table td,.receivables-table .is-money{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(0,1fr);column-gap:10px;text-align:left;padding:8px 0;border:0;min-width:0;max-width:none}.receivables-table td::before{content:attr(data-label);font-weight:600;color:#64748b;font-size:12px;grid-row:1/span 10}.receivables-table .receivables-history td{display:block;padding:0 12px 12px}.receivables-history td::before{display:none}.receivables-actions{min-width:0}.receivables-table-scroll{overflow:visible}.receivables-tabs .btn{flex:1}.receivables-open{white-space:normal}}
.receivables-table .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
