[LayoutReloaded] Decouple formatting state and context lifetime.