/* v117 · Visible engineering XP provenance */

html:not(.react-student-embedded) body[data-active-panel="question-bank"] .training-rpg-hero {
  align-items: stretch !important;
}

html:not(.react-student-embedded) body[data-active-panel="question-bank"] .training-rpg-hero > div:first-child {
  display: grid !important;
  align-content: center !important;
}

html:not(.react-student-embedded) body[data-active-panel="question-bank"] .training-rpg-xp {
  width: min(390px, 42%) !important;
  min-width: 340px !important;
  gap: 7px !important;
  padding: 14px 15px 13px !important;
}

html:not(.react-student-embedded) body[data-active-panel="question-bank"] .training-rpg-xp > .training-rpg-xp-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

html:not(.react-student-embedded) body[data-active-panel="question-bank"] .training-rpg-xp-sources {
  min-width: 0 !important;
  display: grid !important;
  gap: 7px !important;
  margin-top: 4px !important;
  padding-top: 9px !important;
  border-top: 1px solid rgba(99, 102, 241, 0.12) !important;
}

html:not(.react-student-embedded) body[data-active-panel="question-bank"] .training-rpg-xp-sources > header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

html:not(.react-student-embedded) body[data-active-panel="question-bank"] .training-rpg-xp-sources > header span {
  color: #475569 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

html:not(.react-student-embedded) body[data-active-panel="question-bank"] .training-rpg-xp-sources > header em {
  color: #94a3b8 !important;
  font-size: 10px !important;
  font-style: normal !important;
  font-weight: 750 !important;
}

html:not(.react-student-embedded) body[data-active-panel="question-bank"] .training-rpg-xp-sources ul {
  display: grid !important;
  gap: 5px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

html:not(.react-student-embedded) body[data-active-panel="question-bank"] .training-rpg-xp-sources li {
  min-width: 0 !important;
  min-height: 34px !important;
  display: grid !important;
  grid-template-columns: 72px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 4px 9px !important;
  border: 1px solid rgba(148, 163, 184, 0.14) !important;
  border-radius: 9px !important;
  background: rgba(248, 250, 252, 0.86) !important;
}

html:not(.react-student-embedded) body[data-active-panel="question-bank"] .training-rpg-xp-sources li b {
  min-height: 23px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 7px !important;
  border-radius: 7px !important;
  color: #059669 !important;
  background: rgba(16, 185, 129, 0.1) !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
}

html:not(.react-student-embedded) body[data-active-panel="question-bank"] .training-rpg-xp-sources li span {
  overflow: hidden !important;
  color: #334155 !important;
  font-size: 11px !important;
  font-weight: 780 !important;
  letter-spacing: 0 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-theme="dark"]:not(.react-student-embedded) body[data-active-panel="question-bank"] .training-rpg-xp-sources li {
  border-color: rgba(129, 140, 248, 0.16) !important;
  background: rgba(30, 41, 59, 0.72) !important;
}

html[data-theme="dark"]:not(.react-student-embedded) body[data-active-panel="question-bank"] .training-rpg-xp-sources > header span,
html[data-theme="dark"]:not(.react-student-embedded) body[data-active-panel="question-bank"] .training-rpg-xp-sources li span {
  color: #dbeafe !important;
}

@media (max-width: 1060px) {
  html:not(.react-student-embedded) body[data-active-panel="question-bank"] .training-rpg-xp {
    width: min(380px, 48%) !important;
    min-width: 310px !important;
  }
}

@media (max-width: 760px) {
  html:not(.react-student-embedded) body[data-active-panel="question-bank"] .training-rpg-hero {
    display: grid !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="question-bank"] .training-rpg-xp {
    width: 100% !important;
    min-width: 0 !important;
  }
}
