@layer components {
  /* ——— Blank slate ———
     What a surface says before anything is in it: its name for the nothing,
     and one line on what it is for. Words alone (owner, 2026-11-09): the
     whitespace is the container, so no frame and no glyph, and never a button,
     because the action already sits in the header above it. */
  .blank-slate {
    max-inline-size: 34rem;

    strong {
      font-weight: 500;
    }
  }

  /* A float centres its words (HANSHI, "An empty state is words alone"). */
  .popup .blank-slate {
    max-inline-size: 24rem;
    margin: auto;
    text-align: center;
  }

  /* A slate standing after a live list: broadcasts fill and empty the list
     without a render, so both states stay in the DOM and :has() referees —
     rows cover the slate, an emptied list uncovers it. */
  ul:has(li) + .blank-slate {
    display: none;
  }

  /* A frame asked and not yet answered has not found nothing. Turbo takes
     [complete] away with the question and sets it back with the rows. */
  turbo-frame[src]:not([complete]) + .blank-slate {
    display: none;
  }

  /* ——— The card board's two slates ———
     Scoped to the board so they cannot reach the slates every other tool
     draws. An empty column says one of two things depending on whether you
     could drop into it, and card-columns.css already owns WHICH one shows
     (it swaps them at the 640px line and hides both the moment a card lands)
     — this is only how they look: a dashed hairline, which means "drop here",
     and faint ink, on the column's wash. Fizzy's
     tilt, tint and heavy edge went with the rest of its costume (user,
     2026-08-14). */
  .cards {
    .blank-slate {
      border: 1px dashed var(--color-line);
      border-radius: var(--border-radius);
      color: var(--color-ink-faint);
      max-inline-size: none;
      padding: 1.5ch 2ch;
    }
  }
}
