/* General terms (page key: terms), design v2 (the Golden Planet theme; gpwebsite pages/_text_page.html). Text layout
   and prose: gp-pages.css. Here: the contents (TOC) as the aside card, first in the DOM (on phones above the text),
   in the right column from 992 (sticky, scrolls inside when taller than the window). This file loads before the
   gp-*.css files, so every rule carries .page-terms.gp-v2. Tokens only. */
.page-terms.gp-v2 .legal-toc__title { margin-bottom: 12px; }
.page-terms.gp-v2 .legal-toc__list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.page-terms.gp-v2 .legal-toc__list > li { display: flex; gap: 10px; counter-increment: toc; font-size: 15px; line-height: 22px; }
.page-terms.gp-v2 .legal-toc__list > li::before { content: counter(toc); flex: none; min-width: 1.4em; padding-block: 5px; color: var(--gp-accent-text); font-weight: 600; font-variant-numeric: tabular-nums; }
.page-terms.gp-v2 .legal-toc__link { display: block; padding-block: 5px; color: var(--gp-heading); text-decoration: none; }
.page-terms.gp-v2 .legal-toc__link:hover { color: var(--gp-link); text-decoration: underline; text-underline-offset: .18em; }
.page-terms.gp-v2 .legal-toc__link:focus-visible { outline: 2px solid var(--gp-focus); outline-offset: 2px; border-radius: 4px; }
.page-terms.gp-v2 .legal-layout__body h2[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
@media (min-width: 992px) {
  .page-terms.gp-v2 .legal-layout__aside { grid-column: 2; grid-row: 1; max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; border-radius: var(--gp-radius-card); }
  .page-terms.gp-v2 .legal-layout__body { grid-column: 1; grid-row: 1; }
}
