Will I be penalised for an innocent mistake?

My professor placed an AI trip on an assignment, and the professor formatted the trip in a case study in a way you'd not notice. To save time during my initial draft stage, I copied text that was required directly from the case study, and now, during feedback, she mentions that she has a way of seeing. I'm a forensic accountant, and as an inquisitive being, I inspected the document.

Unfortunately, curiosity killed the cat, and I found several hidden texts from the PDF document, which I ironically copied and pasted ctrl + c >>> ctrl + V into my original document. I performed this task again and saw that when I paste text using my default settings, it revealed/included text I wasn't privy to when drafting the assignment. How do I handle this situation?

I went to YouTube and risked my job typing these answers at work. It sucks the life out of me because I also had to research-intensive assignments at the time, plus prepare for a test, and I had to balance it with work, and now it seems like it will be for nothing because the professor decided to include text size one text in their case study to catch LLM use.

As someone who has completed graduate school before, I find it difficult because you write good logical papers, and people categorise them as AI work. Plus, the measures taken now seem too drastic, especially when traps are set in a way that disadvantages people who follow the rules.

Will I be penalised for an innocent mistake?
Post Opinion