Appropriate pretrial detention times for children