:root {
  --ink: #f0e6cb;
  --muted: #b1b8aa;
  --sage: #a7b499;
  --line: #d5d6b32b;
  --panel: #19292aee;
  --gold: #e2b16b;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: #17282c;
  font:
    13px -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  overflow: hidden;
}
button,
select {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 4px;
  padding: 8px 11px;
}
button:hover {
  background: #e6d8ab14;
}
a {
  color: inherit;
  text-decoration: none;
}
[hidden] {
  display: none !important;
}
#experience,
#viewport {
  position: fixed;
  inset: 0;
}
#viewport {
  background: radial-gradient(ellipse at 46% 44%, #344347, #17282c 75%);
}
#scene {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}
.masthead {
  position: fixed;
  top: 25px;
  left: 34px;
  right: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 3;
}
.masthead a {
  pointer-events: auto;
}
.wordmark {
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -1px;
}
.back-link {
  font-size: 11px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.7px;
  font-weight: 500;
  color: #b6bda8;
  margin: 0 0 14px;
}
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 12px #eac27466;
}
h1 {
  font: 400 clamp(30px, 3.5vw, 49px) / 1.05 var(--serif);
  letter-spacing: -1.2px;
  margin: 0;
}
h1 em {
  font-weight: 400;
  color: #d5ba87;
}
.scene-context {
  position: fixed;
  right: 35px;
  top: 95px;
  display: flex;
  gap: 13px;
  flex-direction: column;
  text-align: right;
  pointer-events: none;
}
.scene-context > span:first-child {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #c2c6b2;
}
.scene-hint {
  font-size: 10px;
  color: #93a79d;
}
.labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.scene-label {
  position: absolute;
  transform: translate(-50%, -100%);
  pointer-events: auto;
  border: 1px solid #c9c5a13b;
  background: #1a2a29df;
  color: #e4dcc4;
  box-shadow: 0 4px 18px #0b151b33;
  border-radius: 4px;
  padding: 7px 11px;
  font-size: 11px;
  white-space: nowrap;
  backdrop-filter: blur(9px);
}
.scene-label::after {
  content: "";
  position: absolute;
  bottom: -13px;
  left: 50%;
  height: 12px;
  width: 1px;
  background: #cec8a566;
}
.scene-label::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d9b46d;
  margin-right: 6px;
  vertical-align: 2px;
}
.scene-label.logical::before {
  border-radius: 0;
  background: #aeb78e;
}
.scene-label.telemetry::before {
  background: #86c9ba;
}
.scene-label[aria-pressed="true"] {
  border-color: #e8c181;
  background: #3d4535;
  color: #fff5d5;
}
.scene-label:hover {
  background: #35443b;
}
.loading {
  position: fixed;
  left: 0;
  right: 0;
  top: 45%;
  text-align: center;
  font: italic 24px var(--serif);
  pointer-events: none;
}
.scene-error {
  position: fixed;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  background: var(--panel);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  max-width: 430px;
  line-height: 1.8;
  z-index: 5;
}
.inspector {
  position: fixed;
  right: 28px;
  top: 138px;
  width: 340px;
  max-height: calc(100dvh - 310px);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #7b8b77 transparent;
  background: var(--panel);
  border: 1px solid #b8bda83b;
  box-shadow: 0 20px 70px #07161a55;
  padding: 23px;
  border-radius: 8px;
  backdrop-filter: blur(18px);
  z-index: 5;
}
.inspector-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.inspector-top .eyebrow {
  margin: 0;
  font-size: 8px;
}
.inspector-top button,
.story > div > button,
.about > button {
  border: 0;
  padding: 0 5px;
  font-size: 23px;
  color: #adbaaa;
  line-height: 1;
}
.component-type {
  font-size: 9px;
  color: #c1ad7d;
  line-height: 1.5;
  letter-spacing: 0.8px;
  margin: 0 0 10px;
}
h2 {
  font: 400 27px/1.1 var(--serif);
  margin: 0;
  letter-spacing: -0.5px;
}
#component-description {
  line-height: 1.9;
  font-size: 12px;
  color: #bac5b5;
  margin: 16px 0;
}
dl {
  margin: 0 0 18px;
}
dl > div {
  border-top: 1px solid var(--line);
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 10px;
  line-height: 1.6;
}
dt {
  color: #8fa394;
}
dd {
  margin: 0;
  max-width: 160px;
  text-align: right;
}
.inspector-note {
  display: flex;
  gap: 10px;
  font-size: 11px;
  line-height: 1.8;
  color: #97ab9b;
}
.inspector-note > span {
  color: var(--gold);
  font-size: 18px;
}
.inspector-note p {
  margin: 0;
}
.component-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.component-links a {
  color: var(--gold);
  font-size: 11px;
  line-height: 1.7;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.component-links a:hover {
  color: #f4e5bd;
}
.story {
  position: static;
  width: auto;
  padding: 13px 16px 15px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 9px 9px;
  background: #12202388;
}
.dock {
  --flow-color: #e2b16b;
}
.story > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.story .eyebrow {
  margin: 0;
  color: var(--flow-color);
}
.story p {
  font-size: 11px;
  line-height: 1.8;
  color: #bdc7b8;
  margin: 8px 0;
}
.story .walkthrough-hint {
  margin: 12px 0 0;
  color: #a9b8aa;
  font-size: 10px;
}
.journey-steps {
  display: flex;
  padding: 0;
  list-style: none;
  gap: 7px;
  margin: 15px 0 0;
}
.journey-steps li {
  flex: 1;
}
.journey-steps button {
  width: 100%;
  border: 0;
  border-top: 2px solid #637465;
  padding: 8px 0 0;
  border-radius: 0;
  font-size: 9px;
  color: #92a48f;
}
.journey-steps button[aria-current="step"] {
  border-top-color: var(--flow-color);
  color: var(--flow-color);
}
.dock {
  position: fixed;
  bottom: 49px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  max-width: calc(100% - 64px);
  background: #1c2b2adf;
  border: 1px solid #bfbea242;
  border-radius: 9px;
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 50px #07171944;
  z-index: 6;
}
.dock-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  gap: 14px;
}
.view-tabs {
  display: flex;
  gap: 3px;
}
.view-tabs button {
  font-size: 11px;
  border: 0;
  padding: 9px 16px;
  color: #9fb19c;
}
.view-tabs button[aria-pressed="true"] {
  background: #cad2a51a;
  color: #eadab6;
}
.reset {
  font-size: 22px;
  padding: 0;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  color: #bdc8b3;
}
.dock-bottom {
  padding: 11px 13px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 10px;
}
.dock-bottom > .component-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1 0 188px;
  gap: 14px;
  min-height: 34px;
  font-size: 11px;
  color: #d3ddc5;
  background: #2a3c33;
  text-align: left;
  white-space: normal;
}
.component-trigger[aria-expanded="true"] {
  border-color: var(--gold);
}
.picker-chevron {
  color: var(--gold);
  flex: none;
  font-size: 15px;
  line-height: 1;
}
.component-trigger[aria-expanded="true"] .picker-chevron {
  transform: rotate(180deg);
}
.component-menu {
  position: fixed;
  z-index: 10;
  border: 1px solid #b4b69780;
  border-radius: 9px;
  background: #1b2c29;
  box-shadow: 0 18px 55px #0009;
  overflow: hidden;
}
.component-menu-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 1px;
  color: #d1c5a1;
}
.component-menu-heading > span:last-child {
  color: #a1b39e;
  letter-spacing: 0;
}
#component-options {
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  scrollbar-width: thin;
  scrollbar-color: #a6af8d #14231f;
  scrollbar-gutter: stable;
  outline: none;
  padding: 6px;
}
.component-group-heading {
  padding: 10px 9px 6px;
  color: #9fb59f;
  font-size: 10px;
  letter-spacing: 0.6px;
}
#component-options [role="option"] {
  position: relative;
  padding: 9px 28px 9px 10px;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.45;
}
#component-options [role="option"] small {
  display: block;
  margin-top: 2px;
  color: #9fb59f;
  font-size: 10px;
}
#component-options [role="option"]:hover,
#component-options [role="option"].is-active {
  background: #b8b68c18;
  border-color: #c6a46680;
}
#component-options [aria-selected="true"]::after {
  content: "✓";
  position: absolute;
  right: 10px;
  top: 12px;
  color: var(--gold);
}
.component-scope-toggle {
  display: block;
  width: calc(100% - 20px);
  margin: 7px 10px;
  padding: 9px 10px;
  color: var(--gold);
  text-align: left;
  font-size: 11px;
}
.component-menu-heading .component-scope-label {
  text-transform: uppercase;
}
.component-menu-hint {
  margin: 0;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: #a1b39e;
  font-size: 10px;
}
select {
  font-size: 10px;
  background: #253731;
  border: 1px solid #c8c9ac2b;
  padding: 8px 21px 8px 8px;
  border-radius: 3px;
  max-width: 170px;
}
.dock-bottom > button {
  font-size: 10px;
  white-space: nowrap;
}
.divider {
  height: 22px;
  width: 1px;
  background: var(--line);
}
.primary-button {
  background: #c6a466;
  color: #1f2b25;
  border-color: #c6a466 !important;
  padding: 9px 12px;
}
.primary-button:hover {
  background: #d7b578;
}
.primary-button > span {
  font-size: 8px;
  padding-left: 10px;
}
#motion-toggle {
  border: 0;
  color: #94a990;
  font-size: 9px;
  padding: 8px 2px;
}
.scene-footer {
  position: fixed;
  bottom: 19px;
  left: 35px;
  right: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #90a69a;
  gap: 15px;
  font-size: 9px;
  letter-spacing: 0.3px;
  z-index: 4;
}
.scene-footer button {
  border: 0;
  padding: 0;
  font-size: 9px;
  color: #a5b59e;
}
.legend-dot {
  display: inline-block;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  background: var(--gold);
  margin-right: 7px;
}
.about {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  max-width: calc(100vw - 40px);
  padding: 28px;
  background: #1d2d2a;
  border: 1px solid var(--line);
  border-radius: 10px;
  z-index: 8;
  box-shadow: 0 0 0 100vmax #0c1b2255;
}
.about > button {
  float: right;
  margin-left: 20px;
}
.about p {
  color: #b8c3b0;
  font-size: 12px;
  line-height: 1.9;
}
.no-script {
  position: fixed;
  top: 50%;
  padding: 25px;
  background: var(--panel);
}
@media (max-width: 1050px) {
  .dock-bottom {
    gap: 7px;
  }
  select {
    max-width: 146px;
  }
  .view-tabs button {
    padding: 8px 13px;
  }
  .inspector {
    right: 20px;
    width: 320px;
    top: 130px;
    padding: 20px;
  }
  .scene-context {
    top: 88px;
  }
}
@media (max-width: 700px) {
  .masthead {
    top: 19px;
    left: 21px;
    right: 21px;
  }
  .wordmark {
    font-size: 21px;
  }
  .edition {
    display: none;
  }
  h1 {
    font-size: 32px;
  }
  .scene-context {
    top: 76px;
    left: 23px;
    right: auto;
    text-align: left;
    gap: 6px;
  }
  .scene-context > span:first-child {
    font-size: 8px;
  }
  .scene-hint {
    font-size: 9px;
  }
  .dock {
    bottom: 45px;
    max-width: calc(100% - 28px);
    width: calc(100% - 28px);
  }
  .dock-top {
    padding: 7px;
  }
  .view-tabs {
    flex: 1;
    justify-content: space-between;
  }
  .view-tabs button {
    padding: 9px 8px;
    font-size: 10px;
  }
  .reset {
    width: 27px;
    height: 27px;
    flex-shrink: 0;
  }
  .dock-top {
    gap: 4px;
  }
  .dock-bottom {
    padding: 9px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
  }
  .dock-bottom select {
    font-size: 10px;
    max-width: 155px;
  }
  .dock-bottom .divider {
    display: none;
  }
  .dock-bottom .primary-button {
    flex: 1;
  }
  .dock-bottom #motion-toggle {
    font-size: 9px;
    padding: 8px;
  }
  .scene-footer {
    left: 20px;
    right: 20px;
    bottom: 17px;
    font-size: 8px;
  }
  .scene-footer > span:nth-child(2) {
    display: none;
  }
  .scene-footer button {
    font-size: 8px;
  }
  .inspector {
    left: 16px;
    right: 16px;
    width: auto;
    top: auto;
    bottom: 211px;
    max-height: calc(100dvh - 290px);
    padding: 20px;
    background: #192a29f5;
  }
  .inspector h2 {
    font-size: 26px;
  }
  .inspector #component-description {
    font-size: 12px;
    line-height: 1.75;
  }
  .inspector-top {
    margin-bottom: 10px;
  }
  .story p {
    font-size: 11px;
    margin: 9px 0;
  }
  .journey-steps {
    margin-top: 8px;
  }
  .loading {
    font-size: 21px;
  }
  .scene-label {
    font-size: 10px;
    padding: 6px 8px;
  }
  .scene-label::before {
    margin-right: 5px;
  }
  .scene-error {
    width: calc(100% - 40px);
    top: 45%;
    font-size: 12px;
  }
  .about {
    top: 45%;
  }
}
@media (max-height: 600px) and (min-width: 701px) {
  h1 {
    font-size: 29px;
  }
  .inspector {
    top: 75px;
    max-height: calc(100dvh - 245px);
  }
  .dock {
    bottom: 38px;
  }
  .scene-footer {
    bottom: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
.scene-label[data-component="containers"]::after {
  display: none;
}
.scene-label::after {
  height: var(--leader-height, 12px);
  bottom: calc(-1 * var(--leader-height, 12px));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 700px) {
  .story {
    padding: 12px;
    max-height: 180px;
    overflow-y: auto;
  }
  .story p {
    line-height: 1.55;
  }
  .story .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
}
@media (max-height: 600px) and (min-width: 701px) {
  .story {
    max-height: 125px;
    overflow-y: auto;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  pointer-events: auto;
}
#show-welcome {
  font-size: 11px;
  background: #19292a;
}
.welcome {
  position: fixed;
  z-index: 5;
  top: 88px;
  left: 34px;
  width: 348px;
  max-width: calc(100vw - 28px);
  padding: 22px;
  background: #203537f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px #0003;
  max-height: calc(100dvh - 330px);
  overflow: auto;
}
.welcome h2 {
  font: 400 26px var(--serif);
  margin: 0 0 12px;
}
.welcome p {
  line-height: 1.55;
}
.welcome .welcome-hint {
  color: var(--muted);
  font-size: 12px;
}
.welcome-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}
#start-tour {
  background: var(--gold);
  color: #17282c;
  border-color: var(--gold);
  font-weight: 650;
  min-height: 42px;
}
#start-tour:hover {
  background: #f0cc94;
}
#welcome:not([hidden]) ~ .scene-context {
  visibility: hidden;
}
@media (max-width: 700px) {
  .header-actions {
    gap: 12px;
  }
  #show-welcome {
    padding: 7px 9px;
  }
  .welcome {
    top: 64px;
    left: 14px;
    width: 330px;
    padding: 18px;
  }
  .welcome h2 {
    font-size: 23px;
  }
  .welcome-actions {
    margin-top: 12px;
  }
}
@media (max-height: 600px) and (min-width: 701px) {
  .welcome {
    top: 66px;
    max-height: calc(100dvh - 230px);
    padding: 16px;
  }
}

