/* tracked_actions#show — the daily-actions page. Left rail (filter + completion
 * stats) beside the day navigator + action-card list. Figma "Actions" (168:4391).
 * The rail card, date strip and action card live in widgets/actions/. */

.actions-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-32);
}
@media (min-width: 64rem) {
  /* Note: 20rem = Figma 320px rail. */
  .actions-layout {
    grid-template-columns: 20rem minmax(0, 1fr);
    align-items: start;
  }
  /* Keep the tracked-actions rail in view while scrolling the day's cards.
     72px clears the fixed site header. */
  .actions-rail {
    position: sticky;
    top: calc(var(--spacing-24) + 72px);
    max-height: calc(100vh - 2 * var(--spacing-24) - 72px);
    overflow-y: auto;
  }
}

/* Date strip then cards, stacked at the Figma 8px gap. */
.actions-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-8);
}

.actions-cards {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-8);
}
.actions-cards-empty {
  padding: var(--spacing-32);
  text-align: center;
  color: var(--text-tertiary);
}

/* ---- Empty state (nothing tracked yet) ---- */
.actions-empty {
  padding: var(--spacing-32);
  text-align: center;
  background-color: var(--background-surface-1);
  border-radius: var(--corner-radius-xs);
}

/* Mobile: tighten the card padding from 32 to 24. */
@media (max-width: 47.999rem) {
  .actions-cards-empty,
  .actions-empty { padding: var(--spacing-24); }
}
.actions-empty-title {
  font-weight: var(--font-weight-600);
  color: var(--text-primary);
  margin-bottom: var(--spacing-4);
}
.actions-empty-body { color: var(--text-tertiary); }
.actions-empty-link { color: var(--text-primary); }
.actions-empty-link:hover { text-decoration: underline; }
