/* ============================================================
   ScenarioQ — MCQ Practice Page Theme (Nature-Inspired)
   Warm ivory · Forest green #176B43 · Pale green #E8F3E9
   ============================================================ */

.practice-page-main {
  padding-top: 1.25rem !important;
  padding-bottom: 3.5rem !important;
  max-width: 1240px;
  margin: 0 auto;
}

.practice-root {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ─── Practice Header Bar ─── */
.practice-header-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 1.15rem 1.65rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(48, 166, 112, 0.22);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(20, 55, 36, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.practice-header-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #176B43 0%, #2a734a 50%, #48a670 100%);
}

.practice-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.practice-header-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #176B43;
}

.practice-header-eyebrow i {
  font-size: 0.8rem;
}

.practice-header-title {
  font-size: 1.35rem;
  font-weight: 850;
  color: #143724;
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.practice-header-subtitle {
  font-size: 0.85rem;
  color: var(--nature-muted);
  margin: 0;
}

.practice-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.practice-counter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  background: #eaf6ee;
  border: 1px solid rgba(48, 166, 112, 0.25);
  border-radius: 999px;
  color: #176B43;
  font-size: 0.88rem;
  font-weight: 750;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(20, 55, 36, 0.04);
}

.practice-bookmark-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(48, 166, 112, 0.28);
  background: #ffffff;
  color: #536959;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 2px 8px rgba(20, 55, 36, 0.04);
}

.practice-bookmark-btn:hover {
  background: #eaf6ee;
  color: #176B43;
  border-color: #176B43;
  transform: scale(1.08);
}

.practice-bookmark-btn.bookmarked {
  background: #eaf6ee;
  border-color: #176B43;
  color: #176B43;
  box-shadow: 0 0 0 3px rgba(23, 107, 67, 0.18);
}

.practice-bookmark-btn.bookmarked i {
  color: #176B43 !important;
}

.btn-end-session {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(48, 166, 112, 0.25);
  background: #ffffff;
  color: var(--nature-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-end-session:hover {
  background: #fdf2f2;
  border-color: #e53e3e;
  color: #c53030;
}

/* ─── Practice Layout ─── */
.practice-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  align-items: start;
  transition: grid-template-columns 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.practice-layout.has-scenario {
  grid-template-columns: 260px 1fr 310px;
}

.practice-layout.nav-collapsed {
  grid-template-columns: 56px 1fr;
}

.practice-layout.nav-collapsed.has-scenario {
  grid-template-columns: 56px 1fr 310px;
}

/* ─── Question Navigator (Left) ─── */
.question-navigator {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(48, 166, 112, 0.22);
  border-radius: 20px;
  padding: 1.15rem;
  position: sticky;
  top: 86px;
  box-shadow: 0 10px 28px rgba(20, 55, 36, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.nav-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.95rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(48, 166, 112, 0.14);
}

.nav-header-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #143724;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-header-title i {
  color: #176B43;
  font-size: 0.88rem;
}

.nav-collapse-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(48, 166, 112, 0.22);
  background: #ffffff;
  color: var(--nature-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.nav-collapse-btn:hover {
  background: #eaf6ee;
  color: #176B43;
}

/* Slim collapsed navigator representation */
.question-navigator.collapsed {
  padding: 0.75rem 0.45rem;
  text-align: center;
}

.question-navigator.collapsed .nav-header-title,
.question-navigator.collapsed .chip-grid,
.question-navigator.collapsed .nav-legend {
  display: none !important;
}

.question-navigator.collapsed .nav-collapsed-expand-btn {
  display: flex !important;
}

.nav-collapsed-expand-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  border: none;
  background: transparent;
  color: #176B43;
  cursor: pointer;
  padding: 0.5rem 0;
  font-weight: 700;
  font-size: 0.75rem;
}

.nav-collapsed-expand-btn i {
  font-size: 1.1rem;
}

.nav-collapsed-expand-btn span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Chip Grid */
.chip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.nav-chip {
  aspect-ratio: 1 / 1;
  min-height: 38px;
  border: 1.5px solid rgba(48, 166, 112, 0.22);
  background: #faf8f4;
  color: #2e4334;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.18s ease;
  user-select: none;
}

.nav-chip:hover {
  background: #eaf6ee;
  border-color: #176B43;
  color: #143724;
  transform: translateY(-1px);
}

/* Active current question */
.nav-chip.active {
  background: #eaf6ee !important;
  border-color: #176B43 !important;
  color: #143724 !important;
  font-weight: 850 !important;
  box-shadow: 0 0 0 2.5px rgba(23, 107, 67, 0.25) !important;
}

/* Answered (selected but not submitted) */
.nav-chip.answered {
  background: #e8f5ec;
  border-color: #72b88f;
  color: #176B43;
}

/* Submitted (validated answer) */
.nav-chip.submitted {
  background: #176B43;
  border-color: #176B43;
  color: #ffffff !important;
}

/* Bookmark indicator dot */
.nav-chip.review::after {
  content: '';
  position: absolute;
  top: 3px;
  right: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d97706;
  border: 1px solid #ffffff;
}

.nav-chip.submitted.review::after {
  background: #fbbf24;
}

/* Solved checkmark prefix */
.nav-chip .chip-check {
  font-size: 0.72rem;
  margin-right: 1px;
}

/* Navigator Legend */
.nav-legend {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(48, 166, 112, 0.14);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  color: var(--nature-muted);
  font-weight: 500;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid rgba(48, 166, 112, 0.25);
  flex-shrink: 0;
}

.legend-dot.dot-active {
  background: #eaf6ee;
  border: 2px solid #176B43;
}

.legend-dot.dot-answered {
  background: #e8f5ec;
  border-color: #72b88f;
}

.legend-dot.dot-submitted {
  background: #176B43;
  border-color: #176B43;
}

.legend-dot.dot-review {
  background: #faf8f4;
  position: relative;
}

.legend-dot.dot-review::after {
  content: '';
  position: absolute;
  top: 1px;
  right: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d97706;
}

/* ─── Mobile Navigator Trigger & Overlay ─── */
.mobile-nav-trigger-bar {
  display: none;
  margin-bottom: 0.5rem;
}

.btn-mobile-nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  background: #ffffff;
  border: 1.5px solid rgba(48, 166, 112, 0.28);
  border-radius: 12px;
  color: #143724;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(20, 55, 36, 0.05);
}

.btn-mobile-nav-toggle i {
  color: #176B43;
}

.nav-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(19, 36, 25, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
}

.nav-drawer-backdrop.active {
  display: block;
}

/* ─── Main Question Card ─── */
.question-card {
  background: #ffffff;
  border: 1px solid rgba(48, 166, 112, 0.22);
  border-radius: 22px;
  padding: clamp(1.5rem, 3.2vw, 2.35rem);
  box-shadow: 0 14px 38px rgba(20, 55, 36, 0.06);
  position: relative;
  overflow: hidden;
}

.question-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(48, 166, 112, 0.14);
}

