BrowserRouter without a basename sees /lusa-Back-Planner/ as the pathname,
which doesn't match route path="/", so React Router falls to NotFound.
Using import.meta.env.BASE_URL (set by Vite's base config) fixes both
prod and dev environments.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>