.microbiology-test1-pdf-mode .pdf-answer-modes { margin-left: 8px; flex: 0 0 auto; }
.pdf-answer-modes button { width: 46px; height: 44px; padding: 10px; }
.pdf-answer-modes svg, #pdf-check-choice svg, #pdf-reveal-answer svg { width: 22px; height: 22px; }
.microbiology-test1-pdf-mode [hidden] { display: none !important; }
.microbiology-test1-pdf-mode:not([data-answer-mode="cards"]) #knew-card,
.microbiology-test1-pdf-mode:not([data-answer-mode="cards"]) #missed-card { display: none; }
body.microbiology-test1-pdf-mode:not([data-answer-mode="cards"]) .card-content { align-self: stretch; width: 100%; text-align: left; }
.microbiology-test1-pdf-mode .pdf-practice-question { font-size: 21px; line-height: 1.4; margin: 8px 0 20px; }
.pdf-options { display: grid; gap: 8px; width: 100%; }
.pdf-option { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px; border: 1px solid #687577; border-radius: 4px; cursor: pointer; font: 16px/1.5 system-ui, sans-serif; color: #e3e9ec; }
.pdf-option input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: #92c8e2; }
.pdf-option-text { min-width: 0; overflow-wrap: anywhere; }
.pdf-option:has(input:checked) { border-color: #92c8e2; background: #91b9d213; }
.pdf-option:focus-within { outline: 2px solid #92c8e2; outline-offset: 2px; }
.pdf-option[data-state="correct"] { border-color: #9acfa8; background: #9acfa818; }
.pdf-option[data-state="wrong"] { border-color: #df9ca9; background: #df9ca918; }
.pdf-field { width: 100%; max-width: none; padding: 12px 0; border-bottom: 1px solid #ffffff26; }
.pdf-field > label { display: block; margin-bottom: 8px; color: #e0cb8e; font-size: 16px; line-height: 1.4; }
.pdf-input-row { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; align-items: start; }
.pdf-input-row textarea { box-sizing: border-box; width: 100%; min-width: 0; min-height: 76px; max-height: 180px; resize: vertical; padding: 10px 12px; color: #eef4f1; background: #22292a; border: 1px solid #81918a; border-radius: 4px; font: 16px/1.5 system-ui, sans-serif; letter-spacing: 0; }
.pdf-check-part { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; color: #d0e8d6; background: #3c4942; border: 1px solid #91b39b; border-radius: 4px; cursor: pointer; }
.pdf-check-part svg { width: 22px; height: 22px; }
.pdf-check-part:disabled { opacity: .55; cursor: default; }
.pdf-field[data-state="correct"] textarea { border-color: #9acfa8; background: #9acfa818; }
.pdf-field[data-state="wrong"] textarea { border-color: #df9ca9; }
.pdf-field-feedback, .pdf-mode-feedback { min-height: 22px; margin: 6px 0 0; font: 14px/1.5 system-ui, sans-serif; color: #c7d4d9; }
.pdf-field[data-state="correct"] .pdf-field-feedback { color: #b9e3c5; }
.pdf-field[data-state="wrong"] .pdf-field-feedback, .pdf-field[data-state="error"] .pdf-field-feedback { color: #edbac5; }
body.microbiology-test1-pdf-mode .card-surface.pdf-all-correct { box-shadow: inset 0 0 0 2px #9acfa8; }
@media (max-width: 700px) {
    .microbiology-test1-pdf-mode .pdf-answer-modes { margin-left: 0; }
    .microbiology-test1-pdf-mode .pdf-practice-question { font-size: 18px; }
    .pdf-option { padding: 10px 8px; font-size: 15px; gap: 8px; }
}
