✅ Top boundary (Page 2 start)
Gold Standard: 69.0 px Rollback: 70.0 px Delta: +1.0 px
Within tolerance. topMarginContinuation = pageH - 70 matches the Gold Standard top boundary.
✅ Bottom boundary (last visible text line)
Gold Standard: 398.8 px Rollback: 396.0 px Delta: -2.8 px
Hard stop (bottomMargin=113) is at top-down px 421. Last drawable line baseline ≈ 396 px. Gold Standard last visible text ≈ 398.8 px. Within tolerance.
ℹ️ Implied Gold Standard bottomMargin
If the last visible text baseline in Test 11 was at top-down Y = 398.8 px, and lineHeight = 25px, then the hard stop (pdf-lib Y) must have been ≥ 398.8 px top-down, meaning bottomMargin ≥ 135px.
Current bottomMargin = 113 → last line ≈ 396 px top-down. Gold Standard bottom ≈ 398.8 px top-down.
To match the Gold Standard bottom boundary exactly, bottomMargin would need to be ≈ 135px (vs current 113px — a delta of 22px).
Note: This analysis is provided for informational purposes only. No code changes are made here.