.appointment-walkthrough.hidden,
.guided-tour-assignment.hidden,
.guided-tour-prompt.hidden {
  display: none;
}

.appointment-walkthrough {
  position: fixed;
  inset: 0;
  z-index: 30000;
  pointer-events: none;
}

.appointment-walkthrough-shade {
  position: fixed;
  border: 2px solid #fff;
  border-radius: 12px;
  box-shadow: 0 0 0 9999px rgba(8, 20, 44, .7);
  pointer-events: none;
}

.appointment-walkthrough-card {
  position: fixed;
  width: min(350px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 70px rgba(8, 20, 44, .35);
  color: #14284e;
  pointer-events: auto;
}

.appointment-walkthrough-card h2 {
  margin: 7px 0 8px;
  font-size: 20px;
  line-height: 1.2;
}

.appointment-walkthrough-card p {
  margin: 0 0 16px;
  line-height: 1.45;
}

.appointment-walkthrough-progress {
  color: #526482;
  font-size: 12px;
}

.appointment-walkthrough-close {
  min-height: 44px;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #526482;
  font: inherit;
  cursor: pointer;
}

.appointment-walkthrough-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.appointment-walkthrough-close:focus-visible,
.appointment-walkthrough-next:focus-visible {
  outline: 2px solid #3157d8;
  outline-offset: 2px;
}

.appointment-walkthrough-next,
.guided-tour-assignment button,
.guided-tour-prompt button {
  min-height: 44px;
  padding: 8px 16px;
  border: 0;
  border-radius: 9px;
  background: #3157d8;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.appointment-walkthrough-next:disabled,
.guided-tour-assignment button:disabled,
.guided-tour-prompt button:disabled {
  opacity: .55;
  cursor: default;
}

.appointment-walkthrough-next[hidden] {
  display: none;
}

.appointment-walkthrough.is-intro {
  pointer-events: auto;
  background: rgba(8, 20, 44, .7);
  display: grid;
  place-items: center;
}

.appointment-walkthrough.is-intro .appointment-walkthrough-shade {
  display: none;
}

.appointment-walkthrough.is-intro .appointment-walkthrough-card {
  position: relative;
  inset: auto !important;
}

.guided-tour-assignment {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #d7e0ef;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.guided-tour-assignment select,
.guided-tour-assignment input[type="search"] {
  min-width: 190px;
  min-height: 40px;
  border: 1px solid #bcc9db;
  border-radius: 9px;
  background: #fff;
  font: inherit;
}

.guided-tour-assignment [role="status"] {
  display: block;
  width: 100%;
  min-height: 1.4em;
}

.guided-tour-prompt {
  position: fixed;
  inset: 0;
  z-index: 30010;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(8, 20, 44, .7);
}

.guided-tour-prompt-card {
  width: min(360px, 100%);
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  color: #14284e;
  box-shadow: 0 20px 70px rgba(8, 20, 44, .35);
}

.guided-tour-prompt-card h2 {
  margin: 0 0 20px;
  font-size: 20px;
}

.guided-tour-prompt-card p {
  margin: -8px 0 20px;
}

.guided-tour-prompt-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.guided-tour-prompt-actions #guidedTourPromptLater {
  background: #eef2fa;
  color: #14284e;
}

@media (max-width: 640px) {
  .guided-tour-assignment label,
  .guided-tour-assignment select,
  .guided-tour-assignment input[type="search"] {
    width: 100%;
  }

  .guided-tour-assignment select,
  .guided-tour-assignment input[type="search"] {
    min-width: 0;
  }

  .appointment-walkthrough-card {
    max-height: min(40vh, 280px);
    padding: 16px;
  }

  .appointment-walkthrough.has-long-copy .appointment-walkthrough-card {
    max-height: min(55vh, 390px);
  }
}
