I think the fact that your daughter took the time to write you a letter about what happened says a lot. Why don't you write her a response letter, even though you guys have already talked.
I like to write letters, because it is an outlet for the writer. You get to specifically explain how you feel. You can think about what to say and exactly how to say it. It's a one way street at that moment with no interruptions. And when you are done, it will be something your daughter can keep. She might want to read it several times, or tuck it away somewhere and read it again later.
Face to face contact with your daughter is, of course, important, but from time to time writing her a letter expressing your feelings about her and your relationship and/or any issues you guys may be facing, I think will mean a lot to her.
And all of the things you said in your post, say those in your letter to her. Tell her how it made you feel for her to disobey you and not come home until 10pm. Reassure her that you are her soft place to fall no matter what. Tell her that you can't fix every messed up or wrong thing that comes her way in life-no matter how much you would like to-but that you are her number one fan and together y'all can figure out how to get through every messed up thing in her life. Tell her there are ways around or through every obstacle if she is willing to push forward.
As far as her dad, same advice: you, nor her, can control his actions or choose his words. We are only in control of our own reactions, choice of words, etc.
Encourage her to write him a letter. She should tell him exactly what he does to make her feel bad. It would do her good to get it off her chest and say it to him. Prepare her for the possibilities that he may not respond or may respond defensively. Tell her either scenario, you have her back.
She can breathe easier after she is honest with herself and her dad and communicates her thoughts to him in the letter. And you will be fostering a great life skill for her at a young age: communicating her needs. Good Luck:-)