.exam-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.exam-cover-card{padding:0;overflow:hidden;display:flex;flex-direction:column}.exam-cover{position:relative;background:linear-gradient(130deg,#ddf4ff,#a9e2f3);height:220px;display:grid;place-items:center;padding:30px 40px 0}.exam-cover.lavender{background:linear-gradient(130deg,#e9e3ff,#c9bdf7)}.mini-exam{background:white;color:#27394d;width:100%;max-width:360px;height:185px;padding:20px;border-radius:8px 8px 0 0;box-shadow:0 10px 25px #22394d15}.mini-exam span{font-size:12px;display:flex;justify-content:space-between}.mini-exam i{display:block;height:9px;background:#e9edf0;margin-top:18px;border-radius:5px}.mini-exam i:nth-of-type(2){width:80%}.mini-exam div{margin-top:24px;color:#578095}.cover-stamp{position:absolute;bottom:15px;right:18px;background:#ffffffed;color:#233a52;font-weight:800;font-size:11px;letter-spacing:1px;padding:8px 12px;border-radius:20px}.exam-cover-copy{padding:26px;flex:1;display:flex;align-items:flex-start;flex-direction:column}.exam-cover-copy h2{margin:16px 0 0}.exam-cover-copy p{flex:1}.exam-intro{max-width:850px}.exam-mode .sidebar,.exam-mode .topbar,.exam-mode .footer,.exam-mode .experience-tools{display:none!important}.exam-mode .shell{margin:0!important;padding:0!important}.exam-mode #main{max-width:none;padding:0!important}.exam-workspace{height:100dvh;min-height:530px;background:var(--paper,#f5f8fb);color:var(--ink,#142d40);display:flex;flex-direction:column}.exam-top{min-height:100px;border-bottom:2px solid var(--line,#d7dfe6);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 28px}.exam-top>div:first-child{display:grid;gap:5px}.exam-top small{font-size:11px;background:#e6edf8;color:#314967;border-radius:15px;padding:4px 8px;margin-left:8px}.exam-timer{display:grid;text-align:center;gap:5px;min-width:90px}.exam-timer b{font-size:29px;font-variant-numeric:tabular-nums}.exam-timer .urgent{color:#c43741}.exam-body{position:relative;flex:1;min-height:0;display:flex;overflow:hidden}#exam-question{flex:1;min-width:0;overflow:auto;padding:30px clamp(24px,5vw,90px)}.exam-question-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line,#ddd);padding-bottom:14px}.exam-question-toolbar label{display:flex;align-items:center;gap:8px;font-size:14px}.exam-question-toolbar input{width:17px;height:17px}.exam-question-body{max-width:720px;margin:28px auto}.exam-prompt{font-size:21px;line-height:1.7;margin-bottom:28px}.exam-choices{border:0;padding:0;margin:0;display:grid;gap:12px}.exam-choice{display:flex;border:1.5px solid var(--line,#bbc8d4);border-radius:10px;overflow:hidden}.exam-choice:has(input:checked){border-color:#376dc6;background:color-mix(in srgb,#376dc6 9%,transparent)}.exam-choice label{padding:14px 18px;display:flex;align-items:center;gap:14px;flex:1;cursor:pointer;font-size:18px}.exam-choice input{position:absolute;opacity:0;width:1px}.exam-choice:focus-within{outline:3px solid #78b8e5;outline-offset:2px}.choice-letter{border:1px solid currentColor;border-radius:50%;width:29px;height:29px;display:grid;place-items:center;flex-shrink:0;font-size:14px}.exam-eliminate{background:transparent;border:0;padding:12px;color:inherit;cursor:pointer}.eliminated label{text-decoration:line-through;opacity:.5}.exam-number{max-width:270px;font-size:23px!important;display:block;margin-top:12px}.exam-bottom{padding:16px 28px;border-top:2px solid var(--line,#d7dfe6);display:flex;align-items:center;justify-content:space-between;gap:18px}.exam-bottom>div:first-child{display:grid;gap:3px;font-size:12px;max-width:320px}#exam-save-state{font-weight:650}#exam-save-state.error{color:#bd3545}.exam-bottom a,.exam-bottom .textlink{font-size:12px}.exam-bottom button{white-space:nowrap}#exam-grid{display:flex;gap:8px}#exam-grid button{width:42px;height:40px;border:1px solid var(--line,#bdcbd8);border-radius:6px;background:transparent;color:inherit;cursor:pointer}#exam-grid button.answered{background:#e0efff;color:#254c78}#exam-grid button.current{outline:2px solid #3771cb;outline-offset:2px}#exam-calc{flex-shrink:0;position:relative;background:#fff;color:#20364c;min-width:280px;max-width:calc(100vw - 32px);border-right:7px solid #d9e3ef;z-index:3;display:flex;flex-direction:column}#exam-calc[hidden]{display:none}#exam-calc.overlay{position:absolute;inset:0 auto 0 0;box-shadow:20px 0 40px #142d4030}#exam-calc iframe{width:100%;border:0;flex:1;min-height:200px}.calc-caption{display:flex;align-items:center;justify-content:space-between;padding:5px 16px;border-bottom:1px solid #dde6ed;font-size:13px}#exam-calc>a{font-size:11px;padding:8px 15px}#exam-resize{position:absolute;right:-8px;top:40%;height:80px;width:10px;background:#6592cd;border-radius:5px;cursor:ew-resize;touch-action:none}.exam-diagram{width:230px;display:block;margin:0 auto 20px}.formula-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 28px;font-size:15px}.exam-result-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:24px}.exam-result-summary>div{display:grid;gap:8px}.exam-result-summary strong{font-size:34px}.exam-result-summary span:last-child{font-size:13px;color:var(--muted)}.exam-result-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:24px}.time-axis{display:flex;justify-content:space-between;margin:20px 65px 8px 43px;font-size:12px;color:var(--muted)}.time-row{display:flex;align-items:center;gap:12px;background:transparent;border:0;width:100%;padding:12px 0;color:inherit;cursor:pointer;text-align:left}.time-row[aria-pressed=true]{outline:2px solid #5b90d5;outline-offset:4px;border-radius:6px}.time-q{font-weight:800;width:30px;flex-shrink:0}.time-track{flex:1;height:31px;background:color-mix(in srgb,var(--muted,#789) 10%,transparent);border-radius:8px;position:relative}.time-bar{display:block;height:100%;border-radius:8px;background:#24996d;min-width:0}.wrong .time-bar{background:#cd4c63}.time-bar>span{position:absolute;left:7px;top:4px;color:var(--ink,#123);font-weight:800;line-height:23px;background:var(--surface,#fff);border-radius:50%;width:23px;text-align:center}.time-row>span:last-child{width:54px;font-size:13px;font-variant-numeric:tabular-nums}.exam-time-chart{margin-bottom:20px}#exam-review p{line-height:1.75}#exam-setup li{padding:8px 0}#exam-connect{display:grid;gap:12px;max-width:650px}
@media(max-width:850px){.exam-library,.exam-result-layout{grid-template-columns:1fr}.exam-top{padding:12px;gap:10px;min-height:85px}.exam-top .btn{font-size:12px;padding:9px}.exam-top>div:first-child{font-size:13px}.exam-top small{display:none}.exam-prompt{font-size:18px}.exam-bottom{padding:12px;gap:8px;flex-wrap:wrap}.exam-bottom>div:first-child{max-width:100%;flex-basis:100%}.exam-result-summary{gap:10px}.exam-result-summary strong{font-size:24px}.exam-result-summary .eyebrow{font-size:10px}#exam-question{padding:20px}.exam-question-toolbar{font-size:13px}.exam-question-toolbar label{font-size:11px}.exam-choice label{font-size:16px;padding:12px}.formula-grid{font-size:13px}}
@media(prefers-reduced-motion:reduce){.time-bar{transition:none}}

:root[data-theme=night] .exam-workspace{background:#1c2d43}:root[data-theme=night] .time-bar>span{background:#1c2d43}.exam-workspace .calc-caption button{color:#20364c}.exam-workspace .exam-timer .textlink,.exam-workspace .exam-bottom .textlink{border:0;background:transparent;padding:0;cursor:pointer}

.is-saving::before{content:"";display:inline-block;width:12px;height:12px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;margin-right:9px;vertical-align:-2px;animation:exam-spin .8s linear infinite}@keyframes exam-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.is-saving::before{animation:none;border-style:dotted}}

/* The testing surface uses its own palette in every site theme. */
.exam-data-plot{width:340px;max-width:100%;font-size:13px}.exam-table-scroll{overflow:auto;margin:0 auto 22px;max-width:420px}.exam-data-table{border-collapse:collapse;width:100%;text-align:center}.exam-data-table caption{font-weight:700;padding:8px}.exam-data-table th,.exam-data-table td{padding:7px 16px;border:1px solid var(--line,#bac5d1)}.exam-data-table th{font-weight:700}.student-time-empty{font-size:14px!important;line-height:1.45}
.exam-options{position:relative}.exam-options>summary{list-style:none;cursor:pointer;padding:0 10px;font-size:25px;line-height:32px;border:1px solid #b7c0cc;border-radius:6px}.exam-options>summary::-webkit-details-marker{display:none}.exam-workspace .exam-options .exam-utility{position:absolute;right:0;top:40px;z-index:8;display:grid;justify-items:start;gap:12px;padding:16px;width:260px;border:1px solid #aeb8c4;border-radius:8px;box-shadow:0 8px 24px #17212d25;font-size:12px}
:root[data-theme] body.exam-mode .exam-workspace{--paper:#fff;--ink:#17212d;--muted:#526071;--line:#c8cdd3;--blue:#1759bd;--accent:#1759bd;color-scheme:light;background:#fff;color:#17212d;min-height:420px}
:root[data-theme] body.exam-mode{background:#fff;color:#17212d}
:root[data-theme] body.exam-mode :is(.exam-workspace,dialog) .btn:not(.primary){background:#fff;color:#17212d;border-color:#b7c0cc}
:root[data-theme] body.exam-mode :is(.exam-workspace,dialog) .btn.primary{background:#1759bd;color:#fff;border-color:#1759bd}
:root[data-theme] body.exam-mode :is(.exam-workspace,dialog) .btn.primary:hover{background:#124b9f;color:#fff}
:root[data-theme] body.exam-mode .exam-workspace input{background:#fff;color:#17212d;border-color:#8f9eaf;accent-color:#1759bd}
:root[data-theme] body.exam-mode dialog{background:#fff;color:#17212d;color-scheme:light;border-color:#bac5d1}
.exam-workspace .exam-top{min-height:64px;padding:8px 22px;gap:14px;border-bottom:0;position:relative;background:#fff;color:#17212d}
.exam-top::after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:repeating-linear-gradient(90deg,#17212d 0 12px,transparent 12px 20px)}
.exam-workspace .exam-top>div:first-child{gap:2px;font-size:13px}.exam-workspace .exam-top>div:first-child>b{font-size:15px}
.exam-workspace .exam-timer{gap:0;min-width:72px}.exam-workspace .exam-timer b{font-size:22px;line-height:1.15}.exam-workspace .textlink{color:#174b91}
.exam-workspace .btn{background:#fff;color:#17212d;border:1px solid #b7c0cc;padding:8px 14px;min-height:36px;font-size:13px;box-shadow:none}.exam-workspace .btn.primary{background:#1759bd;color:#fff;border-color:#1759bd}
.exam-workspace .btn:disabled{opacity:.45}.exam-workspace button:focus-visible,.exam-workspace a:focus-visible{outline:3px solid #58a6ef;outline-offset:3px}
.exam-workspace #exam-question{padding:18px clamp(22px,4vw,68px)}.exam-workspace .exam-question-toolbar{padding-bottom:9px;border-bottom:1px dashed #838b96}.exam-workspace .exam-question-body{margin:24px auto}.exam-workspace .exam-prompt{white-space:pre-line;line-height:1.65}
.exam-workspace .exam-choice{border-color:#9aa5b3;border-radius:7px;background:#fff;color:#17212d}.exam-workspace .exam-choice:has(input:checked){background:#edf4ff;border-color:#1759bd}.exam-workspace input{background:#fff;color:#17212d;border-color:#8f9eaf;accent-color:#1759bd}
.exam-workspace .exam-bottom{padding:8px 22px;gap:12px;min-height:54px;border-top:1px solid #aeb8c4;background:#f7f9fc;flex-wrap:nowrap}.exam-bottom .exam-student{font-size:13px;font-weight:650}.exam-workspace #exam-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(38px,1fr));gap:9px}
.exam-navigator{position:relative}.exam-workspace #exam-jump{min-width:170px}.exam-navigator-panel{position:absolute;bottom:48px;left:50%;transform:translateX(-50%);width:min(440px,calc(100vw - 28px));padding:18px;background:#fff;color:#17212d;border:1px solid #9daabb;box-shadow:0 6px 28px #162d4230;border-radius:10px;z-index:5}.exam-navigator-panel[hidden]{display:none}.exam-navigator-panel h3{margin:0 0 14px;font-size:15px}.exam-navigator-panel p{font-size:12px;color:#526071}.exam-navigator-panel .btn{width:100%;margin-top:14px}
.exam-workspace .exam-utility{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-height:25px;padding:3px 22px;font-size:11px;background:#fff;border-top:1px solid #e1e5ea}.exam-workspace .exam-utility a,.exam-workspace .exam-utility button{font-size:11px;white-space:nowrap}.exam-utility #exam-save-state{overflow-wrap:anywhere}.exam-utility #exam-retry[hidden]{display:none}.exam-utility #exam-save-state.error{color:#ae2031}
.exam-workspace #exam-calc iframe{min-height:0}.exam-workspace .calc-caption{padding:4px 12px}.exam-workspace #exam-calc>a{padding:4px 12px}.exam-workspace .small{color:#526071}
@media(max-width:700px){.exam-workspace .exam-top{padding:8px 12px;min-height:64px;gap:8px}.exam-workspace .exam-top .btn{padding:7px 8px;font-size:11px}.exam-workspace .exam-top .row{gap:5px}.exam-workspace .exam-bottom{padding:7px 10px;gap:6px}.exam-bottom .exam-student{display:none}.exam-workspace #exam-jump{min-width:130px}.exam-workspace .exam-utility{padding:4px 10px;gap:8px}.exam-workspace .exam-utility #exam-save-state{flex:1}.exam-workspace .exam-timer b{font-size:20px}}

.exam-workspace .exam-choice label{padding:10px 12px;min-height:44px;gap:10px}.exam-workspace .exam-choices{gap:8px}.exam-workspace .exam-prompt{font-size:18px;line-height:1.65;margin:14px 0 18px}.exam-workspace .exam-question-body{max-width:900px}.exam-workspace .choice-letter{width:25px;height:25px;font-size:13px}

/* Compact exam sizing without changing the browser zoom or calculator height. */
.exam-workspace .exam-question-body{margin:14px auto}.exam-workspace .exam-prompt{font-size:17px;line-height:1.5;margin:10px 0 14px;white-space:normal}.exam-workspace .exam-choice label{padding:7px 12px;min-height:40px;font-size:16px;line-height:1.35}.exam-workspace .exam-choices{gap:7px}.exam-workspace #exam-question{padding:12px clamp(18px,3vw,48px)}.exam-workspace .exam-prompt .question-equations{margin:8px 0 14px;font-size:1.15em}.exam-workspace .exam-prompt .question-equations>span{display:block}.exam-workspace .exam-diagram{max-height:230px}.reference-sheet{background:white;color:#111;padding:12px}.reference-sheet>h2{text-align:center;letter-spacing:.12em}.reference-sheet-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.reference-sheet-grid article{text-align:center;font-family:Georgia,serif}.reference-sheet-grid svg{width:100%;height:105px}.reference-sheet-grid p{font-size:16px;margin:5px 0}.reference-sheet-notes{font-size:14px;line-height:1.6}.reference-dialog{width:min(1050px,95vw);max-width:1050px}.delete-attempt{margin-top:12px;color:var(--muted)}@media(max-width:700px){.reference-sheet-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.exam-workspace .exam-prompt{font-size:16px}.exam-workspace .exam-question-body{margin:10px auto}}

.exam-workspace .practice-figure{display:grid;grid-template-columns:minmax(180px,300px) 1fr;gap:14px;max-width:660px;margin:12px auto}.exam-workspace .practice-figure svg{max-height:210px}.exam-workspace .practice-figure figcaption{font-size:13px}.exam-workspace .practice-figure ul{margin:4px 0;padding-left:18px}@media(max-width:600px){.exam-workspace .practice-figure{grid-template-columns:1fr}.exam-workspace .practice-figure svg{max-height:160px}}
