Both instances run with NODE_ENV=production, so import.meta.env.PROD was always true and the header always showed 'Production'. deploy.sh now passes VITE_DEPLOY_ENV=<branch> into the build and Header reads it to label the system indicator dev vs prod correctly.