/* 06-components/_toc.css */
/* ── c-toc — in-frame contents */
.c-toc { font-size: var(--text-sm); }
/* c-toc__aside — the contents rail is a desktop convenience: below the two-column breakpoint
   it would stack as a box above the body, so it is hidden there and shown only once the split
   opens, where it sticks to the top of the scrolling body so it stays usable no matter how far
   down the page you are. */
.c-toc__aside { display: none; }
@media (min-width: 56rem) {
  .c-toc__aside { display: block; position: sticky; top: var(--space-lg); align-self: start; }
}
/* The entries are an undecorated list: no bullet glyph and no indent, separated by vertical
   space instead. The current entry is marked by weight as well as colour, so the cue does not
   rest on colour alone now that the ▸ glyph is gone. */
.c-toc__link { display: block; color: var(--text-muted); }
.c-toc__link + .c-toc__link { margin-top: var(--space-xs); }
.c-toc__link:hover, .c-toc__link.is-current { color: var(--accent); }
.c-toc__link.is-current { font-weight: 600; }
