Is she very badly behaved at home? I'm going to go against the general tone of the thread and say that piling on punishment after punishment for a 17-year-old because of her behaviour at school is counterproductive in the long term. You've said that she isn't getting driving lessons, missed out on grass track racing, can't go out, has lost her phone, XBox, etc. Is this all because of her behaviour at school? Yes, it's wrong for her to be disruptive and rude, but she's clearly unhappy there. All these punishments won't change what she's doing, but they'll make her resentful of both the school and you.
I hated school and left at 16. My parents would never have 'punished' me at 17 as I was a young adult. Instead of treating her like a much younger teenager, be straight with her. If she wants to stay at that school, she needs to behave civilly there. If she doesn't want to stay, what does she want to do? In her situation, if she's getting 'enforced study leave' at this point in the year anyway, she might be better off leaving entirely and then sitting 3 A Levels (the two she likes, and a new one to replace Biology) as a private candidate. If she doesn't want to do that, she could go to a further education college and restart A Level courses there. It's a completely different environment to school. She doesn't even have to do A Levels at all - she could do something else and always have the option of returning to education later.
An extra year in education is nothing in the long term. Her mental health, and positive relationships with her family, are far more important. Let her know that there are options beyond being stuck there doing something that she dislikes - and do it in a positive, constructive way, not 'if you don't behave at school you'll have to do X'. Many schools give young people the impression that there's only one 'right' path through life, which is awful for those who try to follow it and don't fit, or have things go wrong, as has happened here. It doesn't matter how good the school is if it's not the best environment for her right now.