Alternative wording: is it possible to set ContourStyle depending on the sign of some function on the contour?
Consider equation $\dot x=c x -x^3$ which undergoes a pitchfork bifurcation. We can plot the diagram using
f[x_] := c x - x^3;
ContourPlot[f[x] == 0, {c, -5, 5}, {x, -5, 5}]
But usually one wants to distinguish between stable and unstable equilibriums. That is, if $f'(x)$ is positive on the contour then the branch corresponds to an unstable equilibrium and the contour should be dashed. Is it possible to achieve this? I thought about drawing unstable branches separately like
ContourPlot[
Evaluate[f[x] == 0 && D[f, x] > 0]
, {c, -5, 5}, {x, -5, 5}]
but the output is empty.


