#customers-root { font-size:12px; color:var(--text-primary); display:grid; gap:14px; }
#customers-root [hidden] { display:none!important; }
#customers-root .customers-panel,#customers-root .customers-card { padding:18px; border:1px solid var(--border-default); border-radius:12px; background:var(--bg-surface); box-shadow:0 1px 3px #00000012; }
#customers-root .customers-row,#customers-root .customers-vehicle { display:flex; justify-content:space-between; align-items:center; gap:14px; }
#customers-root .customers-heading { display:flex; gap:11px; align-items:center; min-width:0; }
#customers-root .customers-heading h2 { font-size:14px; font-weight:600; overflow-wrap:anywhere; }
#customers-root .customers-heading p { font-size:11px; margin-top:4px; color:var(--text-secondary); overflow-wrap:anywhere; }
#customers-root .customers-mark { display:grid; place-items:center; border:1px solid #388bfd40; background:#388bfd16; color:var(--accent); border-radius:9px; width:34px; height:34px; flex-shrink:0; }
#customers-root .customers-icon { width:15px; height:15px; flex-shrink:0; }
#customers-root .customers-button { display:inline-flex; gap:6px; align-items:center; justify-content:center; background:var(--bg-subtle); color:var(--text-primary); border:1px solid var(--border-default); border-radius:8px; min-height:36px; padding:7px 11px; font-size:11px; font-weight:500; }
#customers-root .customers-button:hover { background:var(--bg-card-hover); border-color:var(--text-muted); }
#customers-root .customers-button.is-primary { color:white; background:var(--accent); border-color:var(--accent); }
#customers-root .customers-button:disabled { opacity:.5; cursor:wait; }
#customers-root .customers-actions,#customers-root .customers-vehicles { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
#customers-root .customers-actions { margin:14px 0; }
#customers-root .customers-row>.customers-actions { margin:0; }
#customers-root .customers-vehicles { margin-top:16px; }
#customers-root .customers-chip { display:inline-flex; gap:6px; align-items:center; padding:6px 8px; border:1px solid var(--border-muted); border-radius:6px; background:var(--bg-canvas); color:var(--text-secondary); }
#customers-root .customers-meta { display:flex; gap:16px; flex-wrap:wrap; margin-top:14px; padding-top:12px; border-top:1px solid var(--border-muted); color:var(--text-secondary); font-size:11px; }
#customers-root .customers-list { display:grid; gap:10px; }
#customers-root .customers-controls { display:flex; gap:12px; align-items:center; }
#customers-root .customers-controls>input { flex:1; min-width:0; }
#customers-root .customers-muted { color:var(--text-secondary); font-size:11px; line-height:1.6; }
#customers-root .customers-field { display:grid; gap:6px; min-width:0; color:var(--text-secondary); font-size:11px; }
#customers-root input { width:100%; border:1px solid var(--border-default); border-radius:8px; padding:10px 11px; font-size:12px; color:var(--text-primary); background:var(--bg-canvas); }
#customers-root input::placeholder { color:var(--text-muted); }
#customers-root :is(input,button):focus-visible { outline:2px solid #58a6ff; outline-offset:2px; }
#customers-root .customers-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin:20px 0 12px; }
#customers-root form>.customers-button { margin-top:16px; }
#customers-root .customers-section-title { font-size:12px; font-weight:600; padding-top:18px; margin:16px 0 12px; border-top:1px solid var(--border-muted); }
#customers-root .customers-vehicle,#customers-root .customers-history { padding:12px; border:1px solid var(--border-muted); border-radius:9px; background:var(--bg-canvas); }
#customers-root .customers-history { display:flex; gap:12px; justify-content:space-between; align-items:center; }
#customers-root .customers-history-money { display:grid; gap:4px; font-size:11px; font-variant-numeric:tabular-nums; }
#customers-root .customers-pagination { display:flex; gap:8px; justify-content:flex-end; }
#customers-root .customers-empty { display:flex; flex-direction:column; gap:10px; align-items:center; padding:40px 20px; border:1px dashed var(--border-default); border-radius:12px; background:var(--bg-surface); text-align:center; color:var(--text-secondary); }
#customers-root .customers-empty h3 { font-size:14px; font-weight:600; color:var(--text-primary); }
#customers-root .customers-empty>.customers-icon { width:28px; height:28px; }
#customers-root .customers-error { padding:12px; color:#fb7185; border:1px solid #f43f5e50; background:#f43f5e10; border-radius:8px; white-space:pre-wrap; }
[data-theme=light] #customers-root .customers-error { color:#be123c; }
.customers-analytics { padding:14px; border:1px solid var(--border-default); border-radius:12px; background:var(--bg-surface); }
.customers-analytics>summary { cursor:pointer; font-size:12px; color:var(--text-secondary); }
.customers-analytics[open]>summary { margin-bottom:14px; }
.customers-analytics>div+div { margin-top:14px; }
@media(max-width:639px) {
  #customers-root .customers-panel,#customers-root .customers-card { padding:14px; }
  #customers-root .customers-row,#customers-root .customers-vehicle { align-items:stretch; flex-direction:column; }
  #customers-root .customers-row>.customers-actions { justify-content:flex-end; }
  #customers-root .customers-row>.customers-button { align-self:flex-end; }
  #customers-root .customers-controls { align-items:stretch; flex-direction:column; gap:6px; }
  #customers-root .customers-fields { grid-template-columns:minmax(0,1fr); }
  #customers-root .customers-history { align-items:flex-start; flex-wrap:wrap; }
  #customers-root .customers-history>.customers-button { margin-left:auto; }
  #customers-root .customers-button { min-height:42px; }
  #customers-root input { font-size:16px; }
}
