.nav-icon-exams{color:#fb9ab0}
.button{font-family:inherit}
.exam-page-head{align-items:center}
.exam-ledger{display:grid;gap:12px}
.exam-ledger-row{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:20px;padding:16px 18px;border-radius:16px}
.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)}
.exam-ledger-main{min-width:0}
.exam-ledger-main>div{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px}
.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-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,1fr) minmax(360px,1.3fr) auto;align-items:center;gap:16px;padding:16px 18px;border-radius:15px}
.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(3,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-result-strip{display:grid;grid-template-columns:repeat(5,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-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-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-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-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-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-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-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-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-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-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-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(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(prefers-reduced-motion:reduce){.exam-live-mark.is-live{animation:none}}
