.exam-hero{background:linear-gradient(120deg,#102453,#323b85 65%,#075f75);color:#fff;border-radius:24px;padding:32px;margin:20px 0}.exam-hero p{color:#dae7ff}.exam-hero a{color:#fff}.exam-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;margin:24px 0}.exam-card{border-top:4px solid #6479ed;display:flex;flex-direction:column;gap:10px}.exam-card h2{font-size:1.25rem;margin:0}.exam-card p{flex:1}.exam-count{font-size:1.6rem;color:#3347a0}.exam-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:24px;align-items:start}.exam-question{max-width:100%;min-width:0}.exam-question h2{font-size:1.3rem;line-height:1.8}.exam-options{display:grid;gap:12px;margin:24px 0;border:0;padding:0}.exam-option{padding:16px;display:flex;align-items:flex-start;gap:12px;border:1px solid #cdd7e6;border-radius:12px;background:#fff;cursor:pointer}.exam-option:has(input:checked){border-color:#556bdb;background:#eef2ff}.exam-option input{margin-top:6px;flex:none}.exam-option span{overflow-wrap:anywhere}.exam-context{padding:18px;background:#eef1fb;white-space:pre-wrap;border-radius:12px}.exam-explanation{padding:20px;background:#eef7f5;border-radius:12px;white-space:pre-wrap;overflow-wrap:anywhere}.exam-explanation.is-wrong{background:#fff5e9}.exam-source{font-size:.875rem;line-height:1.65;overflow-wrap:anywhere}.exam-nav{display:flex;flex-wrap:wrap;gap:6px}.exam-nav button{width:38px;height:38px;border:1px solid #ccd6e4;border-radius:8px;background:#fff}.exam-nav button[data-done=true]{background:#e3f3ed}.exam-nav button[aria-current=true]{outline:2px solid #586fea}.exam-topline{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.exam-timer{font-variant-numeric:tabular-nums}.exam-record{padding:18px 0;border-bottom:1px solid #dce2ed;overflow-wrap:anywhere}.exam-actions{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.exam-metrics{display:flex;gap:30px;flex-wrap:wrap;margin:24px 0}.exam-metrics strong{font-size:1.8rem;display:block;color:#354aae}.exam-admin-json{width:100%;min-height:360px;font-family:monospace;font-size:.875rem;resize:vertical}.exam-warning{padding:14px 18px;border-left:3px solid #d39740;background:#fff8e9;color:#61471e;border-radius:8px}.exam-small{font-size:.875rem;color:#53657a}.exam-progress{width:100%}.exam-ai-result{white-space:pre-wrap}.exam-draft-heading{display:flex;justify-content:space-between;gap:12px}.exam-table-scroll{overflow-x:auto}.exam-table-scroll table{width:100%;border-collapse:collapse}.exam-table-scroll th,.exam-table-scroll td{padding:10px;text-align:left;border-bottom:1px solid #dae1ec}.exam-review-source{max-height:260px;overflow:auto}.exam-question button:focus-visible,.exam-nav button:focus-visible{outline:3px solid #6578e4;outline-offset:3px}@media(max-width:760px){.exam-layout{grid-template-columns:1fr}.exam-sidebar{order:-1}.exam-hero{padding:24px}.exam-grid{grid-template-columns:1fr}.exam-actions .btn{flex:1}.exam-question{padding:20px}.exam-sidebar .exam-nav{max-height:100px;overflow:auto}}

.exam-figure{margin:1.4rem 0;padding:1rem;background:#f6f9ff;border:1px solid #b9c9e4;border-radius:16px;color:#142d52}.exam-image-button{border:0;background:none;padding:0;cursor:zoom-in;width:100%}.exam-figure img{display:block;width:100%;max-height:360px;object-fit:contain}.exam-figure figcaption{font-size:.875rem;line-height:1.6;margin-top:.6rem}.exam-image-large{width:100%;height:auto;max-height:75vh;object-fit:contain}.exam-profile{margin:1rem 0;line-height:1.7}.exam-profile summary{cursor:pointer;font-weight:600}#exam-report-panel[open]{padding:1rem;border:2px solid #7b9fff;border-radius:12px}

/* Study workspace: clear actions and restrained animated geometry. */
.exam-study-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;overflow:hidden;position:relative;background:radial-gradient(ellipse at 90% 10%,#156f91 0,transparent 55%),linear-gradient(125deg,#111d43,#333b80);padding:38px}.exam-study-hero h2{font-size:clamp(1.8rem,4vw,2.7rem);line-height:1.35;margin:14px 0}.exam-study-hero .btn{background:#fff;color:#23376c}.exam-orbit{width:180px;height:180px;border:1px solid #89d9ff70;border-radius:50%;position:relative;flex:none;box-shadow:0 0 60px #69abff30,inset 0 0 50px #4be6ec20;animation:exam-breathe 6s ease-in-out infinite}.exam-orbit:before{content:'';position:absolute;inset:25px;border:1px dashed #c5d2ff90;border-radius:50%}.exam-orbit span{position:absolute;display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#253965;border:1px solid #a5ccff;color:#fff;font-weight:700}.exam-orbit span:nth-child(1){top:-12px;left:67px}.exam-orbit span:nth-child(2){bottom:25px;right:-8px}.exam-orbit span:nth-child(3){bottom:25px;left:-8px}@keyframes exam-breathe{50%{box-shadow:0 0 70px #69abff60,inset 0 0 60px #4be6ec35}}
.exam-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0}.exam-shortcuts>a,.exam-shortcuts>button{display:flex;flex-direction:column;align-items:flex-start;gap:9px;border:1px solid #d8e1f3;border-radius:18px;background:#fff;padding:22px;text-decoration:none;text-align:left;color:#1d345b;font:inherit;cursor:pointer}.exam-shortcuts strong{font-size:1.15rem}.exam-shortcuts span{font-size:.875rem;color:#516681}.exam-shortcuts>a:hover,.exam-shortcuts>button:hover{border-color:#647cf0;background:#f3f6ff}.exam-study-metrics{background:#edf2ff;border-radius:18px;padding:24px;justify-content:space-around}.exam-study-metrics>div{min-width:135px}.exam-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:35px;scroll-margin-top:90px}.exam-section-heading>span{color:#516681;font-size:.875rem}.exam-bank-progress{display:grid;gap:8px;font-size:.875rem}.exam-bank-progress progress{width:100%;height:8px;accent-color:#5268d4}.exam-activity{margin-bottom:22px}.exam-bars{display:flex;gap:clamp(10px,4vw,50px);height:160px;align-items:end;justify-content:space-around}.exam-bars>div{display:flex;flex:1;flex-direction:column;align-items:center;gap:7px;font-size:.875rem;color:#415875}.exam-bar-track{height:95px;width:min(100%,36px);border-radius:7px;background:#edf1fa;display:flex;align-items:end;overflow:hidden}.exam-bar-track i{display:block;width:100%;background:linear-gradient(#46b8cd,#6468dc);border-radius:7px}.exam-resume-list{display:grid;gap:10px}.exam-resume{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px;background:#f2f5fc;border-radius:12px;color:#294275;text-decoration:none}.exam-resume small{display:block;margin-top:6px;color:#52647e}.exam-chapter{display:grid;gap:6px;padding:12px 0;border-bottom:1px solid #dce4ef;font-size:.875rem}.exam-chapter button{text-align:left}.exam-shortcuts :focus-visible,.exam-resume:focus-visible{outline:3px solid #6578e4;outline-offset:3px}#exam-file-import{padding:20px 0;border-bottom:1px solid #dce2ed;margin-bottom:20px}
@media(max-width:760px){.exam-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.exam-shortcuts>a,.exam-shortcuts>button{padding:16px}.exam-orbit{display:none}.exam-study-hero{padding:24px}.exam-section-heading{align-items:flex-start;flex-direction:column}.exam-study-metrics{gap:18px;padding:18px}.exam-study-metrics>div{min-width:100px;flex:1}.exam-bars{gap:10px}}
@media(prefers-reduced-motion:reduce){.exam-orbit{animation:none}}html[data-motion=off] .exam-orbit,body[data-motion=off] .exam-orbit{animation:none}
body[data-motion="paused"] .exam-orbit{animation-play-state:paused}
.exam-study-hero a.btn:not(.secondary):not(.danger){background:#fff;color:#23376c;border-color:#fff}.exam-study-hero a.btn:hover{color:#23376c}.exam-bar-track svg{width:100%;height:100%;fill:#5c74db}

/* Compact branded toolbox entry. */
.toolbox-with-exam{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.toolbox-with-exam>section{padding:28px}
.toolbox-exam{align-self:stretch;display:flex;flex-direction:column;align-items:flex-start;background:radial-gradient(ellipse at 100% 0,#176481,transparent 70%),linear-gradient(135deg,#19234e,#353578);color:#fff;border-color:#485891}
.toolbox-exam h2{font-size:clamp(34px,3vw,44px);line-height:1.2;letter-spacing:.04em;margin:22px 0 12px;color:#fff}
.toolbox-feature-grid .toolbox-exam p{color:#dfebff;margin:0 0 22px}
.toolbox-exam .eyebrow{color:#c2d7ff}
.toolbox-exam-features{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px;font-size:15px;color:#e5edff}
.toolbox-exam-features span{padding:6px 10px;border:1px solid #aec9ff40;border-radius:8px}
.toolbox-exam .btn:not(.secondary):not(.danger){background:#fff;color:#26356b;border-color:#fff;margin-top:0}.toolbox-exam .btn:not(.secondary):not(.danger):hover{background:#e6efff;color:#172450}
@media(min-width:801px) and (max-width:1100px){.toolbox-with-exam{grid-template-columns:1fr 1fr}.toolbox-with-exam .toolbox-build{grid-column:1/-1}}
@media(max-width:800px){.toolbox-with-exam{grid-template-columns:1fr}.toolbox-with-exam>section{padding:24px}.toolbox-exam h2{margin:14px 0 10px;font-size:36px}.toolbox-exam-features{margin-bottom:20px}}
