Measure the voltage from line to neutral with simple resistive dividers, diodes, capacitors, and window comparators.
A more expensive and robust method would be to put relay coils from line to neutral. Put their contacts in series so that the cicuit opens when any one of them drops out.