.nav-icon-exams{color:#fb9ab0}
.button{font-family:inherit}
.exam-page-head{align-items:center}
.exam-list-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 2px 12px;color:var(--muted);font-size:12px}
.exam-list-summary p{margin:0}.exam-list-summary strong{color:var(--text)}
.exam-list-summary>span{display:inline-flex;align-items:center;gap:7px}.exam-list-summary>span::before{content:"";width:18px;height:1px;background:var(--theme-purple)}
.exam-ledger{display:grid;gap:12px}
.exam-ledger-row{position:relative;display:grid;grid-template-columns:84px minmax(0,1fr) auto;align-items:center;gap:20px;padding:16px 18px;border-radius:16px;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.exam-ledger-row:hover,.exam-ledger-row:focus-within{border-color:rgba(167,139,250,.36);box-shadow:0 14px 32px rgba(4,7,20,.16);transform:translateY(-1px)}
.exam-ledger-row.is-latest{border-color:rgba(167,139,250,.32);background:linear-gradient(105deg,rgba(139,92,246,.07),rgba(19,27,48,.42))}
.exam-ledger-date{display:grid;place-items:center;border-right:1px solid var(--line);padding-right:18px;color:var(--theme-text-secondary)}
.exam-ledger-date strong{font-size:27px;line-height:1;color:var(--text)}
.exam-ledger-date span{margin-top:3px;font-size:11px;text-transform:uppercase;font-weight:800;color:var(--theme-purple)}
.exam-ledger-date small{margin-top:6px;color:var(--muted);font-size:10px;white-space:nowrap}
.exam-ledger-main{min-width:0}
.exam-ledger-main>div{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px}
.exam-latest-label{color:var(--theme-purple);font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.exam-ledger-main h2{margin:7px 0 5px;font-size:19px}
.exam-ledger-main h2 a{color:var(--text);text-decoration:none}
.exam-ledger-main p{margin:0;color:var(--muted)}
.exam-empty{padding:32px;border-radius:16px;text-align:center;color:var(--muted)}
.exam-empty strong{display:block;margin-bottom:7px;color:var(--text);font-size:18px}
.exam-empty p{max-width:58ch;margin:0 auto 18px;line-height:1.55}
.exam-editor-form{max-width:1040px}
.exam-editor-form textarea[spellcheck="false"]{font-family:"Liberation Mono",ui-monospace,monospace;font-size:13px;line-height:1.55;tab-size:4}
.exam-question-field[hidden]{display:none}
.exam-command-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 20px;border-radius:16px;margin-bottom:28px}
.exam-command-bar>div:first-child{display:flex;gap:14px;align-items:baseline}
.exam-command-bar span{color:var(--muted)}
.exam-instructions{max-width:75ch;margin:30px 0;color:var(--theme-text-secondary)}
.exam-instructions h2{color:var(--text)}
.exam-instructions p{line-height:1.65}
.exam-question-ledger>header,.exam-attempts-section>header{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:34px 0 14px}
.exam-question-ledger>header h2,.exam-attempts-section>header h2{margin:4px 0 0}
.exam-question-ledger>header>span{color:var(--muted)}
.exam-question-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:16px;padding:16px 18px;border-radius:14px;margin-top:9px}
.exam-question-number{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:rgba(139,92,246,.13);color:var(--theme-purple);font-weight:800}
.exam-question-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.exam-question-meta span{color:var(--muted);font-size:12px}
.exam-question-row p{margin:7px 0 0;color:var(--theme-text-secondary);line-height:1.5}
.exam-publish-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:28px;padding:22px;border-radius:16px}
.exam-publish-panel strong{font-size:17px}
.exam-publish-panel p{margin:5px 0 0;color:var(--muted);max-width:70ch}
.exam-publish-panel>div>small{display:block;margin-top:10px;color:var(--theme-cyan)}
.exam-publish-panel form{display:grid;justify-items:end;gap:12px;min-width:min(100%,360px)}
.exam-publish-confirm{display:flex;align-items:flex-start;gap:9px;max-width:360px;color:var(--theme-text-secondary);font-size:12px;line-height:1.45;cursor:pointer}
.exam-publish-confirm input{flex:0 0 auto;width:18px;height:18px;margin-top:1px;accent-color:var(--violet)}
.exam-entry-link-panel{display:grid;grid-template-columns:minmax(220px,.75fr) minmax(320px,1.25fr);align-items:center;gap:10px 24px;margin:22px 0;padding:20px;border-radius:16px}
.exam-entry-link-panel strong{font-size:17px}
.exam-entry-link-panel p{margin:5px 0 0;color:var(--muted);line-height:1.5}
.exam-entry-link-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.exam-entry-link-control input{min-width:0;width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:rgba(4,7,15,.5);color:var(--theme-text-secondary);font:12px "Liberation Mono",ui-monospace,monospace}
.exam-entry-link-panel>[data-copy-exam-feedback]{grid-column:2;color:var(--theme-green);font-size:12px;min-height:1.2em}
.exam-sensitive-notice{padding:17px 19px;margin-bottom:16px;border:1px solid rgba(251,191,36,.38);border-radius:14px;background:rgba(251,191,36,.08);color:#fde68a}
.exam-sensitive-notice p{margin:5px 0 0;color:#dfd19a}
.exam-attempt-table-wrap{overflow:auto;border-radius:16px}
.exam-attempt-table{border-collapse:collapse;width:100%;min-width:760px}
.exam-attempt-table th,.exam-attempt-table td{text-align:left;padding:13px 16px;border-bottom:1px solid var(--line)}
.exam-attempt-table th{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.exam-attempt-table td small,.exam-attempt-table td strong{display:block}
.exam-attempt-table td small{margin-top:3px;color:var(--muted)}
.exam-attempt-table a{color:var(--theme-link)}
.exam-attempt-toolbar{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:12px}
.exam-attempt-search{display:block;width:min(100%,430px)}
.exam-attempt-search span{display:block;margin-bottom:6px;color:var(--theme-text-secondary);font-size:10px;font-weight:700}
.exam-attempt-search input{width:100%;min-height:44px;padding:10px 13px;border:1px solid var(--line);border-radius:10px;background:rgba(4,7,15,.48);color:var(--text);font:inherit;outline:none}
.exam-attempt-search input:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px rgba(139,92,246,.12)}
.exam-attempt-search input::placeholder{color:var(--muted)}
.exam-attempt-toolbar>p{margin:0 0 11px;color:var(--muted);font-size:12px}
.exam-attempts-section .exam-attempt-table{min-width:980px;table-layout:fixed}
.exam-attempts-section .exam-attempt-col-student{width:27%}
.exam-attempts-section .exam-attempt-col-date{width:12%}
.exam-attempts-section .exam-attempt-col-status{width:10%}
.exam-attempts-section .exam-attempt-col-integrity{width:16%}
.exam-attempts-section .exam-attempt-col-result{width:14%}
.exam-attempts-section .exam-attempt-col-action{width:9%}
.exam-attempts-section .exam-attempt-table th,.exam-attempts-section .exam-attempt-table td{padding:17px 16px;vertical-align:middle;line-height:1.35}
.exam-attempt-table time{font-variant-numeric:tabular-nums}
.exam-attempt-result>span{display:block;font-variant-numeric:tabular-nums}
.exam-attempt-result .exam-attempt-grade{display:inline;color:inherit;font-variant-numeric:tabular-nums}
.exam-attempt-result .exam-attempt-grade.is-passing{color:var(--theme-green)}
.exam-attempt-action{text-align:right!important}
.exam-attempt-no-results td{text-align:center!important;padding:30px 18px!important}
.exam-attempt-no-results td strong{color:var(--text)}
.exam-attempt-no-results td small{margin-top:6px}
.exam-access-code{font-size:13px;color:var(--theme-cyan);letter-spacing:.08em}
.exam-monitor-grid{display:grid;gap:10px}
.exam-monitor-row{display:grid;grid-template-columns:12px minmax(220px,.85fr) minmax(520px,1.45fr) auto;align-items:center;gap:16px;padding:16px 18px;border-radius:15px}
.exam-monitor-row.has-integrity-signal{border-color:rgba(251,191,36,.3)}
.exam-live-mark{width:10px;height:10px;border-radius:50%;background:#667085}
.exam-live-mark.is-live{background:var(--green);box-shadow:0 4px 16px rgba(74,222,128,.36);animation:exam-live 2s ease-out infinite}
.exam-monitor-row>div:nth-child(2) span,.exam-monitor-row>div:nth-child(2) strong{display:block}
.exam-monitor-row>div:nth-child(2) span{margin-top:4px;color:var(--muted);font-size:12px}
.exam-monitor-row dl{display:grid;grid-template-columns:repeat(6,minmax(70px,1fr));gap:10px;margin:0}
.exam-monitor-row dl div{min-width:0}
.exam-monitor-row dt{color:var(--muted);font-size:10px;text-transform:uppercase}
.exam-monitor-row dd{margin:4px 0 0;font-weight:700}
.exam-monitor-result dd{display:grid;justify-items:start;gap:3px}
.exam-monitor-outcome{display:inline-flex;align-items:center;min-height:24px;padding:4px 8px;border:1px solid currentColor;border-radius:999px;font-size:10px;font-weight:900;line-height:1;white-space:nowrap}
.exam-monitor-outcome.is-approved{color:var(--theme-green);background:rgba(74,222,128,.08)}
.exam-monitor-outcome.is-failed{color:var(--theme-red);background:rgba(248,113,113,.08)}
.exam-monitor-outcome.is-pending{color:#fcd34d;background:rgba(252,211,77,.08)}
.exam-monitor-result small{color:var(--muted);font-size:10px;font-weight:700;font-variant-numeric:tabular-nums}
.exam-monitor-notice{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-8px 0 20px;padding:14px 17px;border:1px solid rgba(251,191,36,.3);border-radius:14px;background:rgba(251,191,36,.08)}
.exam-monitor-notice span{color:var(--muted)}
.exam-monitor-notice.is-success{border-color:rgba(74,222,128,.28);background:rgba(74,222,128,.08)}
.exam-data-dialog{width:min(1040px,calc(100% - 28px));max-height:calc(100dvh - 28px);margin:auto;padding:0;border:0;background:transparent;color:var(--text)}
.exam-data-dialog::backdrop{background:rgba(2,5,13,.8);backdrop-filter:blur(7px)}
.exam-data-surface{max-height:calc(100dvh - 28px);overflow:auto;border:1px solid rgba(139,92,246,.28);border-radius:18px;background:linear-gradient(145deg,#17142c,#11182b);box-shadow:0 26px 75px rgba(0,0,0,.46)}
.exam-data-head{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:22px 24px;border-bottom:1px solid var(--line);background:rgba(23,20,44,.96);backdrop-filter:blur(16px)}
.exam-data-head h2{margin:4px 0 6px;font-size:25px}.exam-data-head p{margin:0;max-width:72ch;color:var(--muted);line-height:1.5}
.exam-key-list{padding:20px 24px 26px}.exam-key-question{padding:20px 0;border-bottom:1px solid var(--line)}.exam-key-question:first-child{padding-top:0}.exam-key-question:last-child{border-bottom:0}.exam-key-question>header{display:flex;align-items:center;gap:11px}.exam-key-question>header>span{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:rgba(139,92,246,.15);color:var(--theme-purple);font-weight:800}.exam-key-question header strong,.exam-key-question header small{display:block}.exam-key-question header small{margin-top:3px;color:var(--muted)}.exam-key-question>p{max-width:85ch;line-height:1.58}.exam-key-question section>strong{display:block;margin-bottom:8px}.exam-key-question pre{max-height:360px;margin:8px 0 0;padding:16px;overflow:auto;border-radius:12px;background:#060912;color:#e6edf7;white-space:pre-wrap;overflow-wrap:anywhere}.exam-key-question details{margin-top:13px}.exam-key-question summary{color:var(--theme-cyan);cursor:pointer;font-weight:700}.exam-key-edit{display:inline-block;margin-top:10px;color:var(--theme-link);font-size:12px;font-weight:700}
.exam-result-filters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding:18px 24px 0}.exam-result-filters button{display:flex;align-items:center;gap:8px;min-width:0;min-height:50px;padding:9px 11px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.035);color:var(--muted);font:700 10px Inter,system-ui,sans-serif;cursor:pointer}.exam-result-filters button strong{color:var(--text);font-size:17px;font-variant-numeric:tabular-nums}.exam-result-filters button.is-active{border-color:rgba(167,139,250,.52);background:rgba(139,92,246,.15);color:#e7e1ff}.exam-result-visible-count{margin:16px 24px 8px;color:var(--muted);font-size:11px}.exam-result-list{margin:0;padding:0 24px 26px;list-style:none}.exam-result-list>li{display:grid;grid-template-columns:minmax(190px,1fr) minmax(150px,.7fr) 100px minmax(130px,.55fr) auto;align-items:center;gap:14px;padding:13px 2px;border-bottom:1px solid var(--line)}.exam-result-list>li[hidden]{display:none}.exam-result-list strong,.exam-result-list small{display:block}.exam-result-list small{margin-top:3px;color:var(--muted)}.exam-result-list a{color:var(--theme-link)}.exam-result-state{font-size:11px;font-weight:800}.exam-result-state.is-approved{color:var(--theme-green)}.exam-result-state.is-failed,.exam-result-state.is-absent{color:var(--theme-red)}.exam-result-state.is-exempt{color:var(--theme-cyan)}.exam-result-state.is-pending{color:#fcd34d}.exam-result-integrity{display:flex;gap:6px;flex-wrap:wrap}.exam-result-integrity span{padding:5px 7px;border-radius:7px;background:rgba(255,255,255,.05);color:var(--muted);font-size:10px}.exam-results-empty{padding:36px 24px;text-align:center}.exam-results-empty p{color:var(--muted)}
.exam-reconciliation-form{display:grid;gap:15px}.exam-reconciliation-form>label:first-child{font-size:12px;font-weight:800}.exam-reconciliation-form select{width:100%}.exam-reconciliation-form footer{display:flex;justify-content:flex-end;gap:9px;margin-top:4px}
.exam-result-strip{display:grid;grid-template-columns:repeat(6,1fr);border-radius:16px;margin-bottom:22px;overflow:hidden}
.exam-result-strip>div{padding:17px;border-right:1px solid var(--line)}
.exam-result-strip>div:last-child{border:0}
.exam-result-strip span,.exam-result-strip strong{display:block}
.exam-result-strip span{color:var(--muted);font-size:11px;margin-bottom:6px}
.exam-result-strip strong{font-size:16px}
.exam-teacher-bonus{margin-bottom:22px;padding:20px}
.exam-teacher-bonus>header{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin-bottom:16px}
.exam-teacher-bonus>header h2{margin:4px 0 0;font-size:20px}
.exam-teacher-bonus>header>p{max-width:560px;margin:0;color:var(--muted);font-size:12px;line-height:1.55}
.exam-teacher-bonus form{display:grid;grid-template-columns:minmax(220px,320px) minmax(280px,1fr) auto;align-items:end;gap:14px}
.exam-teacher-bonus form>label:first-of-type{display:grid;gap:7px}
.exam-teacher-bonus form>label:first-of-type span{font-size:12px;font-weight:800}
.exam-teacher-bonus form>label:first-of-type input{min-height:43px;padding:9px 11px;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--text);font:inherit}
.exam-teacher-bonus form>label:first-of-type small{color:var(--muted);font-size:10px;line-height:1.45}
.exam-anonymous-nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin:-8px 0 18px}
.exam-anonymous-nav>a:last-child{justify-self:end}
.exam-anonymous-nav strong{color:var(--muted);font-size:11px;text-align:center}
.exam-integrity-timeline{padding:20px;border-radius:16px;margin-bottom:18px}
.exam-integrity-timeline header{display:flex;align-items:end;justify-content:space-between;gap:24px}
.exam-integrity-timeline h2{margin:4px 0 0}
.exam-integrity-timeline header>p{max-width:58ch;margin:0;color:var(--muted);line-height:1.5}
.exam-integrity-timeline ol{list-style:none;padding:0;margin:16px 0 0;border-top:1px solid var(--line)}
.exam-integrity-timeline li{display:grid;grid-template-columns:90px 1fr;gap:12px;padding:11px 2px;border-bottom:1px solid var(--line);color:var(--theme-text-secondary)}
.exam-integrity-timeline time{font:700 12px "Liberation Mono",monospace;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--theme-cyan)}
.exam-integrity-timeline li.is-warning span{color:var(--theme-red)}
.exam-review-layout{display:grid;gap:18px}
.exam-review-answers{display:grid;gap:12px;min-width:0}
.exam-review-answer{padding:20px;border-radius:16px;min-width:0}
.exam-review-answer>header{display:flex;gap:11px;align-items:center}
.exam-review-answer>header>span{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:rgba(139,92,246,.13);font-weight:800;color:var(--theme-purple)}
.exam-review-answer>header strong,.exam-review-answer>header small{display:block}
.exam-review-answer>header small{color:var(--muted);margin-top:3px}
.exam-review-answer>p{line-height:1.55;color:var(--theme-text-secondary)}
.exam-review-answer pre{overflow:auto;margin:0;background:#060912;color:#e6edf7;border-radius:12px;padding:16px;max-height:520px;line-height:1.55;tab-size:4}
.exam-code-label{padding:7px 11px;border-radius:9px 9px 0 0;background:#171d30;color:#9da8c2;font:11px "Liberation Mono",monospace;width:max-content}
.exam-answer-comparison{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin-top:17px}
.exam-code-review{margin-top:16px;padding:18px;border:1px solid rgba(38,208,232,.25);border-radius:14px;background:rgba(38,208,232,.045)}
.exam-code-review>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.exam-code-review h3{margin:4px 0 0;font-size:18px}
.exam-code-review dl{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin:0}
.exam-code-review dl div{min-width:125px;padding:9px 11px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.035)}
.exam-code-review dt{color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.06em}
.exam-code-review dd{margin:4px 0 0;font-weight:800;font-variant-numeric:tabular-nums}
.exam-code-review-note{margin:15px 0;color:var(--theme-text-secondary);font-size:12px;line-height:1.55}
.exam-code-review-form{display:grid;gap:14px}
.exam-code-review-criteria{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.exam-code-review-criteria label,.exam-code-review-feedback{display:grid;gap:7px;padding:12px;border:1px solid var(--line);border-radius:11px;background:rgba(4,7,15,.24)}
.exam-code-review-criteria label>span,.exam-code-review-feedback>span{font-size:12px;font-weight:800}
.exam-code-review-criteria label b{color:var(--theme-cyan);font-size:10px}
.exam-code-review-criteria input{width:100%;min-height:42px;padding:9px 11px;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--text);font:inherit}
.exam-code-review-criteria small{color:var(--muted);font-size:10px;line-height:1.45}
.exam-code-review-feedback textarea{width:100%;resize:vertical;border:1px solid var(--line);border-radius:9px;padding:11px;background:var(--panel);color:var(--text);font:inherit}
.exam-code-review-confirm{display:flex;align-items:flex-start;gap:9px;color:var(--theme-text-secondary);font-size:12px;line-height:1.45}
.exam-code-review-confirm input{margin-top:2px;accent-color:var(--violet)}
.exam-code-review-form>.button{justify-self:end}
.exam-answer-side{min-width:0;padding:16px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.025)}
.exam-answer-side>header{display:grid;gap:4px;margin-bottom:13px}
.exam-answer-side>header span{font-size:9px;font-weight:800;letter-spacing:.1em;color:var(--muted)}
.exam-answer-side>header strong{font-size:14px}
.exam-answer-key{border-color:rgba(38,208,232,.3);background:rgba(38,208,232,.045)}
.exam-answer-key>header span,.exam-answer-key>header strong{color:var(--theme-cyan)}
.exam-written-response,.exam-rationale,.exam-expected-response,.exam-expected-explanation{min-width:0;padding:14px;border-radius:12px;background:rgba(255,255,255,.035);color:var(--theme-text-secondary);line-height:1.6;overflow-wrap:anywhere;word-break:break-word}
.exam-rationale,.exam-expected-explanation{margin-top:12px}
.exam-rationale p,.exam-expected-explanation p{margin:6px 0 0}
.exam-selection-instruction{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px;padding:11px 13px;border:1px solid rgba(38,208,232,.3);border-radius:11px;background:rgba(38,208,232,.07);color:var(--theme-text-secondary)}
.exam-selection-instruction strong{color:var(--theme-cyan);font-size:10px;letter-spacing:.09em}
.exam-selection-instruction span{font-size:13px;font-weight:800;text-align:right}
.exam-source-reference{margin-top:12px!important;padding-top:10px;border-top:1px solid rgba(38,208,232,.18);color:var(--theme-text-secondary)}
.exam-expected-response{background:rgba(38,208,232,.065);color:var(--text)}
.exam-expected-explanation{background:rgba(38,208,232,.035)}
.exam-expected-explanation>a{display:inline-block;margin-top:8px;color:var(--theme-cyan);font-size:12px;font-weight:700}
.exam-answer-empty{color:var(--muted);font-style:italic}
.exam-playback{display:grid;gap:17px;padding:22px;border-radius:16px;scroll-margin-top:20px}
.exam-playback-head{display:flex;align-items:center;justify-content:space-between;gap:24px}
.exam-playback h2{margin:4px 0}
.exam-playback p{max-width:65ch;margin:0;color:var(--muted);line-height:1.5}
.exam-playback-expand{flex:0 0 auto}
.exam-playback-toolbar{display:grid;grid-template-columns:minmax(280px,520px) 1fr;align-items:end;gap:18px}
.exam-playback label{display:grid;gap:7px;font-weight:700}
.exam-playback select{width:100%;min-height:44px;border:1px solid rgba(167,139,250,.36);border-radius:10px;padding:10px 12px;background:#11172a;color:#f7f8ff;color-scheme:dark;font:inherit}
.exam-playback select option{background:#11172a;color:#f7f8ff}
.exam-playback-toolbar small{justify-self:end;color:var(--theme-cyan);font-size:11px;font-weight:700}
.exam-playback-controls{display:grid;grid-template-columns:auto minmax(260px,1fr);gap:18px;align-items:end}
.exam-playback-transport{display:flex;gap:7px}
.exam-playback-controls button{min-height:42px;padding:9px 14px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.06);color:var(--text);font:700 12px inherit;cursor:pointer}
.exam-playback-controls button:hover:not(:disabled),.exam-playback-controls button:focus-visible{border-color:rgba(167,139,250,.55);background:rgba(139,92,246,.12)}
.exam-playback-controls button:disabled,.exam-playback-expand:disabled{opacity:.45;cursor:not-allowed}
.exam-playback-timeline span{color:var(--muted);font-size:10px}
.exam-playback-controls input{width:100%;min-width:0;accent-color:var(--violet);cursor:pointer}
.exam-playback-stage{display:grid;grid-template-columns:52px minmax(0,1fr);min-height:430px;overflow:hidden;border:1px solid #2d3753;border-radius:13px;background:#060912}
.exam-playback-stage pre{height:430px;max-height:62vh;overflow:auto;margin:0;padding:18px 16px;background:#060912;color:#e6edf7;font:13px/1.58 "Liberation Mono",ui-monospace,monospace;tab-size:4;white-space:pre}
.exam-playback-stage .exam-playback-lines{overflow:hidden;border-right:1px solid #232b42;background:#0b0f1b;color:#66728c;text-align:right;user-select:none}
.exam-playback-code-scroll{outline:none}
.exam-playback-code-scroll:focus-visible{box-shadow:inset 0 0 0 2px #8b5cf6}
.exam-playback.is-expanded .exam-playback-stage,.exam-playback.is-expanded .exam-playback-stage pre{min-height:70vh;height:70vh}

.exam-public-body{min-height:100vh}
.exam-public-header{position:relative;z-index:4;display:flex;align-items:center;justify-content:space-between;width:min(1240px,calc(100% - 32px));margin:16px auto;padding:5px 0}
.exam-public-brand{display:flex;align-items:center;gap:10px}
.exam-public-brand>span{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,#9367ff,#5b31d5);box-shadow:0 8px 24px rgba(124,58,237,.36);font-weight:800}
.exam-public-brand strong,.exam-public-brand small{display:block}
.exam-public-brand small{margin-top:2px;color:var(--muted);font-size:10px}
.exam-public-main{position:relative;z-index:2;width:min(1240px,calc(100% - 32px));margin:0 auto;padding:30px 0 70px}
.exam-entry-shell{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);align-items:center;gap:clamp(36px,7vw,90px);min-height:calc(100vh - 170px)}
.exam-entry-intro{max-width:680px}
.exam-entry-state{display:inline-flex;padding:7px 10px;border-radius:999px;background:rgba(74,222,128,.11);color:var(--theme-green);font-weight:800;font-size:11px;margin-bottom:22px}
.exam-entry-intro h1{font-size:clamp(38px,6vw,70px);line-height:1.02;letter-spacing:-.04em;margin:8px 0 18px}
.exam-entry-intro>p:not(.eyebrow){max-width:64ch;color:var(--theme-text-secondary);font-size:16px;line-height:1.65}
.exam-entry-intro dl{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:34px;border-top:1px solid var(--line)}
.exam-entry-intro dl div{padding:15px 15px 0 0}
.exam-entry-intro dt{color:var(--muted);font-size:11px}
.exam-entry-intro dd{margin:5px 0 0;color:var(--text);font-weight:700;line-height:1.4}
.exam-rehearsal-credentials{display:grid;gap:5px;margin-top:24px;padding:15px 17px;border:1px solid rgba(38,208,232,.32);border-radius:14px;background:rgba(38,208,232,.07)}
.exam-rehearsal-credentials span,.exam-rehearsal-credentials small{color:var(--theme-text-secondary)}
.exam-rehearsal-credentials span{font-size:12px}.exam-rehearsal-credentials strong{font:800 18px "Liberation Mono",ui-monospace,monospace;letter-spacing:.06em;color:var(--theme-cyan)}
.exam-grading-guidance{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px;padding:17px 19px;border:1px solid rgba(38,208,232,.32);border-radius:14px;background:rgba(38,208,232,.07)}
.exam-grading-guidance p{margin:5px 0 0;color:var(--theme-text-secondary)}
.exam-grading-guidance.is-error{border-color:rgba(251,113,133,.38);background:rgba(251,113,133,.08)}
.exam-entry-form{padding:30px;border-radius:16px}
.exam-entry-form h2{font-size:27px;margin:5px 0}
.exam-entry-form>div:first-child>p{color:var(--muted);margin:0 0 22px}
.exam-step-label{color:var(--theme-purple);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.exam-entry-form .field{margin-top:15px}
.exam-entry-form .field input:not([type="checkbox"]){width:100%;padding:13px;border:1px solid var(--line);border-radius:11px;background:rgba(4,7,15,.5);color:var(--text);font:inherit}
.exam-integrity-consent{padding:13px;border-radius:12px;background:rgba(38,208,232,.07)}
.exam-integrity-consent label{display:flex!important;gap:10px;align-items:flex-start;line-height:1.5;margin:0!important}
.exam-integrity-consent input{width:18px;height:18px;margin-top:2px;flex:0 0 auto}
.exam-entry-submit{width:100%;margin-top:20px}
.exam-entry-form>small{display:block;margin-top:13px;color:var(--muted);text-align:center;line-height:1.5}
.exam-identity-confirmation{display:grid;gap:5px;padding:16px;margin:18px 0 4px;border:1px solid rgba(74,222,128,.3);border-radius:13px;background:rgba(74,222,128,.08)}
.exam-identity-confirmation span{color:var(--theme-green);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.exam-identity-confirmation strong{font-size:19px}
.exam-identity-confirmation small{color:var(--theme-text-secondary)}
.exam-entry-back{display:block;margin-top:14px;color:var(--theme-link);text-align:center;font-size:13px}
.exam-rehearsal-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px;margin-top:28px;border-radius:16px;border-color:rgba(38,208,232,.3)}
.exam-rehearsal-panel strong{font-size:18px}
.exam-rehearsal-panel p:not(.eyebrow){max-width:72ch;margin:6px 0;color:var(--theme-text-secondary);line-height:1.5}
.exam-rehearsal-panel small{color:var(--theme-cyan)}
.exam-rehearsal-retention{display:block;margin-top:7px;color:var(--theme-text-secondary);font-size:12px;line-height:1.45}
.exam-rehearsal-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.exam-rehearsal-notice{display:flex;align-items:center;gap:10px;padding:11px 15px;margin-bottom:16px;border:1px solid rgba(38,208,232,.34);border-radius:12px;background:rgba(38,208,232,.08);color:var(--theme-text-secondary)}
.exam-rehearsal-notice strong{color:var(--theme-cyan);white-space:nowrap}
.exam-rehearsal-public{margin:0 0 10px}
.exam-review-trial{display:table;margin:18px auto 0}

.exam-public-main:has(.exam-workspace){width:min(1520px,calc(100% - 28px));padding-top:8px}
.exam-workspace{--session-bar-min-height:90px;--session-bar-height:90px}
.exam-session-bar{position:sticky;z-index:10;top:10px;display:grid;grid-template-columns:minmax(260px,1fr) auto auto;align-items:center;gap:24px;min-height:var(--session-bar-min-height);padding:13px 18px;border:1px solid var(--line);border-radius:16px;background:var(--panel-strong);box-shadow:0 16px 46px rgba(0,0,0,.28)}
.exam-session-identity span,.exam-session-identity strong,.exam-session-identity small{display:block}
.exam-session-identity span{font-size:10px;text-transform:uppercase;color:var(--theme-purple);font-weight:800;letter-spacing:.08em}
.exam-session-identity strong{font-size:15px;margin-top:4px}
.exam-session-identity small{color:var(--muted);margin-top:3px}
.exam-session-state{display:flex;gap:14px;align-items:center;color:var(--muted);font-size:12px}
.exam-connection{display:flex;align-items:center;gap:6px}
.exam-connection i{width:8px;height:8px;border-radius:50%;background:var(--green)}
.exam-connection.is-offline{color:var(--theme-red)}
.exam-connection.is-offline i{background:var(--red)}
.exam-save-state.is-pending{color:#facc15}
.exam-save-state.is-error{color:var(--theme-red)}
.exam-timer{text-align:right}
.exam-timer span,.exam-timer strong{display:block}
.exam-timer span{color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em}
.exam-timer strong{font:800 25px "Liberation Mono",ui-monospace,monospace;margin-top:3px}
.exam-timer.is-urgent strong{color:var(--theme-red)}
.exam-workspace-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;margin-top:18px;align-items:start}
.exam-question-nav{position:sticky;top:calc(var(--session-bar-height) + 28px);padding:17px;border:1px solid var(--line);border-radius:16px;background:var(--panel);backdrop-filter:blur(18px)}
.exam-question-nav>div{display:flex;justify-content:space-between;align-items:baseline}
.exam-question-nav>div span{color:var(--muted);font-size:11px}
.exam-question-nav ol{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;list-style:none;padding:16px 0;margin:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:13px}
.exam-question-nav li a{display:grid;place-items:center;height:38px;border:1px solid var(--line);border-radius:10px;color:var(--muted);text-decoration:none;font-weight:800}
.exam-question-nav li.is-answered a{background:rgba(74,222,128,.1);border-color:rgba(74,222,128,.3);color:var(--theme-green)}
.exam-question-nav .button{width:100%;margin-top:15px}
.exam-overview{display:grid;gap:20px;margin:12px 8px 25px}
.exam-overview-title{max-width:900px}
.exam-overview h1{max-width:22ch;font-size:clamp(28px,4vw,45px);letter-spacing:-.035em;margin:4px 0 0;text-wrap:balance}
.exam-instructions-panel{display:grid;grid-template-columns:42px minmax(0,1fr);gap:15px;max-width:1000px;padding:18px 20px;border:1px solid rgba(38,208,232,.24);border-radius:14px;background:rgba(17,23,42,.74)}
.exam-instructions-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:rgba(38,208,232,.11);color:var(--theme-cyan)}
.exam-instructions-mark svg{width:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.exam-instructions-panel strong{display:block;color:var(--text);font-size:14px}
.exam-instructions-panel p{max-width:75ch;margin:7px 0 0;color:#c7d0e4;font-size:13px;line-height:1.68}
.exam-question-card{padding:24px;border-radius:16px;margin-bottom:14px;scroll-margin-top:calc(var(--session-bar-height) + 30px)}
.exam-question-card-head{display:flex;align-items:center;gap:12px}
.exam-question-index{display:grid;place-items:center;width:39px;height:39px;border-radius:11px;background:rgba(139,92,246,.13);color:var(--theme-purple);font-weight:800}
.exam-question-card-head strong,.exam-question-card-head small{display:block}
.exam-question-card-head small{color:var(--muted);margin-top:3px}
.exam-question-prompt{max-width:75ch;margin:18px 0;line-height:1.65;font-size:15px;color:var(--theme-text-secondary);white-space:pre-line}
.exam-response{display:grid;gap:9px}
.exam-option{position:relative;display:flex;align-items:flex-start;gap:11px;padding:13px 14px;border:1px solid var(--line);border-radius:12px;cursor:pointer;color:var(--theme-text-secondary)}
.exam-option:hover{background:rgba(139,92,246,.06)}
.exam-option input{margin-top:2px;width:17px;height:17px;accent-color:var(--violet)}
.exam-option:has(input:checked){border-color:rgba(139,92,246,.5);background:rgba(139,92,246,.1);color:var(--text)}
.exam-code-workbench{overflow:hidden;border:1px solid #303a58;border-radius:13px;background:#060912;box-shadow:0 18px 45px rgba(0,0,0,.16);transition:border-color .18s ease,box-shadow .18s ease}
.exam-code-workbench:focus-within{border-color:#8b5cf6;box-shadow:0 0 0 3px rgba(139,92,246,.14),0 18px 45px rgba(0,0,0,.2)}
.exam-code-toolbar,.exam-code-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#171d30;color:#aeb9d1}
.exam-code-toolbar{min-height:48px;padding:7px 9px 7px 15px;border-bottom:1px solid #303a58}
.exam-code-file{display:flex;align-items:center;gap:10px;min-width:0;font:11px "Liberation Mono",ui-monospace,monospace}
.exam-code-file strong{overflow:hidden;color:#eef2fb;text-overflow:ellipsis;white-space:nowrap}
.exam-code-file span{padding-left:10px;border-left:1px solid #3b4662;color:#8e9ab5}
.exam-code-expand{min-height:34px;padding:7px 11px;border:1px solid #414d6d;border-radius:8px;background:#202842;color:#dbe3f5;font:700 11px inherit;cursor:pointer}
.exam-code-expand:hover{border-color:#7560bc;background:#29234a;color:#fff}
.exam-code-viewport{display:grid;grid-template-columns:48px minmax(0,1fr);min-height:330px;background:#060912}
.exam-code-lines{height:100%;max-height:520px;overflow:hidden;margin:0;padding:17px 11px;border-right:1px solid #232b42;background:#0b0f1b;color:#66728c;text-align:right;user-select:none;font:14px/1.58 "Liberation Mono",ui-monospace,monospace}
.exam-code-editor{width:100%;min-height:330px;max-height:520px;resize:vertical;border:0;padding:17px;background:#060912;color:#e8edf7;caret-color:#7ee7f4;font:14px/1.58 "Liberation Mono",ui-monospace,monospace;tab-size:4;outline:none;white-space:pre;overflow:auto}
.exam-code-workbench.is-expanded .exam-code-viewport,.exam-code-workbench.is-expanded .exam-code-editor{min-height:65vh}
.exam-code-footer{min-height:54px;padding:9px 12px;border-top:1px solid #303a58;font-size:10px}
.exam-code-shortcuts{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-width:0}
.exam-code-shortcuts-title{display:inline-flex;align-items:center;min-height:30px;padding:0 3px;color:#dce5f7;font-size:10px;letter-spacing:.025em;white-space:nowrap}
.exam-code-shortcut{display:inline-flex;align-items:center;gap:7px;min-height:30px;padding:4px 8px;border:1px solid #3b4969;border-radius:8px;background:#111829;color:#cbd5e8;white-space:nowrap}
.exam-code-shortcut-keys{display:inline-flex;align-items:center;gap:3px}
.exam-code-shortcut kbd{display:grid;place-items:center;min-width:25px;min-height:21px;padding:2px 5px;border:1px solid #63708f;border-bottom-color:#8b9abb;border-radius:5px;background:#242d45;color:#f6f8ff;box-shadow:0 2px 0 #0a0e19;font:700 9px/1 "Liberation Mono",ui-monospace,monospace}
.exam-code-shortcut-plus{color:#7887a7;font:700 9px/1 "Liberation Mono",ui-monospace,monospace}
.exam-code-shortcut-action{color:#aebbd3;font-size:10px;font-weight:600}
.exam-code-position{flex:0 0 auto;color:#c6d0e4;font-family:"Liberation Mono",ui-monospace,monospace}
.exam-code-editor.is-paste-alert{border-color:var(--red);box-shadow:0 5px 22px rgba(251,113,133,.22)}
.exam-response>input[type="text"],.exam-rationale-field textarea,.exam-order-field select{width:100%;border:1px solid var(--line);border-radius:11px;padding:12px;background:rgba(4,7,15,.5);color:var(--text);font:inherit}
.exam-order-field{display:grid;grid-template-columns:75px 1fr;align-items:center;gap:10px}
.exam-order-field>span{font-size:12px;font-weight:700;color:var(--muted)}
.exam-order-field select{min-height:46px;border-color:rgba(167,139,250,.42);background-color:#0d1222;color:#f7f8ff;color-scheme:dark;cursor:pointer}
.exam-order-field select:hover{border-color:rgba(167,139,250,.7);background-color:#141b31}
.exam-order-field select:focus-visible{border-color:#9d7bf3;outline:3px solid rgba(139,92,246,.2);outline-offset:1px}
.exam-order-field select option,.exam-order-field select optgroup{background:#11172a;color:#f7f8ff}
.exam-order-field select option:checked{background:#6841d8;color:#fff}
.exam-rationale-field{display:grid;gap:7px;margin-top:18px}
.exam-rationale-field>span{font-weight:700}
.exam-rationale-step{padding:18px;border:1px solid rgba(38,208,232,.36);border-radius:14px;background:linear-gradient(145deg,rgba(38,208,232,.08),rgba(139,92,246,.07));box-shadow:0 10px 30px rgba(0,0,0,.12)}
.exam-rationale-step-label{width:max-content;padding:5px 8px;border-radius:999px;background:rgba(38,208,232,.14);color:var(--theme-cyan);font-size:10px;font-weight:900!important;letter-spacing:.08em}
.exam-rationale-step textarea{min-height:130px;background:rgba(4,7,15,.7)!important}
.exam-required-mark{color:var(--theme-cyan);font-size:11px;letter-spacing:.02em}
.exam-rationale-meta{display:flex;justify-content:space-between;gap:18px;color:var(--muted)}
.exam-rationale-count{flex:0 0 auto;font-variant-numeric:tabular-nums}
.exam-rationale-field textarea.is-invalid{border-color:var(--red);box-shadow:0 0 0 3px rgba(251,113,133,.12)}
.exam-toast{position:fixed;z-index:30;right:22px;bottom:22px;display:grid;grid-template-columns:34px minmax(0,1fr) 30px;align-items:start;gap:11px;width:min(430px,calc(100% - 28px));padding:14px;border:1px solid rgba(38,208,232,.35);border-radius:14px;background:#171e33;color:#f7f8ff;box-shadow:0 18px 50px rgba(0,0,0,.42)}
.exam-toast[hidden]{display:none}
.exam-toast-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:rgba(38,208,232,.13);color:#8ce9f5;font-weight:900}
.exam-toast>div{display:grid;gap:3px;min-width:0}
.exam-toast strong{font-size:12px}
.exam-toast>div>span{color:#c7d0e4;font-size:11px;line-height:1.5}
.exam-toast button{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:8px;background:transparent;color:#aeb8ce;font-size:20px;line-height:1;cursor:pointer}
.exam-toast button:hover,.exam-toast button:focus-visible{background:rgba(255,255,255,.08);color:#fff}
.exam-toast[data-tone="warning"]{border-color:rgba(250,204,21,.42)}
.exam-toast[data-tone="warning"] .exam-toast-mark{background:rgba(250,204,21,.13);color:#fde68a}
.exam-toast[data-tone="error"]{border-color:rgba(251,113,133,.48)}
.exam-toast[data-tone="error"] .exam-toast-mark{background:rgba(251,113,133,.13);color:#fda4af}
.exam-toast[data-tone="success"]{border-color:rgba(74,222,128,.42)}
.exam-toast[data-tone="success"] .exam-toast-mark{background:rgba(74,222,128,.13);color:#86efac}
.exam-confirm-dialog{width:min(540px,calc(100% - 28px));max-height:calc(100dvh - 28px);margin:auto;padding:0;overflow:visible;border:0;background:transparent;color:var(--text)}
.exam-confirm-dialog::backdrop{background:rgba(2,5,13,.8);backdrop-filter:blur(7px)}
.exam-confirm-surface{overflow:auto;max-height:calc(100dvh - 28px);padding:25px;border:1px solid rgba(167,139,250,.28);border-radius:16px;background:linear-gradient(145deg,#1a2038,#0e1425);box-shadow:0 26px 75px rgba(0,0,0,.48)}
.exam-confirm-surface>header{display:flex;align-items:center;gap:14px}
.exam-confirm-mark{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:13px;background:rgba(139,92,246,.15);color:#c4b5fd}
.exam-confirm-mark svg{width:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.exam-confirm-surface h2{margin:3px 0 0;font-size:25px;letter-spacing:-.025em}
.exam-confirm-surface>p{margin:19px 0;color:#c7d0e4;line-height:1.6}
.exam-confirm-summary{display:grid;gap:5px;padding:15px 16px;border-radius:12px;background:#11172a}
.exam-confirm-summary span,.exam-confirm-summary small{color:#9eabc4;font-size:11px}
.exam-confirm-summary strong{font-size:15px}
.exam-confirm-summary b{color:#8ce9f5}
.exam-confirm-assurance{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:11px;margin-top:12px;padding:12px 14px;border:1px solid rgba(38,208,232,.25);border-radius:12px;background:rgba(38,208,232,.07)}
.exam-confirm-assurance>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:rgba(38,208,232,.13);color:#8ce9f5;font-weight:900}
.exam-confirm-assurance div{display:grid;gap:3px}
.exam-confirm-assurance strong{font-size:12px}
.exam-confirm-assurance small{color:#aebbd2;line-height:1.45}
.exam-confirm-surface>footer{display:flex;justify-content:flex-end;gap:9px;margin-top:21px}
.exam-confirm-surface>footer form{margin:0}
.exam-confirm-dialog.is-danger .exam-confirm-mark{background:rgba(251,113,133,.13);color:#ff9aac}
.exam-confirm-dialog.is-danger .exam-confirm-surface{border-color:rgba(251,113,133,.3)}
.exam-activation-panel,.exam-rationale-confirmation{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:18px 0;padding:22px}
.exam-activation-panel h2,.exam-rationale-confirmation h2{margin:4px 0 8px}
.exam-activation-panel p,.exam-rationale-confirmation p{margin:0;color:var(--theme-text-secondary);line-height:1.55}
.exam-activation-panel.is-standby{border-color:rgba(250,204,21,.34);background:linear-gradient(145deg,rgba(250,204,21,.06),rgba(255,255,255,.02))}
.exam-activation-panel.is-enabled,.exam-rationale-confirmation.is-complete{border-color:rgba(74,222,128,.34);background:linear-gradient(145deg,rgba(74,222,128,.06),rgba(255,255,255,.02))}
.exam-activation-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px}
.exam-confirm-surface form{display:grid;gap:14px}
.exam-confirm-surface form>label:not(.exam-publish-confirm){display:grid;gap:7px;font-weight:700}
.exam-confirm-surface form>label input:not([type="checkbox"]){width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:10px;padding:11px;background:rgba(4,7,15,.5);color:var(--text);font:inherit}
.exam-confirm-surface form>footer{display:flex;justify-content:flex-end;gap:9px;margin-top:7px}
.exam-rationale-confirmation form{display:grid;gap:12px;max-width:500px}
.exam-rationale-review{border-color:rgba(38,208,232,.28)}
.exam-submitted-card{max-width:680px;margin:8vh auto 0;padding:38px;border-radius:16px;text-align:center}
.exam-submitted-mark{display:grid;place-items:center;width:62px;height:62px;margin:0 auto 18px;border-radius:18px;background:rgba(74,222,128,.12);color:var(--theme-green);font-size:31px;font-weight:800}
.exam-submitted-card h1{font-size:clamp(30px,5vw,46px);letter-spacing:-.035em;margin:7px 0 12px}
.exam-submitted-card>p:not(.eyebrow){color:var(--theme-text-secondary);line-height:1.6;max-width:60ch;margin:0 auto}
.exam-submitted-card dl{display:grid;grid-template-columns:1fr 1fr;text-align:left;margin:28px 0;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.exam-submitted-card dl div{padding:13px;border-bottom:1px solid var(--line)}
.exam-submitted-card dl div:nth-child(odd){border-right:1px solid var(--line)}
.exam-submitted-card dt{color:var(--muted);font-size:11px}.exam-submitted-card dd{margin:5px 0 0;font-weight:700;overflow-wrap:anywhere}
.exam-submitted-status{display:inline-flex;padding:8px 11px;border-radius:999px;background:rgba(38,208,232,.1);color:var(--theme-cyan)}
.exam-submitted-card>small{display:block;margin-top:18px;color:var(--muted)}

html[data-theme="light"] .exam-sensitive-notice{background:#fff8e2;border-color:#d8bb61;color:#6d4e04}
html[data-theme="light"] .exam-sensitive-notice p{color:#735e25}
html[data-theme="light"] .exam-review-answer pre,html[data-theme="light"] .exam-playback pre,html[data-theme="light"] .exam-code-editor{background:#101522;color:#f2f5fb}
html[data-theme="light"] .exam-playback-stage .exam-playback-lines{background:#0b0f1b;color:#8190ad}
html[data-theme="light"] .exam-code-label{background:#e6eaf2;color:#3f4b63}
html[data-theme="light"] .exam-written-response,html[data-theme="light"] .exam-rationale{background:#f3f5f9;color:var(--theme-text-secondary)}
html[data-theme="light"] .exam-answer-side{background:#f8f9fc}
html[data-theme="light"] .exam-code-review{border-color:#b7dfe3;background:#f3fbfc}
html[data-theme="light"] .exam-code-review dl div,html[data-theme="light"] .exam-code-review-criteria label,html[data-theme="light"] .exam-code-review-feedback{background:#fff}
html[data-theme="light"] .exam-answer-key{border-color:#b7dfe3;background:#f3fbfc}
html[data-theme="light"] .exam-expected-response{background:#e5f4f6;color:var(--text)}
html[data-theme="light"] .exam-expected-explanation{background:#edf8f9;color:var(--theme-text-secondary)}
html[data-theme="light"] .exam-selection-instruction{background:#edf8f9}
html[data-theme="light"] .exam-entry-form .field input:not([type="checkbox"]),html[data-theme="light"] .exam-response>input[type="text"],html[data-theme="light"] .exam-rationale-field textarea,html[data-theme="light"] .exam-order-field select{background:#fff;border-color:rgba(40,52,82,.22);color:var(--text)}
html[data-theme="light"] .exam-entry-link-control input{background:#fff;border-color:rgba(40,52,82,.22);color:var(--theme-text-secondary)}
html[data-theme="light"] .exam-integrity-consent{background:#e5f4f6}
html[data-theme="light"] .exam-identity-confirmation,html[data-theme="light"] .exam-rehearsal-notice{background:#e8f7f8}
html[data-theme="light"] .exam-session-bar{background:#fff;box-shadow:0 16px 40px rgba(40,51,79,.14)}
html[data-theme="light"] .exam-question-nav{background:rgba(255,255,255,.92)}
html[data-theme="light"] .exam-instructions-panel{border-color:#b7dfe3;background:#f5fbfc}
html[data-theme="light"] .exam-instructions-panel p{color:#445168}
html[data-theme="light"] .exam-order-field select{border-color:rgba(105,65,198,.38);background:#fff;color:#172033;color-scheme:light}
html[data-theme="light"] .exam-order-field select:hover{border-color:rgba(105,65,198,.62);background:#faf9fe}
html[data-theme="light"] .exam-order-field select option,html[data-theme="light"] .exam-order-field select optgroup{background:#fff;color:#172033}
html[data-theme="light"] .exam-order-field select option:checked{background:#6941c6;color:#fff}
html[data-theme="light"] .exam-toast{border-color:#b7dfe3;background:#fff;color:#172033;box-shadow:0 18px 50px rgba(40,51,79,.2)}
html[data-theme="light"] .exam-toast>div>span{color:#4d5970}
html[data-theme="light"] .exam-toast button{color:#59657c}
html[data-theme="light"] .exam-toast button:hover,html[data-theme="light"] .exam-toast button:focus-visible{background:#edf0f6;color:#172033}
html[data-theme="light"] .exam-confirm-dialog::backdrop{background:rgba(29,35,52,.58)}
html[data-theme="light"] .exam-confirm-surface{border-color:rgba(105,65,198,.25);background:linear-gradient(145deg,#fff,#f4f6fb);box-shadow:0 26px 75px rgba(40,51,79,.24)}
html[data-theme="light"] .exam-confirm-surface>p{color:#445168}
html[data-theme="light"] .exam-confirm-summary{background:#edf1f6}
html[data-theme="light"] .exam-confirm-summary span,html[data-theme="light"] .exam-confirm-summary small{color:#59657c}
html[data-theme="light"] .exam-confirm-summary b{color:#08717d}
html[data-theme="light"] .exam-confirm-assurance{border-color:#b7dfe3;background:#eaf7f8}
html[data-theme="light"] .exam-confirm-assurance>span{background:#d5f0f2;color:#08717d}
html[data-theme="light"] .exam-confirm-assurance small{color:#4d5970}
html[data-theme="light"] .exam-confirm-dialog.is-danger .exam-confirm-mark{background:#fff1f3;color:#a8203e}
html[data-theme="light"] .exam-confirm-dialog.is-danger .exam-confirm-surface{border-color:#e6a5b3}
html[data-theme="light"] .exam-rationale-step{background:linear-gradient(145deg,#eefcff,#f5f1ff)}
html[data-theme="light"] .exam-rationale-step textarea,html[data-theme="light"] .exam-confirm-surface form>label input{background:#fff!important}
@media(max-width:760px){.exam-activation-panel,.exam-rationale-confirmation{align-items:stretch;flex-direction:column}.exam-activation-actions{display:grid;grid-template-columns:1fr}.exam-activation-actions .button{width:100%}.exam-rationale-confirmation form{max-width:none}.exam-rationale-step{padding:14px}.exam-rationale-step-label{width:auto}}
html[data-theme="light"] .exam-data-dialog::backdrop{background:rgba(29,35,52,.58)}
html[data-theme="light"] .exam-data-surface{border-color:rgba(105,65,198,.25);background:linear-gradient(145deg,#fff,#f4f6fb);box-shadow:0 26px 75px rgba(40,51,79,.24)}
html[data-theme="light"] .exam-data-head{background:rgba(255,255,255,.96)}
html[data-theme="light"] .exam-result-filters button{background:#f5f7fb;color:var(--theme-text-tertiary)}
html[data-theme="light"] .exam-result-filters button.is-active{background:#eee9fb;color:#5630a2}
html[data-theme="light"] .exam-attempt-search input{background:#fff}
html[data-theme="light"] .exam-result-integrity span{background:#edf1f6}
html[data-theme="light"] .exam-option:hover{background:#f7f4fe}
html[data-theme="light"] .exam-option:has(input:checked){background:#f0ebfc;color:var(--text)}

@keyframes exam-live{0%{box-shadow:0 4px 0 0 rgba(74,222,128,.32)}70%,100%{box-shadow:0 4px 0 8px rgba(74,222,128,0)}}
@media(max-width:1100px){.exam-monitor-row{grid-template-columns:12px minmax(200px,1fr) auto}.exam-monitor-row dl{grid-column:2/-1}.exam-result-strip{grid-template-columns:repeat(3,1fr)}.exam-result-strip>div:nth-child(3){border-right:0}.exam-review-layout{grid-template-columns:1fr}.exam-playback{position:static}.exam-entry-shell{grid-template-columns:1fr;gap:30px}.exam-entry-intro{max-width:none}.exam-entry-intro h1{font-size:48px}.exam-entry-shell{padding-top:25px}.exam-workspace-layout{grid-template-columns:170px minmax(0,1fr)}.exam-question-nav ol{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.exam-ledger-row{grid-template-columns:54px minmax(0,1fr);gap:12px}.exam-ledger-row>.button{grid-column:1/-1}.exam-ledger-date{padding-right:10px}.exam-command-bar,.exam-publish-panel{align-items:flex-start;flex-direction:column}.exam-publish-panel form{justify-items:stretch;min-width:0;width:100%}.exam-entry-link-panel{grid-template-columns:1fr}.exam-entry-link-control{grid-template-columns:1fr}.exam-entry-link-panel>[data-copy-exam-feedback]{grid-column:1}.exam-question-row{grid-template-columns:38px minmax(0,1fr)}.exam-question-row>.button{grid-column:2}.exam-monitor-row{grid-template-columns:10px 1fr}.exam-monitor-row dl,.exam-monitor-row>.button{grid-column:2}.exam-monitor-row dl{grid-template-columns:1fr 1fr}.exam-result-strip{grid-template-columns:1fr 1fr}.exam-result-strip>div:nth-child(odd){border-right:1px solid var(--line)}.exam-result-strip>div:nth-child(even){border-right:0}.exam-integrity-timeline header{align-items:flex-start;flex-direction:column;gap:6px}.exam-integrity-timeline li{grid-template-columns:74px 1fr}.exam-entry-intro h1{font-size:39px}.exam-entry-intro dl{grid-template-columns:1fr}.exam-entry-intro dl div{padding-top:12px}.exam-entry-form{padding:22px}.exam-public-main{width:min(100% - 22px,1240px);padding-top:12px}.exam-public-header{width:calc(100% - 22px)}.exam-public-main:has(.exam-workspace){width:calc(100% - 16px)}.exam-workspace{--session-bar-min-height:132px}.exam-session-bar{top:6px;grid-template-columns:1fr auto;gap:10px;padding:12px}.exam-session-state{grid-column:1/-1;grid-row:2;justify-content:space-between}.exam-timer{grid-column:2;grid-row:1}.exam-workspace-layout{display:block}.exam-question-nav{position:sticky;top:calc(var(--session-bar-height) + 12px);z-index:8;margin-top:10px;padding:9px 10px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px}.exam-question-nav>div{display:none}.exam-question-nav ol{display:flex;overflow:auto;padding:0;margin:0;border:0;gap:6px}.exam-question-nav li{flex:0 0 44px}.exam-question-nav li a{height:44px}.exam-question-nav .button{width:auto;margin:0;padding:10px;font-size:11px}.exam-overview{gap:14px;margin:22px 5px 16px}.exam-overview h1{font-size:30px}.exam-instructions-panel{grid-template-columns:1fr;gap:10px;padding:15px}.exam-instructions-mark{width:38px;height:38px}.exam-instructions-panel p{font-size:12px;line-height:1.62}.exam-question-card{padding:18px}.exam-question-prompt{font-size:14px}.exam-code-viewport{grid-template-columns:40px minmax(0,1fr);min-height:300px}.exam-code-editor{min-height:300px;font-size:13px;padding:14px 12px}.exam-code-lines{padding:14px 8px;font-size:13px}.exam-code-footer{align-items:flex-start;flex-direction:column;gap:4px}.exam-rationale-meta{align-items:flex-start;flex-direction:column;gap:4px}.exam-order-field{grid-template-columns:1fr}.exam-toast{right:14px;bottom:14px}.exam-confirm-surface{padding:20px}.exam-confirm-surface>footer{display:grid;grid-template-columns:1fr}.exam-confirm-surface>footer .button{width:100%}.exam-confirm-surface>footer .primary{grid-row:1}.exam-submitted-card{margin-top:3vh;padding:25px}.exam-submitted-card dl{grid-template-columns:1fr}.exam-submitted-card dl div:nth-child(odd){border-right:0}.exam-playback{padding:17px}.exam-playback-head{align-items:flex-start;flex-direction:column;gap:12px}.exam-playback-expand{width:100%}.exam-playback-toolbar{grid-template-columns:1fr;gap:8px}.exam-playback-toolbar small{justify-self:start}.exam-playback-controls{grid-template-columns:1fr;gap:12px}.exam-playback-transport{display:grid;grid-template-columns:1fr 1fr}.exam-playback-controls button{width:100%}.exam-playback-stage{grid-template-columns:40px minmax(0,1fr);min-height:340px}.exam-playback-stage pre{height:340px;padding:14px 10px;font-size:12px}.exam-playback-stage .exam-playback-lines{padding-inline:8px}}
@media(min-width:761px) and (max-height:520px){.exam-workspace-layout{display:block}.exam-question-nav{position:sticky;top:calc(var(--session-bar-height) + 18px);z-index:8;margin-top:10px;padding:9px 10px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px}.exam-question-nav>div{display:none}.exam-question-nav ol{display:flex;overflow:auto;padding:0;margin:0;border:0;gap:6px}.exam-question-nav li{flex:0 0 44px}.exam-question-nav li a{height:44px}.exam-question-nav .button{width:auto;margin:0;padding:10px;font-size:11px}.exam-overview{margin-top:22px}}
@media(max-width:760px){.exam-code-footer{gap:8px}.exam-code-shortcuts-title{flex-basis:100%;min-height:auto}.exam-code-position{align-self:flex-end}}
@media(max-width:760px){.exam-rehearsal-panel,.exam-rehearsal-notice{align-items:flex-start;flex-direction:column}.exam-rehearsal-actions{justify-content:flex-start}}
@media(max-width:900px){.exam-answer-comparison{grid-template-columns:1fr}.exam-answer-side{padding:14px}}
@media(max-width:760px){.exam-code-review>header,.exam-teacher-bonus>header{flex-direction:column}.exam-code-review dl{justify-content:flex-start}.exam-code-review-criteria{grid-template-columns:1fr}.exam-code-review-form>.button{width:100%}.exam-teacher-bonus form{grid-template-columns:1fr}.exam-teacher-bonus form>.button{width:100%}}
@media(max-width:760px){.exam-selection-instruction{align-items:flex-start;flex-direction:column;gap:4px}.exam-selection-instruction span{text-align:left}}
@media(max-width:760px){.exam-anonymous-nav{grid-template-columns:1fr 1fr}.exam-anonymous-nav strong{grid-column:1/-1;grid-row:1}.exam-anonymous-nav span{display:none}.exam-anonymous-nav .button{width:100%}}
@media(prefers-reduced-motion:reduce){.exam-live-mark.is-live{animation:none}.exam-ledger-row{transition:none}.exam-ledger-row:hover,.exam-ledger-row:focus-within{transform:none}}
@media(max-width:1100px){.exam-result-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.exam-result-list>li{grid-template-columns:minmax(190px,1fr) minmax(150px,.7fr) 90px auto}.exam-result-integrity{grid-column:2/4}}
@media(max-width:760px){.exam-monitor-notice{align-items:flex-start;flex-direction:column}.exam-data-dialog{width:calc(100% - 18px);max-height:calc(100dvh - 18px)}.exam-data-surface{max-height:calc(100dvh - 18px)}.exam-data-head{padding:18px 16px}.exam-data-head h2{font-size:22px}.exam-key-list{padding:16px}.exam-result-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px 14px 0}.exam-result-visible-count{margin-inline:14px}.exam-result-list{padding:0 14px 18px}.exam-result-list>li{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:14px 0}.exam-result-state{justify-self:end;text-align:right}.exam-result-score{grid-column:1}.exam-result-integrity{grid-column:1/3}.exam-result-list>li>a{grid-column:2;grid-row:2}.exam-reconciliation-form footer{display:grid;grid-template-columns:1fr}.exam-reconciliation-form footer .button{width:100%}.exam-reconciliation-form footer .primary{grid-row:1}}
@media(max-width:640px){.exam-attempt-toolbar{align-items:stretch;flex-direction:column;gap:8px}.exam-attempt-search{width:100%}.exam-attempt-toolbar>p{margin:0}.exam-attempts-section .exam-attempt-table{min-width:900px}}

/* Teacher monitoring: keep time readable without squeezing integrity metrics. */
.exam-monitor-clock{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;padding:20px;margin-bottom:20px;border-radius:15px}
.exam-monitor-clock p{margin:6px 0 0;color:var(--muted);font-size:12px}
.exam-monitor-countdown{font-size:clamp(1.5rem,3vw,2rem);font-variant-numeric:tabular-nums}
.exam-monitor-clock .exam-monitor-clock-help{flex-basis:100%;margin:0}
.exam-monitor-clock [data-monitor-sync]{color:var(--theme-green);font-weight:800}
.exam-monitor-row dl .exam-monitor-time{grid-column:1/-1}
.exam-monitor-time dd{font-variant-numeric:tabular-nums}

@media(max-width:760px){
  .exam-list-summary{align-items:flex-start}
  .exam-ledger-row{grid-template-columns:64px minmax(0,1fr)}
  .exam-ledger-main>div{align-items:flex-start;flex-wrap:wrap}
}
/* Reportes de examen */
.exam-report-head { align-items: center; }
.exam-report-readiness { display: inline-flex; align-items: center; gap: 12px; min-width: 230px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.exam-report-readiness > span:first-child { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 11px; font-weight: 900; }
.exam-report-readiness span:last-child { display: grid; gap: 2px; }
.exam-report-readiness small { color: var(--muted); font-size: .73rem; }
.exam-report-readiness.is-definitive > span:first-child { color: #6be0ac; background: rgba(38, 182, 123, .14); }
.exam-report-readiness.is-provisional > span:first-child { color: #ffbe72; background: rgba(229, 145, 55, .14); }
.exam-report-alert { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr); gap: 24px; padding: 20px 22px; margin: 18px 0 24px; border: 1px solid rgba(229, 145, 55, .35); border-radius: 18px; background: linear-gradient(135deg, rgba(229, 145, 55, .12), rgba(18, 26, 49, .5)); }
.exam-report-alert p, .exam-report-alert ul { margin: 6px 0 0; color: var(--muted); }
.exam-report-alert ul { padding-left: 20px; }
.exam-report-snapshot, .exam-report-options { margin-top: 30px; }
.exam-report-snapshot > header, .exam-report-options > header { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 14px; }
.exam-report-snapshot h2, .exam-report-options h2, .exam-report-guidance h2 { margin: 3px 0 0; }
.exam-report-snapshot header > span, .exam-report-options header > p { color: var(--muted); font-size: .83rem; }
.exam-report-metrics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.exam-report-metrics article { display: grid; gap: 4px; min-height: 94px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, var(--panel), rgba(119, 88, 246, .06)); }
.exam-report-metrics strong { font-size: 1.65rem; line-height: 1; color: var(--text); }
.exam-report-metrics span { color: var(--muted); font-size: .76rem; }
.exam-report-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.exam-report-card { display: flex; flex-direction: column; min-height: 390px; padding: 20px; border-radius: 20px; }
.exam-report-card-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.exam-report-number { color: var(--accent-strong); font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.exam-report-classification { max-width: 75%; color: var(--muted); font-size: .62rem; font-weight: 800; letter-spacing: .05em; text-align: right; }
.exam-report-card h3 { margin: 22px 0 8px; font-size: 1.15rem; }
.exam-report-card > p { min-height: 70px; margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.55; }
.exam-report-includes { display: grid; gap: 4px; padding: 13px 14px; margin: 18px 0; border: 1px solid var(--line); border-radius: 13px; background: rgba(119, 88, 246, .05); }
.exam-report-includes strong { font-size: .7rem; color: var(--accent-strong); text-transform: uppercase; letter-spacing: .07em; }
.exam-report-includes span { color: var(--muted); font-size: .76rem; line-height: 1.45; }
.exam-report-card form { display: grid; gap: 12px; margin-top: auto; }
.exam-report-confirm { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: start; color: var(--muted); font-size: .72rem; line-height: 1.4; }
.exam-report-confirm input { margin-top: 2px; accent-color: var(--accent); }
.exam-report-card .button { width: 100%; }
.exam-report-guidance { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 20px; margin-top: 26px; border-radius: 18px; }
.exam-report-guidance-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: var(--accent-strong); background: rgba(119, 88, 246, .14); font-weight: 900; }
.exam-report-guidance p { margin: 7px 0 0; color: var(--muted); line-height: 1.55; }

@media (max-width: 900px) {
  .exam-report-grid { grid-template-columns: 1fr; }
  .exam-report-card { min-height: 0; }
  .exam-report-card > p { min-height: 0; }
  .exam-report-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .exam-report-head { align-items: stretch; }
  .exam-report-readiness { min-width: 0; width: 100%; }
  .exam-report-alert { grid-template-columns: 1fr; gap: 10px; }
  .exam-report-snapshot > header, .exam-report-options > header { align-items: flex-start; flex-direction: column; gap: 6px; }
  .exam-report-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exam-report-metrics article { min-height: 84px; padding: 13px; }
}
