Lever rule phase diagram