/* Палитра CRM (та же, что в sales.html) */
body{background:#0f141b;color:#e4e4e7}
.bg-zinc-950{background-color:#0f141b}
.bg-zinc-900{background-color:#161d27}
.border-zinc-800{border-color:#2a3340}
.border-zinc-700{border-color:#3a4453}
.bg-zinc-800{background-color:#1a212b}
.text-zinc-100{color:#f1f5f9}
.text-zinc-200{color:#e2e8f0}
.text-zinc-300{color:#cbd5e1}
.text-zinc-400{color:#94a3b8}
.text-zinc-500{color:#7c8ba1}
.text-zinc-600{color:#64748b}

::-webkit-scrollbar{width:6px;height:6px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:#2a3340;border-radius:3px}
::-webkit-scrollbar-thumb:hover{background:#3a4453}

.eb-nav{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:8px;color:#94a3b8;text-decoration:none;font-size:13px}
.eb-nav:hover{background:rgba(255,255,255,.05);color:#e2e8f0}
.eb-nav.active{background:rgba(59,130,246,.14);color:#60a5fa}
.eb-nav svg{flex-shrink:0;color:#64748b}
.eb-nav.active svg{color:#60a5fa}

.eb-badge{display:inline-flex;align-items:center;padding:2px 10px;border-radius:999px;font-size:11px;font-weight:600;letter-spacing:.02em}
.eb-badge-blue{background:rgba(59,130,246,.14);color:#93c5fd;border:1px solid rgba(59,130,246,.28)}

.eb-btn{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;border-radius:8px;border:1px solid #3a4453;background:#1a212b;color:#e2e8f0;font-size:12px;font-weight:500;cursor:pointer;white-space:nowrap;transition:background .15s ease}
.eb-btn:hover{background:#232b36;color:#fff}
.eb-btn-primary{background:#2563eb;border-color:#2563eb;color:#fff}
.eb-btn-primary:hover{background:#1d4ed8}
.eb-btn-green{background:#166534;border-color:#166534;color:#dcfce7}
.eb-btn-green:hover{background:#15803d}
.eb-btn-red{background:#7f1d1d;border-color:#7f1d1d;color:#fee2e2}
.eb-btn-red:hover{background:#991b1b}

.eb-input{background:#111820;border:1px solid #3a4453;color:#e2e8f0;border-radius:8px;padding:7px 11px;font-size:12px;outline:none}
.eb-input:focus{border-color:#3b82f6}
.eb-textarea{background:#0d141b;border:1px solid #3a4453;color:#e2e8f0;border-radius:10px;padding:12px;font-size:13px;line-height:1.55;outline:none;resize:vertical}
.eb-textarea:focus{border-color:#3b82f6}

.eb-card{background:#161d27;border:1px solid #2a3340;border-radius:12px}
.eb-stat{background:#161d27;border:1px solid #2a3340;border-radius:12px;padding:14px 16px}
.eb-stat-n{font-size:22px;font-weight:700;color:#f1f5f9;line-height:1}
.eb-stat-l{font-size:10px;color:#7c8ba1;text-transform:uppercase;letter-spacing:.08em;margin-top:6px}

.eb-tab{padding:10px 14px;font-size:13px;color:#7c8ba1;border:0;border-bottom:2px solid transparent;background:transparent;cursor:pointer}
.eb-tab:hover{color:#e2e8f0}
.eb-tab.active{color:#60a5fa;border-bottom-color:#3b82f6}

.eb-table{width:100%;border-collapse:collapse;font-size:13px}
.eb-table th{text-align:left;padding:11px 16px;color:#7c8ba1;font-weight:500;font-size:11px;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #2a3340;white-space:nowrap;background:#1a212b}
.eb-table td{padding:12px 16px;border-bottom:1px solid #222a35;vertical-align:top;color:#cbd5e1}
.eb-table tbody tr:hover td{background:rgba(255,255,255,.03)}
.eb-table tbody tr:last-child td{border-bottom:0}

.eb-toast{background:#1a212b;border:1px solid #3a4453;color:#e2e8f0;padding:10px 14px;border-radius:10px;font-size:12px;box-shadow:0 10px 30px rgba(0,0,0,.45)}

.eb-pill{display:inline-block;padding:2px 9px;border-radius:6px;font-size:11px;font-weight:600;white-space:nowrap}
.eb-pill-a{background:rgba(34,197,94,.14);color:#86efac}
.eb-pill-b{background:rgba(59,130,246,.14);color:#93c5fd}
.eb-pill-c{background:rgba(245,158,11,.14);color:#fcd34d}
.eb-pill-d{background:rgba(168,85,247,.14);color:#d8b4fe}
.eb-pill-red{background:rgba(239,68,68,.14);color:#fca5a5}
.eb-pill-yellow{background:rgba(245,158,11,.14);color:#fcd34d}
.eb-pill-other{background:rgba(113,113,122,.18);color:#a1a1aa}

.eb-muted{color:#7c8ba1}
.eb-link{color:#60a5fa;cursor:pointer}
.eb-link:hover{text-decoration:underline}
@media(max-width:900px){.eb-stat-n{font-size:18px}}
