Modal automatically opens on mount if no token is stored, and reopens
on any 401 from the API via a global "auth-required" event. Token is
persisted in localStorage under "ordinarthur.bearer".
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>