/* Progressive enhancement: CSS scrollspy (Chromium 140+) */
/* Served as a static file to bypass Turbopack's CSS parser */
@supports (scroll-target-group: auto) {
  .toc-link.js-active {
    text-decoration: none;
  }

  .toc {
    scroll-target-group: auto;
  }

  .toc-link:target-current {
    color: var(--foreground);
    anchor-name: --toc-active;
  }

  .toc-link:not(:target-current) {
    color: var(--muted-foreground);
  }

  .toc-indicator {
    position: absolute;
    height: 2px;
    background: var(--primary);
    position-anchor: --toc-active;
    top: anchor(bottom);
    left: anchor(left);
    right: anchor(right);
    transition:
      top 200ms ease,
      left 200ms ease,
      right 200ms ease;
    pointer-events: none;
  }
}
