@font-face {
  font-family: Inter;
  src: url("/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #222036;
  background: #f8f8fb;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
[hidden] {
  /* biome-ignore lint/complexity/noImportantStyles: hidden must override the layout's display. */
  display: none !important;
}
button,
input,
textarea {
  font: inherit;
}
button {
  border: 1px solid #e0dbe9;
  border-radius: 8px;
  background: white;
  color: #504665;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
button:hover {
  filter: brightness(0.96);
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
button[aria-pressed="true"] {
  background: #2D4FD81a;
  color: #2D4FD8;
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #2D4FD855;
  outline-offset: 2px;
}
.unavailable {
  max-width: 480px;
  margin: 20vh auto;
  padding: 0 16px;
  text-align: center;
  font-size: 18px;
}
/* A demo with a password, before it is unlocked. */
.locked {
  display: grid;
  gap: 8px;
  width: min(100% - 32px, 380px);
  margin: 20vh auto;
}
.locked h1 {
  margin: 0 0 12px;
  font-size: 20px;
  overflow-wrap: anywhere;
}
.locked label {
  font-size: 14px;
  font-weight: 600;
}
.locked input {
  padding: 9px 12px;
  border: 1px solid #dad6e5;
  border-radius: 8px;
}
.locked p {
  margin: 0;
  color: #c0392b;
}
.locked button {
  margin-top: 8px;
  border-color: #2D4FD8;
  background: #2D4FD8;
  color: white;
}
/* On a phone, a demo with a short address offers to send it to a computer. */
.large {
  display: none;
}
/* The demo fills the window: the bar, then the version in its frame. */
.demo {
  display: flex;
  flex-direction: column;
  height: 100dvh;
}
.bar {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 56px;
  padding: 8px 20px;
  border-bottom: 1px solid #e6e4ee;
  background: white;
}
.bar h1 {
  min-width: 0;
  max-width: 240px;
  margin: 0 auto 0 0;
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tabs {
  display: flex;
  gap: 4px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
}
.tabs button {
  border: 0;
  border-radius: 999px;
  white-space: nowrap;
}
.tabs button[aria-selected="true"] {
  background: #2D4FD81a;
  color: #2D4FD8;
}
/* The colour themes: a swatch each, the chosen one ringed, and the name of the one in view. */
.themes {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.swatches {
  display: flex;
  gap: 8px;
  padding: 4px;
  overflow-x: auto;
}
.theme {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}
.theme input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.theme span {
  display: block;
  height: 100%;
  border-radius: 50%;
  background: #f1f0f4;
  box-shadow: inset 0 0 0 1px #1d1b1a24;
}
.theme:has(:checked) {
  box-shadow:
    0 0 0 2px white,
    0 0 0 4px #2D4FD8;
}
.theme:has(:focus-visible) {
  outline: 3px solid #2D4FD855;
  outline-offset: 5px;
}
.theme-name {
  width: 8em;
  overflow: hidden;
  color: #504665;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.switch {
  display: inline-flex;
  gap: 2px;
  margin: 0;
  padding: 3px;
  border: 0;
  border-radius: 999px;
  background: #efeeeb;
}
.switch label {
  position: relative;
  padding: 6px 14px;
  border-radius: 999px;
  color: #696862;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.switch input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.switch label:has(:checked) {
  background: white;
  color: #191919;
  box-shadow: 0 1px 3px #1d1b1a1f;
}
.switch label:has(:focus-visible) {
  outline: 2px solid #2D4FD8;
}
.layout {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
}
.layout.editing {
  grid-template-columns: minmax(0, 1fr) 340px;
}
.stage {
  overflow: hidden;
  background: #eceaf2;
}
.stage iframe {
  display: block;
  margin: 0 auto;
  border: 0;
  background: white;
  transform-origin: top left;
}
/* The team's tour while Edit tour is on, beside the site they click. */
.drawer {
  padding: 20px;
  overflow-y: auto;
  border-left: 1px solid #e6e4ee;
  background: white;
}
.drawer h2 {
  margin: 0 0 12px;
  font-size: 15px;
}
.panel {
  padding: 20px;
  border: 1px solid #e4e1ee;
  border-radius: 14px;
  background: white;
}
.panel p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
}
/* The team's tour list; the numbers look like the dots on the site. */
.toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
#no-steps {
  margin: 0;
  color: #696862;
  font-size: 14px;
}
.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #eceaf2;
}
.step-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.step-head .number {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #d92d20;
  color: white;
  font-size: 11px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}
.step-head .missing {
  color: #c0392b;
}
.steps input,
.steps textarea {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #dad6e5;
  border-radius: 6px;
  font-size: 13px;
}
.steps textarea {
  resize: vertical;
}
.step-head button,
.step-actions button {
  padding: 5px 10px;
  font-size: 13px;
}
.step-actions {
  display: flex;
  gap: 6px;
}
.step-actions button:last-child {
  margin-left: auto;
}
@media (max-width: 760px) {
  .bar {
    flex-wrap: wrap;
    gap: 10px 12px;
    padding: 10px 16px;
  }
  .bar h1 {
    flex: 1;
    max-width: none;
  }
  .tabs {
    order: 1;
    flex-basis: 100%;
  }
  .themes {
    order: 2;
    flex-basis: 100%;
  }
  .large:not([hidden]) {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 6px 8px 6px 16px;
    border-bottom: 1px solid #e6e4ee;
    background: #2D4FD81a;
    font-size: 13px;
  }
  .large a {
    color: inherit;
    font-weight: 600;
  }
  .large button {
    margin-left: auto;
    padding: 4px 10px;
    border: 0;
    background: none;
    font-size: 18px;
    line-height: 1;
  }
  /* A phone shows the version as a phone does (demo.js). */
  .switch {
    display: none;
  }
  .layout.editing {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) 45%;
  }
  .drawer {
    border-top: 1px solid #e6e4ee;
    border-left: 0;
  }
}
