:root {
  --uma-ice: #f1faff;
  --uma-cyan: #0095c8;
  --uma-blue: #1e9fe2;
  --uma-midblue: #1d6ba6;
  --uma-navy: #0c4c7d;
  --uma-ink: #0d3553;
  --uma-aqua: #15eac4;
  --uma-warn: #ffcd71;
  --uma-charcoal: #444444;
  --white: #ffffff;
  --line: #dbe8ef;
  --shadow: 0 18px 40px rgba(13, 53, 83, 0.18);
  --radius: 8px;
  --stage-width: 1366px;
  --stage-height: 768px;
  color-scheme: light;
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  --topbar-height: 52px;
  --footer-height: 58px;
}

* {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 4px;
  background: var(--white);
  color: var(--uma-ink);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

body {
  height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  background: #202426;
  color: var(--uma-ink);
}

button,
input {
  font: inherit;
}

.course-shell {
  width: min(100vw - 24px, var(--stage-width));
  height: min(100vh - 24px, var(--stage-height));
  min-height: 0;
  max-height: calc(100vh - 24px);
  display: grid;
  grid-template-rows: var(--topbar-height) minmax(0, 1fr) var(--footer-height);
  overflow: hidden;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.course-topbar,
.course-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  padding: 0 clamp(18px, 2.4vw, 30px);
  z-index: 2;
}

.course-topbar {
  border-bottom: 1px solid var(--line);
}

.course-nav {
  border-top: 1px solid var(--line);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand-mark {
  width: 118px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--uma-cyan);
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-divider {
  width: 3px;
  height: 36px;
  background: #b8bdff;
}

.course-code,
.course-title {
  margin: 0;
  line-height: 1.15;
}

.course-code {
  color: var(--uma-ink);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 700;
}

.course-title {
  color: var(--uma-charcoal);
  font-size: clamp(13px, 1.3vw, 17px);
}

.course-tools {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--uma-midblue);
  font-weight: 800;
}

.progress-label {
  color: #b8b3ae;
  font-size: 18px;
}

.icon-button {
  min-width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--uma-midblue);
  font-weight: 900;
  cursor: pointer;
}

.icon-button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.icon-button.active {
  background: var(--uma-ice);
  box-shadow: inset 0 0 0 2px var(--uma-aqua);
}

.icon-button:hover,
.icon-button:focus-visible {
  outline: 3px solid rgba(21, 234, 196, 0.45);
  background: var(--uma-ice);
}

.slide-root {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: var(--white);
}

.slide {
  height: 100%;
  min-height: 0;
  display: grid;
  overflow: hidden;
}

.hero-slide {
  grid-template-columns: 53% 47%;
  background: var(--white);
  min-height: 100%;
  overflow: hidden;
}

.hero-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: clamp(24px, 6vh, 64px) clamp(36px, 7vw, 92px);
  color: var(--white);
  background: var(--uma-ink);
  border-top-right-radius: 96px;
}

.hero-panel h1,
.break-panel h1 {
  margin: 0;
  font-size: clamp(34px, min(5vw, 8vh), 70px);
  line-height: 1.03;
  letter-spacing: 0;
}

.accent-line {
  width: 146px;
  height: 5px;
  margin: clamp(14px, 3vh, 28px) 0;
  background: var(--uma-aqua);
}

.hero-panel p,
.break-panel p {
  margin: 0;
  max-width: 620px;
  font-size: clamp(18px, min(2.35vw, 3.8vh), 31px);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.86);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: clamp(18px, 4.2vh, 44px);
  color: var(--uma-aqua);
  font-size: 18px;
  font-weight: 700;
}

.hero-image,
.break-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-slide {
  height: 100%;
  min-height: 0;
  padding: clamp(24px, 4vh, 48px) clamp(32px, 4.5vw, 60px);
  display: grid;
  grid-template-columns: 44% 56%;
  gap: clamp(24px, 3vw, 42px);
  align-items: center;
  overflow: hidden;
}

.content-slide.dark {
  background: var(--uma-ink);
  color: var(--white);
}

.content-text h1,
.interaction-panel h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 3.8vw, 48px);
  line-height: 1.1;
  color: var(--uma-ink);
}

