Generalized thermodynamics of phase equilibria in scalar active matter | Synapse