refactor: smarter leg positioning with inset/full/outset cascade
Legs now prefer being inset 1 col from body edges for a cleaner look.
Falls back to full body width if inset would be too cramped (adjacent
legs touching), then outset by 1 if even full width isn't enough.
Threshold: need span >= 2N-1 for N legs to have gaps between them.