/* the public demos use the width of the screen, on a computer and on a phone (owner 2026-11-29).
   Linked last in the head of every demo page, so it wins over the older fixed widths. */
body .dmWrap { max-width: min(1760px, 97vw); }
body #dmFrame { height: max(560px, calc(100vh - 130px)); }
/* the project agent demo is a page of its own, not a framed product screen */
body .dmWrap .ag { max-width: min(1400px, 100%); }
body .dmWrap .dmChat { max-width: 560px; }

@media (max-width: 768px) {
	html body .dmWrap { max-width: 100%; width: 100%; box-sizing: border-box; padding: 8px 4px 40px; }
	body .dmWrap .dmFrameWrap { border-radius: 10px; }
	body #dmFrame { height: 84vh; min-height: 480px; }
	body .dmWrap .ag { max-width: 100%; padding-left: 0; padding-right: 0; }
	body .dmWrap .dmChat { max-width: 100%; }
}
