Your daughter's situation is not the end of the world, (of course, it may not hurt her to believe otherwise for a while).
There are many options here. I am quite surprised that she was immediately referred for judicial action. Typically, first time juvenile offenders are supervised informally by the juvenile probation department.
Since she is headed to court, you need to make sure that she has a good lawyer who will fight for her interests. If this is the firsat appearance, the court will simply enter a "not guilty" on her behald, address terms of release, and appoint counsel.
You need to discuss and push the opportunity for her to receive a consent decree or conditional discharge. Under either, no conviction is ever entered if she successfully completes probation. This is the route to take, period.
After she turns 18, she could explore the possibility of having any arrests, (if that occurred), expunged from her record.
But, right now, you need to focus on obtaining a sentence thatis short of a stright conviction. Handles correctly, there will be no bar to college or law enforcement.
I wish you and your daughter the best,
Please press accept and leave some feedback when you geta chance.