/* Breadth-skeleton pillar surfaces (LMA-S1-*) — shared styles for the thin
 * Family / Calendar / Budget / Meals / Documents pages and their designed
 * empty/coming states. Tokens only (DG-T1); targets >= --tap-min (DG-X2).
 * Pillar agents extend per-screen styles in their own story stylesheets. */

/* DG-S2 designed empty/coming state: one sentence + one quiet affordance. */
.pillar-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) 0;
}

.pillar-empty-text {
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-ink-muted);
  margin: 0;
}

.pillar-empty-action {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min); /* DG-X2 */
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-accent);
  text-decoration: underline;
}

/* Section heading inside a pillar page (e.g. "Members", "Accounts"). */
.pillar-section-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
  margin: 0 0 var(--space-3);
}

/* Simple card-row list — the skeleton list idiom pillar agents replace. */
.pillar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2); /* DG-X2 */
}

.pillar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: var(--tap-min); /* DG-X2 */
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.pillar-row-title {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
  color: var(--color-ink);
}

.pillar-row-meta {
  font-size: var(--text-sm);
  color: var(--color-ink-muted);
  line-height: var(--leading-normal);
}
