Render TOC from <template data-toc> into static/auto/drawer containers.
Initialize all TOC components and register event listeners.
Sync the active heading highlight across all TOC containers. Throttled via rAF.
Update the TOC container's max-height CSS variable to fit the viewport.
Table of Contents module — TOC scroll tracking, active state sync, and dialog.
Responsibilities:
fixit:re-encrypt.