.swit-exam-navi-shell {
  --site-primary: #2563eb;
  --site-primary-soft: #eff6ff;
  --site-primary-tint: #dbeafe;
  --site-heading: #111827;
  --site-body: #374151;
  --site-muted: #6b7280;
  --site-border: #e5e7eb;
  --site-surface: #f8fafc;
  --site-white: #fff;
  --site-success: #166534;
  --site-success-soft: #f0fdf4;
  --site-warn: #92400e;
  --site-warn-soft: #fffbeb;
  --site-danger: #991b1b;
  --site-danger-soft: #fef2f2;
  --site-radius: 16px;
  --site-shadow-soft: 0 12px 32px rgba(15, 23, 42, .07);
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 0 72px;
  color: var(--site-body);
  font-family: inherit;
  scroll-margin-top: 96px;
}
.swit-exam-navi-shell,
.swit-exam-navi-shell * { box-sizing: border-box; }
.swit-exam-navi-shell button { font: inherit; }
.exam-shell { width: 100%; margin: 0; padding: 0; }
.exam-navi { min-height: 560px; }
.exam-card { background: var(--site-white); border: 1px solid var(--site-border); border-radius: var(--site-radius); box-shadow: var(--site-shadow-soft); padding: clamp(24px,4vw,44px); }
.exam-eyebrow { margin: 0 0 14px; color: var(--site-primary); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.exam-title { margin: 0; color: var(--site-heading); font-size: clamp(30px,5vw,48px); line-height: 1.25; letter-spacing: -.03em; }
.exam-lead { margin: 22px 0 0; max-width: 720px; font-size: 16px; line-height: 1.95; }
.exam-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 32px; }
.exam-button { appearance: none; width: 100%; border: 1px solid var(--site-border); border-radius: 12px; background: var(--site-white); color: var(--site-heading); padding: 15px 18px; cursor: pointer; text-align: left; transition: .18s ease; }
.exam-button:hover,.exam-button:focus-visible { border-color: #93c5fd; background: var(--site-primary-soft); outline: none; transform: translateY(-1px); }
.exam-button--primary { background: var(--site-primary); border-color: var(--site-primary); color: #fff; font-weight: 700; text-align: center; }
.exam-button--ghost { text-align: center; }
.exam-button small { display: block; margin-top: 5px; color: var(--site-muted); font-size: 12px; line-height: 1.5; }
.exam-button--primary small { color: rgba(255,255,255,.8); }
.exam-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 26px; }
.exam-stat { padding: 16px; border-radius: 12px; background: var(--site-surface); }
.exam-stat strong { display: block; color: var(--site-heading); font-size: 24px; }
.exam-stat span { color: var(--site-muted); font-size: 12px; }
.exam-divider { height: 1px; margin: 32px 0; background: var(--site-border); }
.exam-section-title { margin: 0; color: var(--site-heading); font-size: 20px; line-height: 1.5; }
.exam-modes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 16px; }
.exam-mode { padding: 18px; border: 1px solid var(--site-border); border-radius: 12px; background: var(--site-white); cursor: pointer; }
.exam-mode[aria-pressed="true"] { border-color: #93c5fd; background: var(--site-primary-soft); }
.exam-mode b { color: var(--site-heading); }
.exam-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.exam-back { appearance: none; border: 0; background: transparent; color: var(--site-muted); cursor: pointer; padding: 6px 0; }
.exam-progress { flex: 1; height: 7px; background: #eef2f7; border-radius: 99px; overflow: hidden; }
.exam-progress > span { display: block; height: 100%; background: var(--site-primary); border-radius: inherit; }
.exam-counter { color: var(--site-muted); font-size: 12px; white-space: nowrap; }
.exam-theme-label { margin: 0 0 8px; color: var(--site-primary); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.exam-question { margin: 0; color: var(--site-heading); font-size: clamp(22px,3.5vw,30px); line-height: 1.55; }
.exam-choice-list { display: grid; gap: 11px; margin-top: 28px; }
.exam-choice { appearance: none; width: 100%; padding: 16px 18px; border: 1px solid var(--site-border); border-radius: 12px; background: var(--site-white); color: var(--site-heading); cursor: pointer; text-align: left; line-height: 1.65; }
.exam-choice:hover,.exam-choice:focus-visible { border-color: #93c5fd; background: var(--site-primary-soft); outline: none; }
.exam-choice.is-correct { border-color: #86efac; background: var(--site-success-soft); }
.exam-choice.is-wrong { border-color: #fecaca; background: var(--site-danger-soft); }
.exam-choice:disabled { cursor: default; }
.exam-card > [data-feedback]:not(:empty) { margin-top: 36px; }
.exam-card > [data-feedback] > .exam-feedback,
.exam-card > [data-feedback] > .exam-branch { margin-top: 0; }
.exam-feedback { margin-top: 26px; padding: 22px; border-radius: 14px; border: 1px solid var(--site-border); background: var(--site-surface); }
.exam-feedback--correct { background: var(--site-success-soft); border-color: #bbf7d0; }
.exam-feedback--wrong { background: var(--site-warn-soft); border-color: #fde68a; }
.exam-feedback__mark { margin: 0 0 8px; font-weight: 800; color: var(--site-heading); }
.exam-feedback p { margin: 10px 0 0; line-height: 1.85; }
.exam-point { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(15,23,42,.09); }
.exam-point b { color: var(--site-heading); }
.exam-next { display: flex; justify-content: flex-end; margin-top: 22px; }
.exam-next .exam-button { width: auto; min-width: 180px; }
.exam-branch { margin-top: 22px; padding: 22px; border: 1px solid #bfdbfe; border-radius: 14px; background: var(--site-primary-soft); }
.exam-branch h4 { margin: 0; color: var(--site-heading); font-size: 18px; }
.exam-branch p { line-height: 1.8; }
.exam-theme-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 24px; }
.exam-theme-card { padding: 20px; border: 1px solid var(--site-border); border-radius: 12px; background: var(--site-white); cursor: pointer; text-align: left; }
.exam-theme-card:hover { background: var(--site-primary-soft); border-color: #bfdbfe; }
.exam-theme-card b { color: var(--site-heading); }
.exam-theme-card span { display: block; margin-top: 8px; color: var(--site-muted); font-size: 13px; line-height: 1.65; }
.exam-summary-list { display: grid; gap: 10px; margin-top: 22px; }
.exam-summary-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--site-border); border-radius: 11px; }
.exam-summary-item strong { color: var(--site-heading); }
.exam-badge { padding: 5px 9px; border-radius: 99px; background: var(--site-surface); color: var(--site-muted); font-size: 11px; font-weight: 700; }
.exam-badge--ok { background: var(--site-success-soft); color: var(--site-success); }
.exam-badge--review { background: var(--site-warn-soft); color: var(--site-warn); }
.exam-map { display: grid; gap: 12px; margin-top: 22px; }
.exam-map-row { padding: 18px; border: 1px solid var(--site-border); border-radius: 12px; background: var(--site-white); }
.exam-map-row b { color: var(--site-heading); }
.exam-map-row p { margin: 8px 0 0; color: var(--site-muted); font-size: 13px; line-height: 1.7; }
.exam-note { margin-top: 24px; color: var(--site-muted); font-size: 12px; line-height: 1.8; }
.exam-error { padding: 24px; border: 1px solid #fecaca; background: var(--site-danger-soft); border-radius: 12px; color: var(--site-danger); white-space: pre-wrap; }
@media (max-width: 700px) {
  .exam-shell { width: 100%; padding-top: 0; }
  .exam-card { padding: 22px 18px; border-radius: 14px; }
  .exam-actions,.exam-modes,.exam-theme-grid { grid-template-columns: 1fr; }
  .exam-stats { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .exam-stat { padding: 13px 10px; }
  .exam-stat strong { font-size: 20px; }
  .exam-topbar { flex-wrap: wrap; }
  .exam-progress { order: 3; flex-basis: 100%; }
  .exam-next .exam-button { width: 100%; }
}

/* =====================================================
   v0.2 / MODE DIFFERENTIATION & SESSION CONTROLS
===================================================== */
.exam-mode small {
  display: block;
  margin-top: 7px;
  color: var(--site-muted);
  font-size: 12px;
  line-height: 1.65;
}
.exam-mode-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -4px 0 22px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.55;
}
.exam-mode-indicator b {
  white-space: nowrap;
  letter-spacing: .06em;
}
.exam-mode-indicator--learn {
  background: var(--site-primary-soft);
  color: #1e40af;
}
.exam-mode-indicator--last {
  background: #f3f4f6;
  color: #4b5563;
}
.exam-session-controls {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--site-border);
}
.exam-button--quiet {
  background: var(--site-surface);
  color: var(--site-muted);
  text-align: center;
}
.exam-learn-block,
.exam-quick-check,
.exam-connect {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(15,23,42,.09);
}
.exam-learn-block b,
.exam-quick-check b,
.exam-connect b {
  color: var(--site-heading);
  font-size: 12px;
  letter-spacing: .08em;
}
.exam-connect-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.exam-connect-list span {
  padding: 6px 10px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #fff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
}
.exam-feedback--compact {
  padding: 18px 20px;
}
.exam-feedback--compact .exam-feedback__mark {
  margin-bottom: 4px;
}
.exam-correct-answer {
  padding: 10px 12px;
  border-radius: 9px;
  background: rgba(255,255,255,.72);
}
@media (max-width: 700px) {
  .exam-mode-indicator {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .exam-session-controls {
    grid-template-columns: 1fr;
  }
}
