Save an explicit light/dark choice to localStorage and clear it when
switching back to system. An inline head script applies the saved
colour scheme before first paint to avoid a flash of the system theme.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>