.dark .content-text h1,
.dark .interaction-panel h1 {
  color: var(--white);
}

.content-text p,
.interaction-panel p,
.feedback {
  color: var(--uma-charcoal);
  font-size: clamp(19px, 1.8vw, 25px);
  line-height: 1.35;
}

.dark .content-text p {
  color: rgba(255, 255, 255, 0.86);
}

.video-placeholder {
  position: relative;
  min-height: min(300px, 46vh);
  border: 3px dashed rgba(29, 107, 166, 0.5);
  background:
    linear-gradient(135deg, rgba(241, 250, 255, 0.92), rgba(255, 255, 255, 0.96)),
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(0, 149, 200, 0.08) 14px 28px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 34px;
  border-radius: var(--radius);
}

.video-placeholder strong {
  display: block;
  margin-bottom: 12px;
  color: var(--uma-midblue);
  font-size: clamp(24px, 3vw, 32px);
}

.video-placeholder span {
  color: var(--uma-charcoal);
  font-size: 20px;
}

.interaction-slide {
  height: 100%;
  min-height: 0;
  padding: clamp(20px, 3vh, 30px) clamp(30px, 4vw, 50px);
  display: grid;
  grid-template-columns: minmax(330px, 42%) minmax(0, 1fr);
  gap: clamp(20px, 2.5vw, 28px);
  align-items: stretch;
  overflow: hidden;
}

.order-slide {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 8px;
  padding: 14px clamp(18px, 2.8vw, 36px) 12px;
  overflow: hidden;
}

.order-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 28%);
  column-gap: 24px;
  row-gap: 4px;
  min-height: 0;
}

.order-header .kicker {
  grid-column: 1;
  margin: 0;
  color: var(--uma-midblue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.order-header h1 {
  grid-column: 1;
  margin: 0;
  color: var(--uma-ink);
  font-size: clamp(24px, min(2.55vw, 4.3vh), 32px);
  line-height: 1.05;
}

.order-header p {
  grid-column: 1;
  max-width: 900px;
  margin: 0;
  color: var(--uma-charcoal);
  font-size: clamp(14px, min(1.35vw, 2.3vh), 17px);
  line-height: 1.18;
}

.order-status {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  display: grid;
  gap: 7px;
  padding: 10px 12px;
  border: 1px solid #b9d8e8;
  border-radius: var(--radius);
  background: var(--uma-ice);
}

.order-status-text {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}

.order-status-text strong {
  color: var(--uma-ink);
  font-size: 14px;
}

.order-status-text span {
  color: var(--uma-charcoal);
}

.order-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 4px;
  background: #cfe4ee;
}

.order-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #087c62;
  transition: width 180ms ease;
}

.order-workspace {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.43fr) minmax(360px, 0.57fr);
  gap: 42px;
  min-height: 0;
}

.order-card {
  position: relative;
  z-index: 1;
  min-height: 0;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
  box-shadow: 0 8px 22px rgba(13, 53, 83, 0.08);
}

.order-card h2 {
  margin: 0;
  color: var(--uma-ink);
  font-size: 17px;
  line-height: 1.2;
}

