/**
 * ============================================================
 * KỸ NĂNG VIỆT — QUIZ INTERFACE (Mobile-First)
 * Scope: .dash-exam-flow-quiz
 * ============================================================
 */

.dash-exam-flow-quiz {
  padding: 0;
  min-height: 100dvh;
  background: var(--bg);
}

/* ============================================================
   (1) STICKY HEADER
   ============================================================ */
.dash-quiz__header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dash-quiz__header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-quiz__header-nav {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 18px;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.dash-quiz__header-nav:hover,
.dash-quiz__header-nav:focus {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.dash-quiz__header-info {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.dash-quiz__header-info strong {
  color: var(--primary);
}

.dash-quiz__header-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--primary-light);
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  transition: all 0.4s ease;
  border: 1.5px solid transparent;
}

.dash-quiz__header-timer iconify-icon {
  font-size: 16px;
}

/* Timer states */
.dash-quiz__header-timer.is-warning {
  background: rgba(245, 158, 11, 0.12);
  color: var(--warning);
  border-color: rgba(245, 158, 11, 0.25);
}

.dash-quiz__header-timer.is-danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border-color: rgba(239, 68, 68, 0.25);
  animation: timerPulse 3s ease-in-out infinite;
}

@keyframes timerPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.2);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
}

/* ============================================================
   (2) PROGRESS BAR
   ============================================================ */
.dash-quiz__progress-bar {
  height: 4px;
  background: var(--border);
  width: 100%;
  position: sticky;
  top: 65px;
  z-index: 99;
}

.dash-quiz__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--success), #34d399);
  transition:
    width 0.4s ease,
    background 0.4s ease;
  border-radius: 0 2px 2px 0;
}

.dash-quiz__progress-fill.is-warning {
  background: linear-gradient(90deg, var(--warning), #fbbf24);
}

.dash-quiz__progress-fill.is-danger {
  background: linear-gradient(90deg, var(--danger), #f87171);
}

/* ============================================================
   (3) QUESTION CARD
   ============================================================ */
.dash-quiz__question-wrap {
  padding: 24px 16px;
  margin: 0 auto;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
  -webkit-transition:
    transform 0.25s ease,
    opacity 0.25s ease;
  -moz-transition:
    transform 0.25s ease,
    opacity 0.25s ease;
  -ms-transition:
    transform 0.25s ease,
    opacity 0.25s ease;
  -o-transition:
    transform 0.25s ease,
    opacity 0.25s ease;
  background: var(--white-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

/* Slide animations */
.dash-quiz__question-wrap.is-sliding-left {
  animation: slideLeftIn 0.25s ease-out;
}

.dash-quiz__question-wrap.is-sliding-right {
  animation: slideRightIn 0.25s ease-out;
}

@keyframes slideLeftIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRightIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.dash-quiz__question-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 8px;
}

.dash-quiz__question-num {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.dash-quiz__question-type {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dash-quiz__question-content {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.dash-quiz__question-content p {
  margin-bottom: 12px;
}

.dash-quiz__question-content p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   (4) OPTIONS — Large touch targets
   ============================================================ */
.dash-quiz__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-quiz__option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 56px;
  -webkit-tap-highlight-color: transparent;
}

.dash-quiz__option:hover {
  border-color: var(--primary-light);
  background: var(--surface-alt);
}

.dash-quiz__option.is-selected {
  border-color: var(--primary);
  background: rgba(0, 94, 184, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 94, 184, 0.08);
}

.dash-quiz__option:active {
  transform: scale(0.995);
}

.dash-quiz__option-key {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface-alt);
  border: 1.5px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.dash-quiz__option.is-selected .dash-quiz__option-key {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.dash-quiz__option-text {
  flex: 1;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  padding-top: 6px;
}

.dash-quiz__option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dash-quiz__text-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-quiz__text-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
}

.dash-quiz__text-answer {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text-primary);
  font: inherit;
  line-height: 1.6;
  transition: all 0.2s ease;
}

.dash-quiz__text-answer:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 94, 184, 0.08);
}

.dash-quiz__text-answer--essay {
  min-height: 180px;
  resize: vertical;
}

/* ============================================================
   (5) FIXED FOOTER
   ============================================================ */
.dash-quiz__footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

.dash-quiz__footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: var(--font-sans);
}

.dash-quiz__footer-btn--mark {
  background: var(--surface-alt);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 12px;
  min-width: 44px;
}

.dash-quiz__footer-btn--mark.is-marked {
  background: rgba(245, 158, 11, 0.12);
  color: var(--warning);
  border-color: rgba(245, 158, 11, 0.3);
}

.dash-quiz__footer-btn--nav {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-light);
  flex: 1;
  min-width: 0;
}

