/* Course review: readable teaching steps and expandable practice. */
.review-step-title {
  font-size: 1.08rem;
  color: #123b4a;
  margin: 1.5rem 0 0.45rem;
  border-left: 4px solid #b89c62;
  padding-left: 12px;
}
.review-practice {
  background: #edf4f5;
  border: 1px solid #b9cdd2;
  border-radius: 14px;
  padding: 20px;
  margin: 26px 0;
}
.review-practice h3 {
  margin-top: 0;
}
.review-practice details,
.review-choice {
  border: 1px solid #b9cdd2;
  border-radius: 12px;
  overflow: hidden;
  margin: 14px 0;
}
.review-practice summary,
.review-choice > summary {
  background: #123b4a;
  color: white;
  font-weight: 700;
  cursor: pointer;
  padding: 16px;
}
.review-practice details > div,
.review-choice > div {
  padding: 16px;
  background: #fffdf8;
}
.review-practice summary:focus-visible,
.review-choice summary:focus-visible {
  outline: 3px solid #b7832f;
  outline-offset: -4px;
}
.review-choice img {
  max-width: 100%;
  height: auto;
}
.review-choice figure {
  margin: 12px 0;
}
.course-lesson table {
  max-width: 100%;
}
.review-diagram {
  display: block;
  width: 100%;
  height: auto;
  margin: 24px 0;
}
.review-practice p:last-child {
  margin-bottom: 0;
}
@media (max-width: 550px) {
  .review-practice {
    padding: 14px;
  }
  .review-choice > div {
    padding: 12px;
  }
}

.review-checklist {
  border-left: 4px solid #138477;
  background: #edf6f2;
  padding: 18px;
  margin: 24px 0;
}
.review-checklist h3 {
  margin-top: 0;
}
.review-checklist li {
  margin: 0.6rem 0;
}
.fuel-example {
  margin: 24px 0;
}
.fuel-example figcaption {
  font-size: 0.9rem;
  margin-top: 10px;
}
.review-choice .tile-illustration {
  max-width: 540px;
  margin: 16px 0 4px;
}
.review-choice .tile-illustration img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.review-choice .tile-illustration figcaption {
  font-size: 0.92em;
  color: #526773;
  margin-top: 8px;
}

.anchor-figure {
  margin: 20px 0 26px;
  max-width: 780px;
}
.anchor-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #edf4f5;
}
.anchor-figure figcaption {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #526773;
  margin-top: 8px;
}

.anchor-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 26px;
  max-width: 900px;
}
.anchor-type-card {
  margin: 0;
  padding: 12px;
  border: 1px solid #c7b99f;
  border-radius: 14px;
  background: #fffdf8;
}
.anchor-type-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}
.anchor-type-card figcaption {
  font-size: 0.92rem;
  line-height: 1.45;
  color: #526773;
  margin-top: 8px;
}
@media (max-width: 680px) {
  .anchor-type-grid {
    grid-template-columns: 1fr;
  }
}

.anchor-drop-activity {
  margin: 22px 0;
  padding: 20px;
  border: 1px solid #b8cfd2;
  border-radius: 16px;
  background: #eef5f5;
}
.anchor-choice-tray {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.anchor-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 2px solid #bdcfd2;
  border-radius: 12px;
  background: #fffdf8;
  color: #173747;
  font: inherit;
  font-weight: 700;
  cursor: grab;
  text-align: left;
}
.anchor-choice:hover,
.anchor-choice:focus-visible {
  border-color: #18758a;
}
.anchor-choice.is-selected {
  border-color: #18758a;
  box-shadow: 0 0 0 3px #18758a33;
}
.anchor-choice img {
  width: 72px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}
.anchor-drop-status {
  min-height: 1.5em;
  font-weight: 700;
  color: #173747;
}
.anchor-scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.anchor-scenario {
  padding: 14px;
  border: 1px solid #c7b99f;
  border-radius: 13px;
  background: #fffdf8;
}
.anchor-scenario h4 {
  margin: 0 0 8px;
  color: #173747;
}
.anchor-drop-target {
  display: flex;
  min-height: 145px;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 0;
  padding: 12px;
  border: 2px dashed #738d91;
  border-radius: 12px;
  background: linear-gradient(180deg, #b8dfe6 0 42%, #b9a676 42%);
  color: #173747;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.anchor-drop-target img {
  width: 90px;
  height: 70px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.anchor-drop-target.is-correct {
  border-style: solid;
  border-color: #2c7a48;
  background: linear-gradient(180deg, #b8dfe6 0 42%, #b9a676 42%);
}
.anchor-drop-target.is-incorrect {
  border-style: solid;
  border-color: #a6453b;
}
.anchor-drop-feedback {
  min-height: 4.5em;
  margin: 8px 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
}
.anchor-drop-feedback.is-correct {
  color: #28673e;
}
.anchor-drop-feedback.is-incorrect {
  color: #8a3d32;
}
.anchor-activity-reset {
  margin-top: 14px;
  padding: 10px 16px;
  border: 1px solid #927347;
  border-radius: 8px;
  background: #fffdf8;
  color: #59431f;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
@media (max-width: 760px) {
  .anchor-choice-tray,
  .anchor-scenario-grid {
    grid-template-columns: 1fr;
  }
  .anchor-choice img {
    width: 64px;
    height: 52px;
  }
}

.anchor-drop-target[data-drop-target='sand'] {
  background: linear-gradient(180deg, #b8dfe6 0 42%, #d7c18b 42% 100%);
}
.anchor-drop-target[data-drop-target='mud'] {
  background: linear-gradient(180deg, #b8dfe6 0 42%, #81745f 42% 100%);
}
.anchor-drop-target[data-drop-target='rock'] {
  background-image:
    linear-gradient(180deg, #b8dfe6 0 42%, transparent 42%),
    repeating-linear-gradient(135deg, #707a77 0 9px, #87908b 9px 18px, #606b69 18px 26px);
}
.anchor-drop-target span {
  padding: 3px 8px;
  border-radius: 6px;
  background: #fffdf8e8;
}
.anchor-choice,
.anchor-drop-target {
  touch-action: manipulation;
}