.order-card-toolbar {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.order-card-toolbar .check-button {
  flex: 0 0 auto;
  margin: 0;
  padding: 7px 15px;
  font-size: 12px;
}

.order-card-note {
  margin: 0;
  color: var(--uma-charcoal);
  font-size: 12px;
}

.order-card .check-button {
  justify-self: start;
  align-self: start;
  margin-top: 0;
  padding: 9px 20px;
}

.order-card .order-card-toolbar .check-button {
  align-self: center;
  padding: 7px 15px;
}

.order-card .option-stack,
.order-card .drop-stack {
  flex: 1 1 auto;
  min-height: 0;
  overflow: visible;
  padding: 2px 4px 8px 0;
  scrollbar-gutter: stable;
}

.interaction-panel {
  align-self: center;
  max-height: 100%;
  min-height: 0;
  overflow-y: auto;
  padding-right: 10px;
}

.interaction-panel .kicker {
  margin: 0 0 14px;
  color: var(--uma-midblue);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
}

.instruction {
  margin: 0 0 24px;
}

.option-stack,
.drop-stack {
  display: grid;
  gap: 6px;
}

.drop-stack {
  align-content: start;
  grid-auto-rows: max-content;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
  padding-right: 6px;
}

.draggable,
.selectable,
.drop-zone {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  background: var(--white);
  color: var(--uma-ink);
  box-shadow: 0 6px 18px rgba(13, 53, 83, 0.12);
  padding: 11px 16px;
  text-align: left;
  cursor: pointer;
}

.draggable {
  border-color: rgba(0, 149, 200, 0.2);
  justify-content: space-between;
}

.draggable.is-selected {
  border-color: var(--uma-aqua);
  background: var(--uma-ice);
  box-shadow: 0 0 0 3px rgba(21, 234, 196, 0.25);
}

.draggable.is-placed {
  border-color: #4c9d87;
  background: #effaf6;
}

.choice-copy,
.drop-copy {
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.choice-title,
.drop-value {
  overflow-wrap: anywhere;
  font-weight: 700;
}

.choice-state,
.drop-state {
  flex: 0 0 auto;
  color: #55656e;
  font-size: 11px;
}

.is-placed .choice-state,
.filled .drop-state {
  color: #116b54;
  font-weight: 800;
}

.choice-check {
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e3eef4;
  color: var(--uma-midblue);
  font-size: 15px;
  font-weight: 900;
}

.is-placed .choice-check {
  background: #087c62;
  color: var(--white);
}

.draggable[draggable="true"]:active {
  transform: scale(0.99);
}

.drop-zone {
  justify-content: space-between;
  border: 2px dashed rgba(29, 107, 166, 0.5);
  background: var(--uma-ice);
  min-height: 58px;
  height: auto;
  padding: 12px 16px;
}

.sequence-slot {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  border-radius: var(--radius);
}

.sequence-slot.filled {
  box-shadow: inset 4px 0 0 #087c62;
}

.sequence-slot.drag-over .drop-zone {
  border-color: var(--uma-aqua);
  background: #ddfff6;
}

.slot-remove {
  align-self: stretch;
  min-width: 58px;
  border: 1px solid #a9c5d3;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--uma-midblue);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.slot-remove:hover,
.slot-remove:focus-visible {
  outline: 3px solid rgba(21, 234, 196, 0.45);
  outline-offset: 1px;
}

.order-card .draggable,
.order-card .drop-zone {
  min-height: 33px;
  padding: 5px 10px;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(13, 53, 83, 0.08);
}

.order-card .drop-zone {
  border-width: 2px;
}

.order-card .drop-label {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--uma-midblue);
  color: var(--white);
  font-size: 12px;
}

.drop-zone.filled {
  border-style: solid;
  border-color: #4c9d87;
  background: #effaf6;
}

.order-connectors {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.connector-path {
  fill: none;
  stroke: #087c62;
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0.68;
}

.drop-label {
  color: var(--uma-midblue);
  font-weight: 800;
}

.check-button {
  margin-top: 22px;
  border: 0;
  border-radius: 999px;
  background: var(--uma-aqua);
  color: var(--uma-ink);
  font-weight: 900;
  padding: 14px 28px;
  cursor: pointer;
}

.check-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.caption-panel {
  position: sticky;
  bottom: 0;
  margin: 18px 50px 0;
  padding: 14px 18px;
  border-left: 5px solid var(--uma-aqua);
  background: rgba(241, 250, 255, 0.98);
  box-shadow: 0 -4px 18px rgba(13, 53, 83, 0.08);
  color: var(--uma-charcoal);
  font-size: 18px;
  line-height: 1.35;
  z-index: 3;
}

.caption-panel strong {
  color: var(--uma-ink);
}

.scene-frame {
  position: relative;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(13, 53, 83, 0.18);
  background: var(--uma-ice);
}

.scene-frame img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
}

.hotspot {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid var(--white);
  background: rgba(255, 205, 113, 0.92);
  color: var(--uma-ink);
  font-weight: 900;
  box-shadow: 0 0 0 4px rgba(13, 53, 83, 0.22);
  cursor: pointer;
}

.hotspot.selected {
  background: var(--uma-aqua);
}

.hotspot:focus-visible,
.check-button:focus-visible,
.nav-button:focus-visible,
.selectable:focus-visible,
.draggable:focus-visible,
.drop-zone:focus-visible {
  outline: 4px solid rgba(21, 234, 196, 0.5);
  outline-offset: 2px;
}

.select-slide {
  grid-template-columns: minmax(250px, 34%) minmax(0, 66%);
  align-items: stretch;
}

.select-context {
  display: grid;
  grid-template-rows: auto minmax(130px, 1fr);
  gap: 14px;
  min-height: 0;
  overflow: hidden;
}

.select-context .interaction-panel {
  align-self: start;
  overflow: visible;
  padding: 0;
}

.select-context .interaction-panel .kicker {
  margin-bottom: 8px;
  font-size: 14px;
}

.select-context .interaction-panel h1 {
  margin-bottom: 10px;
  font-size: clamp(26px, 2.7vw, 36px);
}

.select-context .instruction {
  margin-bottom: 0;
  font-size: clamp(16px, 1.5vw, 20px);
}

.kit-image {
  width: 100%;
  height: 100%;
  min-height: 130px;
  max-height: 220px;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center 58%;
  box-shadow: 0 8px 22px rgba(13, 53, 83, 0.15);
}

.select-choices-panel {
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.select-choices-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.select-choices-toolbar h2 {
  margin: 0;
  color: var(--uma-ink);
  font-size: 20px;
}

.selection-count {
  flex: 0 0 auto;
  color: var(--uma-midblue);
  font-size: 14px;
  font-weight: 800;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1.4vh, 12px);
  min-height: 0;
  overflow: visible;
  padding: 2px 2px 4px;
}

.select-slide .selectable {
  min-height: 42px;
  justify-content: space-between;
  padding: 8px 12px;
  box-shadow: 0 4px 12px rgba(13, 53, 83, 0.09);
}

.select-indicator {
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e3eef4;
  color: var(--uma-midblue);
  font-size: 16px;
  font-weight: 900;
}

.selectable[aria-pressed="true"] {
  border-color: #087c62;
  background: #effaf6;
}

.selectable[aria-pressed="true"] .select-indicator {
  background: #087c62;
  color: var(--white);
}

.select-choices-panel > .check-button {
  align-self: flex-start;
  margin-top: 12px;
  padding: 10px 22px;
}

.feedback {
  min-height: 34px;
  margin-top: 16px;
  font-size: 18px;
}

.feedback:empty {
  display: none;
}

.sequence-card > .feedback {
  min-height: 0;
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
}

.feedback.good {
  color: #116b54;
  font-weight: 800;
}

.feedback.warn {
  color: #8a5600;
  font-weight: 800;
}

.results-slide {
  height: 100%;
  min-height: 0;
  padding: clamp(28px, 4vh, 46px) clamp(42px, 5vw, 70px);
  display: grid;
  grid-template-columns: 48% 52%;
  gap: clamp(28px, 3.5vw, 44px);
  align-items: center;
  overflow: hidden;
}

.results-score {
  display: grid;
  place-items: center;
  width: clamp(190px, 28vh, 260px);
  height: clamp(190px, 28vh, 260px);
  border-radius: 50%;
  background: var(--uma-ice);
  border: 14px solid var(--uma-aqua);
  color: var(--uma-ink);
}

.results-score strong {
  font-size: clamp(44px, 7vh, 64px);
}

.results-score span {
  font-size: 22px;
  color: var(--uma-charcoal);
}

.competency-list {
  display: grid;
  gap: 14px;
  margin: 22px 0;
}

.competency-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  font-size: 19px;
}

.nav-button {
  min-width: 172px;
  border-radius: 999px;
  padding: 9px 22px;
  border: 2px solid var(--uma-blue);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.nav-button.primary {
  background: var(--uma-aqua);
  border-color: var(--uma-aqua);
  color: var(--uma-ink);
}

.nav-button.secondary {
  background: var(--white);
  color: var(--uma-midblue);
}

.nav-button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.score-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--uma-charcoal);
  font-size: 18px;
}

