.architecture-explorer {
  --ae-blue: #1263ae;
  --ae-purple: #704bc9;
  box-sizing: border-box;
  /* Stay inside the article column, clear of the fixed table of contents. */
  width: 100%;
  margin: 2.4rem 0 1.2rem;
  padding: 34px 22px 22px;
  background: var(--ae-surface, #fff);
  color: var(--ae-text, #101034);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.3;
  color-scheme: light dark;
}
.architecture-explorer * {
  box-sizing: border-box;
}
.architecture-explorer .ae-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "a child b";
  align-items: stretch;
}
.architecture-explorer .ae-panel {
  min-width: 0;
  padding: 0 12px;
}
.architecture-explorer .ae-a {
  grid-area: a;
}
.architecture-explorer .ae-child {
  grid-area: child;
  border-inline: 1px solid var(--ae-divider, #e5e4e8);
}
.architecture-explorer .ae-b {
  grid-area: b;
}
.architecture-explorer .ae-heading {
  display: block;
  margin: 0 0 13px;
  padding: 0;
  color: var(--ae-text, #101034);
  text-align: center;
  font:
    400 clamp(18px, 1.85vw, 26px)/1.2 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: 0;
}
.architecture-explorer .ae-select {
  width: 100%;
  height: 43px;
  padding: 5px 26px 5px 11px;
  border: 1px solid var(--ae-border, #c8c7ce);
  border-radius: 5px;
  background: var(--ae-surface, #fff);
  color: var(--ae-text, #343147);
  box-shadow: 0 0 1px #aaa;
  font:
    400 clamp(14px, 1.45vw, 16px)/1.2 Georgia,
    "Times New Roman",
    serif;
  cursor: pointer;
}
.architecture-explorer .ae-t {
  display: flex;
  height: 43px;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-style: italic;
}
.architecture-explorer .ae-graph {
  display: block;
  width: 100%;
  height: 505px;
  margin: 17px auto 0;
  overflow: visible;
  font-family: Georgia, "Times New Roman", serif;
}
.architecture-explorer .ae-controls {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) 25px;
  gap: 20px;
  align-items: center;
  padding: 22px 30px 0;
}
.architecture-explorer .ae-endpoint {
  padding: 0;
  color: var(--ae-text, #101034);
  background: none;
  border: 0;
  font:
    25px Georgia,
    "Times New Roman",
    serif;
  cursor: pointer;
}
.architecture-explorer .ae-slider {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 30px;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--ae-thumb, #7b80e3);
  cursor: pointer;
}
.architecture-explorer .ae-slider::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--ae-track-start, #369bdd), var(--ae-track-end, #aa7be8));
}
.architecture-explorer .ae-slider::-moz-range-track {
  height: 5px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--ae-track-start, #369bdd), var(--ae-track-end, #aa7be8));
}
.architecture-explorer .ae-slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 29px;
  height: 29px;
  margin-top: -12px;
  border: 4px solid var(--ae-surface, #fff);
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 1px 4px rgb(0 0 0 / 25%);
}
.architecture-explorer .ae-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 4px solid var(--ae-surface, #fff);
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 1px 4px rgb(0 0 0 / 25%);
}
.architecture-explorer :is(select, input, button):focus-visible {
  outline: 2px solid var(--ae-focus, #514db1);
  outline-offset: 5px;
}
.architecture-explorer :disabled {
  cursor: default;
  opacity: 0.45;
}
.architecture-explorer .ae-progress {
  margin: 8px 0 0;
  color: var(--ae-muted, #37314d);
  text-align: center;
  font:
    italic 17px/1.5 Georgia,
    "Times New Roman",
    serif;
}
.architecture-explorer .ae-status {
  min-height: 21px;
  margin: 6px 12px 0;
  color: var(--ae-muted, #666171);
  text-align: center;
  font:
    14px/1.5 Georgia,
    "Times New Roman",
    serif;
}
.architecture-explorer[data-state="error"] .ae-status {
  color: var(--ae-error, #a12d38);
}
.architecture-explorer .ae-retry {
  display: block;
  margin: 8px auto;
  padding: 7px 16px;
  border: 1px solid var(--ae-border, #c8c7ce);
  border-radius: 4px;
  background: var(--ae-surface, #fff);
  color: var(--ae-text, #343147);
  font:
    16px Georgia,
    "Times New Roman",
    serif;
  cursor: pointer;
}
.architecture-explorer .ae-retry[hidden] {
  display: none;
}
.architecture-explorer .ae-note {
  margin: 16px 0 0;
  color: var(--ae-muted, #666171);
  text-align: center;
  font:
    italic 13px/1.5 Georgia,
    "Times New Roman",
    serif;
}
@media (max-width: 650px) {
  .architecture-explorer {
    padding: 22px 8px 16px;
  }
  .architecture-explorer .ae-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "a b" "child child";
  }
  .architecture-explorer .ae-panel {
    padding-inline: 10px;
  }
  .architecture-explorer .ae-a {
    border-right: 1px solid var(--ae-divider, #e5e4e8);
  }
  .architecture-explorer .ae-child {
    border-inline: 0;
    border-top: 1px solid var(--ae-divider, #e5e4e8);
    margin-top: 14px;
    padding-top: 22px;
  }
  .architecture-explorer .ae-heading {
    font-size: 19px;
  }
  .architecture-explorer .ae-select {
    font-size: 14px;
    padding-left: 5px;
  }
  .architecture-explorer .ae-graph {
    height: 345px;
  }
  .architecture-explorer .ae-child .ae-graph {
    width: min(300px, 100%);
    height: 450px;
  }
  .architecture-explorer .ae-controls {
    padding-inline: 10px;
    gap: 12px;
  }
}
@media (prefers-color-scheme: dark) {
  .architecture-explorer {
    --ae-blue: #69b9f2;
    --ae-purple: #b294f0;
    --ae-mixed: #aaa4f1;
    --ae-surface: #1b1b1b;
    --ae-text: #eee;
    --ae-muted: #b7b4c5;
    --ae-border: #5b5868;
    --ae-divider: #403d4c;
    --ae-fill-a: #19344a;
    --ae-fill-b: #322948;
    --ae-focus: #b8b4ff;
    --ae-error: #ff9d9d;
    --ae-thumb: #979bf0;
    --ae-track-start: var(--ae-blue);
    --ae-track-end: var(--ae-purple);
  }
  .architecture-explorer .ae-select {
    box-shadow: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .architecture-explorer * {
    scroll-behavior: auto;
  }
}
