.plum-lesson {
  --plum: #92586d;
  --plum-soft: #f6edf0;
  max-width: 1160px;
  margin: auto;
}
.plum-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 18px 0 24px;
}
.plum-kicker {
  font-size: 11px;
  font-weight: 700;
  color: var(--plum);
  letter-spacing: 0.08em;
}
.plum-heading h1 {
  margin: 5px 0 4px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.3;
}
.plum-heading h1 span {
  font-size: 14px;
  color: #a78e96;
  font-weight: 400;
  margin-left: 12px;
  vertical-align: middle;
}
.plum-heading p {
  color: #69717d;
  margin: 0;
  font-size: 15px;
}
.plum-seal {
  border: 1px solid #c39ca8;
  border-radius: 9px;
  color: var(--plum);
  font: 32px serif;
  padding: 8px 12px;
  transform: rotate(-5deg);
}
.plum-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
  align-items: start;
}
.plum-demo {
  border: 1px solid #e7dfe0;
  border-radius: 20px;
  background: #fcfbf8;
  overflow: hidden;
  min-width: 0;
}
.plum-stage-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: #897b80;
  padding: 16px 22px 0;
}
.plum-stage-heading span:first-child {
  color: #614f58;
  font-weight: 700;
}
.plum-stage {
  display: block;
  width: 100%;
  height: auto;
  min-height: 180px;
}
.plum-phases {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 12px;
  color: #827b7e;
  padding: 8px 12px 16px;
}
.plum-phases .active {
  color: var(--plum);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 7px;
}
.plum-player {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0 22px;
  padding-top: 15px;
  border-top: 1px solid #e9e1e3;
}
.plum-player button {
  border: 1px solid #ddc9cf;
  border-radius: 9px;
  min-height: 42px;
  padding: 8px 12px;
  color: #704053;
  background: #fff;
  white-space: nowrap;
  cursor: pointer;
  font-size: 12px;
}
.plum-player .plum-play {
  background: #8a5266;
  color: white;
  border-color: #8a5266;
  min-width: 100px;
}
.plum-scrubber {
  flex: 1;
  min-width: 0;
  display: flex;
}
.plum-scrubber input {
  width: 100%;
  accent-color: var(--plum);
  cursor: pointer;
  min-height: 40px;
}
.plum-caption {
  min-height: 40px;
  font-size: 13px;
  color: #715d66;
  margin: 12px 22px 15px;
  line-height: 1.6;
}
.plum-research {
  background: #fff;
  border: 1px solid #e2e4e9;
  padding: 22px;
  border-radius: 20px;
}
.plum-research h2 {
  font-size: 21px;
  margin: 4px 0 18px;
}
.plum-topics {
  display: grid;
  gap: 7px;
}
.plum-topics button {
  text-align: left;
  border: 1px solid transparent;
  border-radius: 9px;
  background: #f7f8fa;
  padding: 11px 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
}
.plum-topics button span {
  font-size: 10px;
  color: #98909a;
  margin-right: 12px;
}
.plum-topics button[aria-pressed="true"] {
  background: var(--plum-soft);
  border-color: #cba6b4;
  color: #7d455b;
}
.plum-question {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.6;
  margin: 20px 0 14px;
}
.plum-options {
  display: grid;
  gap: 7px;
}
.plum-options button {
  display: flex;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #e2dce0;
  border-radius: 8px;
  padding: 10px;
  font-size: 12px;
  cursor: pointer;
}
.plum-options button[aria-pressed="true"] {
  color: #8a5266;
  border-color: #a56b81;
  background: #fcf8fa;
  font-weight: 700;
}
.plum-observe {
  color: #7a7f89;
  font-size: 11px;
  margin: 10px 0 20px;
}
.plum-discuss {
  border-top: 1px solid #eee8ea;
  padding-top: 14px;
  display: block;
  font-size: 12px;
  color: #7d5263;
}
.plum-footnote {
  color: #777e89;
  font-size: 11px;
  margin-top: 14px;
}
.plum-lesson button:focus-visible,
.plum-lesson input:focus-visible,
.plum-lesson a:focus-visible {
  outline: 3px solid #99647d;
  outline-offset: 3px;
}
.plum-lesson .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;
}
@media (max-width: 1100px) {
  .plum-workspace {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 14px;
  }
  .plum-research {
    padding: 17px;
  }
}
@media (max-width: 800px) {
  .plum-workspace {
    grid-template-columns: 1fr;
  }
  .plum-heading {
    margin: 14px 0 18px;
  }
  .plum-research {
    padding: 18px;
  }
  .plum-topics {
    grid-template-columns: repeat(3, 1fr);
  }
  .plum-topics button {
    text-align: center;
    padding: 10px 5px;
    font-size: 12px;
  }
  .plum-topics button span {
    display: block;
    margin: 0 0 3px;
  }
  .plum-options {
    grid-template-columns: 1fr 1fr;
  }
  .plum-question {
    margin: 16px 0 12px;
  }
  .plum-discuss {
    padding-top: 10px;
  }
  .plum-observe {
    margin-bottom: 12px;
  }
}
@media (max-width: 450px) {
  .plum-stage-heading {
    padding: 14px 14px 0;
    font-size: 10px;
  }
  .plum-player {
    margin: 0 14px;
    gap: 8px;
  }
  .plum-caption {
    margin: 10px 14px 14px;
    font-size: 12px;
  }
  .plum-phases {
    gap: 14px;
    font-size: 10px;
  }
  .plum-heading h1 span {
    font-size: 12px;
    margin-left: 4px;
  }
  .plum-seal {
    font-size: 24px;
  }
}
/* Keep the scene and its research prompts together on laptop screens. */
@media (min-width: 801px) {
  .plum-stage {
    max-height: 290px;
  }
  .plum-heading {
    margin: 12px 0 18px;
  }
  .plum-research {
    padding: 18px;
  }
  .plum-research h2 {
    margin-bottom: 12px;
  }
  .plum-question {
    margin-top: 14px;
  }
  .plum-observe {
    margin-bottom: 12px;
  }
}
