The extended Debye-Hueckel/complexation theory works fine for calculating activity coefficients in dilute solutions and
in concentrated brines without (much) SO4-2.
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.phr shows the composition
changes.
First, calcite precipitates, followed by gypsum, halite and various chlorides and sulfates.
Gypsum transforms into anhydrite when 0.98 L water have evaporated (about 20 mL or 1 mol H2O remain, see the figure), because the activity of H2O is reduced by the high salt concentrations.