Render 404 page in dev and redesign not-found view
Always render the 404 status page (not only in production) so unmatched
routes show the themed page instead of a raw exception. Guard auth in
the auth_buttons partial for requests that bypass router middleware.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>