.dash-quiz__footer-btn--nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.dash-quiz__footer-btn--nav:hover:not(:disabled) {
  background: var(--primary);
  color: #fff;
}

.dash-quiz__footer-btn--submit {
  background: var(--danger);
  color: #fff;
  padding: 12px 18px;
}

.dash-quiz__footer-btn--submit:hover {
  background: #dc2626;
}

/* ============================================================
   (6) BOTTOM SHEET — Question Grid (mobile)
   ============================================================ */
.dash-quiz__sheet {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
}

.dash-quiz__sheet.is-open {
  display: block;
  pointer-events: auto;
}

.dash-quiz__sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.dash-quiz__sheet.is-open .dash-quiz__sheet-backdrop {
  opacity: 1;
}

.dash-quiz__sheet-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  border-radius: 20px 20px 0 0;
  padding: 16px 20px calc(20px + env(safe-area-inset-bottom));
  max-height: 75vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dash-quiz__sheet.is-open .dash-quiz__sheet-panel {
  transform: translateY(0);
}

.dash-quiz__sheet-handle {
  width: 40px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 0 auto 16px;
}

.dash-quiz__sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.dash-quiz__sheet-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.dash-quiz__sheet-close {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-size: 18px;
  transition: all var(--transition-fast);
}

.dash-quiz__sheet-close:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.dash-quiz__sheet-legend {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.dash-quiz__sheet-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dash-quiz__sheet-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dash-quiz__sheet-dot--answered {
  background: var(--primary);
}
.dash-quiz__sheet-dot--marked {
  background: var(--warning);
}
.dash-quiz__sheet-dot--current {
  border: 2px solid var(--warning);
  background: #fff;
}
.dash-quiz__sheet-dot--todo {
  background: var(--border);
}

.dash-quiz__sheet-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dash-quiz__sheet-cell {
  width: calc((100% - 40px) / 6);
  aspect-ratio: 1 / 1;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  padding: 0;
}

.dash-quiz__sheet-cell:hover {
  border-color: var(--primary);
}

.dash-quiz__sheet-cell.is-current {
  border-color: var(--warning);
  border-width: 2px;
}

.dash-quiz__sheet-cell.is-answered {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.dash-quiz__sheet-cell.is-marked::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--warning);
}

.dash-quiz__sheet-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.dash-quiz__sheet-actions button {
  flex: 1;
}

/* Spacer for fixed footer on mobile */
.dash-quiz__footer-spacer {
  height: 72px;
}

/* ============================================================
   (7) DESKTOP LAYOUT ≥992px
   ============================================================ */