.question-meta-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.question-num-pill {
  font-size: 0.82rem;
  font-weight: 800;
  color: #176B43;
  background: #eaf6ee;
  border: 1px solid rgba(48, 166, 112, 0.25);
  border-radius: 999px;
  padding: 0.22rem 0.75rem;
  letter-spacing: 0.02em;
}

.question-solved-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e5235;
  background: #d8f3dc;
  border: 1px solid rgba(30, 82, 53, 0.28);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
}

.question-review-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid rgba(217, 119, 6, 0.3);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
}

/* Question Title */
.question-title {
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 750;
  color: #143724;
  margin: 1.15rem 0 0.85rem 0;
  line-height: 1.48;
  letter-spacing: -0.015em;
}

.question-description {
  font-size: 0.94rem;
  color: #4a6353;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

/* Code Block */
.code-block {
  margin: 1rem 0 1.25rem 0;
  background: #0d1b13;
  border: 1px solid rgba(48, 166, 112, 0.28);
  border-radius: 14px;
  overflow-x: auto;
  padding: 1rem 1.25rem;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.25);
}

.code-block code {
  font-family: 'Fira Code', 'Cascadia Code', Consolas, Monaco, monospace;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #d1fae5;
  white-space: pre;
}

/* ─── MCQ Options List ─── */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.option-item {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.95rem 1.25rem;
  background: #ffffff;
  border: 1.5px solid rgba(48, 166, 112, 0.22);
  border-radius: 14px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  user-select: none;
  min-height: 56px;
}

.option-item:hover {
  background: #f6fbf8;
  border-color: #176B43;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(20, 55, 36, 0.05);
}

