/* 2026-09-19: keep customer-directory cells aligned and readable at narrow widths. */
.customer-table{table-layout:fixed;min-width:1180px;width:100%;}
.customer-table th,.customer-table td{vertical-align:middle;white-space:nowrap;}
.customer-table th:nth-child(1){width:170px}.customer-table th:nth-child(2){width:130px}
.customer-table th:nth-child(3){width:98px}.customer-table th:nth-child(4){width:150px}
.customer-table th:nth-child(5){width:100px}.customer-table th:nth-child(6){width:128px}
.customer-table th:nth-child(7){width:112px}.customer-table th:nth-child(8){width:136px}.customer-table th:nth-child(9){width:112px}
.customer-table td:nth-child(4){white-space:normal}.customer-table td:nth-child(6),.customer-table td:nth-child(7),.customer-table td:nth-child(8){font-variant-numeric:tabular-nums}
.customer-table td:first-child .customer-name-view{display:flex!important;align-items:center;gap:8px;min-width:0;width:100%;}
.customer-table td:first-child .customer-identity{flex:1;min-width:0;}
.customer-table .customer-drag-handle{flex:0 0 28px;width:28px;touch-action:none;cursor:grab;}
.customer-table .customer-line-balances{min-width:112px;width:100%;}
.customer-table .customer-line-balances span{min-width:0;}
.customer-table .traffic-transfer-control{justify-content:center;}
@media(max-width:650px){
  .customer-table{min-width:0;width:100%;table-layout:auto;}
  .customer-table th,.customer-table td{white-space:normal;}
  .customer-table td:nth-child(1)::before{content:"客户"}.customer-table td:nth-child(2)::before{content:"专属链接"}
  .customer-table td:nth-child(3)::before{content:"累计实购"}.customer-table td:nth-child(4)::before{content:"可用流量"}
  .customer-table td:nth-child(5)::before{content:"销售额 / 元"}.customer-table td:nth-child(6)::before{content:"利润 / 元"}
  .customer-table td:nth-child(7)::before{content:"购买明细"}.customer-table td:nth-child(8)::before{content:"分配 / GB"}.customer-table td:nth-child(9)::before{content:"状态 / 时间"}
}
