/*
 * Page header & empty state
 * <div class="page-header">
 *   <div><h1 class="page-header__title">…</h1><p class="page-header__subtitle">…</p></div>
 *   <div class="page-header__actions">…</div>
 * </div>
 */
.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}

.page-header__title {
  font-size: var(--text-2xl);
}

.page-header__subtitle {
  margin-top: var(--space-1);
  color: var(--color-text-muted);
}

.page-header__actions {
  display: flex;
  gap: var(--space-2);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);

  &:hover {
    color: var(--color-text);
    text-decoration: none;
  }
}

.section {
  margin-top: var(--space-8);
}

.section__title {
  margin-bottom: var(--space-4);
  font-size: var(--text-lg);
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-12) var(--space-6);
  border: var(--border-width) dashed var(--color-border-strong);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--color-text-muted);

  svg {
    width: 2rem;
    height: 2rem;
    color: var(--color-text-subtle);
    margin-bottom: var(--space-2);
  }
}

.empty-state__title {
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
}
