In 2016, California’s state agency for juvenile justice seemed to be experiencing an upward swing. After more than a decade of court monitoring, mandated as part of a lawsuit over the abuse of youth detainees, poor medical care, and a lack of rehabilitative programs for them, the state boasted that conditions in its juvenile detention facilities had drastically improved.