{{-- Runs before first paint so the saved theme / sidebar state never flashes. --}}