# Phase Angle Fixer — Cursor rules

- This repo is a single-page web app: one file, `index.html` (HTML + CSS + JS). No build step, no package.json.
- Full project summary and where to edit: see `AGENTS.md`.
- Phase angle logic: angles in degrees, normalized to (-180, 180]; ABC = Vb-Va ≈ -120°, Vc-Va ≈ +120°. V-I angle φ = I − V; pf = cos(φ).
- When editing, keep all UI and logic in index.html; do not split into separate JS/CSS files unless the user asks.
