/* No answer, quota, image or payment code is changed. */
body:has(#tme-box-app #question) #tme-box-app .app-rail,body:has(#tme-box-app #question) #tme-box-app .app-topbar,body:has(#tme-box-app #question) #tme-box-app .app-bottom{display:none!important}
body:has(#tme-box-app #question) #tme-box-app .app-workspace{margin-left:0!important}
body:has(#tme-box-app #question) #tme-box-app main{padding:23px 25px 130px!important;max-width:760px!important;margin:0 auto!important}
body:has(#tme-box-app #question) #tme-box-app .quiz{max-width:680px!important;margin:0 auto!important}
body:has(#tme-box-app #question) #tme-box-app .quizhead{margin:0 0 8px!important;padding:0!important;gap:12px!important}
body:has(#tme-box-app #question) #tme-box-app .quizhead .muted{font-size:11px!important}
body:has(#tme-box-app #question) #tme-box-app .quiz>.panel{padding:16px 0 0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body:has(#tme-box-app #question) #tme-box-app .quiz>.progress{margin:13px 0!important;height:4px!important}
body:has(#tme-box-app #question) #tme-box-app .quiz>div>.muted{font-size:11px!important}
body:has(#tme-box-app #question) #tme-box-app details{margin:0 0 11px!important}
body:has(#tme-box-app #question) #tme-box-app details summary{font-size:11px!important;padding:8px 11px!important;width:fit-content;border-radius:9px;background:#eceeff;color:#6258c7}
body:has(#tme-box-app #question) #tme-box-app .question-tools{display:flex!important;justify-content:flex-end!important;gap:8px!important;margin:0 0 9px!important}
body:has(#tme-box-app #question) #tme-box-app .question-tools button{padding:6px 9px!important;font-size:10px!important;line-height:1.5!important}
body:has(#tme-box-app #question) #tme-box-app h1.question{font-size:22px!important;line-height:1.8!important;margin:10px 0 18px!important}
body:has(#tme-box-app #question) #tme-box-app .options{gap:10px!important}
body:has(#tme-box-app #question) #tme-box-app .option{padding:13px 15px!important;font-size:16px!important;line-height:1.75!important;border-radius:12px!important}
body:has(#tme-box-app #question) #tme-box-app .letter{width:29px!important;height:29px!important;font-size:12px!important;flex-shrink:0}
body:has(#tme-box-app #question) #tme-box-app .feedback{margin:16px 0 0!important;padding:16px 18px!important;font-size:14px!important;line-height:1.85!important}
body:has(#tme-box-app #question) #tme-box-app .feedback p{margin:8px 0 0!important}
body:has(#tme-box-app #question) #tme-box-app .foot{position:fixed!important;bottom:0!important;left:0!important;right:0!important;z-index:40!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;padding:14px max(24px,calc((100vw - 680px)/2)) calc(14px + env(safe-area-inset-bottom))!important;background:#fffffff8!important;border-top:1px solid #e1e6f5!important;box-shadow:0 -5px 24px #4b4da608!important;margin:0!important}
body:has(#tme-box-app #question) #tme-box-app .foot small{font-size:11px!important}
body:has(#tme-box-app #question) #tme-box-app .foot button{margin:0!important;min-width:180px;padding:13px 22px!important;font-size:13px!important}
/* PYQ: retain Previous, Review, Exit and the original submit handlers. */
body.tme-exam-active .qm-app .qm-sidebar,body.tme-exam-active .qm-app .qm-header,body.tme-exam-active .qm-app .qm-bottom{display:none!important}
body.tme-exam-active .qm-app .qm-workspace{margin-left:0!important}
body.tme-exam-active #tme-pyq-app.qm-app .qm-main{padding:22px 24px 140px!important;max-width:800px!important;margin:auto!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-exam-shell{border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-exam-grid{display:block!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-exam-topbar{padding:0 0 12px!important;background:transparent!important;gap:12px!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-exam-title strong{font-size:11px!important;line-height:1.6!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-exam-title span,body.tme-exam-active #tme-pyq-app.qm-app .tme-save-state,body.tme-exam-active #tme-pyq-app.qm-app .tme-desktop-hint{display:none!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-exam-counter{font-size:10px!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-question-panel{background:transparent!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-qhead{padding:13px 0 7px!important;font-size:10px!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-qbody{padding:8px 0!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-question{font-size:21px!important;line-height:1.85!important;margin:0 0 18px!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-options{gap:10px!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-option-pro{padding:13px 14px!important;font-size:16px!important;line-height:1.75!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-option-text{font-size:16px!important;line-height:1.75!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-option-letter{width:29px!important;height:29px!important;flex-shrink:0;font-size:12px!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-learning-tools{margin:12px 0!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-instant-feedback{margin:14px 0 0!important;font-size:14px!important;padding:16px!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-qactions{position:fixed!important;bottom:0!important;left:0!important;right:0!important;z-index:110!important;padding:13px max(24px,calc((100vw - 750px)/2)) calc(13px + env(safe-area-inset-bottom))!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0!important;background:#fffffff8!important;border-top:1px solid #e1e6f5!important;box-shadow:0 -5px 24px #4b4da608!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-qactions-left,body.tme-exam-active #tme-pyq-app.qm-app .tme-qactions-right{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-palette-panel{display:none!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-mobile-only{display:inline-flex!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-palette-panel.open{display:block!important;position:fixed!important;right:0!important;top:0!important;bottom:0!important;width:min(90vw,350px)!important;overflow:auto!important;z-index:150!important;padding:24px!important;box-shadow:-10px 0 40px #17234833!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-palette-backdrop.open{display:block!important;position:fixed!important;inset:0!important;background:#17234866!important;z-index:140!important}
@media(max-width:720px){
body:has(#tme-box-app #question) #tme-box-app main{padding:18px 20px 145px!important}
body:has(#tme-box-app #question) #tme-box-app .quizhead .muted{max-width:55%;text-align:right;font-size:9px!important}
body:has(#tme-box-app #question) #tme-box-app .quizhead .back{font-size:11px!important}
body:has(#tme-box-app #question) #tme-box-app h1.question{font-size:19px!important;line-height:1.8!important;margin:8px 0 16px!important}
body:has(#tme-box-app #question) #tme-box-app .option{padding:12px 13px!important;font-size:15px!important}
body:has(#tme-box-app #question) #tme-box-app .foot{flex-direction:column!important;gap:10px!important;padding:12px 20px calc(13px + env(safe-area-inset-bottom))!important}
body:has(#tme-box-app #question) #tme-box-app .foot small{font-size:10px!important}
body:has(#tme-box-app #question) #tme-box-app .foot button{width:100%!important;min-width:0!important;font-size:13px!important}
body:has(#tme-box-app #question) #tme-box-app .feedback{font-size:13px!important;padding:15px!important}
body.tme-exam-active #tme-pyq-app.qm-app .qm-main{padding:16px 20px 150px!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-exam-topbar{padding:0 0 11px!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-exam-tools{gap:6px!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-question{font-size:18px!important;line-height:1.85!important;margin-bottom:16px!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-option-pro{padding:12px!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-option-text{font-size:15px!important;line-height:1.75!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-qactions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding:10px 20px calc(12px + env(safe-area-inset-bottom))!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-qactions-left{justify-content:space-between!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-qactions-right{flex-wrap:nowrap!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-qactions .tme-btn{font-size:10px!important;padding:6px 10px!important;margin:0!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-qactions #next,body.tme-exam-active #tme-pyq-app.qm-app .tme-qactions #submit-test{flex:1!important;font-size:13px!important;padding:12px 18px!important}
body.tme-exam-active #tme-pyq-app.qm-app .tme-instant-feedback{font-size:13px!important;padding:15px!important}
}

body.tme-exam-active #tme-pyq-app.qm-app .tme-qactions #tme-exit-quiz{width:auto!important;flex:0 0 auto!important;min-width:0!important}@media(max-width:720px){body.tme-exam-active #tme-pyq-app.qm-app .tme-qactions-right{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;width:100%!important}body.tme-exam-active #tme-pyq-app.qm-app .tme-qactions #next,body.tme-exam-active #tme-pyq-app.qm-app .tme-qactions #submit-test{width:100%!important;min-width:0!important}}
