======================
<p>Inline equation <a name="eq-z123a">\( f(x) = x^2 \)</a>. More text ... </p>
<p>Attempt to reference inline equation via a <a href="#eq-z123a">link</a>.</p>
======================
Note that the use of colons in such link ID's is a bad idea, so I've swapped it for a dash.
Alternatively, you could add an ID within the expression using \cssId, e.g.,
======================
<p>Inline equation \( \cssId{eq-z123a}{f(x) = x^2} \)</a>. More text ... </p>
<p>Attempt to reference inline equation via a <a href="#eq-z123a">link</a>.</p>
======================
Davide