:root{--bg:#0c0e16;--side:#10111b;--surface:#131520;--surface2:#181b29;--surface3:#202334;--line:#292c3d;--muted:#9196ad;--text:#eef0fa;--green:#08bc83;--amber:#f2c576;--blue:#8d94e9;--r:13px;color-scheme:dark}
body{background:var(--bg);color:var(--text)}
body:not(.light-theme) .app-topbar{background:#10111b;border-color:#26293a}
body:not(.light-theme) .app-sidebar{background:#10111b}
body:not(.light-theme) .panel,body:not(.light-theme) .side-panel,body:not(.light-theme) .profile-card,body:not(.light-theme) .category-section,body:not(.light-theme) .auth-box,body:not(.light-theme) .quiz-card{background:#141620}
.sidebar-brand{color:#fff}
.sidebar-header{border-color:var(--line)}
.sidebar-batch{display:none!important}
.student-avatar-image{object-fit:cover;object-position:center;background:var(--surface3);border-radius:50%}
.avatar-letter.student-avatar-image{border:1px solid var(--line)}
.profile-avatar.student-avatar-image{border:5px solid var(--surface)}
.mcq-page{max-width:870px!important}
.mcq-page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:17px}
.mcq-eyebrow{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.045em;color:var(--green);margin-bottom:7px}
.mcq-page-head h1{font-size:22px;margin:0 0 6px}
.mcq-page-head p,.mcq-scoreboard p{font-size:12px;color:var(--muted);margin:0}
.mcq-page-head .quiz-timer{position:static;margin:0;min-width:154px;display:flex;flex-direction:column;align-items:flex-end;gap:5px;padding:11px 14px;background:var(--surface2);border:1px solid var(--line)}
.mcq-page-head .quiz-timer>span{font-size:11px;color:var(--muted);display:flex;gap:5px;align-items:center}
.mcq-page-head .quiz-timer strong{font-size:18px;color:var(--text)}
.mcq-progress-strip{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:13px 15px;display:flex;align-items:center;gap:14px;margin-bottom:16px;color:var(--muted);font-size:12px}
.mcq-progress-strip b{color:var(--text)}
.mcq-progress-track{height:7px;background:var(--surface3);border-radius:10px;overflow:hidden;flex:1}
.mcq-progress-track span{height:100%;background:var(--green);display:block;transition:width .2s}
.mcq-index-inline{display:inline-flex;align-items:center;justify-content:center;gap:7px;color:var(--text);background:var(--surface2);border:1px solid var(--line);border-radius:22px;padding:7px 12px;font-size:11px;font-weight:700;white-space:nowrap}
.mcq-index-inline:hover{border-color:var(--green)}
.mcq-index-inline .ui-icon,.mcq-float-button .ui-icon{width:14px;height:14px}
.mcq-question{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:21px 18px 22px;margin:0 0 14px;scroll-margin-top:73px;transition:border-color .2s,box-shadow .2s}
.mcq-question.mcq-focus{border-color:var(--green);box-shadow:0 0 0 3px #00b8891a}
.mcq-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:16px;min-height:55px}
.mcq-heading h2{font-size:15px;line-height:1.7;letter-spacing:0;font-weight:750;margin:0;flex:1;max-width:100%}
.mcq-heading h2>span{font-family:Arial,sans-serif;font-weight:700;margin-right:3px}
.mcq-tools{display:flex;align-items:center;gap:6px;flex:none;align-self:end}
.mcq-mark-counter{background:var(--surface3);border:1px solid var(--line);border-radius:20px;padding:3px 8px;font-family:Arial,sans-serif;font-size:11px;color:var(--text);font-weight:750}
.mcq-tool{width:27px;height:27px;background:transparent;border:1px solid transparent;border-radius:7px;display:grid;place-items:center;padding:5px;opacity:.83}
.mcq-tool:hover{background:var(--surface3);opacity:1}
.mcq-tool .ui-icon{height:15px;width:15px}
.mcq-tool.is-active{background:#b5812233;border-color:#d4a54a;color:var(--amber);opacity:1}
.mcq-tool.is-active .ui-icon{filter:brightness(0) saturate(100%) invert(85%) sepia(38%) saturate(1488%) hue-rotate(337deg) brightness(99%) contrast(94%)}
.mcq-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.mcq-choice{position:relative;display:flex;align-items:center;gap:12px;padding:10px 12px;min-height:46px;background:var(--surface);border:1px solid var(--line);border-radius:9px;cursor:pointer;color:var(--text);font-size:13px;font-weight:640;line-height:1.5;min-width:0}
.mcq-choice:hover{border-color:#68828b}
.mcq-choice input[type=radio]{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer;margin:0;z-index:1}
.mcq-choice:focus-within{outline:2px solid var(--green);outline-offset:2px}
.mcq-choice-letter{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--surface2);border:1px solid var(--line);flex:none;font-size:13px;font-weight:800}
.mcq-choice-text{min-width:0;overflow-wrap:anywhere}
.mcq-choice.is-selected{background:#053d3026;border-color:#00a974}
.mcq-choice.is-selected .mcq-choice-letter,.mcq-choice.is-correct .mcq-choice-letter{background:#00845b;border-color:#00845b;color:#fff}
.mcq-choice.is-correct{background:#00ab7620;border-color:#009b6c;color:var(--text)}
.mcq-choice.is-wrong{background:#a7243c24;border-color:#d34765}
.mcq-choice.is-wrong .mcq-choice-letter{background:#8f2438;border-color:#8f2438;color:#fff}
.mcq-choice-indicator{margin-left:auto;display:inline-grid;place-items:center;flex:none}
.mcq-choice-indicator .ui-icon{width:14px;height:14px;filter:brightness(0) saturate(100%) invert(65%) sepia(66%) saturate(555%) hue-rotate(101deg) brightness(95%)}
.mcq-choice.is-wrong .mcq-choice-indicator .ui-icon{filter:brightness(0) saturate(100%) invert(48%) sepia(87%) saturate(936%) hue-rotate(311deg) brightness(105%)}
.mcq-submit-row{padding:12px 4px 24px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.mcq-submit-row .btn{min-height:43px;padding-inline:24px}
.mcq-scoreboard{padding:22px 23px;background:var(--surface);border:1px solid var(--line);border-radius:12px;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:23px}
.mcq-scoreboard h1{font-size:20px;margin:0 0 7px}
.mcq-score-actions{display:flex;gap:8px;white-space:nowrap}
.mcq-review-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:14px}
.mcq-review-title h2{font-size:16px;margin:0}
.mcq-review-question{padding:20px 18px 24px}
.mcq-explanation{background:#103b2fa6;border:1px solid #096a4d;border-radius:9px;margin-top:11px;overflow:hidden;color:var(--text)}
.mcq-explanation summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;padding:12px 14px;color:#56e3b0;font-weight:750;font-size:13px;list-style:none}
.mcq-explanation summary::-webkit-details-marker{display:none}
.mcq-explanation summary>span{display:flex;align-items:center;gap:8px}
.mcq-explanation summary .ui-icon{height:15px;width:15px;filter:brightness(0) saturate(100%) invert(79%) sepia(29%) saturate(1086%) hue-rotate(101deg) brightness(93%)}
.mcq-explanation[open] summary{background:#2050468a}
.mcq-explanation[open] .mcq-explain-arrow{transform:rotate(180deg)}
.mcq-explanation-body{padding:15px 17px 16px;border-top:1px solid #246c53;font-size:13px;line-height:1.8}
.mcq-explanation-body p{margin:0;overflow-wrap:anywhere}
.mcq-explanation-body .mcq-source{font-size:11px;color:#9cdbca;margin-top:13px}
.mcq-explanation-body .mcq-source a{text-decoration:underline;text-underline-offset:3px}
.mcq-float-button{position:fixed;right:25px;bottom:25px;z-index:32;border:1px solid var(--line);border-radius:25px;background:var(--surface2);color:var(--text);display:flex;gap:8px;align-items:center;padding:10px 14px;font-size:12px;font-weight:700;box-shadow:0 7px 25px #0005}
.mcq-float-button:hover{border-color:var(--green)}
.mcq-modal[hidden]{display:none!important}
.mcq-modal{position:fixed;z-index:140;inset:0;display:grid;place-items:center;padding:16px}
.mcq-modal-backdrop{position:absolute;inset:0;background:#050610bf;backdrop-filter:blur(6px)}
.mcq-modal-panel{position:relative;width:min(360px,100%);max-height:min(700px,calc(100dvh - 32px));overflow-y:auto;background:#151621;color:#eff1f7;border:1px solid #303448;border-radius:15px;padding:25px 19px 20px;box-shadow:0 20px 70px #0008;outline:0}
.mcq-modal-panel h2{text-align:center;font-size:15px;margin:0 0 3px}
.mcq-modal-panel>p{text-align:center;color:#9c9fb2;font-size:10px;margin:0 0 16px}
.mcq-modal-close{position:absolute;right:12px;top:10px;border:0;background:transparent;color:#b7bbca;font-size:21px;font-weight:300;width:31px;height:31px;border-radius:8px;display:grid;place-items:center}
.mcq-modal-close:hover{background:#2c3041;color:#fff}
.mcq-modal-subhead{display:flex;align-items:center;justify-content:space-between;color:#b8bfd1;font-size:11px;margin-bottom:8px}
.mcq-modal-subhead span{font-size:10px;color:#a3acc1}
.mcq-numbers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;max-height:475px;overflow:auto;scrollbar-width:thin}
.mcq-number{background:#24283d;color:#c2c7d8;border:1px solid transparent;border-radius:7px;height:36px;min-width:0;font-size:12px;font-weight:650}
.mcq-number:hover{border-color:#7d829a;color:#fff}
.mcq-number.is-answered,.mcq-number.is-correct{background:#075c43;color:#d2fff0;border-color:#07815e}
.mcq-number.is-wrong{background:#592432;border-color:#a63854;color:#ffced7}
.mcq-number.is-flagged{outline:2px solid #e1a548;outline-offset:-3px}
.mcq-number.is-bookmarked{box-shadow:inset 0 -3px #8d97f3}
.mcq-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:11px;padding-top:13px;border-top:1px solid #2b2d40;margin-top:13px;font-size:10px;color:#aeb2c4}
.mcq-legend span{display:flex;align-items:center;gap:4px}
.mcq-legend-dot{width:9px;height:9px;border-radius:3px;display:inline-block;border:1px solid #6d728a}
.mcq-legend-dot.answered,.mcq-legend-dot.correct{background:#00795c;border-color:#00b485}
.mcq-legend-dot.wrong{background:#83273c;border-color:#c74760}
.mcq-legend-dot.marked{background:#bb852f;border-color:#d6a646}
.mcq-legend-dot.idle{background:#282c3e;border-color:#5d627a}
body.mcq-modal-open{overflow:hidden}
body.light-theme{--bg:#f5eedf;--side:#102943;--surface:#fffaf0;--surface2:#f6efdf;--surface3:#eae0cb;--line:#d8cbb6;--muted:#5a6d7c;--text:#14314a;--green:#087d64;--blue:#426288;--amber:#ddaa58;color-scheme:light}
body.light-theme .app-sidebar{background:#102943;border-right:1px solid #203d57;color:#f3ead8}
body.light-theme .sidebar-header{border-color:#28445f}
body.light-theme .side-link{color:#c6d2df}
body.light-theme .side-link:hover,body.light-theme .side-link.active{background:#eadcb7;color:#102943}
body.light-theme .app-sidebar .ui-icon,body.light-theme .side-user>.ui-icon{filter:brightness(0) invert(.91)}
body.light-theme .sidebar-nav .side-link.active .ui-icon,body.light-theme .sidebar-nav .side-link:hover .ui-icon{filter:brightness(0) saturate(100%) invert(14%) sepia(22%) saturate(1808%) hue-rotate(171deg) brightness(96%)}
body.light-theme .side-user{border-color:#35516b;color:#f3ead8}
body.light-theme .side-user-name b{color:#f3ead8}
body.light-theme .side-user-name small{color:#b3c2cd}
body.light-theme .avatar-letter{background:#dfcfa9;color:#18364d;border-color:#869da9}
body.light-theme .app-topbar{background:#112c47;border-color:#24445e;color:#f4ebd8}
body.light-theme .topbar-title{color:#f3ead8}
body.light-theme .mobile-menu .ui-icon{filter:brightness(0) invert(.94)}
body.light-theme .status-chip,body.light-theme .icon-chip,body.light-theme .topbar-account{background:#1b3a55;color:#f2ebd8;border-color:#3d5b70}
body.light-theme .topbar-right .ui-icon{filter:brightness(0) invert(.93)}
body.light-theme .points-chip{background:#284660;color:#f6e0a5;border-color:#4c6580}
body.light-theme .status-chip:hover,body.light-theme .icon-chip:hover{background:#2d506b}
body.light-theme .app-footer{border-color:#ddcfb6;color:#536876}
body.light-theme .app-footer span{color:#637b88}
body.light-theme a:hover{color:#08765d}
body.light-theme .sidebar-brand:hover,body.light-theme .side-user:hover,body.light-theme .app-topbar a:hover{color:#fff4cf}
body.light-theme .quick-hub,body.light-theme .exam-card,body.light-theme .side-panel,body.light-theme .mini-panel,body.light-theme .panel,body.light-theme .doc-card,body.light-theme .stat,body.light-theme .category-section,body.light-theme .auth-box,body.light-theme .profile-card,body.light-theme .assignment-card,body.light-theme .quiz-card,body.light-theme .mcq-question,body.light-theme .mcq-scoreboard,body.light-theme .mcq-progress-strip{background:var(--surface);border-color:var(--line)}
body.light-theme .exam-card h3,body.light-theme .side-panel-heading h2,body.light-theme .section-head h2,body.light-theme .page-heading h1,body.light-theme .stat strong,body.light-theme .quiz-card h2,body.light-theme .mcq-heading h2,body.light-theme .profile-metric strong{color:var(--text)}
body.light-theme .panel-head.dark,body.light-theme .ranking-title{background:#e4d8bd;color:#16344e}
body.light-theme .quick-action .hub-icon{background:#1d3d59}
body.light-theme .subject-tile,body.light-theme .category-card{color:#fff}
body.light-theme .exam-meta,body.light-theme .exam-card .subline,body.light-theme .smallmuted{color:#617481}
body.light-theme .event-label{background:#fce4e6;color:#a6374a}
body.light-theme .exam-enter{border-color:#bfc8ca;color:#16344e}
body.light-theme .section-head a,body.light-theme .mini-link{color:#305c72}
body.light-theme .tab{border-color:#bbc4bd;color:#21425a}
body.light-theme .tab.active{background:#153f59;border-color:#153f59;color:#fff3d7}
body.light-theme .listing-table th{background:#eadfc9;color:#254c62}
body.light-theme .listing-table td{color:#294a60}
body.light-theme .btn-outline{background:#fff8e8;color:#183b54;border-color:#cbbda5}
body.light-theme .btn-green{background:#0b6e5a;color:#fff9e8}
body.light-theme .btn-blue{background:#1d526e;color:#fff9e8}
body.light-theme .btn-danger{background:#a22f49;color:#fff5ea}
body.light-theme .empty,body.light-theme .empty-lined{background:#fff8eb;border-color:#cbbda6}
body.light-theme .empty b{color:#1b3851}
body.light-theme .field label{color:#24445b}
body.light-theme .field input,body.light-theme .field select,body.light-theme .field textarea,body.light-theme .field-inline-input{background:#fbf5e9;color:#16344e;border-color:#cfbea7}
body.light-theme .field input:focus,body.light-theme .field select:focus,body.light-theme .field textarea:focus{border-color:#087b62}
body.light-theme .pagination>*{color:#173850}
body.light-theme .pagination .current{background:#185b56;color:#fff}
body.light-theme .profile-cover{background:#d8b56e;color:#132f49}
body.light-theme .profile-cover small{color:#4b4129}
body.light-theme .profile-avatar{background:#244e65;border-color:var(--surface);color:#fff}
body.light-theme .settings-menu a{color:#34536c}
body.light-theme .settings-menu a.active,body.light-theme .settings-menu a:hover{background:#e6dbc3;color:#17374e}
body.light-theme .setting-tabs a.active{border-color:#0c7c63;color:#0c6b58}
body.light-theme .form-actions{background:#f4ead8;border-color:var(--line)}
body.light-theme .calendar-day{background:#f7efe0;border-color:var(--line)}
body.light-theme .calendar-day.active{background:#156a56;color:#fff}
body.light-theme .bar-track,body.light-theme .progress{background:#d9ceb9}
body.light-theme .mcq-choice{background:#fff9ed;color:#17344d;border-color:#d2c7b7}
body.light-theme .mcq-choice-letter{background:#f0e5d0;border-color:#d4c7b1;color:#213f51}
body.light-theme .mcq-choice.is-selected{background:#e2f3e9;border-color:#09936e}
body.light-theme .mcq-choice.is-correct{background:#dff5e8;border-color:#0e946c}
body.light-theme .mcq-choice.is-wrong{background:#fce7e8;border-color:#c84863}
body.light-theme .mcq-choice.is-correct .mcq-choice-letter{background:#05845d;border-color:#05845d;color:#fff}
body.light-theme .mcq-choice.is-wrong .mcq-choice-letter{background:#a53650;border-color:#a53650;color:#fff}
body.light-theme .mcq-mark-counter{background:#eee4d2;color:#203f56;border-color:#d8c7af}
body.light-theme .mcq-progress-strip{color:#4a6272}
body.light-theme .mcq-progress-strip b{color:#17364c}
body.light-theme .mcq-index-inline,body.light-theme .mcq-float-button{background:#fff7e7;color:#1d4057;border-color:#cdbfa9}
body.light-theme .mcq-explanation{background:#e4f2e5;color:#1b493c;border-color:#b1d6bc}
body.light-theme .mcq-explanation summary{color:#086b51}
body.light-theme .mcq-explanation[open] summary{background:#d2e9d8}
body.light-theme .mcq-explanation-body{border-color:#b4d8c0}
body.light-theme .mcq-explanation-body .mcq-source{color:#285d4e}
body.light-theme .mcq-page-head .quiz-timer{background:#fff9eb;border-color:#d6c7af}
body.light-theme .mcq-page-head .quiz-timer strong{color:#1a3d56}
body.light-theme .mcq-modal-panel{background:#152238;color:#f6f2e8;border-color:#435168}
body.light-theme .mcq-number{background:#2a3b54}
body.light-theme .prefs-modal{background:#fff9ee;border-color:#d7c7ae}
body.light-theme .prefs-modal h2{color:#183951}
body.light-theme .preference-option{background:#fff5e4;border-color:#d5c5ac;color:#15364e}
body.light-theme .preference-option:has(input:checked){background:#dbede5;border-color:#388970}
body.light-theme .modal-dismiss .ui-icon{filter:brightness(0) invert(.25)}
.avatar-form{display:flex;align-items:center;gap:12px;margin-bottom:17px;flex-wrap:wrap}
.avatar-form-preview{width:67px;height:67px;margin:0!important;flex:none}
.avatar-upload-controls{display:grid;gap:7px}
.avatar-file-input{font-size:11px;max-width:245px}
.avatar-hint{font-size:10px;color:var(--muted)}
.avatar-submit{width:max-content;min-height:30px;font-size:11px}
@media(max-width:760px){.mcq-page{max-width:none!important}.mcq-heading{min-height:auto;flex-wrap:wrap;gap:10px}.mcq-tools{align-self:unset;margin-left:auto}.mcq-question{padding:16px 13px}.mcq-scoreboard{padding:16px;flex-wrap:wrap}.mcq-page-head{align-items:flex-start}.mcq-page-head h1{font-size:19px}.mcq-progress-strip{gap:9px;flex-wrap:wrap}.mcq-progress-track{min-width:95px}.mcq-submit-row{flex-wrap:wrap}}
@media(max-width:540px){.mcq-options{grid-template-columns:1fr}.mcq-heading h2{font-size:14px}.mcq-page-head .quiz-timer{min-width:115px;padding:9px}.mcq-page-head .quiz-timer strong{font-size:15px}.mcq-choice{min-height:43px}.mcq-float-button{right:14px;bottom:15px}.mcq-score-actions{flex-wrap:wrap}.mcq-number{height:39px}.mcq-modal-panel{padding:23px 14px 18px}}
@media(prefers-reduced-motion:reduce){.mcq-question,.mcq-progress-track span{transition:none}}
.settings-sidebar-avatar{margin:0 auto 10px!important}