@media (min-width: 992px) {
  .dash-quiz__header {
    position: relative;
    border-radius: var(--radius-xl);
    margin: 0 0 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
  }

  .dash-quiz__progress-bar {
    position: relative;
    top: auto;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
    overflow: hidden;
    height: 6px;
  }

  .dash-quiz__footer {
    position: relative;
    border-radius: var(--radius-xl);
    margin-top: 15px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    padding: 14px 20px;
  }

  .dash-quiz__layout {
    display: flex;
    gap: 15px;
  }

  .dash-quiz__main {
    flex: 1;
    min-width: 0;
  }

  .dash-quiz__sidebar {
    width: 280px;
    flex-shrink: 0;
    display: block !important;
  }

  .dash-quiz__sidebar-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 20px;
    box-shadow: var(--shadow-card);
    position: sticky;
    top: 20px;
  }

  .dash-quiz__sidebar-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 14px;
  }

  .dash-quiz__sidebar-count {
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 4px;
  }

  .dash-quiz__sidebar-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .dash-quiz__sidebar-cell {
    width: calc((100% - 30px) / 6);
    aspect-ratio: 1 / 1;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
    padding: 0;
  }

  .dash-quiz__sidebar-cell:hover {
    border-color: var(--primary);
  }

  .dash-quiz__sidebar-cell.is-current {
    border-color: var(--warning);
    border-width: 2px;
  }

  .dash-quiz__sidebar-cell.is-answered {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
  }

  .dash-quiz__sidebar-cell.is-marked::after {
    content: "";
    position: absolute;
    top: 3px;
    right: 3px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--warning);
  }

  .dash-quiz__footer-spacer {
    display: none;
  }

  .dash-quiz__question-wrap {
    padding: 28px 24px;
  }
}

/* Hide mobile-only elements on desktop */
@media (min-width: 992px) {
  .dash-quiz__sheet-trigger {
    display: none;
  }
}

/* ============================================================
   (9) RESULT SCREEN
   ============================================================ */
.dash-exam-flow-result {
  min-height: 100dvh;
  background: var(--bg);
  padding-bottom: 24px;
}

/* Confetti canvas */
.dash-result__confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
}

/* Hero */
.dash-result__hero {
  position: relative;
  background: var(--white-color);
  padding: 40px 16px 32px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-xl);
  
}

.dash-result__hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(0, 94, 184, 0.04);
  pointer-events: none;
}

.dash-result__hero::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(196, 163, 90, 0.05);
  pointer-events: none;
}

/* Badge */
.dash-result__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  animation: fadeSlideDown 0.5s ease both;
}

.dash-result__badge.is-pass {
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
  border: 1.5px solid rgba(16, 185, 129, 0.25);
}

.dash-result__badge.is-fail {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border: 1.5px solid rgba(239, 68, 68, 0.2);
}

.dash-result__badge iconify-icon {
  font-size: 16px;
}

/* Ring */
.dash-result__ring-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  animation: fadeSlideUp 0.6s 0.15s ease both;
}

.dash-result__ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.dash-result__ring-track {
  fill: none;
  stroke: var(--border);
  stroke-width: 8;
}

.dash-result__ring-fill {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dash-result__ring-fill.is-pass {
  stroke: var(--success);
}

.dash-result__ring-fill.is-fail {
  stroke: var(--danger);
}

.dash-result__ring-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dash-result__score-value {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: var(--text-primary);
}

.dash-result__score-divider {
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1;
  margin: 2px 0;
}

.dash-result__score-total {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1;
}

.dash-result__score-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Title */
.dash-result__title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px;
  animation: fadeSlideUp 0.6s 0.3s ease both;
}

.dash-result__exam-title {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
  animation: fadeSlideUp 0.6s 0.4s ease both;
}

/* Info Bar */
.dash-result__info-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
  animation: fadeSlideUp 0.5s 0.45s ease both;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.dash-result__info-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-secondary);
}

.dash-result__info-item iconify-icon {
  font-size: 15px;
  color: var(--text-muted);
}

.dash-result__info-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border);
}

/* Stats */
.dash-result__stats {
  padding: 0 16px;
  margin-bottom: 20px;
  animation: fadeSlideUp 0.5s 0.5s ease both;
}

.dash-result__stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 12px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.dash-result__stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.dash-result__stat-icon {
  font-size: 22px;
  margin-bottom: 8px;
}

