Given a text, write a compressed version of it in a single sentence.

The Supreme Court ruled that states cannot put the interests of a fetus ahead of the interests of the pregnant woman until the fetus is " viable. "
States cannot put the interests of a fetus ahead of the pregnant woman until it is viable.