The extended Debye-Hueckel/complexation theory works fine for calculating activity coefficients in dilute solutions and
in concentrated brines without (much) SO4.
However, if seawater evaporates,
the activities of the solutes in the brine and the salts that precipitate must be calculated with Pitzer
equations. A sequence of calcite, sulfates and chlorides will then be calculated to precipitate.
Running the PHREEQC file sea_evap.txt shows the composition
changes.
First, calcite precipitates, followed by gypsum, halite and various chlorides and sulfates.
Gypsum transforms into anhydrite when the activity of H2O is reduced by
the high salt concentrations.