/* Demo 10 Web Product first-run guide */
.bt-user-guide {
  width: min(760px, calc(100vw - 32px));
  max-width: 760px;
  max-height: min(860px, calc(100dvh - 32px));
  padding: 0;
  border: 1px solid var(--bs-border-color, #dce3ee);
  border-radius: 16px;
  color: var(--bs-body-color, #071437);
  background: var(--bs-body-bg, #fff);
  box-shadow: 0 24px 70px rgb(12 22 48 / 25%);
  overflow: auto;
}

.bt-user-guide::backdrop { background: rgb(10 16 32 / 58%); }
#bt-open-user-guide[hidden] { display: none !important; }
.bt-user-guide__surface { padding: 24px; }
.bt-user-guide__header,
.bt-user-guide__heading,
.bt-user-guide__step-heading,
.bt-user-guide__footer,
.bt-user-guide__actions { display: flex; align-items: center; }
.bt-user-guide__header { justify-content: space-between; gap: 16px; }
.bt-user-guide__heading,
.bt-user-guide__step-heading { gap: 14px; min-width: 0; }
.bt-user-guide__eyebrow { margin: 0 0 4px; color: var(--bs-primary, #2563eb); font-size: 11px; font-weight: 700; letter-spacing: .07em; }
.bt-user-guide__header h2,
.bt-user-guide__step-heading h3 { margin: 0; color: var(--bs-body-color, #071437); font-weight: 800; letter-spacing: -.02em; }
.bt-user-guide__header h2 { font-size: 21px; }
.bt-user-guide__header p:last-child,
.bt-user-guide__step-heading p:last-child { margin: 4px 0 0; color: var(--bs-secondary-color, #64748b); font-size: 13px; line-height: 1.55; }
.bt-user-guide__close { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; border: 0; border-radius: 10px; color: inherit; background: var(--bs-tertiary-bg, #f4f6fa); font-size: 25px; line-height: 1; }
.bt-user-guide__close:hover { background: var(--bs-secondary-bg, #e9eef5); }
.bt-user-guide__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 22px 0 20px; }
.bt-user-guide__step { display: flex; min-width: 0; min-height: 48px; align-items: center; gap: 8px; padding: 7px 9px; border: 0; border-radius: 10px; color: var(--bs-secondary-color, #64748b); background: var(--bs-tertiary-bg, #f4f6fa); text-align: left; font-size: 12px; font-weight: 600; line-height: 1.25; }
.bt-user-guide__step:hover { color: var(--bs-body-color, #071437); background: var(--bs-secondary-bg, #e9eef5); }
.bt-user-guide__step.is-active { color: var(--bs-primary, #2563eb); background: var(--bs-primary-bg-subtle, #eff6ff); box-shadow: inset 0 0 0 1px var(--bs-primary, #2563eb); }
.bt-user-guide__step.is-complete .bt-user-guide__step-number { color: #fff; background: var(--bs-success, #16a34a); }
.bt-user-guide__step-number { display: grid; flex: 0 0 26px; width: 26px; height: 26px; place-items: center; border-radius: 50%; color: var(--bs-secondary-color, #64748b); background: var(--bs-body-bg, #fff); font-size: 12px; font-variant-numeric: tabular-nums; }
.bt-user-guide__content { min-height: 270px; padding: 22px; border-radius: 12px; background: var(--bs-tertiary-bg, #f4f6fa); }
.bt-user-guide__step-heading { align-items: flex-start; }
.bt-user-guide__step-heading h3 { font-size: 18px; }
.bt-user-guide__details { display: grid; gap: 10px; margin: 22px 0; padding: 0; list-style: none; }
.bt-user-guide__details li { position: relative; padding-left: 22px; color: var(--bs-body-color, #1e293b); font-size: 14px; line-height: 1.55; }
.bt-user-guide__details li::before { position: absolute; top: .18em; left: 0; color: var(--bs-primary, #2563eb); content: '✓'; font-weight: 800; }
.bt-user-guide__route { min-height: 42px; }
.bt-user-guide__route span { margin-left: 6px; }
.bt-user-guide__footer { justify-content: space-between; gap: 12px; margin-top: 18px; }
.bt-user-guide__count { color: var(--bs-secondary-color, #64748b); font-size: 12px; font-variant-numeric: tabular-nums; }
.bt-user-guide__actions { gap: 8px; }
.bt-user-guide__footer .btn { min-height: 42px; }
.bt-user-guide__prev:disabled { visibility: hidden; }
.bt-user-guide button:focus-visible,
.bt-user-guide a:focus-visible { outline: 3px solid var(--bs-primary, #2563eb); outline-offset: 2px; }

@media (max-width: 640px) {
  .bt-user-guide { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); border-radius: 12px; }
  .bt-user-guide__surface { padding: 16px; }
  .bt-user-guide__header h2 { font-size: 18px; }
  .bt-user-guide__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bt-user-guide__step { min-height: 44px; }
  .bt-user-guide__content { min-height: 310px; padding: 16px; }
  .bt-user-guide__footer { flex-wrap: wrap; }
  .bt-user-guide__count { order: 3; width: 100%; text-align: center; }
  .bt-user-guide__actions { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .bt-user-guide *, .bt-user-guide *::before, .bt-user-guide *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
