Prototype: on‑device heuristics only (no network/AI). You can deploy this single file to Netlify as‑is.