:root{--bg: #0a0f1a;--surface: #121a2c;--surface-2: #1a2438;--border: rgba(255, 255, 255, .08);--text: #e8edf7;--text-muted: #8b97ae;--accent: #34d1a8;--accent-soft: rgba(52, 209, 168, .15);--danger: #ff5470;--danger-soft: rgba(255, 84, 112, .15);--radius: 16px}*{box-sizing:border-box}html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:Vazirmatn,-apple-system,sans-serif}#root{min-height:100vh;padding:16px 16px 32px}.mono{font-family:JetBrains Mono,monospace;font-feature-settings:"tnum"}.center-screen{min-height:80vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;color:var(--text-muted)}.header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.header h1{font-size:18px;font-weight:700;margin:0}.role-badge{font-size:12px;padding:4px 10px;border-radius:999px;background:var(--accent-soft);color:var(--accent);border:1px solid rgba(52,209,168,.3)}.summary-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:20px}.summary-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px}.summary-card .label{font-size:12px;color:var(--text-muted);margin-bottom:6px}.summary-card .value{font-size:19px;font-weight:700}.summary-card.debt .value{color:var(--danger)}.summary-card.profit .value{color:var(--accent)}.ping-pulse{position:relative;width:9px;height:9px;border-radius:50%;display:inline-block;flex-shrink:0}.ping-pulse.active{background:var(--accent);box-shadow:0 0 #34d1a899;animation:ping-ring 1.8s ease-out infinite}.ping-pulse.limited{background:var(--danger)}@keyframes ping-ring{0%{box-shadow:0 0 #34d1a88c}70%{box-shadow:0 0 0 8px #34d1a800}to{box-shadow:0 0 #34d1a800}}@media (prefers-reduced-motion: reduce){.ping-pulse.active{animation:none}}.customer-list{display:flex;flex-direction:column;gap:10px}.customer-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px}.customer-card .top-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.customer-card .name{display:flex;align-items:center;gap:8px;font-weight:600}.customer-card .name .sub{font-size:12px;color:var(--text-muted);font-weight:400}.customer-card .stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;font-size:12px}.customer-card .stats-row .stat-label{color:var(--text-muted);margin-bottom:2px}.customer-card .stats-row .stat-value{font-size:13px}.customer-card .stat-value.debt{color:var(--danger)}.section-title{font-size:14px;font-weight:700;margin:24px 0 10px;color:var(--text-muted)}.mapping-row{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;background:var(--surface);border:1px solid var(--border);border-radius:12px;margin-bottom:8px;font-size:13px}.mapping-row .count{background:var(--surface-2);padding:2px 8px;border-radius:999px;font-size:11px;color:var(--text-muted)}.filter-bar{display:flex;gap:8px;margin-bottom:14px;overflow-x:auto}.filter-chip{flex-shrink:0;font-size:12px;padding:6px 14px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text-muted)}.filter-chip.active{background:var(--accent-soft);border-color:#34d1a866;color:var(--accent)}