/* Native radio / checkbox (accessible but hidden) */
.option-item input[type="radio"],
.option-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Option letter container */
.option-id {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 10px;
  background: #f4faf6;
  border: 1.5px solid rgba(48, 166, 112, 0.3);
  color: #176B43;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

/* Option text */
.option-text {
  font-size: 0.98rem;
  color: #1a3524;
  line-height: 1.5;
  flex: 1 1 auto;
  word-break: break-word;
  font-weight: 500;
}

/* Option Result Status Icon (Right) */
.option-status-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.option-status-icon.correct {
  color: #176B43;
}

.option-status-icon.incorrect {
  color: #e53e3e;
}

/* State: Selected (before submit) */
.option-item.selected {
  background: #eaf6ee !important;
  border-color: #176B43 !important;
  border-width: 2px !important;
  box-shadow: 0 4px 14px rgba(23, 107, 67, 0.1) !important;
}

.option-item.selected .option-id {
  background: #176B43 !important;
  color: #ffffff !important;
  border-color: #176B43 !important;
}

.option-item.selected .option-text {
  color: #10331e;
  font-weight: 600;
}

/* State: Correct answer (after submit) */
.option-item.status-correct {
  background: #eaf6ee !important;
  border-color: #176B43 !important;
  border-width: 2px !important;
}

.option-item.status-correct .option-id {
  background: #176B43 !important;
  color: #ffffff !important;
  border-color: #176B43 !important;
}

.option-item.status-correct .option-text {
  color: #0b341c !important;
  font-weight: 700 !important;
}

/* State: Incorrect selected answer (after submit) */
.option-item.status-incorrect {
  background: #fdf2f2 !important;
  border-color: #e53e3e !important;
  border-width: 2px !important;
}

.option-item.status-incorrect .option-id {
  background: #e53e3e !important;
  color: #ffffff !important;
  border-color: #e53e3e !important;
}

.option-item.status-incorrect .option-text {
  color: #742a2a !important;
  font-weight: 600 !important;
}

/* State: Correct answer revealed when learner picked wrong */
.option-item.status-revealed {
  background: #f0f9f3 !important;
  border: 2px dashed #176B43 !important;
}

.option-item.status-revealed .option-id {
  background: #176B43 !important;
  color: #ffffff !important;
  border-color: #176B43 !important;
}

.option-item.status-revealed .option-text {
  color: #0d3822 !important;
  font-weight: 700 !important;
}

/* When question is submitted, disable pointer hover effects */
.option-item.submitted-locked {
  cursor: default;
}

.option-item.submitted-locked:hover {
  transform: none;
}

/* Keyboard focus */
.option-item:focus-within {
  outline: 2px solid #176B43;
  outline-offset: 2px;
}

/* ─── Action Buttons Row ─── */
.question-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(48, 166, 112, 0.16);
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
  min-height: 46px;
  user-select: none;
  padding: 0 1.5rem;
}

/* Previous & Next (Outlined Forest Green) */
.btn-action-prev,
.btn-action-next {
  background: #ffffff;
  border: 1.5px solid #176B43;
  color: #176B43;
  box-shadow: 0 2px 6px rgba(20, 55, 36, 0.04);
}

.btn-action-prev:hover:not(:disabled),
.btn-action-next:hover:not(:disabled) {
  background: #eaf6ee;
  color: #143724;
  border-color: #143724;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(23, 107, 67, 0.12);
}

.btn-action-prev:disabled,
.btn-action-next:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  border-color: rgba(48, 166, 112, 0.25);
  color: var(--nature-muted);
  box-shadow: none;
  transform: none;
}

/* Submit Answer (Prominent Filled Forest Green) */
.btn-action-submit {
  background: #176B43;
  border: 1.5px solid #176B43;
  color: #ffffff;
  padding: 0 2.25rem;
  font-size: 0.96rem;
  box-shadow: 0 4px 16px rgba(23, 107, 67, 0.28);
}

.btn-action-submit:hover:not(:disabled) {
  background: #125434;
  border-color: #125434;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(23, 107, 67, 0.36);
}

