/* ===========================================
   Empty states (design §D.10; shared/_empty_state renders an h3)

   The rules that tasks.css used to apply to every page now live here
   (design §B.5 item 2). Centred, a muted 24px glyph, one optional action.
   =========================================== */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2xl) var(--spacing-lg);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text-muted);
  text-align: center;
}

.empty-state__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 auto var(--spacing-md);
  color: var(--color-text-muted);
}

.empty-state__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
}

.empty-state__title {
  margin: 0 0 var(--spacing-sm);
  color: var(--color-text-emphasis);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
}

.empty-state__description,
.empty-state__message {
  max-width: var(--prose-max-width);
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
}

.empty-state__action,
.empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}
