refactor(editor): redesign pane management with uniform state model
Replace scattered, inconsistent pane visibility/collapse logic with a
single unified system. All four panes (outline, editor, preview, notes)
now use identical state management:
- Two independent states per pane: visible (bool) and collapsed (bool)
- Layout owns ALL state; sidebar components only reflect visual appearance
- _applyPaneState() is the single source of truth for DOM updates
- Toolbar toggles cycle: expanded -> collapsed -> expanded (never hides)
- Resizing only affects the non-editor pane, persists width to localStorage
- Focus mode saves/restores complete pane state
- Collapsed state clears inline width/minWidth to guarantee 32px strip