/* Sequential learning, story and orders navigation. */
/* Three sequential stages remain visible while their prerequisites are clear. */
.mode-switch.journey-switch {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
  margin: 0 0 12px;
}
.journey-switch .journey-step {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 76px;
  padding: 14px 16px;
  text-align: left;
  white-space: normal;
}
.journey-step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 36px;
  flex: 0 0 32px;
  border: 1px solid #668777;
  border-radius: 10px;
  background: #284b45;
  color: #e2d1a1;
  font: 700 16px/1 var(--font-code);
}
.journey-step__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 6px;
}
.journey-step__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  color: inherit;
}
.journey-step__name .ui-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.journey-step__copy small {
  display: block;
  font: 12px/1.5 var(--font-body);
  color: #b4cbbd;
  overflow-wrap: anywhere;
}
.journey-switch .journey-step[aria-pressed=true] .journey-step__number {
  border-color: #d2ac70;
  background: #6a5734;
  color: #ffe2aa;
}
.journey-switch .journey-step[aria-pressed=true] small {
  color: #e1cda5;
}
.journey-switch .journey-step:disabled {
  opacity: 1;
  background: #142c32;
  border-color: #3f5d5b;
  color: #9fb9b2;
  box-shadow: none;
  cursor: not-allowed;
}
.journey-switch .journey-step:disabled .journey-step__number {
  background: #1b373b;
  border-color: #3b5958;
  color: #98b3a9;
}
.journey-switch .journey-step:disabled small {
  color: #a1b9af;
}
.journey-guide {
  font: 13px/1.7 var(--font-body);
  color: #b4cbbd;
  margin: 0 0 23px;
}
.entry-route-note {
  font: 13px/1.75 var(--font-body);
  color: #c4d8b9;
  margin: 13px 0;
  padding: 12px 14px;
  border: 1px solid #55765b;
  border-radius: 11px;
  background: #193c32;
}
.journey-continue {
  margin: 10px 0 16px;
  max-width: 100%;
  min-height: var(--field-min);
  font-size: 15px;
}
.journey-guide,.entry-route-note {
  font-size: 15px;
}
@media(max-width:760px) {
  .mode-switch.journey-switch {
    gap: 9px;
  }
  .journey-switch .journey-step {
    padding: 12px;
    gap: 9px;
  }
  .journey-step__name {
    font-size: 14px;
    gap: 6px;
  }
  .journey-step__number {
    width: 26px;
    flex-basis: 26px;
    height: 32px;
  }
  .journey-step__name .ui-icon {
    display: none;
  }
}
@media(max-width:600px) {
  .mode-switch.journey-switch {
    grid-template-columns: 1fr;
  }
  .journey-switch .journey-step {
    min-height: 64px;
    padding: 12px 14px;
  }
  .journey-step__number {
    width: 30px;
    flex-basis: 30px;
    height: 34px;
  }
  .journey-step__name .ui-icon {
    display: block;
  }
  .journey-step__copy {
    gap: 3px;
  }
  .journey-continue {
    width: 100%;
  }
}