.dash-result__stat.is-correct .dash-result__stat-icon {
  color: var(--success);
}
.dash-result__stat.is-wrong .dash-result__stat-icon {
  color: var(--danger);
}
.dash-result__stat.is-skip .dash-result__stat-icon {
  color: var(--text-muted);
}
.dash-result__stat.is-percent .dash-result__stat-icon {
  color: var(--primary);
}

.dash-result__stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.dash-result__stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Essay alert */
.dash-result__essay-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 16px 20px;
  padding: 16px;
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  animation: fadeSlideUp 0.5s 0.55s ease both;
  -webkit-animation: fadeSlideUp 0.5s 0.55s ease both;
}

.dash-result__essay-alert iconify-icon {
  font-size: 20px;
  color: var(--warning);
  flex-shrink: 0;
  margin-top: 1px;
}

.dash-result__essay-alert strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 2px;
}

/* Actions */
.dash-result__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 16px;
  animation: fadeSlideUp 0.5s 0.6s ease both;
}

.dash-result__actions .knv-btn {
  width: 100%;
  justify-content: center;
}

.dash-result__btn--back {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
}

.dash-result__btn--back:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* Animations */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Desktop result */
@media (min-width: 992px) {
  .dash-exam-flow-result {
    margin: 0 auto;
    padding-bottom: 40px;
  }

  .dash-result__hero {
    border-radius: var(--radius-xl);
    padding: 56px 24px 40px;
    -webkit-border-radius: var(--radius-xl);
    -moz-border-radius: var(--radius-xl);
    -ms-border-radius: var(--radius-xl);
    -o-border-radius: var(--radius-xl);
}

  .dash-result__ring-wrap {
    width: 200px;
    height: 200px;
  }

  .dash-result__score-value {
    font-size: 42px;
  }

  .dash-result__title {
    font-size: 28px;
  }

  .dash-result__stats {
    padding: 0;
  }

  .dash-result__essay-alert {
    margin: 0 0 24px;
  }

  .dash-result__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0;
  }

  .dash-result__actions .knv-btn {
    width: auto;
    min-width: 180px;
  }

  .dash-result__info-bar {
    border-radius: var(--radius-lg);
    margin: 0 0 24px;
    border: 1px solid var(--border);
  }
}

/* ============================================================
   (10) REVIEW SCREEN
   ============================================================ */
.dash-exam-flow-review {
  min-height: 100dvh;
  background: var(--bg);
}

.dash-review__header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 14px 16px;
  box-shadow: var(--shadow-header);
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.dash-review__header-main {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.dash-review__back {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 18px;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.dash-review__back:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.dash-review__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.dash-review__subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin: 2px 0 0;
}

.dash-review__meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.dash-review__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.dash-review__meta-item--correct {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.dash-review__meta-item--wrong {
  background: rgba(239, 68, 68, 0.08);
  color: var(--danger);
}

.dash-review__meta-item--skip {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-muted);
}

/* Card list */
.dash-review__list {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dash-review__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

.dash-review__card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-active);
}

.dash-review__card.is-correct {
  border-top: 3px solid var(--success);
}
.dash-review__card.is-wrong {
  border-top: 3px solid var(--danger);
}
.dash-review__card.is-skip {
  border-top: 3px solid var(--text-muted);
}
.dash-review__card.is-essay {
  border-top: 3px solid var(--warning);
}

.dash-review__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-alt);
}

.dash-review__card-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.dash-review__card-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.dash-review__card.is-correct .dash-review__card-status {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.dash-review__card.is-wrong .dash-review__card-status {
  background: rgba(239, 68, 68, 0.08);
  color: var(--danger);
}

.dash-review__card.is-skip .dash-review__card-status {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-muted);
}

.dash-review__card.is-essay .dash-review__card-status {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

.dash-review__card-body {
  padding: 16px;
}

.dash-review__question {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.dash-review__question p {
  margin-bottom: 8px;
}

/* Options */
.dash-review__options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-review__option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--surface);
  transition: all 0.2s ease;
}