.mobile-tour-actions.mobile-only,
.mobile-only,
.scene-settings > summary {
  display: none;
}
.scene-settings {
  display: contents;
}
@media (max-width: 700px), (max-width: 900px) and (max-height: 500px) {
  body {
    overflow: auto;
  }
  #experience {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
  }
  .masthead {
    position: static;
    order: 0;
    width: 100%;
    padding: 0;
    min-height: 36px;
  }
  .welcome {
    position: static;
    order: 1;
    width: 100%;
    max-width: none;
    max-height: none;
    overflow: visible;
    margin: 0;
  }
  .scene-context {
    position: static;
    order: 2;
    margin: 6px 0 0;
  }
  #welcome:not([hidden]) ~ .scene-context {
    visibility: visible;
  }
  #viewport {
    position: relative;
    inset: auto;
    order: 3;
    flex: none;
    width: 100%;
    height: clamp(300px, 46svh, 440px);
    overflow: hidden;
    border-radius: 8px;
    scroll-margin-top: 12px;
  }
  .dock {
    position: static;
    order: 4;
    transform: none;
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
  }
  .story {
    order: -1;
    max-height: none;
    overflow: visible;
    padding: 16px;
  }
  .story p {
    font-size: 14px;
    line-height: 1.6;
  }
  .mobile-only {
    display: inline-flex;
  }
  .mobile-tour-actions.mobile-only {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0;
  }
  .mobile-tour-actions button {
    min-height: 44px;
    flex: 1;
  }
  .scene-settings {
    display: block;
    order: 2;
  }
  .scene-settings > summary {
    display: list-item;
    cursor: pointer;
    padding: 16px;
    font-size: 14px;
  }
  .dock-bottom {
    padding: 12px;
    gap: 8px;
  }
  .dock-bottom button,
  .dock-bottom select {
    min-height: 44px;
  }
  #next-step {
    display: none;
  }
  .inspector {
    position: static;
    order: 5;
    width: 100%;
    max-width: none;
    max-height: none;
    overflow: visible;
    transform: none;
    margin: 0;
    scroll-margin-top: 12px;
  }
  #back-to-scene {
    margin-bottom: 14px;
    min-height: 44px;
  }
  .scene-footer {
    position: static;
    order: 6;
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 0;
  }
  .about {
    max-height: calc(100svh - 40px);
    overflow: auto;
  }
}
