Beginning Jan. 1, hundreds of state-licensed residential treatment centers for children and youth up to age 21 operating in California must comply with a new law that brings greater transparency — particularly when they use restraints and seclusion rooms.