/* Superior Group CRM - Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #1e3a5f;
  --primary-light: #2563eb;
  --secondary: #c8a94a;
  --accent: #ef4444;
  --success: #10b981;
  --warning: #f59e0b;
  --info: #3b82f6;
  --sidebar-width: 260px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  background: #f1f5f9;
  color: #1e293b;
  overflow-x: hidden;
}

/* ===================== SCROLLBAR ===================== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 3px; }

/* ===================== SIDEBAR ===================== */
.sidebar {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: var(--sidebar-width);
  background: linear-gradient(180deg, #0f1e35 0%, #1e3a5f 60%, #162d4a 100%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.sidebar-logo {
  padding: 20px 16px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #c8a94a, #e8c96a);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: #0f1e35;
  flex-shrink: 0;
}

.logo-text h2 { color: #ffffff; font-size: 14px; font-weight: 700; line-height: 1.2; }
.logo-text p { color: #c8a94a; font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

.nav-section { padding: 8px 0; }
.nav-section-title {
  color: rgba(255,255,255,0.3);
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 8px 20px 4px;
}

.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 0;
  font-size: 13.5px;
  font-weight: 500;
  margin: 1px 8px;
  border-radius: 8px;
  position: relative;
}

.nav-item:hover {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
}

.nav-item.active {
  background: linear-gradient(90deg, rgba(200,169,74,0.2), rgba(200,169,74,0.05));
  color: #c8a94a;
  border-left: 3px solid #c8a94a;
  margin-left: 5px;
}

.nav-item .icon { width: 18px; text-align: center; font-size: 14px; }

.nav-badge {
  margin-left: auto;
  background: #ef4444;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

.sidebar-footer {
  margin-top: auto;
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.user-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  cursor: pointer;
}

.user-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #c8a94a, #e8c96a);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: #0f1e35;
  flex-shrink: 0;
}

.user-info p { color: #ffffff; font-size: 12px; font-weight: 600; }
.user-info span { color: rgba(255,255,255,0.4); font-size: 10px; }

/* ===================== MAIN CONTENT ===================== */
.main-content {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  background: #ffffff;
  padding: 12px 24px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  position: sticky; top: 0; z-index: 50;
}

.topbar-title { font-size: 18px; font-weight: 700; color: #0f1e35; }
.topbar-subtitle { font-size: 12px; color: #64748b; }

.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.page-content { padding: 24px; flex: 1; }

/* ===================== CARDS ===================== */
.card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  overflow: hidden;
}

.card-header {
  padding: 16px 20px 12px;
  border-bottom: 1px solid #f1f5f9;
  display: flex; align-items: center; justify-content: space-between;
}

.card-title { font-size: 15px; font-weight: 700; color: #0f1e35; }
.card-body { padding: 20px; }

/* ===================== STAT CARDS ===================== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  display: flex; align-items: flex-start;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.stat-card.blue::before { background: #3b82f6; }
.stat-card.green::before { background: #10b981; }
.stat-card.orange::before { background: #f97316; }
.stat-card.purple::before { background: #8b5cf6; }
.stat-card.red::before { background: #ef4444; }
.stat-card.gold::before { background: #c8a94a; }
.stat-card.cyan::before { background: #06b6d4; }
.stat-card.pink::before { background: #ec4899; }

.stat-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

.stat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}

.stat-content .number {
  font-size: 28px; font-weight: 800; line-height: 1;
  color: #0f1e35; margin-bottom: 4px;
}

.stat-content .label { font-size: 13px; color: #64748b; font-weight: 500; }
.stat-content .change {
  font-size: 11px; font-weight: 600; margin-top: 4px;
  display: flex; align-items: center; gap: 3px;
}
.change.up { color: #10b981; }
.change.down { color: #ef4444; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px; font-weight: 600;
  cursor: pointer; border: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: #1e3a5f; color: white;
}
.btn-primary:hover { background: #162d4a; transform: translateY(-1px); }

.btn-gold {
  background: linear-gradient(135deg, #c8a94a, #d4b85a);
  color: #0f1e35;
}
.btn-gold:hover { background: linear-gradient(135deg, #b8993a, #c4a84a); }

.btn-success { background: #10b981; color: white; }
.btn-success:hover { background: #059669; }

.btn-danger { background: #ef4444; color: white; }
.btn-danger:hover { background: #dc2626; }

.btn-outline {
  background: transparent; color: #475569;
  border: 1px solid #e2e8f0;
}
.btn-outline:hover { background: #f8fafc; border-color: #94a3b8; }

.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-xs { padding: 4px 8px; font-size: 11px; }

.btn-icon {
  width: 36px; height: 36px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
}

/* ===================== BADGE ===================== */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 600;
  white-space: nowrap;
}

/* ===================== TABLE ===================== */
.table-container {
  overflow-x: auto;
  border-radius: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

thead tr {
  background: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
}

th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: #475569;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: middle;
}

tbody tr:hover { background: #f8fafc; }
tbody tr:last-child td { border-bottom: none; }

.td-lead-name { font-weight: 600; color: #0f1e35; }
.td-lead-name span { font-size: 11px; color: #64748b; font-weight: 400; display: block; }

/* ===================== FORM ===================== */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block; margin-bottom: 6px;
  font-size: 12px; font-weight: 600; color: #475569;
  text-transform: uppercase; letter-spacing: 0.3px;
}

.form-control {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  color: #1e293b;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: 'Inter', sans-serif;
}

.form-control:focus {
  outline: none;
  border-color: #1e3a5f;
  box-shadow: 0 0 0 3px rgba(30,58,95,0.08);
}

select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 80px; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

/* ===================== SEARCH ===================== */
.search-bar {
  position: relative;
  flex: 1; max-width: 400px;
}
.search-bar input {
  width: 100%;
  padding: 9px 12px 9px 38px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  background: #f8fafc;
  transition: all 0.2s;
}
.search-bar input:focus {
  outline: none;
  background: #fff;
  border-color: #1e3a5f;
  box-shadow: 0 0 0 3px rgba(30,58,95,0.08);
}
.search-bar .search-icon {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  color: #94a3b8; font-size: 14px;
}

/* ===================== MODAL ===================== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}

.modal {
  background: #ffffff;
  border-radius: 16px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.modal-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid #f1f5f9;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; background: #fff; z-index: 1;
}

.modal-title { font-size: 18px; font-weight: 700; color: #0f1e35; }
.modal-close {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: #f1f5f9; border: none; cursor: pointer;
  color: #64748b; font-size: 16px; transition: all 0.2s;
}
.modal-close:hover { background: #e2e8f0; color: #0f1e35; }
.modal-body { padding: 24px; }

/* ===================== KANBAN ===================== */
.kanban-board {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  min-height: 600px;
}

.kanban-column {
  min-width: 240px;
  max-width: 260px;
  flex-shrink: 0;
  background: #f8fafc;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

.kanban-header {
  padding: 12px 14px 10px;
  border-radius: 12px 12px 0 0;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 2px solid;
}

.kanban-count {
  background: rgba(0,0,0,0.1);
  color: inherit;
  padding: 1px 8px; border-radius: 10px;
  font-size: 11px; font-weight: 700;
}

.kanban-cards {
  padding: 10px;
  flex: 1;
  overflow-y: auto;
  max-height: 550px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kanban-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  cursor: grab;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.kanban-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-1px);
}

.kanban-card:active { cursor: grabbing; }

.kanban-card-name { font-size: 13px; font-weight: 600; color: #0f1e35; margin-bottom: 4px; }
.kanban-card-meta { font-size: 11px; color: #64748b; }
.kanban-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px; padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

/* ===================== CHARTS ===================== */
.chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.chart-container {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.chart-title {
  font-size: 14px; font-weight: 700; color: #0f1e35;
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: space-between;
}

/* ===================== PIPELINE FUNNEL ===================== */
.funnel-bar {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 8px;
}

.funnel-label { font-size: 12px; color: #475569; width: 130px; flex-shrink: 0; font-weight: 500; }
.funnel-track {
  flex: 1; height: 28px;
  background: #f1f5f9; border-radius: 6px;
  overflow: hidden; position: relative;
}
.funnel-fill {
  height: 100%; border-radius: 6px;
  display: flex; align-items: center; padding-left: 10px;
  transition: width 0.6s ease;
}
.funnel-count {
  font-size: 11px; font-weight: 700;
  width: 40px; text-align: right;
  color: #475569; flex-shrink: 0;
}

/* ===================== TABS ===================== */
.tabs { display: flex; border-bottom: 2px solid #e2e8f0; margin-bottom: 20px; }
.tab {
  padding: 10px 20px;
  font-size: 13px; font-weight: 600;
  cursor: pointer; color: #64748b;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  margin-bottom: -2px;
}
.tab.active { color: #1e3a5f; border-bottom-color: #1e3a5f; }
.tab:hover:not(.active) { color: #334155; }

/* ===================== TIMELINE ===================== */
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 19px; top: 0; bottom: 0;
  width: 2px; background: #e2e8f0;
}

.timeline-item {
  display: flex; gap: 14px;
  margin-bottom: 16px; position: relative;
}

.timeline-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
  position: relative; z-index: 1;
  border: 3px solid #f1f5f9;
}

.timeline-content { flex: 1; padding-top: 4px; }
.timeline-content p { font-size: 13px; color: #334155; margin-bottom: 2px; }
.timeline-content span { font-size: 11px; color: #94a3b8; }

/* ===================== NOTIFICATIONS ===================== */
.notification-panel {
  position: absolute;
  top: 100%; right: 0;
  width: 360px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  border: 1px solid #e2e8f0;
  z-index: 100;
  overflow: hidden;
}

.notif-item {
  display: flex; gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.2s;
  cursor: pointer;
}
.notif-item:hover { background: #f8fafc; }
.notif-item.unread { background: #eff6ff; }

.notif-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}

.notif-content p { font-size: 13px; font-weight: 500; color: #0f1e35; margin-bottom: 2px; }
.notif-content span { font-size: 11px; color: #94a3b8; }

/* ===================== FILTER BAR ===================== */
.filter-bar {
  background: white;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}

.filter-select {
  padding: 7px 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 12px;
  color: #475569;
  background: #f8fafc;
  min-width: 130px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.filter-select:focus { outline: none; border-color: #1e3a5f; }

/* ===================== LOADING ===================== */
.loading {
  display: flex; align-items: center; justify-content: center;
  padding: 60px;
}
.spinner {
  width: 40px; height: 40px;
  border: 3px solid #e2e8f0;
  border-top-color: #1e3a5f;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===================== LEAD DETAIL PANEL ===================== */
.detail-panel {
  position: fixed;
  right: -500px; top: 0; bottom: 0;
  width: 480px;
  background: white;
  box-shadow: -10px 0 40px rgba(0,0,0,0.12);
  z-index: 150;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex; flex-direction: column;
}

.detail-panel.open { right: 0; }

.detail-panel-header {
  padding: 20px;
  background: linear-gradient(135deg, #0f1e35, #1e3a5f);
  color: white; flex-shrink: 0;
  position: sticky; top: 0; z-index: 1;
}

/* ===================== PROGRESS BAR ===================== */
.progress-bar { 
  background: #f1f5f9;
  border-radius: 100px;
  overflow: hidden;
  height: 8px;
}
.progress-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 0.6s ease;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.mobile-open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .page-content { padding: 16px; }
}

/* ===================== DARK MODE ===================== */
body.dark {
  background: #0f172a;
  color: #e2e8f0;
}

body.dark .card,
body.dark .stat-card,
body.dark .topbar,
body.dark .filter-bar,
body.dark .chart-container {
  background: #1e293b;
  border-color: #334155;
}

body.dark .form-control,
body.dark .filter-select,
body.dark .search-bar input {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}

body.dark td, body.dark th { color: #cbd5e1; }
body.dark tbody tr:hover { background: #1e293b; }
body.dark thead tr { background: #1e293b; }

body.dark .topbar-title, body.dark .card-title,
body.dark .stat-content .number, body.dark .td-lead-name { color: #e2e8f0; }

/* ===================== ANIMATIONS ===================== */
.fade-in { animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.slide-in { animation: slideIn 0.3s ease; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: translateX(0); } }

/* ===================== MISC ===================== */
.page-hidden { display: none !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.gap-2 { gap: 8px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.hidden { display: none; }
.w-full { width: 100%; }
.relative { position: relative; }

.source-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 12px;
  font-size: 11px; font-weight: 600;
  background: #f1f5f9; color: #475569;
}

.zone-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 12px;
  font-size: 11px; font-weight: 600;
}

/* Tooltip */
[data-tooltip] { position: relative; }
[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%; left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #1e293b; color: white;
  font-size: 11px; padding: 4px 8px; border-radius: 6px;
  white-space: nowrap; z-index: 100;
  pointer-events: none;
}

/* Import zone */
.import-zone {
  border: 2px dashed #e2e8f0;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.import-zone:hover { border-color: #1e3a5f; background: #f8fafc; }

/* Login Page */
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f1e35 0%, #1e3a5f 50%, #162d4a 100%);
  display: flex; align-items: center; justify-content: center;
}

.login-card {
  background: white;
  border-radius: 20px;
  padding: 48px 40px;
  width: 100%; max-width: 420px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.login-logo {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo .logo-emblem {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, #c8a94a, #e8c96a);
  border-radius: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 900;
  color: #0f1e35; margin-bottom: 12px;
}

.login-logo h1 { font-size: 22px; font-weight: 800; color: #0f1e35; }
.login-logo p { font-size: 13px; color: #64748b; }

/* Pagination */
.pagination {
  display: flex; align-items: center; gap: 6px;
  justify-content: center;
  margin-top: 20px;
}

.page-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  font-size: 13px; font-weight: 600;
  cursor: pointer; border: 1.5px solid #e2e8f0;
  color: #475569; background: white;
  transition: all 0.2s;
}
.page-btn.active { background: #1e3a5f; color: white; border-color: #1e3a5f; }
.page-btn:hover:not(.active) { background: #f8fafc; }

/* Performance bar */
.perf-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.perf-name { font-size: 13px; color: #0f1e35; font-weight: 600; width: 140px; flex-shrink: 0; }
.perf-track { flex: 1; height: 24px; background: #f1f5f9; border-radius: 6px; overflow: hidden; }
.perf-fill { height: 100%; border-radius: 6px; display: flex; align-items: center; padding: 0 8px; }
.perf-val { font-size: 11px; font-weight: 700; width: 50px; text-align: right; color: #64748b; }