.dash-review__opt-key {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface-alt);
  border: 1.5px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.dash-review__opt-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  padding-top: 4px;
}

.dash-review__opt-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  padding-top: 4px;
}

.dash-review__opt-icon {
  font-size: 16px;
}

/* Option states */
.dash-review__option.is-correct {
  border-color: var(--success);
  background: rgba(16, 185, 129, 0.04);
}

.dash-review__option.is-correct .dash-review__opt-key {
  background: var(--success);
  color: #fff;
  border-color: var(--success);
}

.dash-review__option.is-correct .dash-review__opt-badge {
  color: var(--success);
}

.dash-review__option.is-wrong {
  border-color: var(--danger);
  background: rgba(239, 68, 68, 0.04);
}

.dash-review__option.is-wrong .dash-review__opt-key {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}

.dash-review__option.is-wrong .dash-review__opt-badge {
  color: var(--danger);
}

.dash-review__option.is-neutral {
  opacity: 0.6;
}

/* Essay block */
.dash-review__essay {
  background: var(--surface-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
}

.dash-review__essay-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.dash-review__essay-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-primary);
  white-space: pre-wrap;
}

/* Explanation block */
.dash-review__explanation {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
}

.dash-review__explanation--child {
  margin-top: 10px;
  padding: 10px 12px;
  background: var(--secondary-light);
}

.dash-review__explanation .dash-review__essay-label {
  color: var(--primary);
}

.dash-review__explanation--child .dash-review__essay-label {
  color: var(--secondary);
}

/* Footer */
.dash-review__footer {
  padding: 16px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

/* Desktop review */
@media (min-width: 992px) {
  .dash-exam-flow-review {
    margin: 0 auto;
  }

  .dash-review__header {
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    padding: 18px 24px;
  }

  .dash-review__list {
    padding: 24px 0;
    gap: 20px;
  }

  .dash-review__card-body {
    padding: 20px;
  }

  .dash-review__footer {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 20px 24px;
    -webkit-border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    -moz-border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    -ms-border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    -o-border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
}

.dash-review__card {
  border-top: none !important;
}


/* Hide desktop-only elements on mobile */
@media (max-width: 991.98px) {
  .dash-quiz__sidebar {
    display: none;
  }
}

/* ============================================================
   (8) RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 576px) {
  .dash-quiz__header {
    padding: 10px 12px;
  }

  .dash-quiz__header-info {
    font-size: 13px;
  }

  .dash-quiz__header-timer {
    font-size: 13px;
    padding: 6px 10px;
  }

  .dash-quiz__question-wrap {
    padding: 20px 12px;
  }

  .dash-quiz__question-num {
    font-size: 16px;
  }

  .dash-quiz__question-content {
    font-size: 15px;
  }

  .dash-quiz__option {
    padding: 14px;
    min-height: 52px;
  }

  .dash-quiz__option-key {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .dash-quiz__option-text {
    font-size: 14px;
  }

  .dash-quiz__footer {
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    gap: 6px;
  }

  .dash-quiz__footer-btn {
    padding: 10px 12px;
    font-size: 13px;
  }

  .dash-quiz__footer-btn--mark {
    padding: 10px;
  }

  .dash-quiz__footer-btn--submit {
    padding: 10px 14px;
  }

  .dash-quiz__sheet-cell {
    width: calc((100% - 35px) / 6);
    min-height: 40px;
    font-size: 13px;
  }
  .dash-exam-flow-quiz {
    min-height: auto;
  }
  .dash-result__stats,
  .dash-result__actions {
    padding: 0;
  }
  .dash-quiz__header {
    border-top-right-radius: var(--radius-xl);
    border-top-left-radius: var(--radius-xl);
  }
  .dash-quiz__progress-bar { 
    position: static;
    top: 0;
  }
  .dash-quiz__question-wrap {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
  }
}

@media (max-width: 375px) {
  .dash-quiz__sheet-cell {
    width: calc((100% - 28px) / 5);
    min-height: 38px;
  }
}

/* ============================================================
   (11) ANTI-CHEAT GUARD OVERLAY
   ============================================================ */

.is-anti-cheat-blurred .dash-quiz__layout,
.is-anti-cheat-blurred .dash-quiz__header,
.is-anti-cheat-blurred .dash-quiz__progress-bar,
.is-anti-cheat-blurred .dash-quiz__footer {
  filter: blur(14px) saturate(0.75);
  -webkit-filter: blur(14px) saturate(0.75);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.dash-quiz__guard-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(1, 42, 74, 0.72), rgba(15, 23, 42, 0.58)),
    rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px;
}

.dash-quiz__guard-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--danger) 28%, var(--border));
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 460px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.34);
}

