A federal lawsuit alleges that teenagers are put in solitary confinement, despite its demonstrated harm. State officials deny the claims.