Mode B kicks in when a code block has a title= attribute.
Mode C is the default for unlabeled non-shell blocks: hover
reveals the language label and copy button.
Reduced-motion media query extended to cover the new transitions
and the sidebar chevron rotation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
All <pre> elements in docs MDX now render through CodeBlock,
which selects one of three modes based on language and title.
CSS styling for each mode follows.
- Scope section trigger rules to div[data-state]:not([class]) so they
don't bleed onto other Radix collapsibles inside #nd-sidebar.
Fumadocs 15 section wrapper divs are bare (no class, no id); content
panels and popovers always carry a class attribute.
- Add focus-visible rings for section buttons and page links
(a11y gap from code review).
- Add !important to margin-top for consistency with the
surrounding padding overrides.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>