.dash-quiz__guard-topline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  height: 4px;
}

.dash-quiz__guard-topline span {
  flex: 1 1 0;
}

.dash-quiz__guard-topline span:nth-child(1) {
  background: var(--danger);
}

.dash-quiz__guard-topline span:nth-child(2) {
  background: var(--warning);
}

.dash-quiz__guard-topline span:nth-child(3) {
  background: var(--primary);
}

.dash-quiz__guard-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin: 4px auto 16px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--danger) 11%, var(--surface));
  color: var(--danger);
  font-size: 34px;
}

.dash-quiz__guard-icon-ring {
  position: absolute;
  inset: 8px;
  border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent);
  border-radius: 50%;
}

.dash-quiz__guard-kicker {
  margin: 0 0 6px;
  color: var(--danger);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.dash-quiz__guard-title {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 10px;
  letter-spacing: 0;
}

.dash-quiz__guard-reason {
  font-size: 15px;
  color: var(--danger);
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 18px;
}

.dash-quiz__guard-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--warning) 26%, var(--border));
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--warning) 10%, var(--surface));
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}

.dash-quiz__guard-note iconify-icon {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--warning);
  font-size: 16px;
}

.dash-quiz__guard-hint {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  line-height: 1.5;
}

.dash-quiz__guard-overlay.is-permanent .dash-quiz__guard-hint {
  display: none;
}

.dash-quiz__guard-toast {
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.2) !important;
}

.dash-quiz__guard-toast-title {
  color: var(--text-primary) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
}

@media (max-width: 576px) {
  .dash-quiz__guard-overlay {
    align-items: flex-end;
    padding: 12px;
  }

  .dash-quiz__guard-card {
    max-width: none;
    padding: 24px 18px 20px;
    border-radius: var(--radius-lg);
  }

  .dash-quiz__guard-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 12px;
    font-size: 28px;
  }

  .dash-quiz__guard-title {
    font-size: 20px;
  }

  .dash-quiz__guard-reason {
    font-size: 14px;
  }
}

/* ============================================================
   GROUPED FILL_BLANK — Input styling
   ============================================================ */

/* Grouped fill_blank container */
.dash-quiz__group-fill {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-quiz__group-fill-hint {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 4px;
}

/* Grouped input field wrapper */
.dash-quiz__text-field--group {
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease;
}

.dash-quiz__text-field--group:focus-within {
  border-color: var(--primary);
}

.dash-quiz__text-field--group.is-current-child {
  border-color: var(--warning);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--warning) 15%, transparent);
}

.dash-quiz__text-answer--group {
  margin-top: 4px;
}

/* Grouped single_choice container */
.dash-quiz__group-choice {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dash-quiz__group-choice-item {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.dash-quiz__group-choice-item.is-current-child {
  border-color: var(--warning);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--warning) 15%, transparent);
}

