<script type="module"> doesn't expose functions to onclick attributes. Replaced all onclick="fn()" with document.getElementById().onclick = fn so buttons work from module scope. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
<script type="module"> doesn't expose functions to onclick attributes. Replaced all onclick="fn()" with document.getElementById().onclick = fn so buttons work from module scope. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>