/* === DASHBOARD === */
.dashboard-body { background: var(--bg); }
.dash-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 2rem;
  display: flex; align-items: center; gap: 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(12,12,12,0.9); backdrop-filter: blur(12px);
}
.dash-brand { font-family: var(--serif); font-size: 1.1rem; color: var(--cream); text-decoration: none; }
.dash-title { font-size: 0.875rem; color: var(--text-muted); }
.dash-cta { margin-left: auto; font-size: 0.8rem; color: var(--amber); text-decoration: none; font-weight: 500; }

.dash-main { padding: 6rem 2rem 4rem; max-width: 1200px; margin: 0 auto; }
.dash-header { margin-bottom: 2.5rem; }
.dash-headline { font-family: var(--serif); font-size: 2.5rem; color: var(--cream); margin-bottom: 0.5rem; }
.dash-sub { font-size: 0.875rem; color: var(--text-muted); }
.dash-sub a { color: var(--amber); }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 2rem 1.5rem; }
.stat-hot { border-top: 3px solid #f59e0b; }
.stat-warm { border-top: 3px solid #eab308; }
.stat-cold { border-top: 3px solid #6b7280; }
.stat-num { font-family: var(--serif); font-size: 3rem; color: var(--cream); margin-bottom: 0.25rem; }
.stat-label { font-weight: 600; font-size: 1rem; color: var(--text); margin-bottom: 0.25rem; }
.stat-desc { font-size: 0.8rem; color: var(--text-muted); }

/* Table */
.leads-table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; }
.leads-table { width: 100%; border-collapse: collapse; }
.leads-table th {
  padding: 0.875rem 1rem; text-align: left; font-size: 0.7rem;
  font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim); border-bottom: 1px solid var(--border); white-space: nowrap;
}
.leads-table td { padding: 1rem; font-size: 0.875rem; color: var(--text); border-bottom: 1px solid var(--border); }
.leads-table tr:last-child td { border-bottom: none; }
.leads-table tr:hover td { background: rgba(255,255,255,0.02); }
.empty-row { text-align: center; color: var(--text-muted); padding: 3rem !important; }

.lead-name { font-weight: 500; color: var(--cream); }
.lead-email { color: var(--text-muted); font-size: 0.8rem; }
.lead-reasoning { max-width: 250px; color: var(--text-muted); font-size: 0.8rem; line-height: 1.5; }
.lead-date { color: var(--text-muted); font-size: 0.8rem; white-space: nowrap; }

/* Score bar */
.score-bar-wrap { display: flex; align-items: center; gap: 0.75rem; min-width: 120px; }
.score-num { font-weight: 600; font-size: 0.9rem; min-width: 28px; }
.score-high { color: #f59e0b; }
.score-mid { color: #eab308; }
.score-low { color: var(--text-muted); }
.score-bar { flex: 1; height: 4px; background: var(--border); border-radius: 2px; min-width: 60px; }
.score-fill { height: 100%; border-radius: 2px; }
.score-high { background: #f59e0b; }
.score-mid { background: #eab308; }
.score-low { background: var(--text-dim); }

/* Tier badge */
.tier-badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.tier-hot { background: rgba(245,158,35,0.15); color: #f59e0b; border: 1px solid rgba(245,158,35,0.3); }
.tier-warm { background: rgba(234,179,8,0.1); color: #eab308; border: 1px solid rgba(234,179,8,0.2); }
.tier-cold { background: rgba(107,114,128,0.1); color: #9ca3af; border: 1px solid rgba(107,114,128,0.2); }

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr; }
  .dash-main { padding: 5rem 1rem 3rem; }
}