5cc177ccf9
Two related fixes: 1. When localStorage has a saved layout, mark it as authoritative so a DB response carrying older data (e.g. from a save cancelled by navigating away within the 2-second debounce window) cannot overwrite it. 2. Flush any pending debounced DB save immediately on component unmount so that navigating away within the window doesn't silently lose changes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>