//! Layout persistence to `localStorage`. wasm-only: the pure model/api compile
//! everywhere, but touching `window` is gated so `cargo check` stays green natively.
//! Pairs with [`crate::model::serial`] for the actual encoding.
/// Read a saved layout JSON string under `key`, if present.
/// Persist a layout JSON string under `key`.