.customers-actions{display:flex;flex-wrap:wrap;gap:10px}
.customers-search{max-width:440px;margin:22px 0}
.customers-table{min-width:1000px}
.customers-table td{vertical-align:top}
.customers-table td small{display:block;color:var(--muted);font-size:11px;margin-top:6px}
.customers-table td:nth-child(2){white-space:nowrap}
.customer-name{font-size:13px;white-space:normal;text-align:left}
.customers-paging{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:14px;padding:18px}
.customer-dialog{width:min(920px,calc(100vw - 32px));max-height:90svh;overflow:auto}
.customer-fields{margin:18px 0 24px}
.customer-fields>div{display:grid;grid-template-columns:180px minmax(0,1fr);gap:18px;padding:9px 0;border-bottom:1px solid var(--line)}
.customer-fields dt{font-weight:600;font-size:12px}
.customer-fields dd{margin:0;color:var(--muted);overflow-wrap:anywhere;white-space:pre-wrap;font-size:12px}
.customer-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}
.customer-totals>div{background:var(--surface-soft);border:1px solid var(--line);border-radius:12px;padding:16px;min-width:0}
.customer-totals span{display:block;color:var(--muted);font-size:11px;margin-bottom:8px}
.customer-totals strong{font-size:20px;overflow-wrap:anywhere}
.customer-dialog h3{font-size:16px;margin:24px 0 12px}
.customer-dialog .inventory-scroll{max-width:100%}
.customer-orders-table{min-width:620px}
@media(max-width:600px){.customer-fields>div{grid-template-columns:105px minmax(0,1fr);gap:12px}.customer-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-totals>div{padding:12px}.customer-totals strong{font-size:17px}.customers-paging{justify-content:flex-start;padding:14px}.customers-search{max-width:none}.customer-dialog{padding:20px}}
