:root {
  --exam-green: #004435;
  --exam-orange: #ae3200;
  --exam-ink: #1d1a22;
  --exam-muted: #59635f;
  --exam-line: rgba(0, 68, 53, 0.13);
  --exam-soft: #f7f6f0;
}

.exam-lockdown-page {
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  background-color: #fef7ff;
  background-image: radial-gradient(rgba(191, 201, 195, 0.55) 0.5px, transparent 0.5px);
  background-size: 24px 24px;
  color: var(--exam-ink);
  font-family: Inter, system-ui, sans-serif;
}

body[data-page="exam-lockdown"] main[data-sidebar-main],
body[data-app-page="exam-lockdown"] main[data-sidebar-main],
body[data-sc-sidebar-page="exam-lockdown"] main[data-sidebar-main] {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.exam-lockdown-shell {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.5rem 0 7rem;
}

.exam-portal-hero {
  max-width: 58rem;
  margin-bottom: 3.3rem;
}

.exam-portal-hero h1 {
  margin: 0;
  color: var(--exam-green);
  font: 900 clamp(2.6rem, 6vw, 4.85rem)/0.96 "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  letter-spacing: -0.045em;
}

.exam-portal-hero h1 span {
  color: var(--exam-orange);
  font-style: italic;
}

.exam-portal-hero p:not(.exam-kicker) {
  max-width: 46rem;
  margin: 1.1rem 0 0;
  color: var(--exam-muted);
  font: 600 1.02rem/1.7 Inter, system-ui, sans-serif;
}

.exam-portal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.exam-portal-card {
  position: relative;
  display: flex;
  min-height: 22rem;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(191, 201, 195, 0.2);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.76);
  padding: 1.45rem;
  box-shadow: 0 20px 40px rgba(29, 26, 34, 0.035);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: transform 0.2s ease-out, border-color 0.2s ease-out, background 0.2s ease-out, box-shadow 0.2s ease-out;
}

.exam-portal-card:hover,
.exam-portal-card.is-selected {
  transform: translateY(-3px);
  border-color: rgba(0, 68, 53, 0.3);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 44px rgba(29, 26, 34, 0.055);
}

.exam-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.exam-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: var(--exam-green);
  color: #b3efd8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.2s ease-out;
}

.exam-portal-card:hover .exam-card-icon {
  transform: scale(1.06);
}

.exam-card-icon[data-card-tone="1"] {
  background: #ffdbd0;
  color: var(--exam-orange);
}

.exam-card-icon[data-card-tone="2"] {
  background: #b3efd8;
  color: var(--exam-green);
}

.exam-card-icon[data-card-tone="3"] {
  background: #e7e0eb;
  color: #1d1a22;
}

.exam-card-icon .material-symbols-outlined {
  font-size: 1.9rem;
  font-variation-settings: "FILL" 1, "wght" 520, "GRAD" 0, "opsz" 24;
}

.exam-card-chip {
  max-width: 52%;
  border-radius: 999px;
  background: #e7e0eb;
  color: var(--exam-muted);
  padding: 0.38rem 0.58rem;
  font: 900 0.6rem/1.15 Manrope, Inter, system-ui, sans-serif;
  letter-spacing: 0.11em;
  text-align: right;
  text-transform: uppercase;
}

.exam-portal-card h2 {
  margin: 0 0 0.45rem;
  color: var(--exam-green);
  font: 900 1.45rem/1.1 "Plus Jakarta Sans", Inter, system-ui, sans-serif;
}

.exam-portal-card p {
  flex: 1 1 auto;
  margin: 0 0 1.25rem;
  color: var(--exam-muted);
  font: 600 0.92rem/1.55 Inter, system-ui, sans-serif;
}

.exam-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: var(--exam-muted);
  font: 850 0.72rem/1 Manrope, Inter, sans-serif;
}

.exam-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.exam-card-meta .material-symbols-outlined {
  font-size: 1rem;
}