.btn-action-submit:disabled {
  opacity: 0.55;
  background: #8aa595;
  border-color: #8aa595;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* ─── Feedback & Explanation Panel ─── */
.mcq-feedback-panel {
  margin-top: 1.5rem;
  border-radius: 16px;
  padding: 1.35rem 1.6rem;
  box-shadow: 0 4px 16px rgba(20, 55, 36, 0.04);
  animation: feedbackSlideIn 0.3s ease-out;
}

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

.mcq-feedback-panel.correct {
  background: #eaf6ee;
  border: 1.5px solid #176B43;
}

.mcq-feedback-panel.incorrect {
  background: #fdf2f2;
  border: 1.5px solid #e53e3e;
}

.mcq-feedback-panel.neutral {
  background: #f4f6fa;
  border: 1.5px solid #64748b;
}

.feedback-header-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.feedback-status-icon {
  font-size: 1.4rem;
  line-height: 1;
  margin-top: 2px;
  flex-shrink: 0;
}

.mcq-feedback-panel.correct .feedback-status-icon {
  color: #176B43;
}

.mcq-feedback-panel.incorrect .feedback-status-icon {
  color: #e53e3e;
}

.feedback-status-title {
  font-size: 1.12rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.25;
}

.mcq-feedback-panel.correct .feedback-status-title {
  color: #143724;
}

.mcq-feedback-panel.incorrect .feedback-status-title {
  color: #991b1b;
}

.feedback-status-sub {
  font-size: 0.85rem;
  color: var(--nature-muted);
  margin: 0.2rem 0 0 0;
}

.mcq-feedback-panel.incorrect .feedback-status-sub {
  color: #7f1d1d;
}

/* Correct Answer Callout */
.feedback-correct-callout {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  border: 1px solid rgba(48, 166, 112, 0.28);
  border-radius: 10px;
  padding: 0.65rem 0.95rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: #143724;
}

.feedback-correct-callout strong {
  font-weight: 800;
}

.correct-option-badge {
  background: #eaf6ee;
  border: 1.5px solid #176B43;
  color: #176B43;
  font-weight: 800;
  border-radius: 6px;
  padding: 0.15rem 0.55rem;
  font-size: 0.85rem;
}

/* Explanation Block */
.feedback-explanation {
  background: #ffffff;
  border: 1px solid rgba(48, 166, 112, 0.2);
  border-radius: 12px;
  padding: 1rem 1.2rem;
}

.explanation-kicker {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #176B43;
  margin-bottom: 0.45rem;
}

.explanation-kicker i {
  color: #d97706;
}

.explanation-text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #233e2d;
  margin: 0;
}

/* ─── Scenario Panel (If Mode is Scenario) ─── */
.scenario-panel {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: sticky;
  top: 86px;
}

.callout {
  background: #ffffff;
  border: 1px solid rgba(48, 166, 112, 0.22);
  border-radius: 16px;
  padding: 1rem 1.15rem;
  box-shadow: 0 4px 14px rgba(20, 55, 36, 0.04);
}

.callout h4 {
  margin: 0 0 0.4rem 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: #143724;
}

.callout p,
.callout li {
  font-size: 0.85rem;
  color: #4a6353;
  line-height: 1.55;
}

.callout ul {
  margin: 0;
  padding-left: 1.15rem;
}

/* ─── Session Summary Card ─── */
.state-card {
  background: #ffffff;
  border: 1px solid rgba(48, 166, 112, 0.25);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 600px;
  margin: 2rem auto;
  box-shadow: 0 16px 40px rgba(20, 55, 36, 0.08);
}

.state-card h2 {
  font-size: 1.85rem;
  font-weight: 850;
  color: #143724;
  margin: 0 0 0.5rem 0;
}

.state-card p {
  color: var(--nature-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.summary-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.75rem 0;
}

.summary-stat-box {
  background: #faf8f4;
  border: 1px solid rgba(48, 166, 112, 0.2);
  border-radius: 14px;
  padding: 1rem 0.5rem;
}

.summary-stat-box strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 850;
  color: #143724;
}

.summary-stat-box span {
  font-size: 0.76rem;
  color: var(--nature-muted);
  font-weight: 600;
  text-transform: uppercase;
}

/* ─── Responsive Media Queries ─── */
@media (max-width: 1040px) {
  .practice-layout,
  .practice-layout.has-scenario {
    grid-template-columns: 240px 1fr;
  }

  .scenario-panel {
    grid-column: 1 / -1;
    position: static;
  }
}

@media (max-width: 860px) {
  .practice-layout,
  .practice-layout.has-scenario,
  .practice-layout.nav-collapsed {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Question Navigator as a mobile slide-over drawer */
  .mobile-nav-trigger-bar {
    display: block;
  }

  .question-navigator {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 290px;
    max-width: 85vw;
    z-index: 999;
    border-radius: 0 20px 20px 0;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .question-navigator.mobile-open {
    transform: translateX(0);
  }

  .nav-header-row .nav-collapse-btn {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .practice-header-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.15rem 1.25rem;
    gap: 0.85rem;
  }

  .practice-header-right {
    width: 100%;
    justify-content: space-between;
  }

  .question-card {
    padding: 1.25rem 1.15rem;
    border-radius: 18px;
  }

  .question-title {
    font-size: 1.1rem;
  }

  .option-item {
    padding: 0.85rem 1rem;
    gap: 0.75rem;
  }

  .option-id {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 0.85rem;
  }

  .option-text {
    font-size: 0.92rem;
  }

  /* Responsive action buttons on mobile */
  .question-actions-row {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .btn-action-submit {
    order: -1;
    width: 100%;
    padding: 0.85rem 1.5rem;
  }

  .btn-action-prev,
  .btn-action-next {
    flex: 1 1 calc(50% - 0.4rem);
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
  }

  .summary-stats-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}
