.customer-stats { grid-template-columns: repeat(4,1fr); }
.customer-stats #customerEta { font-size: 18px; }
.customer-stats #customerEta small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; font-weight: 500; }
.customer-table-wrap { padding: 0; overflow-x: auto; }
.customer-table { width: 100%; min-width: 1100px; border-collapse: collapse; }
.customer-table th, .customer-table td { padding: 14px 15px; border-bottom: 1px solid #e7efec; text-align: left; vertical-align: middle; }
.customer-table th { color: var(--muted); background: #f7faf9; font-size: 12px; }
.customer-table td > small, .eta small { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
.customer-table td:last-child .badge { display: block; width: max-content; margin: 3px 0; }
.list-ball { min-width: 155px; font-variant-numeric: tabular-nums; }
.list-ball span, .list-ball small { color: var(--muted); font-size: 11px; }
.list-ball .track { display: inline-block; width: 92px; height: 6px; margin: 7px 6px 0 0; }
.ball-eta { margin-top: 7px; padding-top: 7px; border-top: 1px solid #e1eae6; color: #285f52; }
.ball-eta > strong { display: block; font-size: 12px; }
.ball-eta > small { display: block; margin-top: 2px; }
.efficiency { display: block; margin-top: 5px; color: #16745d!important; font-size: 11px!important; font-weight: 700; white-space: nowrap; }
.eta { min-width: 130px; }
@media(max-width:760px){
  .customer-stats{grid-template-columns:1fr 1fr}
  .customer-table-wrap{margin:0;padding:10px;background:transparent;border:0;box-shadow:none;overflow:visible}
  .customer-table{display:block;min-width:0}
  .customer-table thead{display:none}
  .customer-table tbody{display:grid;gap:12px}
  .customer-table tr{display:grid;grid-template-columns:1fr 1fr;background:#fff;border:1px solid var(--line);border-radius:16px;padding:6px 14px;box-shadow:0 10px 28px rgba(18,70,57,.08)}
  .customer-table td{display:block;padding:12px 8px;border-bottom:1px solid #e8efec;min-width:0}
  .customer-table td::before{content:attr(data-label);display:block;margin-bottom:7px;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.02em}
  .customer-table td:nth-child(1),.customer-table td:nth-child(5),.customer-table td:nth-child(6){grid-column:1/-1}
  .customer-table td:nth-child(5){border-bottom:1px solid #e8efec}
  .customer-table td:nth-child(6){border-bottom:0}
  .customer-table td:last-child .badge{display:inline-flex;margin:2px 4px 2px 0}
  .list-ball{min-width:0}
  .list-ball .track{width:calc(100% - 45px)}
  .eta{min-width:0}
}
@media(max-width:430px){.customer-table tr{grid-template-columns:1fr}.customer-table td{grid-column:1/-1!important}.customer-stats{gap:8px}.customer-stats article{padding:14px}}
.account-controls{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}.account-controls button{padding:6px 10px;font-size:12px}.account-controls button.stop{background:#fff0f0;color:#b42318;border:1px solid #fecaca}.account-controls button:disabled{opacity:.4;cursor:not-allowed}
.control-overlay{position:fixed;inset:0;z-index:9999;background:rgba(15,40,35,.52);backdrop-filter:blur(2px);display:grid;place-items:center;padding:24px}.control-dialog{width:min(360px,100%);background:#fff;border-radius:18px;padding:28px 22px;box-shadow:0 24px 70px rgba(0,0,0,.28);display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px}.control-dialog strong{font-size:20px;color:#173f37}.control-dialog small{color:#64748b;line-height:1.6}.control-spinner{width:38px;height:38px;border:4px solid #d7eee8;border-top-color:#13866f;border-radius:50%;animation:control-spin .8s linear infinite}@keyframes control-spin{to{transform:rotate(360deg)}}
.plan-state{margin-top:8px;padding:7px 9px;border-radius:9px;display:flex;flex-direction:column;gap:2px}.plan-state.active{background:#e8f7f1;color:#08745f}.plan-state.inactive{background:#f1f5f4;color:#64748b}.plan-state small{font-size:11px}.plan-form{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:12px;align-items:end}.plan-form label{display:flex;flex-direction:column;gap:6px}.plan-rows{margin-top:18px}.plan-row{display:grid;grid-template-columns:1.1fr 1.5fr auto;gap:14px;align-items:center;padding:13px 0;border-top:1px solid #e5eeeb}.plan-row strong,.plan-row small{display:block}.plan-row small{margin-top:4px;color:#64748b}@media(max-width:700px){.plan-form{grid-template-columns:1fr}.plan-row{grid-template-columns:1fr}.plan-row button{justify-self:start}}
.plan-form{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.plan-form label[hidden]{display:none!important}.plan-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.plan-actions:empty{display:none}@media(max-width:700px){.plan-actions{justify-content:flex-start}}
.details-toggle{display:none;width:100%;margin-top:10px;padding:8px;background:#f0f7f5;color:#176b59;border:1px solid #d5e9e3}
@media(max-width:760px){.details-toggle{display:block}.customer-table tr:not(.details-open) td:nth-child(3),.customer-table tr:not(.details-open) td:nth-child(4){display:none}.customer-table tr:not(.details-open) .plan-state{display:none}.customer-table tr.details-open{border-color:#9fd4c7}.customer-table tr.details-open .details-toggle{background:#e4f3ef}}