.exam-blueprint,
.exam-result-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.exam-blueprint div,
.exam-result-metrics div {
  border: 1px solid rgba(0, 68, 53, 0.1);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.78);
  padding: 0.68rem;
}

.exam-blueprint strong,
.exam-result-metrics strong {
  display: block;
  color: var(--exam-green);
  font: 900 1.1rem/1 "Plus Jakarta Sans", Inter, sans-serif;
}

.exam-blueprint span,
.exam-result-metrics span {
  display: block;
  margin-top: 0.22rem;
  color: var(--exam-muted);
  font: 850 0.58rem/1.2 Manrope, Inter, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.exam-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 3rem;
  border: 0;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #004435 0%, #215c4b 100%);
  color: #ffffff;
  cursor: pointer;
  font: 900 0.82rem/1 Manrope, Inter, sans-serif;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.exam-card-btn:hover {
  box-shadow: 0 14px 24px rgba(0, 68, 53, 0.16);
  transform: translateY(-1px);
}

.exam-card-btn .material-symbols-outlined {
  font-size: 0.95rem;
}

.exam-card-select {
  margin-top: 0.55rem;
  border: 0;
  background: transparent;
  color: var(--exam-muted);
  cursor: pointer;
  font: 900 0.64rem/1 Manrope, Inter, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.exam-card-select:hover {
  color: var(--exam-orange);
}

.exam-setup-grid.is-portal-setup {
  margin-top: 1.45rem;
}

.exam-selected-course {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  border-radius: 1rem;
  background: #ffffff;
  padding: 0.9rem;
}

.exam-selected-course > .material-symbols-outlined {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background: #b3efd8;
  color: var(--exam-green);
  font-size: 1.7rem;
}

.exam-selected-course h2 {
  margin: 0;
  color: var(--exam-green);
  font: 900 1.15rem/1.15 "Plus Jakarta Sans", Inter, sans-serif;
}

.exam-selected-course p {
  margin: 0.25rem 0 0;
  color: var(--exam-muted);
  font: 650 0.82rem/1.35 Inter, sans-serif;
}

.exam-portal-focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.45rem;
  border: 1px solid rgba(191, 201, 195, 0.18);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.78);
  padding: 1.45rem;
  box-shadow: 0 18px 34px rgba(29, 26, 34, 0.04);
  backdrop-filter: blur(12px);
}

.exam-portal-focus h2 {
  margin: 0;
  color: var(--exam-green);
  font: 900 1.35rem/1.15 "Plus Jakarta Sans", Inter, sans-serif;
}

.exam-portal-focus p {
  max-width: 38rem;
  margin: 0.4rem 0 0;
  color: var(--exam-muted);
  font: 600 0.9rem/1.55 Inter, sans-serif;
}

.exam-loading,
.exam-empty {
  display: grid;
  place-items: center;
  min-height: 44vh;
  gap: 0.7rem;
  color: var(--exam-muted);
  text-align: center;
}

.exam-loading .material-symbols-outlined,
.exam-empty .material-symbols-outlined {
  color: var(--exam-green);
  font-size: 2.1rem;
}

.exam-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: 1.4rem;
  align-items: end;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--exam-line);
}

