Globally accurate theory of structure and thermodynamics for soft-matter liquids