/** * Docked panel stack (PhotoCraft-parity phase 0/3). * * Wraps a list of existing panel elements into a Photoshop-style dock: * several panel GROUPS are visible at once, stacked vertically. Each * group has clickable tabs (one panel visible per group), a collapse * control that shrinks it to its tab strip, and a drag divider so the * user can resize the group above. * * Purely presentational: it never owns editor state. Each entry is an * element that already exists elsewhere (so all existing ids, classes * and event listeners keep working). Switching a tab only toggles the * `hidden` attribute on the panel wrapper. * * A compact `