/* MiTaX exam controls. Enabled only while the configured exam is active. */
body.mitaxExamTaking{background:#eef5ff}
body.mitaxExamTaking #examWorkspace{--exam-accent:#2461bb;--exam-line:#d8e6fa}
body.mitaxExamTaking #examWorkspace .paper{border:1px solid var(--exam-line);border-radius:22px;box-shadow:0 8px 32px rgba(30,71,127,.055)}
body.mitaxExamTaking #examWorkspace .question{border-color:#e3ecf8;scroll-margin-top:calc(var(--mx-exam-ai-height,0px) + 100px)}
body.mitaxExamTaking #examWorkspace .option label{border-radius:14px;min-height:48px;transition:background .15s,border-color .15s}
body.mitaxExamTaking #examWorkspace .option input:checked+label{background:#e8f1ff;border-color:#5989d0;box-shadow:0 0 0 1px #5989d0}
body.mitaxExamTaking #examWorkspace :is(button,input,textarea):focus-visible{outline:3px solid #3976ce;outline-offset:3px}
#mxExamAiPinned{background:rgba(246,250,255,.97);border-bottom:1px solid #b8cfee;box-shadow:0 5px 24px rgba(25,67,125,.08);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
#mxExamAiPinned::before{content:"PHIÊN THI · GIÁM SÁT THEO CẤU HÌNH GIÁO VIÊN";display:block;color:#205aab;font:750 .875rem/1.5 system-ui,sans-serif;letter-spacing:.025em;margin-bottom:4px}
#mxExamAiPinned p{font:500 .875rem/1.55 system-ui,sans-serif!important;color:#294564!important;margin:0!important;text-wrap:pretty}
#mxExamAiPinned small{font-size:.75rem!important;color:#567195!important}
#examView .mxExamAiNote{border:1px solid #d6e5fa!important;border-left:3px solid #77a2df!important;border-radius:10px;background:#f7faff!important;padding:10px 12px!important}
#examView .mxExamAiNote p{font-size:.875rem!important;line-height:1.5!important;color:#38567e!important}
body.mitaxExamTaking #examWorkspace .submitBar{border:1px solid #d4e3f7;background:rgba(255,255,255,.97);border-radius:18px;box-shadow:0 6px 28px rgba(30,71,127,.06)}
@media(max-width:600px){#mxExamAiPinned::before{font-size:.8125rem;letter-spacing:0}#mxExamAiPinned p{font-size:.8125rem!important}body.mitaxExamTaking #examWorkspace .paper{border-radius:15px}#examView .mxExamAiNote{padding:8px 10px!important}}
@media(prefers-reduced-motion:reduce){body.mitaxExamTaking #examWorkspace *{scroll-behavior:auto!important;transition:none!important}}
@media(prefers-reduced-transparency:reduce){#mxExamAiPinned{background:#f6faff;backdrop-filter:none;-webkit-backdrop-filter:none}}
@media print{body.mitaxExamTaking #examWorkspace,body.mitaxExamTaking #mxExamAiPinned{display:none!important}body.mitaxExamTaking::after{content:"Bài kiểm tra đang diễn ra. Chức năng in chỉ khả dụng sau khi nộp bài.";font:16px/1.6 system-ui,sans-serif}}
