/* ── Dashboard ── */
.dashboard {
  padding-top: 20px;
  min-height: 0;
  background: var(--color-surface-alt);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}

.dashboard-header h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 4px;
}

.dashboard-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
}

.btn-new-project {
  flex-shrink: 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding-bottom: 48px;
}

.dashboard-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
}

.dashboard-card:hover {
  box-shadow: var(--shadow-md);
}

.dashboard-card--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 32px;
  border-style: dashed;
  color: var(--color-text-muted);
  grid-column: 1 / -1;
  max-width: 400px;
}

.dashboard-card-icon {
  margin-bottom: 16px;
  color: var(--color-border);
}

.dashboard-card--empty h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.dashboard-card--empty p {
  font-size: 0.9rem;
  max-width: 260px;
}

@media (max-width: 640px) {
  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}
