Maybe not the final solution but could help:
- How to create an adaptive vertical line that dynamically spans the height of its containing box/block
- How to draw vertical line in grid column connecting/aligning end points with content items in another grid column
- And more: https://forum.typst.app/search?context=topic&context_id=7791&q=Vertical%20line&skip_context=true