Wait for page CSS before swapping content, hoist inline styles to head, and boot page scripts immediately when DOM markers exist.
Co-authored-by: Cursor <cursoragent@cursor.com>
Remove view-transition lag, swap main content without full reload, prefetch pages, and tear down SSE timers on leave.
Co-authored-by: Cursor <cursoragent@cursor.com>