.auno-demo-banner,
.auno-demo-tour,
.auno-demo-launcher {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.auno-demo-banner {
  position: sticky;
  top: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 24px;
  background: #f7fbff;
  border-bottom: 1px solid #d8e7f5;
  color: #061b4a;
  box-shadow: 0 8px 20px rgba(6, 27, 74, 0.08);
}

.auno-demo-banner[hidden],
.auno-demo-tour[hidden],
.auno-demo-launcher[hidden] {
  display: none !important;
}

.auno-demo-banner-copy {
  min-width: 0;
}

.auno-demo-banner-title {
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.auno-demo-banner-text {
  display: block;
  margin-top: 2px;
  color: #526070;
  font-size: 12px;
  line-height: 1.35;
}

.auno-demo-banner-actions,
.auno-demo-tour-actions,
.auno-demo-tour-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.auno-demo-btn {
  appearance: none;
  border: 1px solid #c9d9e8;
  border-radius: 8px;
  background: #ffffff;
  color: #061b4a;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  min-height: 34px;
  padding: 9px 12px;
}

.auno-demo-btn:hover {
  background: #edf6ff;
  border-color: #9dc5e8;
}

.auno-demo-btn-primary {
  background: #061b4a;
  border-color: #061b4a;
  color: #ffffff;
}

.auno-demo-btn-primary:hover {
  background: #0b2a6a;
  border-color: #0b2a6a;
}

.auno-demo-btn-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  min-width: 34px;
  padding: 0;
  font-size: 18px;
}

.auno-demo-launcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 950;
  min-width: 88px;
  box-shadow: 0 14px 34px rgba(6, 27, 74, 0.18);
}

.auno-demo-tour {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 960;
  width: min(380px, calc(100vw - 32px));
  max-height: min(680px, calc(100vh - 36px));
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #dce6f0;
  border-radius: 8px;
  box-shadow: 0 22px 48px rgba(6, 27, 74, 0.22);
  color: #111827;
  overflow: hidden;
}

.auno-demo-tour-header {
  padding: 16px 16px 12px;
  border-bottom: 1px solid #e7eef6;
}

.auno-demo-tour-kicker {
  color: #0b61ac;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auno-demo-tour-title {
  margin: 4px 0 0;
  color: #061b4a;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: 0;
}

.auno-demo-tour-subtitle {
  margin: 6px 0 0;
  color: #526070;
  font-size: 13px;
  line-height: 1.45;
}

.auno-demo-tour-progress {
  height: 6px;
  background: #e8f0f8;
}

.auno-demo-tour-progress-bar {
  height: 100%;
  width: 0;
  background: #0b61ac;
  transition: width 0.2s ease;
}

.auno-demo-tour-list {
  display: grid;
  gap: 8px;
  padding: 12px;
  overflow: auto;
}

.auno-demo-step {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  border: 1px solid #e4ebf3;
  border-radius: 8px;
  background: #ffffff;
}

.auno-demo-step.is-active {
  border-color: #9dc5e8;
  background: #f5faff;
}

.auno-demo-step.is-done {
  background: #f7fbf8;
  border-color: #bfe3c8;
}

.auno-demo-step-index {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #edf3fa;
  color: #061b4a;
  font-size: 12px;
  font-weight: 850;
}

.auno-demo-step.is-done .auno-demo-step-index {
  background: #0f7a3b;
  color: #ffffff;
}

.auno-demo-step-title {
  margin: 0;
  color: #111827;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 850;
}

.auno-demo-step-text {
  margin: 4px 0 10px;
  color: #526070;
  font-size: 12px;
  line-height: 1.4;
}

.auno-demo-step .auno-demo-btn {
  min-height: 32px;
  padding: 8px 10px;
}

.auno-demo-tour-footer {
  justify-content: space-between;
  padding: 12px;
  border-top: 1px solid #e7eef6;
  background: #fbfdff;
}

.auno-demo-tour-count {
  color: #526070;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 720px) {
  .auno-demo-banner {
    align-items: flex-start;
    padding: 10px 14px;
  }

  .auno-demo-banner-actions {
    flex-wrap: nowrap;
  }

  .auno-demo-banner-text {
    display: none;
  }

  .auno-demo-tour {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    max-height: min(76vh, 640px);
  }

  .auno-demo-launcher {
    right: 12px;
    bottom: 12px;
  }
}
