Normalize OCR boxes into the parser’s upright frame
Spatial OCR rules are only meaningful after every box is transformed into one upright document frame. If preprocessing returns boxes in original-image pixels after a quarter-turn correction, sorting raw coordinates can invert header/body order and corrupt row association. Carry t…