POST /app/theme sets the theme cookie and redirects back. Sun/Moon button in the app navbar submits the form. E2E tests verify SSR cookie-driven theme switching. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>