Why the agreement matters, and who stands to gain or lose if it collapses in the face of Brexit and other threats.