Responsive composition: Adaptive overlay
Retain draft state and focus as a desktop dialog becomes a mobile sheet.
Open the editor, change its draft and resize the viewport. At 40rem and narrower the same dialog content becomes a bottom sheet, retaining the draft and focus.
Install
lumen add adaptive-overlay --target astro
React and Elements targets are also available. Mount the matching adapter behavior once. Dialog's responsive layout changes presentation without moving content into a second overlay; the editable stylesheet only widens the dialog and wraps its header.