:root{--brand:#164b8c;--brand2:#0c315d;--surface:#fff;--bg:#eef3f8;--text:#17202b}*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden}body{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;background:radial-gradient(circle at top left,#fff 0,#eef3f8 48%,#dde7f2 100%);color:var(--text)}.app-shell,.screen-shell{width:100%;height:100dvh;overflow:hidden}.app-shell{display:grid;place-items:center;padding:1rem}.auth-card{width:min(100%,440px);background:var(--surface);padding:clamp(1.25rem,4vw,2.25rem);border-radius:1.25rem;box-shadow:0 24px 70px rgba(20,48,78,.16)}.brand-mark{width:56px;height:56px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;font-weight:800;margin-bottom:1.25rem}.otp-input{text-align:center;letter-spacing:.55rem;font-weight:700}.topbar{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 1.25rem;background:#fff;border-bottom:1px solid #dfe7ef}.content-center{height:calc(100dvh - 68px);display:grid;place-items:center;padding:1rem}.selection-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;width:min(900px,90vw)}.selection-card{min-height:150px;border:2px solid transparent;border-radius:1rem;background:#fff;box-shadow:0 10px 30px #18395a18;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;transition:.2s}.selection-card:hover,.selection-card:focus{border-color:var(--brand);transform:translateY(-2px)}.selection-title{font-size:1.25rem;font-weight:700}@media(max-height:600px){.auth-card{padding:1rem}.brand-mark{width:44px;height:44px;margin-bottom:.75rem}.selection-card{min-height:110px}}

.wizard-shell{height:calc(100dvh - 68px);padding:clamp(1rem,3vw,2.5rem);overflow:hidden}.wizard-heading{max-width:1100px;margin:0 auto 1.25rem;display:flex;gap:1rem;align-items:flex-start}.wizard-heading h1{font-size:clamp(1.6rem,3vw,2.5rem);margin:0}.wizard-heading p{color:#617083;margin:.35rem 0 0}.selection-grid.wide{max-width:1100px;margin:auto;max-height:calc(100dvh - 210px);overflow:auto;padding:.25rem}.selection-card img{width:100%;height:95px;object-fit:contain;margin-bottom:.5rem}.selection-card small{color:#667487;text-align:center}.count-badge{margin-top:.6rem;padding:.25rem .55rem;border-radius:999px;background:#edf4fc;color:var(--brand);font-size:.75rem}.empty-state{grid-column:1/-1;padding:2rem;background:#fff;border-radius:1rem;text-align:center;color:#667487}.exam-shell{height:100dvh;overflow:hidden;background:#f4f7fb}.exam-topbar{height:76px;background:#fff;border-bottom:1px solid #dde6ef;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(1rem,3vw,2rem)}.progress-wrap{display:flex;align-items:center;gap:.75rem;min-width:min(45vw,420px)}.progress-wrap .progress{height:10px;flex:1}.exam-content{height:calc(100dvh - 76px);display:grid;grid-template-rows:1fr auto;padding:clamp(1rem,2vw,2rem);gap:1rem}.question-panel{min-height:0;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:1100px;width:100%;margin:auto}.question-number{font-weight:700;color:var(--brand);margin-bottom:.5rem}.question-panel h1{text-align:center;font-size:clamp(1.35rem,3vw,2.35rem);max-width:950px}.question-image{max-width:min(720px,90vw);max-height:28vh;object-fit:contain;margin:1rem}.answers-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;width:100%;margin-top:1rem}.answer-card{background:#fff;border:2px solid #dfe7ef;border-radius:1rem;padding:1rem;min-height:92px;display:flex;align-items:center;gap:1rem;text-align:start;font-weight:600}.answer-card:hover:not(:disabled){border-color:var(--brand)}.answer-card.correct{border-color:#198754;background:#f0fff7}.answer-card.wrong{border-color:#dc3545;background:#fff5f6}.answer-label{width:38px;height:38px;flex:0 0 38px;border-radius:50%;display:grid;place-items:center;background:#edf3f9;color:var(--brand);font-weight:800}.answer-card img{margin-inline-start:auto;max-width:110px;max-height:70px;object-fit:contain}.exam-footer{display:flex;align-items:center;justify-content:space-between;max-width:1100px;width:100%;margin:auto}@media(max-width:700px){.answers-grid{grid-template-columns:1fr;gap:.65rem}.answer-card{min-height:68px;padding:.7rem}.question-image{max-height:20vh}.progress-wrap{min-width:55vw}.exam-topbar strong{display:none}}

/* Global overlay notifications */
.notification-modal .modal-content { border-radius: 1.25rem; }
.notification-modal .notification-icon { display:inline-grid; place-items:center; width:2.75rem; height:2.75rem; border-radius:50%; font-size:1.5rem; font-weight:800; flex:0 0 auto; }
.notification-modal.notification-success .notification-icon { background:#dcfce7; color:#15803d; }
.notification-modal.notification-danger .notification-icon { background:#fee2e2; color:#b91c1c; }
.notification-modal.notification-warning .notification-icon { background:#fef3c7; color:#a16207; }
.notification-modal.notification-info .notification-icon { background:#dbeafe; color:#1d4ed8; }
.notification-modal.notification-confirm .notification-icon { background:#f3e8ff; color:#7e22ce; }
.notification-modal .notification-message { white-space:pre-line; line-height:1.6; }


/* Student portal */
.student-nav .brand-link{font-weight:800;color:var(--brand2);text-decoration:none}.student-nav nav{display:flex;align-items:center;gap:.85rem}.student-nav nav>a{color:#526273;text-decoration:none;font-weight:600}.student-nav nav>a:hover{color:var(--brand)}.student-nav form{margin:0}.student-page{height:calc(100dvh - 68px);overflow-y:auto;padding:clamp(1rem,3vw,2.25rem);max-width:1400px;margin:auto}.student-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}.student-page-head h1{margin:0;font-size:clamp(1.65rem,3vw,2.5rem)}.student-page-head p{margin:.35rem 0 0;color:#657386}.panel-card{background:#fff;border:1px solid #e1e8f0;border-radius:1rem;padding:1.25rem;box-shadow:0 12px 35px rgba(23,49,77,.08)}.profile-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:1rem}.account-summary h2{font-size:1.2rem}.account-summary dl{margin:0}.account-summary dt{color:#6b7888;font-size:.8rem;margin-top:.85rem}.account-summary dd{margin:0;font-weight:600;overflow-wrap:anywhere}.history-filters{display:grid;grid-template-columns:minmax(180px,1fr) 170px 170px auto auto;gap:.75rem;margin-bottom:1.25rem}.history-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}.history-card{background:#fff;border:1px solid #e0e8f0;border-radius:1rem;padding:1.1rem;box-shadow:0 10px 30px rgba(23,49,77,.07)}.history-card-top{display:flex;justify-content:space-between;align-items:center}.history-card-top>strong{font-size:1.45rem}.history-card h2{font-size:1.15rem;margin:.85rem 0 .25rem}.history-card p{color:#657386;margin:0 0 .75rem}.attempt-stats{display:flex;flex-wrap:wrap;gap:.45rem;margin-bottom:.75rem}.attempt-stats span,.status-pill{font-size:.78rem;padding:.3rem .55rem;border-radius:999px;background:#edf3f8}.status-completed{background:#dcfce7;color:#166534}.status-in_progress{background:#dbeafe;color:#1d4ed8}.status-invalidated,.status-cancelled,.status-expired{background:#fee2e2;color:#991b1b}.review-score{text-align:right}.review-score strong{display:block;font-size:2rem}.review-score span{color:#657386}.review-list{display:grid;gap:1rem;padding-bottom:2rem}.review-question{background:#fff;border:1px solid #e0e8f0;border-inline-start:5px solid #dc3545;border-radius:1rem;padding:1.15rem}.review-question.review-correct{border-inline-start-color:#198754}.review-question header{display:flex;justify-content:space-between;color:#637184}.review-question h2{font-size:1.25rem;margin:1rem 0}.review-image{display:block;max-width:min(600px,100%);max-height:280px;object-fit:contain;margin:0 auto 1rem}.review-answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.review-answer{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:.6rem;border:1px solid #dfe6ee;border-radius:.75rem;padding:.75rem}.review-answer b{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#edf3f8}.review-answer.is-selected{border-color:#dc3545;background:#fff5f5}.review-answer.is-correct{border-color:#198754;background:#f0fff6}.review-answer em{font-size:.75rem;font-style:normal;font-weight:700}.explanation{margin-top:1rem;padding:1rem;border-radius:.75rem;background:#f4f7fb}.explanation p{margin:.35rem 0 0}.review-page{max-width:1150px}
@media(max-width:800px){.student-nav{height:auto;min-height:68px;align-items:flex-start;padding-block:.75rem}.student-nav nav{flex-wrap:wrap;justify-content:flex-end}.student-page{height:calc(100dvh - 88px)}.profile-grid{grid-template-columns:1fr}.history-filters{grid-template-columns:1fr 1fr}.history-filters select{grid-column:1/-1}.review-answers{grid-template-columns:1fr}}
@media(max-width:520px){.student-nav .brand-link{display:none}.student-nav nav{width:100%;justify-content:space-between;gap:.4rem}.student-nav nav>a{font-size:.85rem}.history-filters{grid-template-columns:1fr}.history-filters select{grid-column:auto}.student-page-head{flex-direction:column}.review-question{padding:.85rem}}

.exam-top-actions{display:flex;gap:.5rem;margin-inline:auto 1rem}.status-paused{background:#fef3c7;color:#92400e}.history-card .text-warning{font-size:.78rem}
@media(max-width:700px){.exam-topbar{gap:.45rem}.exam-top-actions{margin-inline:0}.exam-top-actions .btn{font-size:.72rem;padding:.35rem .5rem}.progress-wrap{min-width:38vw}}
.analytics-bars{display:grid;gap:.75rem}.analytics-bar-row{display:grid;grid-template-columns:100px 1fr 65px;gap:.75rem;align-items:center}.analytics-track{height:12px;border-radius:999px;background:#e9eef5;overflow:hidden}.analytics-fill{height:100%;background:linear-gradient(90deg,#0d6efd,#5fa8ff);border-radius:inherit}@media(max-width:600px){.analytics-bar-row{grid-template-columns:78px 1fr 55px;font-size:.84rem}}

/* Student OTP digit boxes */
.otp-boxes{display:grid;grid-template-columns:repeat(var(--otp-count,6),minmax(0,1fr));gap:.65rem;width:100%;direction:ltr}.otp-digit{min-width:0;height:58px;padding:.25rem;text-align:center;font-size:1.5rem;font-weight:800;line-height:1;border-width:2px;border-radius:.8rem;caret-color:var(--brand)}.otp-digit:focus{border-color:var(--brand);box-shadow:0 0 0 .22rem rgba(22,75,140,.15)}@media(max-width:480px){.otp-boxes{gap:.35rem}.otp-digit{height:50px;font-size:1.25rem;border-radius:.65rem}}

/* v3.5 Student experience polish */
.student-transition-root{opacity:0;transform:translateY(5px);transition:opacity .18s ease,transform .18s ease}.student-transition-root.is-ready{opacity:1;transform:none}.student-transition-root.is-leaving{opacity:0;transform:translateY(3px);pointer-events:none}
.student-brand-mark{width:34px;height:34px;border-radius:10px;display:inline-grid;place-items:center;background:linear-gradient(135deg,var(--brand),#2f80d1);color:#fff;font-size:.72rem;letter-spacing:.04em;box-shadow:0 6px 16px rgba(22,75,140,.22)}.student-nav .brand-link{display:flex;align-items:center;gap:.65rem}.student-nav nav>a{position:relative;padding:.4rem .15rem}.student-nav nav>a::after{content:"";position:absolute;left:0;right:0;bottom:-.55rem;height:3px;border-radius:999px;background:var(--brand);transform:scaleX(0);transition:transform .18s ease}.student-nav nav>a:hover::after,.student-nav nav>a.active::after{transform:scaleX(1)}.student-nav nav>a.active{color:var(--brand)}
.wizard-shell{background:radial-gradient(circle at 20% 0,rgba(68,145,225,.13),transparent 34%)}.wizard-progress{max-width:760px;margin:0 auto 1.25rem;display:flex;align-items:center;justify-content:center}.wizard-step{display:flex;align-items:center;gap:.45rem;color:#7b8998;white-space:nowrap}.wizard-step span{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;border:2px solid #cfd9e4;background:#fff;font-weight:800;font-size:.8rem;transition:.2s}.wizard-step b{font-size:.78rem}.wizard-step.active{color:var(--brand)}.wizard-step.active span{border-color:var(--brand);background:var(--brand);color:#fff;box-shadow:0 0 0 5px rgba(22,75,140,.1)}.wizard-step.complete span{border-color:#198754;background:#198754;color:#fff}.wizard-line{width:clamp(22px,6vw,76px);height:2px;background:#d9e1e9;margin:0 .45rem}.wizard-heading{align-items:center}.wizard-back{border-radius:999px;box-shadow:0 6px 20px rgba(24,57,90,.08)}.wizard-copy{min-width:0}.wizard-eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.72rem;font-weight:800;color:var(--brand);margin-bottom:.2rem}.selection-summary{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.7rem}.selection-summary span{padding:.27rem .55rem;background:#e7f0fa;color:var(--brand2);border-radius:999px;font-size:.76rem;font-weight:700}.selection-grid.wide{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));padding:.5rem}.selection-card{position:relative;min-height:190px;padding:1.2rem;overflow:hidden;border:1px solid rgba(205,218,231,.8);animation:studentCardIn .35s both;animation-delay:calc(var(--card-index,0)*45ms)}.selection-card::before{content:"";position:absolute;width:130px;height:130px;border-radius:50%;right:-55px;top:-65px;background:linear-gradient(135deg,rgba(22,75,140,.12),rgba(73,154,232,.03));transition:.25s}.selection-card:hover,.selection-card:focus-visible{transform:translateY(-5px);box-shadow:0 18px 45px rgba(24,57,90,.15);outline:none}.selection-card:hover::before{transform:scale(1.25)}.selection-visual{height:80px;width:100%;display:grid;place-items:center}.selection-visual img{width:100%;height:78px;object-fit:contain;margin:0}.selection-fallback{width:62px;height:62px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#e8f2fd,#d7e8fa);color:var(--brand);font-size:1.8rem}.selection-arrow{position:absolute;right:1rem;bottom:.8rem;color:var(--brand);font-size:1.2rem;opacity:0;transform:translateX(-8px);transition:.2s}.selection-card:hover .selection-arrow,.selection-card:focus-visible .selection-arrow{opacity:1;transform:none}.empty-state{display:grid;gap:.35rem}.empty-state strong{color:var(--text);font-size:1.15rem}.wizard-loading{max-width:1100px;margin:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1rem}.skeleton-card,.answer-skeleton{border-radius:1rem;background:linear-gradient(90deg,#e8eef5 25%,#f7f9fc 42%,#e8eef5 62%);background-size:300% 100%;animation:skeletonMove 1.25s infinite}.skeleton-card{height:190px}.question-skeleton{display:block;width:min(680px,75vw);height:34px;border-radius:10px;background:linear-gradient(90deg,#e8eef5 25%,#f7f9fc 42%,#e8eef5 62%);background-size:300% 100%;animation:skeletonMove 1.25s infinite}.answer-skeleton{height:92px}
.exam-topbar{box-shadow:0 5px 22px rgba(20,48,78,.05);z-index:2}.exam-brand{color:var(--brand2)}.progress-wrap{min-width:min(48vw,480px)}.progress-wrap .progress{height:12px;border-radius:999px;background:#e5ecf3}.progress-wrap .progress-bar{border-radius:999px;background:linear-gradient(90deg,var(--brand),#4d9bea);transition:width .45s cubic-bezier(.22,1,.36,1)}#progressPercent{min-width:42px;color:var(--brand);font-size:.8rem}.exam-question-meta{width:100%;display:flex;justify-content:space-between;align-items:center;margin-bottom:.45rem}.keyboard-hint{font-size:.74rem;color:#8290a0}.answer-card{position:relative;overflow:hidden;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease,background .18s ease}.answer-card:hover:not(:disabled),.answer-card:focus-visible:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 28px rgba(23,58,91,.1);outline:none}.answer-card:active:not(:disabled){transform:scale(.992)}.answer-content{flex:1}.answer-result-icon{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:1.4rem;font-weight:900}.answer-card.correct .answer-result-icon{background:#198754;color:#fff}.answer-card.wrong .answer-result-icon{background:#dc3545;color:#fff}.answer-card.correct .answer-label{background:#198754;color:#fff}.answer-card.wrong .answer-label{background:#dc3545;color:#fff}.question-enter{animation:questionEnter .28s ease both}.score-chip{padding:.55rem .8rem;border-radius:999px;background:#eaf2fb;color:var(--brand2);font-weight:800}.exam-next{min-width:170px;border-radius:999px;box-shadow:0 8px 22px rgba(13,110,253,.24)}
@keyframes studentCardIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes skeletonMove{0%{background-position:100% 0}100%{background-position:0 0}}@keyframes questionEnter{from{opacity:.3;transform:translateX(10px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.student-transition-root,.selection-card,.answer-card,.progress-bar,.question-enter{animation:none!important;transition:none!important}}
@media(max-width:800px){.wizard-progress{overflow-x:auto;justify-content:flex-start;padding:.2rem .1rem}.wizard-step b{display:none}.wizard-line{min-width:28px}.selection-grid.wide{grid-template-columns:repeat(2,minmax(0,1fr));max-height:calc(100dvh - 245px)}.selection-card{min-height:155px;padding:.8rem}.selection-visual{height:58px}.selection-fallback{width:50px;height:50px}.selection-title{font-size:1rem}.keyboard-hint{display:none}}
@media(max-width:520px){.student-brand-mark{display:none}.selection-grid.wide{grid-template-columns:1fr;max-height:calc(100dvh - 238px)}.selection-card{min-height:125px;display:grid;grid-template-columns:62px 1fr;grid-template-rows:auto auto auto;text-align:left;align-content:center}.selection-visual{grid-row:1/4;height:auto}.selection-card small{text-align:left}.count-badge{justify-self:start}.wizard-heading{margin-bottom:.75rem}.wizard-progress{margin-bottom:.7rem}.exam-topbar{height:86px;flex-wrap:wrap;padding:.55rem .75rem}.exam-brand{display:none}.exam-top-actions{order:2}.progress-wrap{order:1;width:100%;min-width:100%}.exam-content{height:calc(100dvh - 86px);padding:.75rem}.exam-question-meta{margin-bottom:.15rem}.question-panel h1{font-size:1.22rem}.answer-card{min-height:62px}.exam-next{min-width:140px}}

/* v3.6 — redesigned student examination screen */
.exam-page-v36{margin:0;overflow:hidden;background:#eef3f8;color:#132238}.exam-v36-shell{height:100dvh;display:grid;grid-template-rows:84px minmax(0,1fr) 88px;background:radial-gradient(circle at 15% 0%,rgba(38,117,209,.08),transparent 28%),#eef3f8}.exam-v36-header{display:grid;grid-template-columns:minmax(220px,1fr) minmax(320px,600px) minmax(220px,1fr);align-items:center;gap:1.4rem;padding:0 clamp(1rem,2.4vw,2.2rem);background:rgba(255,255,255,.96);border-bottom:1px solid #dbe5ef;box-shadow:0 8px 30px rgba(19,43,69,.055);z-index:4}.exam-v36-brand-wrap{display:flex;align-items:center;gap:.8rem;min-width:0}.exam-v36-logo{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,#0d6efd,#084da9);color:#fff;font-weight:900;letter-spacing:-.05em;box-shadow:0 8px 20px rgba(13,110,253,.24)}.exam-v36-brand{display:block;font-size:1rem;color:#102f55}.exam-v36-subtitle{display:block;font-size:.72rem;color:#748397;margin-top:.1rem}.exam-v36-progress{min-width:0}.exam-v36-progress-copy{display:flex;align-items:center;justify-content:space-between;margin-bottom:.45rem;color:#52647a;font-size:.78rem}.exam-v36-progress-copy strong{font-size:.82rem;color:#0d6efd}.exam-v36-progress .progress{height:10px;background:#e5edf5;border-radius:999px;overflow:hidden}.exam-v36-progress .progress-bar{border-radius:999px;background:linear-gradient(90deg,#0d6efd,#57a4ff);box-shadow:0 0 16px rgba(13,110,253,.28);transition:width .45s cubic-bezier(.22,1,.36,1)}.exam-v36-session-actions{display:flex;justify-content:flex-end;gap:.55rem}.exam-v36-action{border:1px solid transparent;border-radius:12px;padding:.55rem .8rem;background:#fff;font-weight:700;font-size:.8rem;display:flex;align-items:center;gap:.4rem;transition:.18s ease}.exam-v36-action:hover{transform:translateY(-1px)}.exam-v36-action-pause{border-color:#f2c86c;color:#87620a;background:#fffaf0}.exam-v36-action-quit{border-color:#efb4b9;color:#b4232f;background:#fff6f7}.exam-v36-stage{min-height:0;padding:clamp(.8rem,1.8vw,1.5rem) clamp(1rem,3vw,3rem);overflow:hidden}.exam-v36-question-card{height:100%;max-width:1240px;margin:0 auto;background:#fff;border:1px solid #dce6ef;border-radius:24px;box-shadow:0 20px 56px rgba(21,47,76,.1);padding:clamp(1rem,2vw,1.8rem);display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:clamp(.8rem,1.5vh,1.15rem);overflow:hidden}.exam-v36-question-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid #e6edf4;padding-bottom:.8rem}.exam-v36-eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:.64rem;font-weight:800;color:#8a99aa}.exam-v36-question-head .question-number{font-size:.92rem;margin:.2rem 0 0;color:#0d6efd}.exam-v36-question-head .keyboard-hint{color:#7c8b9e;font-size:.72rem}.exam-v36-question-head kbd{border:1px solid #d5e0eb;background:#f4f7fa;color:#43556b;border-radius:5px;box-shadow:none;padding:.1rem .35rem}.exam-v36-question-body{min-height:0;display:grid;grid-template-columns:1fr;align-items:center;justify-items:center;gap:1rem;overflow:hidden}.exam-v36-question-body:has(.exam-v36-media:not(.d-none)){grid-template-columns:minmax(0,.95fr) minmax(260px,1.05fr)}.exam-v36-question-copy{width:100%;display:flex;align-items:center;justify-content:center;min-height:0}.exam-v36-question-copy h1{margin:0;max-width:860px;text-align:center;font-size:clamp(1.35rem,2.25vw,2.35rem);line-height:1.28;font-weight:750;color:#14243a}.exam-v36-media{width:100%;height:100%;max-height:32vh;margin:0;border-radius:18px;background:#f6f9fc;border:1px solid #e1e9f1;display:flex;align-items:center;justify-content:center;padding:.8rem;overflow:hidden}.exam-v36-media .question-image{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;margin:0}.exam-v36-answers{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin:0;width:100%}.exam-v36-answers .answer-card{min-height:82px;border-radius:16px;border:2px solid #dde7f0;padding:.8rem 1rem;background:#fbfdff;box-shadow:0 4px 12px rgba(24,53,83,.035)}.exam-v36-answers .answer-card:hover:not(:disabled),.exam-v36-answers .answer-card:focus-visible:not(:disabled){border-color:#5b9cf0;background:#f8fbff;box-shadow:0 10px 28px rgba(13,110,253,.1)}.exam-v36-answers .answer-label{width:42px;height:42px;flex-basis:42px;border-radius:12px;background:#eaf2fc;font-size:1rem}.exam-v36-answers .answer-content{font-size:clamp(.9rem,1.2vw,1.04rem);line-height:1.35}.exam-v36-answers .answer-card.correct{background:#effcf5;border-color:#21a565}.exam-v36-answers .answer-card.wrong{background:#fff2f3;border-color:#de4351}.exam-v36-footer{display:grid;grid-template-columns:220px 1fr auto;align-items:center;gap:1rem;padding:0 clamp(1rem,3vw,3rem);background:#fff;border-top:1px solid #dce6ef;box-shadow:0 -8px 28px rgba(21,47,76,.045);z-index:3}.exam-v36-score-block span{display:block;font-size:.7rem;color:#7b8999;text-transform:uppercase;letter-spacing:.1em}.exam-v36-score-block strong{display:block;margin-top:.1rem;color:#11345b;font-size:1.05rem}.exam-v36-footer-note{text-align:center;color:#7d8a9a;font-size:.78rem}.exam-v36-next{min-width:200px;height:52px;border-radius:14px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:.85rem;box-shadow:0 10px 24px rgba(13,110,253,.23)}.exam-v36-next-icon{font-size:1.3rem;transition:transform .18s ease}.exam-v36-next:hover .exam-v36-next-icon{transform:translateX(4px)}
@media(max-width:900px){.exam-v36-header{grid-template-columns:auto 1fr auto;gap:.8rem}.exam-v36-subtitle{display:none}.exam-v36-progress{min-width:0}.exam-v36-session-actions .exam-v36-action span:last-child{display:none}.exam-v36-question-body:has(.exam-v36-media:not(.d-none)){grid-template-columns:1fr;grid-template-rows:auto minmax(100px,22vh)}.exam-v36-media{max-height:22vh}.exam-v36-footer{grid-template-columns:auto 1fr auto}.exam-v36-footer-note{display:none}}
@media(max-width:640px){.exam-v36-shell{grid-template-rows:94px minmax(0,1fr) 76px}.exam-v36-header{grid-template-columns:auto 1fr auto;padding:.55rem .7rem;align-content:center}.exam-v36-logo{width:38px;height:38px;border-radius:12px}.exam-v36-brand-wrap>div{display:none}.exam-v36-progress-copy{margin-bottom:.25rem}.exam-v36-progress-copy span{font-size:.68rem}.exam-v36-session-actions{gap:.35rem}.exam-v36-action{width:38px;height:38px;padding:0;justify-content:center}.exam-v36-stage{padding:.55rem}.exam-v36-question-card{border-radius:17px;padding:.75rem;gap:.55rem}.exam-v36-question-head{padding-bottom:.5rem}.exam-v36-question-head .keyboard-hint{display:none}.exam-v36-question-copy h1{font-size:clamp(1.08rem,5vw,1.38rem)}.exam-v36-question-body:has(.exam-v36-media:not(.d-none)){grid-template-rows:auto minmax(82px,18vh)}.exam-v36-media{max-height:18vh;padding:.45rem}.exam-v36-answers{grid-template-columns:1fr;gap:.45rem}.exam-v36-answers .answer-card{min-height:58px;padding:.48rem .62rem;border-radius:12px}.exam-v36-answers .answer-label{width:34px;height:34px;flex-basis:34px;border-radius:9px}.exam-v36-footer{grid-template-columns:1fr auto;padding:0 .75rem}.exam-v36-score-block span{display:none}.exam-v36-score-block strong{font-size:.9rem}.exam-v36-next{min-width:150px;height:46px;border-radius:12px;font-size:.88rem}}
@media(max-height:650px) and (min-width:641px){.exam-v36-shell{grid-template-rows:70px minmax(0,1fr) 72px}.exam-v36-question-card{padding:.75rem 1rem;gap:.55rem}.exam-v36-question-copy h1{font-size:1.35rem}.exam-v36-media{max-height:23vh}.exam-v36-answers .answer-card{min-height:62px;padding:.55rem .8rem}.exam-v36-header{padding-block:.25rem}.exam-v36-footer{padding-block:.25rem}}

/* v3.7 student profile */
.student-nav-profile{display:flex!important;align-items:center;gap:.5rem;padding:.3rem .55rem!important;border-radius:999px}.student-nav-profile img,.student-avatar-fallback{width:34px;height:34px;border-radius:50%;object-fit:cover}.student-avatar-fallback{display:grid;place-items:center;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;font-weight:800}.student-nav-profile.active{background:#eaf3ff}.student-profile-page{max-width:1280px}.student-profile-hero{display:flex;align-items:center;gap:1.25rem;margin-bottom:1rem;background:linear-gradient(135deg,#fff 55%,#edf6ff)}.student-profile-hero h1{margin:.2rem 0 .1rem;font-size:clamp(1.7rem,3vw,2.5rem)}.student-profile-hero p{margin:0;color:#647386}.profile-eyebrow{font-size:.75rem;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:var(--brand)}.profile-meta-row{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.65rem}.profile-meta-row span{background:#edf3f8;padding:.3rem .6rem;border-radius:999px;font-size:.78rem}.student-profile-avatar{width:96px;height:96px;border-radius:24px;object-fit:cover;box-shadow:0 10px 30px rgba(20,58,95,.15)}.student-profile-avatar-empty{display:grid;place-items:center;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;font-size:2.2rem;font-weight:800}.profile-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:1rem}.profile-stat-card{background:#fff;border:1px solid #e1e8f0;border-radius:1rem;padding:1rem;box-shadow:0 8px 24px rgba(23,49,77,.06)}.profile-stat-card span{display:block;color:#697789;font-size:.82rem}.profile-stat-card strong{display:block;font-size:1.8rem;margin-top:.25rem}.profile-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);gap:1rem;margin-bottom:1rem}.profile-side-stack{display:grid;gap:1rem}.profile-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.profile-section-head h2{font-size:1.2rem;margin:0}.profile-section-head p{margin:.25rem 0 0;color:#6c7989}.profile-photo-field{display:grid;grid-template-columns:82px 1fr;gap:1rem;align-items:center;padding-bottom:1rem;border-bottom:1px solid #e6ecf2}.profile-photo-preview{width:82px;height:82px;border-radius:20px;background:#edf3f8;display:grid;place-items:center;overflow:hidden;cursor:pointer}.profile-photo-preview img{width:100%;height:100%;object-fit:cover}.profile-photo-preview span{font-size:1.7rem;font-weight:800;color:var(--brand)}.profile-photo-field small{display:block;color:#6c7989;margin-top:.35rem}.current-email-box{padding:.8rem;border-radius:.75rem;background:#f4f7fb;margin-bottom:1rem}.current-email-box span{display:block;color:#6c7989;font-size:.75rem}.current-email-box strong{overflow-wrap:anywhere}.pending-email-note{padding:.75rem;background:#fff6da;border-radius:.75rem;margin-bottom:.8rem;font-size:.88rem}.achievement-section{margin-bottom:1.5rem}.achievement-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem}.achievement-card{display:grid;grid-template-columns:52px 1fr auto;gap:.75rem;align-items:center;border:1px solid #e0e7ef;border-radius:.9rem;padding:.85rem}.achievement-card.locked{opacity:.55;filter:grayscale(.7)}.achievement-card.earned{border-color:#b7dfc6;background:#f5fff8}.achievement-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#e7f1ff;color:var(--brand);font-weight:900}.achievement-card.earned .achievement-icon{background:#dcfce7;color:#166534}.achievement-card h3{font-size:.95rem;margin:0}.achievement-card p{font-size:.78rem;color:#6b7888;margin:.15rem 0 0}.achievement-card>span{font-size:.72rem;font-weight:800}.achievement-card.earned>span{color:#16803d}
@media(max-width:900px){.profile-stat-grid{grid-template-columns:repeat(2,1fr)}.profile-dashboard-grid{grid-template-columns:1fr}.student-nav-name{display:none}}
@media(max-width:600px){.student-profile-hero{align-items:flex-start;flex-wrap:wrap}.student-profile-hero .btn{margin-left:0!important}.student-profile-avatar{width:76px;height:76px;border-radius:18px}.profile-stat-grid{grid-template-columns:1fr 1fr;gap:.65rem}.profile-stat-card strong{font-size:1.4rem}.achievement-card{grid-template-columns:46px 1fr}.achievement-card>span{grid-column:2}.student-nav-profile{padding:.2rem!important}}

/* v3.8 student exam review */
.review-v38{max-width:1450px}.review-v38-hero{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;margin-bottom:1rem;background:linear-gradient(135deg,#fff 58%,#edf6ff)}.review-v38-title{display:flex;align-items:center;gap:1rem}.review-back-link{width:44px;height:44px;border-radius:14px;background:#edf3f8;display:grid;place-items:center;text-decoration:none;color:var(--brand);font-size:1.35rem;font-weight:800}.review-back-link:hover{background:#dcecff}.review-eyebrow{font-size:.73rem;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:var(--brand)}.review-v38-title h1{margin:.18rem 0 .2rem;font-size:clamp(1.65rem,3vw,2.45rem)}.review-v38-title p{margin:0;color:#68778a}.review-v38-score{width:118px;height:118px;border-radius:28px;display:grid;place-content:center;text-align:center;background:#f3f6fa;border:1px solid #dfe7ef}.review-v38-score strong{font-size:2rem;line-height:1}.review-v38-score span{font-size:.78rem;margin-top:.4rem;font-weight:700}.review-v38-score.is-pass{background:#effcf4;border-color:#b9e4c8;color:#166534}.review-v38-score.is-fail{background:#fff4f4;border-color:#f3c7c7;color:#991b1b}.review-v38-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem;margin-bottom:1rem}.review-v38-summary article{background:#fff;border:1px solid #e1e8f0;border-radius:1rem;padding:.9rem 1rem;box-shadow:0 8px 24px rgba(23,49,77,.05)}.review-v38-summary span{display:block;color:#697789;font-size:.78rem}.review-v38-summary strong{display:block;font-size:1.55rem;margin-top:.2rem}.review-v38-summary .summary-correct{border-inline-start:4px solid #198754}.review-v38-summary .summary-wrong{border-inline-start:4px solid #dc3545}.review-v38-summary .summary-unanswered{border-inline-start:4px solid #8b95a1}.review-v38-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem;padding:.75rem 1rem}.review-filter-group{display:flex;gap:.45rem;flex-wrap:wrap}.review-filter{border:1px solid #dce5ee;background:#fff;color:#506173;border-radius:999px;padding:.48rem .75rem;font-weight:700;font-size:.82rem}.review-filter span{display:inline-grid;place-items:center;min-width:24px;height:24px;margin-left:.3rem;padding:0 .35rem;border-radius:999px;background:#edf3f8}.review-filter:hover,.review-filter.is-active{background:var(--brand);border-color:var(--brand);color:#fff}.review-filter.is-active span{background:#ffffff2b}.review-toolbar-actions form{margin:0}.review-v38-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:1rem;align-items:start;padding-bottom:2rem}.review-v38-index{position:sticky;top:0;max-height:calc(100dvh - 92px);overflow:auto}.review-index-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.8rem}.review-index-head small{color:#708093}.review-index-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:.45rem}.review-index-button{aspect-ratio:1;border-radius:10px;border:1px solid transparent;font-weight:800;background:#edf3f8;color:#5c6877;transition:.16s}.review-index-button.state-correct{background:#e7f8ed;color:#166534;border-color:#bfe4cc}.review-index-button.state-wrong{background:#fff0f0;color:#991b1b;border-color:#f0c4c4}.review-index-button.state-unanswered{background:#f3f4f6;color:#606a75;border-color:#d7dce2}.review-index-button:hover,.review-index-button.is-current{transform:translateY(-1px);box-shadow:0 0 0 3px #1d6fcf2b;border-color:var(--brand)}.review-index-legend{display:grid;gap:.35rem;margin-top:1rem;padding-top:.85rem;border-top:1px solid #e4eaf0;font-size:.74rem;color:#687587}.review-index-legend span{display:flex;align-items:center;gap:.45rem}.review-index-legend i{width:10px;height:10px;border-radius:50%}.legend-correct{background:#198754}.legend-wrong{background:#dc3545}.legend-unanswered{background:#8b95a1}.review-v38-list{display:grid;gap:1rem;min-width:0}.review-v38-question{background:#fff;border:1px solid #e0e8f0;border-radius:1.15rem;box-shadow:0 10px 30px rgba(23,49,77,.06);scroll-margin-top:1rem;overflow:hidden}.review-v38-question.state-correct{border-top:4px solid #198754}.review-v38-question.state-wrong{border-top:4px solid #dc3545}.review-v38-question.state-unanswered{border-top:4px solid #8b95a1}.review-v38-question:focus{outline:3px solid #1d6fcf32}.review-v38-question-head{display:flex;justify-content:space-between;align-items:center;padding:.85rem 1rem;background:#f8fafc;border-bottom:1px solid #e8edf2}.review-v38-question-head>div{display:flex;align-items:center;gap:.7rem}.review-v38-question-head span{font-weight:800}.review-v38-question-head small{color:#718093}.review-status-badge{font-size:.75rem;padding:.35rem .62rem;border-radius:999px;background:#edf3f8}.state-correct .review-status-badge{background:#dcfce7;color:#166534}.state-wrong .review-status-badge{background:#fee2e2;color:#991b1b}.state-unanswered .review-status-badge{background:#eceff3;color:#5d6671}.review-v38-question-body{padding:1.15rem}.review-v38-question-body h2{font-size:clamp(1.1rem,2vw,1.35rem);line-height:1.45;margin:0 0 1rem}.review-v38-question-media{max-width:680px;max-height:320px;margin:0 auto 1rem;padding:.5rem;border-radius:1rem;background:#f5f8fb;text-align:center}.review-v38-question-media img{max-width:100%;max-height:300px;object-fit:contain}.review-v38-answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.review-v38-answer{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:.7rem;border:1px solid #dfe6ee;border-radius:.9rem;padding:.75rem;min-height:68px}.review-v38-answer>b{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#edf3f8;color:#445467}.review-answer-content{display:flex;align-items:center;gap:.65rem;min-width:0}.review-answer-content img{width:54px;height:46px;object-fit:contain;border-radius:.5rem;background:#f3f6f9}.review-answer-content span{overflow-wrap:anywhere}.review-answer-tags{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem}.review-answer-tags em{font-style:normal;font-size:.7rem;font-weight:800;padding:.22rem .42rem;border-radius:999px;background:#edf3f8;white-space:nowrap}.review-v38-answer.is-correct{border-color:#198754;background:#f0fff6}.review-v38-answer.is-correct>b{background:#198754;color:#fff}.review-v38-answer.is-correct .review-answer-tags em:last-child{background:#dcfce7;color:#166534}.review-v38-answer.is-selected-wrong{border-color:#dc3545;background:#fff5f5}.review-v38-answer.is-selected-wrong>b{background:#dc3545;color:#fff}.review-v38-answer.is-selected-wrong .review-answer-tags em:first-child{background:#fee2e2;color:#991b1b}.review-v38-explanation{margin-top:1rem;border-radius:.85rem;background:#f4f8fc;border:1px solid #dfe8f1;padding:.8rem 1rem}.review-v38-explanation summary{cursor:pointer;font-weight:800;color:var(--brand)}.review-v38-explanation p{margin:.65rem 0 0;color:#3d4b5a;line-height:1.55}.review-v38-no-explanation{margin-top:1rem;padding:.8rem 1rem;border-radius:.85rem;background:#f6f7f9;color:#76818e;font-size:.85rem}.review-v38-empty{padding:2rem;text-align:center;background:#fff;border-radius:1rem;color:#687587}.review-v38-question[hidden],.review-index-button[hidden]{display:none!important}
@media(max-width:1000px){.review-v38-layout{grid-template-columns:1fr}.review-v38-index{position:static;max-height:none}.review-index-grid{grid-template-columns:repeat(10,1fr)}.review-index-legend{grid-template-columns:repeat(3,auto);justify-content:start}.review-v38-summary{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.review-v38-hero{align-items:flex-start}.review-v38-score{width:86px;height:86px;border-radius:20px;flex:0 0 auto}.review-v38-score strong{font-size:1.45rem}.review-v38-score span{font-size:.68rem}.review-v38-summary{grid-template-columns:repeat(2,1fr)}.review-v38-toolbar{align-items:stretch;flex-direction:column}.review-v38-answers{grid-template-columns:1fr}.review-index-grid{grid-template-columns:repeat(6,1fr)}.review-v38-answer{grid-template-columns:34px minmax(0,1fr)}.review-answer-tags{grid-column:2;align-items:flex-start;flex-direction:row;flex-wrap:wrap}.review-v38-title{align-items:flex-start}.review-v38-title h1{font-size:1.45rem}}
@media(max-width:480px){.review-v38-hero{flex-direction:column}.review-v38-score{width:100%;height:auto;padding:.8rem;display:flex;justify-content:space-between;align-items:center}.review-v38-score span{margin-top:0}.review-v38-summary{grid-template-columns:1fr 1fr}.review-index-grid{grid-template-columns:repeat(5,1fr)}.review-filter-group{display:grid;grid-template-columns:1fr 1fr}.review-filter{display:flex;justify-content:space-between;align-items:center}.review-toolbar-actions .btn{width:100%}}

/* v3.9 Smart Practice */
.smart-practice-page{padding-top:2rem;padding-bottom:3rem}.practice-hero{display:flex;align-items:center;justify-content:space-between;gap:2rem;margin-bottom:1.5rem;padding:1.75rem 2rem;border-radius:24px;background:linear-gradient(135deg,#0d6efd,#5c7cfa);color:#fff;box-shadow:0 18px 50px rgba(13,110,253,.22)}.practice-hero h1{font-size:clamp(2rem,4vw,3.25rem);margin:.2rem 0}.practice-hero p{margin:0;opacity:.9}.practice-eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:.75rem;font-weight:800}.practice-hero-icon{width:78px;height:78px;border-radius:24px;background:rgba(255,255,255,.16);display:grid;place-items:center;font-size:3rem;font-weight:700}.practice-builder-card{background:#fff;border:1px solid #dce5ef;border-radius:24px;box-shadow:0 18px 45px rgba(31,53,80,.09);overflow:hidden}.practice-section{padding:1.75rem 2rem;border-bottom:1px solid #e8eef5}.practice-section-heading{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1.3rem}.practice-section-heading>span{width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:#e8f1ff;color:#0d6efd;display:grid;place-items:center;font-weight:800}.practice-section-heading h2{font-size:1.18rem;margin:0 0 .25rem}.practice-section-heading p{margin:0;color:#66778b}.practice-mode-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.practice-option-card{position:relative;border:2px solid #e2e8f0;border-radius:18px;padding:1.25rem;cursor:pointer;display:flex;flex-direction:column;gap:.45rem;transition:.18s ease;background:#fff}.practice-option-card:hover{transform:translateY(-2px);border-color:#9fc3ff;box-shadow:0 12px 25px rgba(13,110,253,.1)}.practice-option-card input{position:absolute;opacity:0}.practice-option-card:has(input:checked){border-color:#0d6efd;background:#f2f7ff}.practice-option-icon{width:42px;height:42px;border-radius:13px;background:#edf4ff;color:#0d6efd;display:grid;place-items:center;font-size:1.25rem;font-weight:800}.practice-option-card small{color:#6a7889;line-height:1.4}.practice-check{position:absolute;top:12px;right:12px;width:23px;height:23px;border-radius:50%;background:#0d6efd;color:#fff;display:none;place-items:center}.practice-option-card:has(input:checked) .practice-check{display:grid}.practice-count-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem}.practice-count-grid label{cursor:pointer}.practice-count-grid input{position:absolute;opacity:0}.practice-count-grid span{display:grid;place-items:center;min-height:50px;border:2px solid #dfe6ee;border-radius:14px;font-weight:800;background:#fff}.practice-count-grid input:checked+span{border-color:#0d6efd;background:#eef5ff;color:#0d6efd}.practice-start-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.5rem 2rem;background:#f8fafc}.practice-start-row p{margin:.2rem 0 0;color:#6b7888}@media(max-width:991px){.practice-mode-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:575px){.smart-practice-page{padding:1rem}.practice-hero{padding:1.3rem}.practice-hero-icon{display:none}.practice-section{padding:1.25rem}.practice-mode-grid{grid-template-columns:1fr}.practice-count-grid{grid-template-columns:repeat(2,1fr)}.practice-start-row{align-items:stretch;flex-direction:column;padding:1.25rem}.practice-start-row .btn{width:100%}}
