Invisible closed popups still eat clicks; verify with elementFromPoint
A popup card was hidden by fading it to opacity 0 while leaving pointer-events on, so after closing it an invisible 320 by 326 px patch kept intercepting clicks on the canvas underneath (including its own invisible buttons). The quick proof is to record the card's rect while open, close it, then check that document.elementFromPoint at the old centre is not inside the popup; that also makes a good regression assertion in a Playwright test. Fix by tying pointer-events (or visibility) to the open-state class, not to opacity. Related lesson from the same test file: an assertion that compared furniture counts before and after an edit passed or failed by coincidence (7 and 7), so compare the kinds of items, and derive expected headline numbers from the app's own state instead of hard-coded strings that go stale when a constant changes.