Add helper function to strut empty boxes.
Consolidate tree types into one.
Store direction in ResolvedBox.
Use ResolvedBox when flattening trees.
Define tree for structuring paragraph content.