Shared online version. Replace the Supabase values below, create the tables, then deploy on your domain.
Online Configuration
Set your Supabase URL and anon key in the CONFIG block near the top of the script before going live.
This online version removes localStorage as the main database and uses Supabase tables for shared data. Add proper login and row-level security before real department use.