.score-strip strong {
  color: var(--uma-ink);
  font-size: 22px;
}

.menu-dialog {
  width: min(720px, calc(100vw - 32px));
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0;
}

.menu-dialog::backdrop {
  background: rgba(13, 53, 83, 0.45);
}

.menu-dialog form {
  padding: 24px;
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dialog-header h2 {
  margin: 0;
}

.slide-menu {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 24px;
}

.slide-menu button {
  border: 0;
  background: transparent;
  color: var(--uma-midblue);
  font-weight: 800;
  cursor: pointer;
}

.audio-control {
  margin-top: clamp(12px, 2vh, 22px);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.audio-control audio {
  width: min(360px, 100%);
}

@media (max-width: 900px) {
  body {
    display: block;
    background: var(--white);
  }

  .course-shell {
    width: 100vw;
    min-height: 100vh;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    border-radius: 0;
    grid-template-rows: auto 1fr auto;
  }

  .course-topbar,
  .course-nav {
    padding: 12px 16px;
  }

  .brand-mark,
  .brand-divider {
    display: none;
  }

  .course-tools {
    gap: 6px;
  }

  .hero-slide,
  .content-slide,
  .interaction-slide,
  .order-slide,
  .results-slide {
    display: block;
    padding: 0;
    overflow: visible;
  }

  .hero-panel,
  .break-panel {
    border-radius: 0;
    padding: 40px 24px;
  }

  .hero-image,
  .break-image {
    height: 280px;
  }

  .content-slide,
  .interaction-slide,
  .order-slide,
  .results-slide {
    padding: 26px 20px;
    overflow: visible;
  }

  .slide-root {
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .slide-root::-webkit-scrollbar {
    display: none;
  }

  .order-workspace {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .order-header {
    grid-template-columns: 1fr;
  }

  .order-header .kicker,
  .order-header h1,
  .order-header p,
  .order-status {
    grid-column: 1;
    grid-row: auto;
  }

  .order-connectors {
    display: none;
  }

  .select-choices-panel {
    margin-top: 20px;
  }

  .select-context .kit-image {
    height: 190px;
  }

  .choice-copy,
  .drop-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .order-card {
    margin-top: 14px;
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }

  .course-nav {
    gap: 10px;
    position: sticky;
    bottom: 0;
  }

  .nav-button {
    min-width: 112px;
    font-size: 18px;
  }

  .caption-panel {
    margin: 14px 20px 0;
  }
}

@media (max-width: 560px) {
  .course-topbar,
  .course-nav {
    padding-left: 12px;
    padding-right: 12px;
  }

  .course-title {
    display: none;
  }

  .course-code {
    font-size: 16px;
  }

  .course-tools {
    gap: 2px;
  }

  .progress-label {
    font-size: 14px;
  }

  .icon-button {
    min-width: 32px;
    width: 32px;
  }

  .content-slide,
  .interaction-slide,
  .order-slide,
  .results-slide {
    padding: 22px 14px;
  }

  .order-header h1 {
    font-size: 25px;
  }

  .order-status-text {
    flex-wrap: wrap;
  }

  .sequence-slot {
    grid-template-columns: minmax(0, 1fr);
  }

  .slot-remove {
    justify-self: end;
    min-height: 34px;
    padding: 5px 12px;
  }

  .course-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .nav-button {
    min-width: 0;
    width: 100%;
    max-width: 116px;
    font-size: 16px;
  }

  .nav-button.primary {
    justify-self: end;
  }

  .score-strip span {
    display: none;
  }

  .score-strip strong {
    font-size: 18px;
  }
}

@media (max-height: 760px) and (min-width: 901px) {
  :root {
    --topbar-height: 58px;
    --footer-height: 58px;
  }

  .course-topbar,
  .course-nav {
    padding-left: 30px;
    padding-right: 30px;
  }

  .brand-mark {
    width: 118px;
    height: 38px;
    font-size: 24px;
  }

  .brand-divider {
    height: 38px;
  }

  .hero-panel {
    padding-top: 26px;
    padding-bottom: 20px;
  }

  .hero-panel h1,
  .break-panel h1 {
    font-size: clamp(34px, 6.7vh, 54px);
  }

  .hero-panel p,
  .break-panel p {
    font-size: clamp(18px, 3.2vh, 24px);
    line-height: 1.28;
  }

  .meta-row {
    margin-top: 18px;
    font-size: 15px;
  }

  .nav-button {
    padding: 9px 22px;
    font-size: 18px;
  }
}
