Should have been personal fines and not the district.
While I don’t believe a child has all of the rights of an adult, I don’t believe she should have been forced to give up her password.
Can you imagine what would have happened if her parents had tried the same stunt? They would have lost custody of her, and the police would be there protecting “her.” Weird world we live in.