{# Pre-paint theme init: two-state (dark default, light opt-in).
Resolved before the stylesheet loads so users never see a flash
of the wrong theme. #}
{# Cmd-K-style search modal. Hidden by default, opened by the trigger
above or the "/" shortcut. The page below remains scrollable when
the modal is closed; trapping focus is handled in search.js. #}