MOXIE DIGITAL - LOCALHOST EDIT MODE

Put these files in the website root, next to index.html:
- router.php
- START_WEB_LOCALHOST.bat
- START_ADMIN_LOCALHOST.bat

Web:
  Double-click START_WEB_LOCALHOST.bat
  http://127.0.0.1:8791/

Admin:
  Double-click START_ADMIN_LOCALHOST.bat
  http://127.0.0.1:8791/admin

API health:
  http://127.0.0.1:8791/api/health

Requirement:
  PHP must be installed on Windows. The BAT auto-detects php from PATH, XAMPP,
  common Laragon locations, and a common WAMP location.

Important:
  Google OAuth is configured for the live domain in private/config.php, so Google
  sign-in may redirect to the live domain unless you intentionally create a local
  OAuth redirect configuration. Normal web/admin editing and local PHP API work
  without changing the live config.

V37 single-live-device fix: localhost now uses port 8791 so an older Moxie folder already running on port 8787 cannot be reopened by mistake. Dashboard assets use unique V37 filenames. Live-device locking is enforced by the PHP API with a 45-second safety lease and immediate release endpoint.
