/* v119 · Waveform Lab learning / engineering dual-track experience */

/* Learning surfaces must switch together with the global night text palette. */
html[data-theme="dark"] #waveformTrainingBoard .waveform-learning-shell {
  color: #edf4ff !important;
}
html[data-theme="dark"] #waveformTrainingBoard :is(.waveform-learning-topbar, .waveform-learning-question-card, .waveform-learning-coach-card, .waveform-learning-case-tabs) {
  background: #111e31 !important;
  border-color: #33455f !important;
  box-shadow: 0 12px 32px rgb(0 0 0 / 15%) !important;
}
html[data-theme="dark"] #waveformTrainingBoard :is(.waveform-experience-switch, .waveform-learning-feedback, .waveform-learning-next-action, .waveform-learning-guardrail, .waveform-learning-coach-hint li, .waveform-learning-options button, .waveform-learning-secondary, .waveform-learning-engineering-link, .waveform-learning-evidence > strong, .waveform-learning-question-card > header > em) {
  background: #1c2c43 !important;
  border-color: #3c506d !important;
  color: #e0eafa !important;
}
html[data-theme="dark"] #waveformTrainingBoard .waveform-learning-shell :is(h2,h3,h4,strong,b) {
  color: #edf4ff !important;
}
html[data-theme="dark"] #waveformTrainingBoard .waveform-learning-shell :is(p,small,em,i,.waveform-learning-case-tabs button,.waveform-learning-progress span,.waveform-learning-evidence > span,.waveform-learning-next-action > span,.waveform-learning-coach-hint > span,.waveform-learning-actions > span,.waveform-experience-switch button) {
  color: #b8c9df !important;
}
html[data-theme="dark"] #waveformTrainingBoard :is(.waveform-experience-switch button.active,.waveform-learning-case-tabs button.active,.waveform-learning-options button.selected) {
  background: #263c67 !important;
  border-color: #7b9dff !important;
  color: #d7e4ff !important;
}
html[data-theme="dark"] #waveformTrainingBoard :is(.waveform-learning-kicker,.waveform-learning-coach-title span,.waveform-learning-case-tabs button.active span) {
  color: #a6baff !important;
}
html[data-theme="dark"] #waveformTrainingBoard :is(.waveform-learning-step,.waveform-learning-choice-head > span,.waveform-learning-options button > span,.waveform-learning-coach-hint li > i) {
  color: #e0eaff !important;
  background: #304774 !important;
}
html[data-theme="dark"] #waveformTrainingBoard :is(.waveform-learning-options button.correct,.waveform-learning-score.good) {
  background: #173b33 !important;
  border-color: #4dac86 !important;
}
html[data-theme="dark"] #waveformTrainingBoard :is(.waveform-learning-options button.wrong,.waveform-learning-score.retry) {
  background: #3f2736 !important;
  border-color: #b87788 !important;
}
html[data-theme="dark"] #waveformTrainingBoard .waveform-learning-score > span {
  color: #cfdfec !important;
}
html[data-theme="dark"] #waveformTrainingBoard .waveform-learning-score.good > strong { color: #78e8bb !important; }
html[data-theme="dark"] #waveformTrainingBoard .waveform-learning-score.retry > strong { color: #ffb1b7 !important; }
html[data-theme="dark"] #waveformTrainingBoard .waveform-learning-preview {
  background: #0c1729 !important;
  border-color: #405471 !important;
}
html[data-theme="dark"] #waveformTrainingBoard .wave-learn-bg { fill: #0c1729 !important; }
html[data-theme="dark"] #waveformTrainingBoard .wave-learn-grid { color: #344962 !important; }
html[data-theme="dark"] #waveformTrainingBoard .wave-learn-line.primary { stroke: #91a1ff !important; }
html[data-theme="dark"] #waveformTrainingBoard .wave-learn-cursor text { fill: #ffa5ab !important; }
html[data-theme="dark"] #waveformTrainingBoard :is(.waveform-learning-options button:hover:not(:disabled),.waveform-learning-case-tabs button:hover,.waveform-experience-switch button:hover) { background: #2c3e5d !important; }

html:not(.react-student-embedded) body[data-active-panel="waveform-lab"] #waveformTrainingBoard {
  padding-bottom: 104px !important;
}

