By sideshow's measurement an HTML fragment with the viewer's theme saves ~42% of output tokens against a standalone document, and Mermaid ~90% against hand-written SVG.
In the source's words
Even an HTML surface you author inherits the viewer's theme tokens and pre-styled controls instead of shipping its own, so it still comes out ahead.
Address
stacks.jakubdudek.com/agent-board/c2
In a document: [[agent-board#c2]]
JSON