.ctr-guide__launcher {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--ctr-border, #c7cbd1);
  border-radius: 50%;
  background: var(--ctr-primary, #155f52);
  color: #fff;
  box-shadow: 0 0.25rem 0.8rem rgb(0 0 0 / 20%);
}

.ctr-guide__launcher:focus-visible,
.ctr-guide__dialog :focus-visible {
  outline: 3px solid #f4c542;
  outline-offset: 2px;
}

.ctr-guide__dialog {
  position: fixed;
  inset: auto 1rem 4.5rem auto;
  z-index: 1085;
  width: min(25rem, calc(100vw - 2rem));
  max-height: min(34rem, calc(100vh - 6rem));
  margin: 0;
  overflow: auto;
  padding: 0;
  border: 1px solid var(--ctr-border, #c7cbd1);
  border-radius: 0.5rem;
  background: var(--bs-body-bg, #fff);
  color: var(--bs-body-color, #212529);
  box-shadow: 0 1rem 3rem rgb(0 0 0 / 25%);
  pointer-events: none;
}

.ctr-guide__dialog :is(button, a, input, select, .ts-wrapper) {
  pointer-events: auto;
}

.ctr-guide__dialog--left {
  inset: auto auto 4.5rem 1rem;
}

.ctr-guide__dialog::backdrop {
  background: rgb(0 0 0 / 48%);
}

.ctr-guide__header,
.ctr-guide__settings,
.ctr-guide__step {
  padding: 1rem 1.25rem;
}

.ctr-guide__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--ctr-border, #d8dce1);
}

.ctr-guide__header h2,
.ctr-guide__step h3 {
  margin: 0;
  font-size: 1.25rem;
}

.ctr-guide__eyebrow,
.ctr-guide__progress {
  margin-bottom: 0.25rem;
  color: var(--bs-secondary-color, #5f6368);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ctr-guide__settings {
  display: grid;
  gap: 0.75rem;
}

.ctr-guide__settings-actions,
.ctr-guide__step-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.ctr-guide__step dl {
  display: grid;
  gap: 0.25rem;
  margin: 1rem 0;
}

.ctr-guide__step dt {
  margin-top: 0.5rem;
}

.ctr-guide__step dd {
  margin: 0;
  white-space: pre-wrap;
}

.ctr-guide__session-hint {
  position: fixed;
  right: 1rem;
  bottom: 4.5rem;
  z-index: 1080;
  display: flex;
  gap: 0.75rem;
  width: min(25rem, calc(100vw - 2rem));
  padding: 0.75rem;
  border: 1px solid #b6c3c0;
  border-radius: 0.4rem;
  background: var(--bs-body-bg, #fff);
  box-shadow: 0 0.25rem 1rem rgb(0 0 0 / 18%);
}

.ctr-guide__tooltip {
  position: fixed;
  z-index: 1090;
  max-width: 20rem;
  padding: 0.5rem 0.65rem;
  border-radius: 0.25rem;
  background: #202624;
  color: #fff;
  font-size: 0.875rem;
  pointer-events: none;
}

.ctr-guide-target-active {
  outline: 3px solid #d49b00 !important;
  outline-offset: 3px;
}

@media (max-width: 575.98px) {
  .ctr-guide__launcher {
    right: 0;
    bottom: 0.5rem;
    width: 2.25rem;
    height: 2.25rem;
  }

  .ctr-guide__dialog {
    inset: auto 0.5rem 0.5rem;
    width: calc(100% - 1rem);
    max-width: none;
    max-height: 55vh;
    margin: 0;
    border-radius: 0.5rem;
  }

  .ctr-guide__settings-actions,
  .ctr-guide__step-actions {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ctr-guide__dialog,
  .ctr-guide__launcher {
    scroll-behavior: auto;
    transition: none;
  }
}