/* ─────────────────────────────────────────────────────────────────────────
   app-lists — page-level styling for the read-only GTD list surfaces
   (Next / Waiting / Someday, P5.3b). The rows come from c-table (06-components);
   this is the per-group section spacing, the group header, the filter row, and
   the empty state. Self-scoped selectors, existing tokens only, no inline style
   (strict CSP). Kept page-level so the c-table component stays stable.
   ───────────────────────────────────────────────────────────────────────── */

.app-list__group {
  margin-top: var(--space-4);
}

.app-list__group:first-child {
  margin-top: 0;
}

/* Group / section header above each c-table (context name, "Actions", …). */
.c-table__group {
  margin: 0 0 var(--space-2);
  font-family: var(--font-data);
  font-size: var(--fs-sm);
  /* Theme-aware emphasis — plain text on paper, not a screen surface (§B sweep). */
  color: var(--color-text-emphasis);
}

.c-table__group-count {
  font-size: var(--fs-2xs);
  color: var(--color-text-muted);
}

/* Empty state for a list / section. */
.app-list__empty {
  text-align: center;
  padding-block: var(--space-4);
  font-family: var(--font-data);
  /* Theme-aware emphasis — plain text on paper, not a screen surface (§B sweep). */
  color: var(--color-text-emphasis);
}

/* Filter / toggle row (context filter, stale-only) — plain link_to's. */
.c-filter {
  margin-top: var(--space-2);
}
