# Demo Maximize Policy

UnifiedSpread Demo pages are Host integration examples, not product runtime pages. Maximization must therefore be implemented only in `demo/` and must not add Demo-specific API or layout assumptions to `scripts/` runtime modules.

## Rules

- The mounted Control remains in the same `#controlFrame`.
- Maximization hides Demo-only areas such as header, toolbar, parameter panel and log panel.
- The Control frame consumes the viewport by CSS on the Demo shell.
- Restore must be possible even when the original maximize button is hidden.
- Maximization must not remount the Control or reset workbook state.
- Body/page scrolling is disabled while maximized to avoid competing scrollbars with the grid viewport.

## Implementation

`demo/assets/demo-maximize.js` toggles `is-maximized` on `#demoPage` and `demo-maximized` on `body`. `demo/assets/demo.css` then switches the Demo shell to fixed viewport mode and stretches the Control frame.

The runtime package under `scripts/` is intentionally unchanged.
