#scenario-explorer {
  --scn-ink: #18382f;
  --scn-accent: #28654c;
  --scn-muted: #52625b;
  --scn-line: #cfd7cc;
  width: 100%;
  min-width: 0;
  color: var(--scn-ink);
}
#scenario-explorer button {
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
#scenario-explorer button:focus-visible {
  outline: 3px solid #28724e;
  outline-offset: 3px;
}
#scenario-explorer .scn-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 1.25rem;
}
#scenario-explorer .scn-tab {
  border: 1px solid var(--scn-line);
  border-radius: 100px;
  color: var(--scn-ink);
  padding: .64rem 1.04rem;
  min-height: 44px;
  background: transparent;
  font-size: .9375rem;
  line-height: 1.2;
  transition: color .18s, background-color .18s, border-color .18s;
}
#scenario-explorer .scn-tab:hover { border-color: var(--scn-accent); }
#scenario-explorer .scn-tab[aria-selected="true"] {
  color: #fff;
  background: var(--scn-ink);
  border-color: var(--scn-ink);
}
#scenario-explorer .scn-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: clip;
  border: 1px solid var(--scn-line);
  background: #fbfaf5;
}
#scenario-explorer .scn-figure {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  align-self: stretch;
  margin: 0;
  padding: 2.1rem 1.5rem 3rem;
  min-width: 0;
  border-right: 1px solid var(--scn-line);
  background-color: #f0f3e9;
  background-image: radial-gradient(circle at 1px 1px, #314d3222 .7px, transparent .9px);
  background-size: 13px 13px;
}
#scenario-explorer .scn-stage {
  position: relative;
  width: min(84%, 22rem);
  isolation: isolate;
  mix-blend-mode: multiply;
}
#scenario-explorer .scn-illustration {
  display: block;
  width: 100%;
  height: auto;
}
#scenario-explorer .scn-marker {
  display: grid;
  position: absolute;
  z-index: 1;
  place-items: center;
  width: 2rem;
  height: 2rem;
  transform: translate(-50%, -50%);
  border: 2px solid white;
  border-radius: 50%;
  padding: 0;
  background: #f4f7e9;
  color: var(--scn-ink);
  box-shadow: 0 0 0 1px var(--scn-accent), 0 2px 8px #132d292d;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1;
}
#scenario-explorer .scn-marker::before {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
}
#scenario-explorer .scn-marker[aria-pressed="true"] {
  background: var(--scn-ink);
  color: white;
  box-shadow: 0 0 0 1px var(--scn-accent), 0 0 0 5px #35614731;
}
#scenario-explorer .scn-caption {
  position: absolute;
  bottom: 1rem;
  width: 100%;
  margin: 0;
  padding: 0 .75rem;
  text-align: center;
  font-size: .875rem;
  line-height: 1.3;
  color: #496054;
}
#scenario-explorer .scn-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(1.75rem, 4vw, 4.4rem);
}
#scenario-explorer .scn-title {
  max-width: 18ch;
  margin: 0 0 .9rem;
  color: var(--scn-ink);
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(2rem, 3.15vw, 3.2rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.026em;
  text-wrap: balance;
}
#scenario-explorer .scn-intro,
#scenario-explorer .scn-detail {
  margin: 0;
  color: var(--scn-muted);
  font-size: 1rem;
  line-height: 1.55;
}
#scenario-explorer .scn-intro { max-width: 48ch; }
#scenario-explorer .scn-steps {
  margin-top: clamp(1.25rem, 2vw, 2.25rem);
  border-bottom: 1px solid var(--scn-line);
}
#scenario-explorer .scn-step { border-top: 1px solid var(--scn-line); }
#scenario-explorer .scn-step-heading { margin: 0; }
#scenario-explorer .scn-step-button {
  display: grid;
  grid-template-columns: 1.5rem 1fr 1rem;
  align-items: center;
  gap: .6rem;
  width: 100%;
  padding: .8rem 0;
  border: 0;
  background: transparent;
  color: var(--scn-ink);
  text-align: start;
  font-size: 1rem;
  font-weight: 550;
  line-height: 1.3;
  scroll-margin-block: 6rem;
}
#scenario-explorer .scn-step-button[aria-disabled="true"] { cursor: default; }
#scenario-explorer .scn-step-button:hover .scn-step-title { text-decoration: underline; text-underline-offset: .16em; }
#scenario-explorer .scn-number {
  display: grid;
  place-items: center;
  border: 1px solid #9baaa0;
  border-radius: 50%;
  width: 1.45rem;
  height: 1.45rem;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .82rem;
  font-weight: 600;
}
#scenario-explorer .scn-active .scn-number { background: var(--scn-ink); color: white; border-color: var(--scn-ink); }
#scenario-explorer .scn-indicator {
  width: .7rem;
  height: .7rem;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
}
#scenario-explorer .scn-active .scn-indicator { background-size: 100% 1px, 0 0; }
#scenario-explorer .scn-detail {
  margin: -.15rem .6rem 1rem 2.1rem;
}
#scenario-explorer .scn-detail[hidden] { display: none; }
#scenario-explorer .scn-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 48rem) {
  #scenario-explorer .scn-tabs { gap: .4rem; margin-bottom: 1rem; }
  #scenario-explorer .scn-tab { padding: .5rem .85rem; }
  #scenario-explorer .scn-panel { grid-template-columns: 1fr; }
  #scenario-explorer .scn-figure {
    padding: 1.5rem 1rem 2.65rem;
    border-right: 0;
    border-bottom: 1px solid var(--scn-line);
  }
  #scenario-explorer .scn-stage { width: min(66%, 16rem); }
  #scenario-explorer .scn-content { padding: 1.4rem; }
  #scenario-explorer .scn-title { max-width: 24ch; line-height: 1.1; }
  #scenario-explorer .scn-step-button { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  #scenario-explorer .scn-tab { transition: none; }
}
