Fix pnpm check:web type errors from mismatched mermaid API
Takeaway: Next time I'd point straight at the file using beautiful-mermaid instead of just saying 'fix pnpm check:web' — the agent spent a lot of turns reading through MarkdownRenderer.svelte before it found the real issue, that the code was written for classic mermaid.js but imported a completely different library.