@layer components {
  /* ——— A kind's mark (owner, 2026-11-03) ———
     Colour lives in marks, never in words. A glyph that names a KIND of
     thing — a message, a to-do, a card, a file — wears its kind's hue
     wherever it names one: the activity rail, the palette, search, bookmarks,
     a folder's rows, the dock. The six hues share one lightness and one
     chroma (_global.css), so none outshouts another; the words beside a mark
     stay ink, and hierarchy is still weight and space. Which kind wears which
     hue is EventsHelper::HUES, said once; a hue is a retune of --mark-hue. */
  .mark {
    color: oklch(var(--lch-mark) var(--mark-hue));
  }

  .mark--mizu { --mark-hue: var(--hue-mizu); }
  .mark--moss { --mark-hue: var(--hue-moss); }
  .mark--straw { --mark-hue: var(--hue-straw); }
  .mark--fuji { --mark-hue: var(--hue-fuji); }
  .mark--sabi { --mark-hue: var(--hue-sabi); }
  .mark--kaki { --mark-hue: var(--hue-kaki); }

  /* A mark on its own tint — the palette's sections, which are places
     rather than things. It stands before the name, one line with it. The
     glyph inside paints in the mark's ink. */
  .mark--tile {
    display: grid;
    flex: none;
    place-items: center;
    inline-size: 1.375rem;
    block-size: 1.375rem;
    background-color: oklch(var(--lch-mark-tint) var(--mark-hue));
    border-radius: var(--border-radius);
  }
}