.exam-kicker,
.exam-label {
  margin: 0 0 0.45rem;
  color: var(--exam-orange);
  font: 900 0.68rem/1 Manrope, system-ui, sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.exam-hero h1 {
  margin: 0;
  color: var(--exam-green);
  font: 900 clamp(2rem, 4vw, 4.5rem)/0.95 "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  letter-spacing: -0.055em;
}

.exam-hero p,
.exam-note,
.exam-course p,
.exam-result-card p {
  color: var(--exam-muted);
  font: 600 0.92rem/1.55 Inter, system-ui, sans-serif;
}

.exam-hero p {
  margin: 1rem 0 0;
  max-width: 48rem;
}

.exam-policy {
  border: 1px solid var(--exam-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  padding: 1rem;
}

.exam-policy strong {
  display: block;
  color: var(--exam-green);
  font: 900 0.9rem/1.25 "Plus Jakarta Sans", Inter, sans-serif;
}

.exam-policy p {
  margin: 0.45rem 0 0;
  color: var(--exam-muted);
  font-size: 0.82rem;
}

.exam-setup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: 1.1rem;
  margin-top: 1.3rem;
}

.exam-panel {
  border: 1px solid var(--exam-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  padding: 1rem;
}

.exam-course-list {
  display: grid;
  gap: 0.62rem;
}

.exam-course {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  width: 100%;
  border: 1px solid rgba(0, 68, 53, 0.1);
  border-radius: 16px;
  background: #ffffff;
  padding: 0.78rem;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.exam-course:hover,
.exam-course.is-selected {
  border-color: rgba(0, 68, 53, 0.34);
  background: #fbfdf9;
}

.exam-course span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 12px;
  background: rgba(0, 68, 53, 0.08);
  color: var(--exam-green);
}

.exam-course h3,
.exam-result-card h3 {
  margin: 0;
  color: var(--exam-green);
  font: 900 1rem/1.2 "Plus Jakarta Sans", Inter, sans-serif;
}

.exam-course p {
  margin: 0.22rem 0 0;
  font-size: 0.8rem;
}

.exam-mode-grid,
.exam-unit-grid {
  display: grid;
  gap: 0.55rem;
}

.exam-mode,
.exam-unit {
  border: 1px solid rgba(0, 68, 53, 0.11);
  border-radius: 15px;
  background: #ffffff;
  padding: 0.72rem;
  cursor: pointer;
}

.exam-mode.is-selected,
.exam-unit.is-selected {
  border-color: rgba(174, 50, 0, 0.38);
  background: #fffaf5;
}

.exam-mode strong,
.exam-unit strong {
  display: block;
  color: var(--exam-ink);
  font: 900 0.84rem/1.2 Manrope, Inter, sans-serif;
}

.exam-mode span,
.exam-unit span {
  display: block;
  margin-top: 0.22rem;
  color: var(--exam-muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.exam-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.exam-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.36rem;
  min-height: 2.45rem;
  border: 1px solid rgba(0, 68, 53, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: var(--exam-green);
  padding: 0 0.92rem;
  font: 900 0.72rem/1 Manrope, Inter, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.exam-btn.is-primary {
  background: var(--exam-green);
  border-color: var(--exam-green);
  color: #ffffff;
}

.exam-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.exam-history {
  display: grid;
  gap: 0.48rem;
}

.exam-history-item {
  border-top: 1px solid rgba(0, 68, 53, 0.1);
  padding-top: 0.55rem;
  color: var(--exam-muted);
  font-size: 0.78rem;
}

.exam-active {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.exam-lock-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 68, 53, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  padding: 0.75rem;
  box-shadow: 0 18px 42px rgba(29, 26, 34, 0.06);
}

.exam-lock-title strong {
  display: block;
  color: var(--exam-green);
  font: 900 0.95rem/1.2 "Plus Jakarta Sans", Inter, sans-serif;
}

.exam-lock-title span,
.exam-violation-log {
  color: var(--exam-muted);
  font-size: 0.76rem;
}

.exam-timer {
  min-width: 6.2rem;
  border-radius: 14px;
  background: #111111;
  color: #ffffff;
  padding: 0.58rem 0.75rem;
  text-align: center;
  font: 900 1.1rem/1 Manrope, Inter, sans-serif;
}

.exam-progress {
  display: grid;
  gap: 0.4rem;
  margin: 0.6rem 0 1rem;
}

.exam-progress-info {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--exam-muted);
  font: 900 0.66rem/1 Manrope, Inter, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.exam-progress-track {
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(0, 68, 53, 0.1);
  overflow: hidden;
}

.exam-progress-fill {
  height: 100%;
  width: 0;
  background: var(--exam-green);
  transition: width 0.2s ease;
}

.exam-question-map {
  position: sticky;
  top: 5.4rem;
  z-index: 18;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.9rem;
  border: 1px solid rgba(0, 68, 53, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.94);
  padding: 0.55rem;
  box-shadow: 0 12px 28px rgba(29, 26, 34, 0.045);
}

.exam-map-dot {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(0, 68, 53, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: var(--exam-muted);
  cursor: pointer;
  font: 900 0.68rem/1 Manrope, Inter, sans-serif;
}

.exam-map-dot.is-answered {
  background: var(--exam-green);
  color: #ffffff;
}

.exam-map-dot.is-flagged {
  border-color: rgba(174, 50, 0, 0.55);
  box-shadow: 0 0 0 3px rgba(174, 50, 0, 0.1);
}

.exam-question {
  border-top: 1px solid rgba(0, 68, 53, 0.14);
  padding: 1.05rem 0;
}

.exam-question-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.72rem;
}

.exam-question h2 {
  margin: 0;
  color: #111111;
  font: 800 1.02rem/1.4 "Plus Jakarta Sans", Inter, sans-serif;
}

.exam-question-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.45rem;
}

.exam-question-meta span {
  color: var(--exam-orange);
  font: 900 0.62rem/1 Manrope, Inter, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.exam-flag-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex: 0 0 auto;
  border: 1px solid rgba(0, 68, 53, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: var(--exam-muted);
  cursor: pointer;
  padding: 0.46rem 0.65rem;
  font: 900 0.62rem/1 Manrope, Inter, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.exam-flag-btn .material-symbols-outlined {
  font-size: 1rem;
}

.exam-flag-btn.is-flagged {
  border-color: rgba(174, 50, 0, 0.34);
  background: #fff8f1;
  color: var(--exam-orange);
}

.exam-choices {
  display: grid;
  gap: 0.46rem;
}

.exam-choice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: start;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 14px;
  background: #ffffff;
  padding: 0.62rem 0.7rem;
  cursor: pointer;
}

.exam-choice.is-selected {
  border-color: rgba(0, 68, 53, 0.38);
  background: #fbfdf9;
}

.exam-choice input {
  margin-top: 0.14rem;
  accent-color: var(--exam-green);
}

.exam-work {
  width: 100%;
  min-height: 7.5rem;
  resize: vertical;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 14px;
  background: #ffffff;
  color: #111111;
  padding: 0.72rem;
  font: 500 0.93rem/1.5 Inter, sans-serif;
}

.exam-diagram {
  margin: 0.65rem 0 0.75rem;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 16px;
  background: #ffffff;
  padding: 0.85rem;
}

.exam-diagram svg {
  display: block;
  width: 100%;
  max-height: 18rem;
}

.exam-diagram svg line,
.exam-diagram svg path,
.exam-diagram svg ellipse,
.exam-diagram svg circle,
.exam-diagram svg rect {
  fill: none;
  stroke: #111111;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.exam-diagram svg .exam-diagram-fill {
  fill: #f7f7f7;
}

.exam-diagram svg .exam-diagram-shade {
  fill: rgba(17, 17, 17, 0.08);
}

.exam-diagram svg text {
  fill: #111111;
  font: 800 18px/1 Manrope, Inter, sans-serif;
}

.exam-diagram-caption {
  margin: 0.6rem 0 0;
  color: var(--exam-muted);
  font: 750 0.78rem/1.45 Inter, sans-serif;
}

.exam-label-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.7rem;
  margin: 0.85rem 0 0.9rem;
}

.exam-label-grid label {
  display: grid;
  gap: 0.35rem;
  border: 1px solid rgba(0, 68, 53, 0.12);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.75rem;
}

.exam-label-grid span {
  color: var(--exam-green);
  font: 900 0.68rem/1.2 Manrope, Inter, system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.exam-label-grid input {
  min-height: 2.35rem;
  width: 100%;
  border: 1px solid rgba(191, 201, 195, 0.35);
  border-radius: 0.7rem;
  background: #fff;
  color: var(--exam-ink);
  font: 700 0.88rem/1.2 Inter, system-ui, sans-serif;
  padding: 0.55rem 0.65rem;
}

.exam-label-grid input:focus {
  border-color: rgba(0, 68, 53, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 68, 53, 0.1);
  outline: none;
}

.exam-warning {
  margin: 0.75rem 0;
  border: 1px solid rgba(174, 50, 0, 0.22);
  border-radius: 14px;
  background: #fff8f1;
  color: #78350f;
  padding: 0.7rem 0.8rem;
  font: 750 0.82rem/1.45 Inter, sans-serif;
}

.exam-results {
  display: grid;
  gap: 1rem;
}

.exam-score {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid var(--exam-line);
  padding-bottom: 1rem;
}

.exam-score-number {
  color: var(--exam-green);
  font: 900 clamp(3rem, 8vw, 5rem)/0.9 "Plus Jakarta Sans", Inter, sans-serif;
}

.exam-review-list {
  display: grid;
  gap: 0.85rem;
}

.exam-review-item {
  border-top: 1px solid rgba(0, 68, 53, 0.11);
  padding-top: 0.85rem;
}

.exam-review-item strong {
  color: var(--exam-green);
}

.exam-review-item.is-missed {
  border-top-color: rgba(174, 50, 0, 0.28);
}

.exam-review-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.exam-review-head span {
  flex: 0 0 auto;
  color: var(--exam-orange);
  font: 900 0.58rem/1.2 Manrope, Inter, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.exam-review-item p {
  margin: 0.35rem 0;
  color: var(--exam-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.exam-answer-key summary {
  color: var(--exam-green);
  cursor: pointer;
  font: 900 0.82rem/1.2 Manrope, Inter, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.exam-lockdown-running #lyne-orb,
body.exam-lockdown-running #lyne-orb-toggle,
body.exam-lockdown-running #lyne-hint,
body.exam-lockdown-running .lyne-panel,
body.exam-lockdown-running .lyne-orb,
body.exam-lockdown-running .sc-lyne-widget,
body.exam-lockdown-running #sc-split-screen-host,
body.exam-lockdown-running .sc-command-palette,
body.exam-lockdown-running .sc-app-sidebar,
body.exam-lockdown-running .mobile-app-shell,
body.exam-lockdown-running .sc-mobile-more-sheet {
  display: none !important;
}

body.exam-lockdown-running main[data-sidebar-main],
body.exam-lockdown-running.sc-sidebar-closed main[data-sidebar-main],
body.exam-lockdown-running [data-sidebar-main] {
  margin-left: 0 !important;
}

body.exam-lockdown-running .exam-lockdown-shell {
  width: min(1180px, calc(100% - 2rem));
}

@media (max-width: 860px) {
  .exam-lockdown-shell,
  .exam-active {
    width: min(100% - 1rem, 720px);
    padding-top: 1rem;
  }

  .exam-hero,
  .exam-portal-grid,
  .exam-setup-grid {
    grid-template-columns: 1fr;
  }

  .exam-portal-hero {
    margin-bottom: 1.6rem;
  }

  .exam-portal-hero h1 {
    font-size: 2.2rem;
  }

  .exam-portal-card {
    min-height: 0;
  }

  .exam-portal-focus {
    align-items: stretch;
    flex-direction: column;
  }

  .exam-lock-bar {
    grid-template-columns: 1fr;
    position: static;
  }

  .exam-question-map {
    position: static;
  }

  .exam-blueprint,
  .exam-result-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .exam-timer {
    width: max-content;
  }
}