html:not(.react-student-embedded) .waveform-learning-shell {
  width: min(1540px, 100%) !important;
  margin: 0 auto !important;
  display: grid !important;
  gap: 18px !important;
  color: #172033 !important;
}

html:not(.react-student-embedded) .waveform-learning-topbar {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 570px) !important;
  align-items: center !important;
  gap: 28px !important;
  padding: 26px 30px !important;
  border: 1px solid #e5eaf2 !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 4% 4%, rgba(77, 112, 255, 0.09), transparent 24%),
    #ffffff !important;
  box-shadow: 0 16px 40px rgba(20, 32, 61, 0.07) !important;
}

html:not(.react-student-embedded) .waveform-learning-topbar > div:first-child {
  min-width: 0 !important;
}

html:not(.react-student-embedded) .waveform-learning-kicker {
  margin: 0 0 7px !important;
  color: #4f6ef7 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
  letter-spacing: 0.11em !important;
}

html:not(.react-student-embedded) .waveform-learning-topbar h2 {
  margin: 0 !important;
  color: #111a2c !important;
  font-size: clamp(24px, 2.1vw, 34px) !important;
  line-height: 1.24 !important;
  font-weight: 950 !important;
  letter-spacing: -0.035em !important;
}

html:not(.react-student-embedded) .waveform-learning-topbar > div:first-child > p:last-child {
  margin: 9px 0 0 !important;
  color: #66738a !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  font-weight: 650 !important;
}

html:not(.react-student-embedded) .waveform-experience-switch {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 5px !important;
  padding: 5px !important;
  border: 1px solid #dfe5ef !important;
  border-radius: 15px !important;
  background: #f4f6fa !important;
}

html:not(.react-student-embedded) .waveform-experience-switch button {
  min-width: 0 !important;
  min-height: 58px !important;
  display: grid !important;
  align-content: center !important;
  gap: 3px !important;
  padding: 9px 13px !important;
  border: 1px solid transparent !important;
  border-radius: 11px !important;
  background: transparent !important;
  color: #69758a !important;
  text-align: left !important;
  cursor: pointer !important;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, color 0.16s ease !important;
}

html:not(.react-student-embedded) .waveform-experience-switch button:hover {
  color: #263650 !important;
  background: rgba(255, 255, 255, 0.72) !important;
}

html:not(.react-student-embedded) .waveform-experience-switch button.active {
  border-color: rgba(79, 110, 247, 0.22) !important;
  background: #ffffff !important;
  color: #3556e8 !important;
  box-shadow: 0 6px 18px rgba(46, 71, 136, 0.1) !important;
}