.dash-quiz__group-choice-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.dash-quiz__group-choice-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-quiz__group-choice-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.dash-quiz__group-choice-option:hover,
.dash-quiz__group-choice-option.is-selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.dash-quiz__group-choice-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dash-review__group-choice-review,
.dash-review__group-choice-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-review__group-choice-item {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

/* Question media images */
.dash-quiz__question-media,
.dash-review__question-media {
  margin: 8px 0 20px;
}

.dash-quiz__question-media,
.dash-review__question-media {
  display: inline-block;
  max-width: 100%;
  cursor: zoom-in;
}

.dash-quiz__question-media img,
.dash-review__question-media img {
  max-width: 100%;
  max-height: 240px;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: block;
  object-fit: contain;
}

@media (max-width: 991.98px) {
  .dash-quiz__question-media img,
  .dash-review__question-media img {
    max-height: 200px;
  }
}

@media (max-width: 576px) {
  .dash-quiz__question-media img,
  .dash-review__question-media img {
    max-height: 160px;
  }
}

@media (max-width: 991.98px) {
  .dash-quiz__question-media,
  .dash-review__question-media {
    margin: 6px 0 16px;
  }
}

@media (max-width: 576px) {
  .dash-quiz__question-media,
  .dash-review__question-media {
    margin: 4px 0 14px;
  }
}

/* ============================================================
   (12) GROUPED QUESTION — Passage box & child stage
   ============================================================ */

/* Passage container */
.dash-quiz__passage {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 20px;
  z-index: 10;
}

.dash-quiz__passage-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.dash-quiz__passage-hint {
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.5;
}

.dash-quiz__passage-content {
  max-height: min(420px, 45vh);
  overflow-y: auto;
  padding-right: 8px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  /* Firefox scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--primary-light);
}

.dash-quiz__passage-content p {
  margin-bottom: 10px;
}

.dash-quiz__passage-content p:last-child {
  margin-bottom: 0;
}

/* Custom scrollbar for passage content — keep visible so users know it's scrollable */
.dash-quiz__passage-content::-webkit-scrollbar {
  width: 8px;
}

.dash-quiz__passage-content::-webkit-scrollbar-track {
  background: var(--primary-light);
  border-radius: var(--radius-pill);
}

.dash-quiz__passage-content::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: var(--radius-pill);
  border: 2px solid var(--primary-light);
}

.dash-quiz__passage-content::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Child stage */
.dash-quiz__child-stage {
  position: relative;
  min-height: 160px;
}

.dash-quiz__child-item {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.dash-quiz__child-item.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: childFadeIn 0.25s ease;
}

@keyframes childFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dash-quiz__child-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.dash-quiz__child-prompt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5;
  flex: 1;
  min-width: 0;
}

.dash-quiz__child-counter {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.dash-quiz__child-nav-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.5;
}

/* Inline blank reference */
.knv-blank-ref {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  padding: 3px 7px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  vertical-align: middle;
  margin: 0 2px;
}

/* Circular blank number badge */
.knv-blank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white-color);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .dash-quiz__passage {
    top: 70px;
    padding: 14px;
    margin-bottom: 16px;
  }

  .dash-quiz__passage-content {
    max-height: min(320px, 40vh);
  }

  .dash-quiz__child-item {
    padding: 14px;
  }
}

@media (max-width: 768px) {
  .dash-quiz__passage-content {
    max-height: min(260px, 35vh);
  }
}

@media (max-width: 576px) {
  .dash-quiz__passage {
    top: 62px;
    padding: 12px;
    border-radius: var(--radius-md);
  }

  .dash-quiz__passage-label {
    margin-bottom: 8px;
  }

  .dash-quiz__passage-content {
    font-size: 14px;
    max-height: min(220px, 30vh);
  }

  .dash-quiz__child-item {
    padding: 12px;
    border-radius: var(--radius-md);
  }

  .dash-quiz__child-header {
    margin-bottom: 12px;
  }

  .dash-quiz__child-prompt {
    font-size: 14px;
  }

  .knv-blank-num {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
}