html:not(.react-student-embedded) .waveform-experience-switch button span {
  overflow: hidden !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html:not(.react-student-embedded) .waveform-experience-switch button small {
  overflow: hidden !important;
  color: #8490a4 !important;
  font-size: 10px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html:not(.react-student-embedded) .waveform-experience-switch button.active small {
  color: #7182c3 !important;
}

html:not(.react-student-embedded) .waveform-learning-case-tabs {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(112px, 1fr)) !important;
  gap: 8px !important;
  padding: 6px !important;
  overflow-x: auto !important;
  border: 1px solid #e5eaf2 !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 10px 28px rgba(20, 32, 61, 0.045) !important;
  scrollbar-width: none !important;
}

html:not(.react-student-embedded) .waveform-learning-case-tabs::-webkit-scrollbar {
  display: none !important;
}

html:not(.react-student-embedded) .waveform-learning-case-tabs button {
  min-width: 112px !important;
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 8px 10px !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: #66738a !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

html:not(.react-student-embedded) .waveform-learning-case-tabs button span {
  color: #9aa5b7 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
}

html:not(.react-student-embedded) .waveform-learning-case-tabs button:hover {
  background: #f5f7fb !important;
  color: #35445d !important;
}

html:not(.react-student-embedded) .waveform-learning-case-tabs button.active {
  border-color: rgba(79, 110, 247, 0.2) !important;
  background: #eef2ff !important;
  color: #3f5ce0 !important;
}

html:not(.react-student-embedded) .waveform-learning-case-tabs button.active span {
  color: #5d76e8 !important;
}

html:not(.react-student-embedded) .waveform-learning-workbench {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 340px !important;
  align-items: start !important;
  gap: 18px !important;
}

html:not(.react-student-embedded) .waveform-learning-question-card,
html:not(.react-student-embedded) .waveform-learning-coach-card {
  min-width: 0 !important;
  border: 1px solid #e3e8f1 !important;
  border-radius: 22px !important;
  background: #ffffff !important;
  box-shadow: 0 18px 44px rgba(20, 32, 61, 0.065) !important;
}

html:not(.react-student-embedded) .waveform-learning-question-card {
  padding: 26px !important;
}

html:not(.react-student-embedded) .waveform-learning-question-card > header {
  min-width: 0 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 20px !important;
  margin-bottom: 18px !important;
}

html:not(.react-student-embedded) .waveform-learning-question-card > header > div {
  min-width: 0 !important;
}

html:not(.react-student-embedded) .waveform-learning-step,
html:not(.react-student-embedded) .waveform-learning-choice-head > span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 24px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  background: #eef2ff !important;
  color: #4d67d8 !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: 0.05em !important;
}

html:not(.react-student-embedded) .waveform-learning-question-card > header h3 {
  margin: 10px 0 0 !important;
  color: #111a2c !important;
  font-size: clamp(25px, 2.4vw, 38px) !important;
  line-height: 1.2 !important;
  font-weight: 950 !important;
  letter-spacing: -0.035em !important;
}

html:not(.react-student-embedded) .waveform-learning-question-card > header p {
  max-width: 760px !important;
  margin: 9px 0 0 !important;
  color: #66738a !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
  font-weight: 650 !important;
}

html:not(.react-student-embedded) .waveform-learning-question-card > header > em {
  flex: 0 0 auto !important;
  min-height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 11px !important;
  border: 1px solid #dbe4ff !important;
  border-radius: 9px !important;
  background: #f7f9ff !important;
  color: #5c6fba !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-style: normal !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
}

html:not(.react-student-embedded) .waveform-learning-preview {
  width: 100% !important;
  height: auto !important;
  min-height: 176px !important;
  display: block !important;
  overflow: hidden !important;
  border: 1px solid #dfe6f2 !important;
  border-radius: 18px !important;
  background: #f8faff !important;
}

html:not(.react-student-embedded) .waveform-learning-preview .wave-learn-bg {
  fill: #f8faff !important;
}

html:not(.react-student-embedded) .waveform-learning-preview .wave-learn-grid {
  color: rgba(112, 132, 168, 0.11) !important;
}

html:not(.react-student-embedded) .waveform-learning-preview .wave-learn-line {
  fill: none !important;
  stroke-width: 4 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  vector-effect: non-scaling-stroke !important;
}

html:not(.react-student-embedded) .waveform-learning-preview .wave-learn-line.primary {
  stroke: #4f6ef7 !important;
}

html:not(.react-student-embedded) .waveform-learning-preview .wave-learn-line.secondary {
  stroke: #f59e0b !important;
}

html:not(.react-student-embedded) .waveform-learning-preview .wave-learn-line.marker {
  stroke: #f05252 !important;
  stroke-width: 2 !important;
  stroke-dasharray: 5 5 !important;
}

html:not(.react-student-embedded) .waveform-learning-preview .wave-learn-cursor line {
  stroke: #f05252 !important;
  stroke-width: 1.5 !important;
  stroke-dasharray: 5 5 !important;
}

html:not(.react-student-embedded) .waveform-learning-preview .wave-learn-cursor circle {
  fill: #f05252 !important;
}

html:not(.react-student-embedded) .waveform-learning-preview .wave-learn-cursor text {
  fill: #d13c3c !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

html:not(.react-student-embedded) .waveform-learning-evidence {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 13px 0 0 !important;
}

html:not(.react-student-embedded) .waveform-learning-evidence > span {
  color: #7c879a !important;
  font-size: 11px !important;
  font-weight: 850 !important;
}

html:not(.react-student-embedded) .waveform-learning-evidence > strong {
  min-height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 10px !important;
  border: 1px solid #e0e6ef !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
  color: #43516a !important;
  font-size: 11px !important;
  font-weight: 850 !important;
}

html:not(.react-student-embedded) .waveform-learning-choice-block {
  margin-top: 22px !important;
  padding-top: 21px !important;
  border-top: 1px solid #edf0f5 !important;
}

html:not(.react-student-embedded) .waveform-learning-choice-head h4 {
  margin: 9px 0 0 !important;
  color: #172033 !important;
  font-size: 20px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
}

html:not(.react-student-embedded) .waveform-learning-options {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-top: 14px !important;
}

html:not(.react-student-embedded) .waveform-learning-options button {
  min-width: 0 !important;
  min-height: 96px !important;
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) !important;
  grid-template-rows: 1fr auto !important;
  align-items: center !important;
  column-gap: 10px !important;
  row-gap: 6px !important;
  padding: 14px !important;
  border: 1px solid #dfe5ee !important;
  border-radius: 13px !important;
  background: #ffffff !important;
  color: #334155 !important;
  text-align: left !important;
  cursor: pointer !important;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease !important;
}

html:not(.react-student-embedded) .waveform-learning-options button:hover:not(:disabled) {
  transform: translateY(-2px) !important;
  border-color: #a9b9f7 !important;
  box-shadow: 0 10px 24px rgba(48, 73, 143, 0.1) !important;
}

html:not(.react-student-embedded) .waveform-learning-options button > span {
  width: 34px !important;
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  grid-row: 1 / span 2 !important;
  border-radius: 10px !important;
  background: #f0f3f8 !important;
  color: #607089 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}

html:not(.react-student-embedded) .waveform-learning-options button > div {
  min-width: 0 !important;
  display: grid !important;
  gap: 4px !important;
}

html:not(.react-student-embedded) .waveform-learning-options button strong {
  color: #253147 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
}

html:not(.react-student-embedded) .waveform-learning-options button small {
  color: #8390a4 !important;
  font-size: 10px !important;
  line-height: 1.45 !important;
  font-weight: 650 !important;
}

html:not(.react-student-embedded) .waveform-learning-options button > i {
  grid-column: 2 !important;
  color: #9aa4b5 !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-style: normal !important;
  font-weight: 850 !important;
}

html:not(.react-student-embedded) .waveform-learning-options button.selected {
  border-color: #6b82eb !important;
  background: #f4f6ff !important;
  box-shadow: inset 0 0 0 1px rgba(79, 110, 247, 0.14) !important;
}

html:not(.react-student-embedded) .waveform-learning-options button.selected > span {
  background: #4f6ef7 !important;
  color: #ffffff !important;
}

html:not(.react-student-embedded) .waveform-learning-options button.correct {
  border-color: #4bb889 !important;
  background: #f0fbf6 !important;
}

html:not(.react-student-embedded) .waveform-learning-options button.correct > span {
  background: #21a775 !important;
  color: #ffffff !important;
}

html:not(.react-student-embedded) .waveform-learning-options button.wrong {
  border-color: #ee9a9a !important;
  background: #fff5f5 !important;
}

html:not(.react-student-embedded) .waveform-learning-options button.wrong > span {
  background: #e85d5d !important;
  color: #ffffff !important;
}

html:not(.react-student-embedded) .waveform-learning-options button:disabled {
  cursor: default !important;
  opacity: 1 !important;
}

html:not(.react-student-embedded) .waveform-learning-actions {
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  margin-top: 18px !important;
}

html:not(.react-student-embedded) .waveform-learning-actions > span {
  margin-right: auto !important;
  color: #758196 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
}

html:not(.react-student-embedded) .waveform-learning-primary,
html:not(.react-student-embedded) .waveform-learning-secondary,
html:not(.react-student-embedded) .waveform-learning-engineering-link {
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0 18px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

html:not(.react-student-embedded) .waveform-learning-primary {
  border: 1px solid #4f6ef7 !important;
  background: linear-gradient(135deg, #4b6df5, #6b55ec) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(79, 110, 247, 0.22) !important;
}

html:not(.react-student-embedded) .waveform-learning-primary:disabled {
  border-color: #ccd3df !important;
  background: #dfe4ec !important;
  color: #8792a4 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
}

html:not(.react-student-embedded) .waveform-learning-secondary {
  border: 1px solid #dce2eb !important;
  background: #ffffff !important;
  color: #59667b !important;
}

html:not(.react-student-embedded) .waveform-learning-coach-card {
  position: sticky !important;
  top: 76px !important;
  padding: 20px !important;
}

html:not(.react-student-embedded) .waveform-learning-coach-title {
  display: grid !important;
  gap: 4px !important;
  padding-bottom: 15px !important;
  border-bottom: 1px solid #edf0f5 !important;
}

html:not(.react-student-embedded) .waveform-learning-coach-title span {
  color: #7057e8 !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  font-weight: 950 !important;
  letter-spacing: 0.08em !important;
}

html:not(.react-student-embedded) .waveform-learning-coach-title strong {
  color: #172033 !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
  font-weight: 950 !important;
}

html:not(.react-student-embedded) .waveform-learning-coach-hint {
  margin-top: 17px !important;
}

html:not(.react-student-embedded) .waveform-learning-coach-hint > span,
html:not(.react-student-embedded) .waveform-learning-feedback > span,
html:not(.react-student-embedded) .waveform-learning-next-action > span {
  color: #8a95a6 !important;
  font-size: 10px !important;
  line-height: 1.3 !important;
  font-weight: 850 !important;
}

html:not(.react-student-embedded) .waveform-learning-coach-hint > strong {
  display: block !important;
  margin-top: 4px !important;
  color: #263247 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  font-weight: 900 !important;
}

html:not(.react-student-embedded) .waveform-learning-coach-hint ol {
  display: grid !important;
  gap: 8px !important;
  margin: 13px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

html:not(.react-student-embedded) .waveform-learning-coach-hint li {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: 26px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 9px !important;
  border: 1px solid #e7ebf2 !important;
  border-radius: 10px !important;
  background: #fafbfe !important;
}

html:not(.react-student-embedded) .waveform-learning-coach-hint li > i {
  width: 26px !important;
  height: 26px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  background: #eef2ff !important;
  color: #526de1 !important;
  font-size: 10px !important;
  font-style: normal !important;
  font-weight: 950 !important;
}

html:not(.react-student-embedded) .waveform-learning-coach-hint li > div {
  min-width: 0 !important;
  display: grid !important;
  gap: 2px !important;
}

html:not(.react-student-embedded) .waveform-learning-coach-hint li b {
  color: #334056 !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
}

html:not(.react-student-embedded) .waveform-learning-coach-hint li small {
  color: #8893a5 !important;
  font-size: 9px !important;
  line-height: 1.35 !important;
  font-weight: 650 !important;
}

html:not(.react-student-embedded) .waveform-learning-guardrail {
  margin-top: 14px !important;
  padding: 12px !important;
  border: 1px solid #e6e1fb !important;
  border-radius: 11px !important;
  background: #faf8ff !important;
}

html:not(.react-student-embedded) .waveform-learning-guardrail span {
  color: #6956c5 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
}

html:not(.react-student-embedded) .waveform-learning-guardrail p {
  margin: 5px 0 0 !important;
  color: #736b91 !important;
  font-size: 10px !important;
  line-height: 1.55 !important;
  font-weight: 650 !important;
}

html:not(.react-student-embedded) .waveform-learning-score {
  display: grid !important;
  justify-items: center !important;
  gap: 3px !important;
  margin-top: 17px !important;
  padding: 17px !important;
  border: 1px solid #d8efe5 !important;
  border-radius: 14px !important;
  background: #f2fbf7 !important;
}

html:not(.react-student-embedded) .waveform-learning-score.retry {
  border-color: #f2dddd !important;
  background: #fff7f7 !important;
}

html:not(.react-student-embedded) .waveform-learning-score > span {
  color: #718078 !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
}

html:not(.react-student-embedded) .waveform-learning-score > strong {
  color: #16956a !important;
  font-size: 40px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: -0.05em !important;
}

html:not(.react-student-embedded) .waveform-learning-score.retry > strong {
  color: #d85151 !important;
}

html:not(.react-student-embedded) .waveform-learning-score > strong small {
  margin-left: 3px !important;
  font-size: 12px !important;
  letter-spacing: 0 !important;
}

html:not(.react-student-embedded) .waveform-learning-score > em {
  color: #4e7164 !important;
  font-size: 10px !important;
  line-height: 1.3 !important;
  font-style: normal !important;
  font-weight: 850 !important;
}

html:not(.react-student-embedded) .waveform-learning-feedback,
html:not(.react-student-embedded) .waveform-learning-next-action {
  margin-top: 11px !important;
  padding: 12px !important;
  border: 1px solid #e7ebf2 !important;
  border-radius: 11px !important;
  background: #fafbfe !important;
}

html:not(.react-student-embedded) .waveform-learning-feedback p,
html:not(.react-student-embedded) .waveform-learning-next-action strong {
  display: block !important;
  margin: 5px 0 0 !important;
  color: #46536a !important;
  font-size: 10px !important;
  line-height: 1.62 !important;
  font-weight: 700 !important;
}

html:not(.react-student-embedded) .waveform-learning-progress {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 4px !important;
  margin-top: 16px !important;
  padding-top: 14px !important;
  border-top: 1px solid #edf0f5 !important;
}

html:not(.react-student-embedded) .waveform-learning-progress > div {
  min-width: 0 !important;
  display: grid !important;
  gap: 6px !important;
}

html:not(.react-student-embedded) .waveform-learning-progress span {
  overflow: hidden !important;
  color: #8994a6 !important;
  font-size: 8px !important;
  line-height: 1.2 !important;
  font-weight: 750 !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html:not(.react-student-embedded) .waveform-learning-progress i {
  width: 100% !important;
  height: 4px !important;
  display: block !important;
  border-radius: 99px !important;
  background: #e7eaf0 !important;
}

html:not(.react-student-embedded) .waveform-learning-progress i.active {
  background: #a8b5f4 !important;
}

html:not(.react-student-embedded) .waveform-learning-progress i.done {
  background: #4f6ef7 !important;
}

html:not(.react-student-embedded) .waveform-learning-engineering-link {
  width: 100% !important;
  margin-top: 14px !important;
  border: 1px solid #dce2ec !important;
  background: #ffffff !important;
  color: #4d5c73 !important;
}

html:not(.react-student-embedded) .waveform-learning-engineering-link:hover {
  border-color: #aebcf0 !important;
  color: #425bd0 !important;
  background: #f7f8ff !important;
}

/* Engineering mode keeps the full instrument workbench and exposes the same top-level switch. */
html:not(.react-student-embedded) .waveform-investigation-title > .waveform-experience-switch {
  width: min(560px, 100%) !important;
  margin: 14px 0 12px !important;
}

html:not(.react-student-embedded) .waveform-investigation-title > .waveform-experience-switch button {
  min-height: 52px !important;
}

@media (max-width: 1180px) {
  html:not(.react-student-embedded) .waveform-learning-topbar {
    grid-template-columns: 1fr !important;
  }

  html:not(.react-student-embedded) .waveform-learning-topbar .waveform-experience-switch {
    width: min(640px, 100%) !important;
  }

  html:not(.react-student-embedded) .waveform-learning-workbench {
    grid-template-columns: 1fr !important;
  }

  html:not(.react-student-embedded) .waveform-learning-coach-card {
    position: static !important;
  }
}

@media (max-width: 760px) {
  html:not(.react-student-embedded) .waveform-learning-topbar,
  html:not(.react-student-embedded) .waveform-learning-question-card,
  html:not(.react-student-embedded) .waveform-learning-coach-card {
    padding: 18px !important;
    border-radius: 17px !important;
  }

  html:not(.react-student-embedded) .waveform-experience-switch {
    grid-template-columns: 1fr !important;
  }

  html:not(.react-student-embedded) .waveform-learning-options {
    grid-template-columns: 1fr !important;
  }

  html:not(.react-student-embedded) .waveform-learning-options button {
    min-height: 78px !important;
  }

  html:not(.react-student-embedded) .waveform-learning-question-card > header {
    display: grid !important;
  }

  html:not(.react-student-embedded) .waveform-learning-question-card > header > em {
    justify-self: start !important;
  }

  html:not(.react-student-embedded) .waveform-learning-actions {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  html:not(.react-student-embedded) .waveform-learning-actions > span {
    margin: 0 !important;
  }
}
