html {
  overflow-y: scroll;
  height: 100%;
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
}

body.tw-body {
  overflow-y: visible;
  position: relative;
  height: auto;
}

html,
body.tw-body {
  overflow-x: hidden;
  margin: 0;
}

body.tw-body:has(.tutorial-horizontal) .tw-main,
.tw-main.tw-main--tutorial {
  max-width: 100%;
  padding-top: var(--tw-tutorial-main-offset, 0px);
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
  overflow: visible;
}

.tw-body.tw-body--tutorial .tw-account-chip__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tutorial-horizontal {
  --tw-tutorial-shell-max: 1240px;
  --tw-tutorial-shell-pad-x: clamp(1rem, 3.4vw, 2.4rem);
  --tw-tutorial-shell-pad-y: clamp(0.55rem, 1.2vh, 0.95rem);
  --tw-tutorial-surface-pad-x: clamp(1rem, 1.9vw, 1.6rem);
  --tw-tutorial-surface-pad-y: clamp(0.9rem, 1.6vh, 1.25rem);
  --tw-tutorial-stage-gap: clamp(0.9rem, 1.6vw, 1.4rem);
  --tw-tutorial-copy-measure: 62ch;
  --tw-tutorial-aside-max: 360px;
  --tw-tutorial-frame-top: 122px;
  --tw-tutorial-frame-height: calc(100dvh - var(--tw-tutorial-frame-top));
  --tw-tutorial-panel-width: 100vw;
  --tw-tutorial-scroll-margin: 144px;
  --tw-tutorial-track-width: 100%;
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: visible;
}

.tutorial-horizontal__shell {
  position: relative;
  display: grid;
  min-height: 0;
  gap: clamp(0.45rem, 0.8vh, 0.62rem);
}

.tutorial-horizontal__chrome {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(0.42rem, 0.75vh, 0.56rem);
  padding: var(--tw-tutorial-shell-pad-y) var(--tw-tutorial-shell-pad-x) 0;
  box-sizing: border-box;
}

.tutorial-horizontal__viewport {
  width: 100%;
  position: relative;
  min-height: 0;
}

.tutorial-horizontal__track {
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
  width: 100%;
}

.tutorial-step {
  position: relative;
  width: 100%;
  min-width: 0;
  margin: 0;
  scroll-margin-top: var(--tw-tutorial-scroll-margin);
  overflow: hidden;
  background:
    radial-gradient(135% 180% at 0% 0%, rgba(249, 115, 22, 0.16), transparent 54%),
    radial-gradient(135% 180% at 100% 100%, rgba(34, 211, 238, 0.14), transparent 56%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.98));
}

[data-theme="light"] .tutorial-step {
  background:
    radial-gradient(135% 180% at 0% 0%, rgba(217, 119, 6, 0.1), transparent 54%),
    radial-gradient(135% 180% at 100% 100%, rgba(14, 165, 233, 0.1), transparent 56%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 1));
}

.tutorial-step__inner {
  width: min(100%, var(--tw-tutorial-shell-max));
  max-width: var(--tw-tutorial-shell-max);
  min-height: 100%;
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
  box-sizing: border-box;
}

.tutorial-step__masthead,
.tutorial-step__progress {
  width: min(100%, var(--tw-tutorial-shell-max));
  max-width: var(--tw-tutorial-shell-max);
  margin-inline: auto;
}

.tutorial-step__surface {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.tutorial-step__masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}

.tutorial-step__skip,
.tutorial-step__skip:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  color: var(--tw-text-main);
  text-decoration: none;
}

.tutorial-step__progress {
  width: min(100%, var(--tw-tutorial-shell-max));
  min-width: 0;
  box-sizing: border-box;
  border-radius: 18px;
  padding: clamp(0.62rem, 1.2vh, 0.82rem);
  border: 1px solid var(--tw-line-soft);
  backdrop-filter: blur(10px);
  overflow: hidden;
  background:
    radial-gradient(160% 180% at 0% 0%, rgba(249, 115, 22, 0.1), transparent 58%),
    radial-gradient(160% 180% at 100% 100%, rgba(34, 211, 238, 0.08), transparent 58%),
    rgba(15, 23, 42, 0.72);
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.24);
}

.tutorial-step__controls {
  width: min(100%, var(--tw-tutorial-shell-max));
  max-width: var(--tw-tutorial-shell-max);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.55rem;
}

.tutorial-step__control {
  min-height: 38px;
}

.tutorial-step__control[hidden] {
  display: none;
}

.tutorial-step__control:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

[data-theme="light"] .tutorial-step__progress {
  background:
    radial-gradient(160% 180% at 0% 0%, rgba(217, 119, 6, 0.08), transparent 58%),
    radial-gradient(160% 180% at 100% 100%, rgba(14, 165, 233, 0.08), transparent 58%),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.tutorial-step__eyebrow,
.tw-tutorial-stage__eyebrow,
.tw-tutorial-stage__aside-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tw-accent-gold);
}

.tw-tutorial-progress__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  margin-bottom: 0.55rem;
}

.tw-tutorial-progress__count {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--tw-text-main);
  white-space: nowrap;
}

.tw-tutorial-progress__bar {
  width: 100%;
  height: 0.52rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.16);
  margin-bottom: 0.65rem;
}

.tw-tutorial-progress__fill {
  display: block;
  width: 14.285%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--tw-accent-amber), var(--tw-accent-gold), var(--tw-accent-cyan));
  transition: width 0.24s ease;
}

.tw-tutorial-progress__steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 0.42rem;
  padding: 0;
  margin: 0;
}

.tw-tutorial-progress__step {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-width: 0;
  padding: 0.42rem 0.62rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(15, 23, 42, 0.38);
  color: var(--tw-text-soft);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

[data-theme="light"] .tw-tutorial-progress__step {
  background: rgba(255, 255, 255, 0.76);
}

.tw-tutorial-progress__step.is-complete,
.tw-tutorial-progress__step.is-active {
  color: var(--tw-text-main);
}

.tw-tutorial-progress__step.is-complete {
  border-color: rgba(34, 211, 238, 0.28);
}

.tw-tutorial-progress__step.is-active {
  border-color: rgba(250, 204, 21, 0.55);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.16), rgba(34, 211, 238, 0.14));
  transform: translateY(-1px);
}

.tw-tutorial-progress__dot {
  width: 1.38rem;
  height: 1.38rem;
  flex-shrink: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.18);
  font-size: 0.7rem;
  font-weight: 800;
  color: inherit;
}

.tw-tutorial-progress__step.is-complete .tw-tutorial-progress__dot,
.tw-tutorial-progress__step.is-active .tw-tutorial-progress__dot {
  background: linear-gradient(135deg, var(--tw-accent-gold), var(--tw-accent-amber));
  border-color: transparent;
  color: var(--tw-text-inverted);
}

.tw-tutorial-progress__label {
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.tutorial-step__surface {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  padding: clamp(0.45rem, 1vh, 0.7rem) 0 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(0.5rem, 0.85vh, 0.7rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0));
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  overflow: hidden;
  box-sizing: border-box;
}

.tutorial-step__surface-body {
  min-height: 0;
  padding:
    var(--tw-tutorial-surface-pad-y)
    var(--tw-tutorial-surface-pad-x)
    clamp(0.9rem, 1.45vh, 1.18rem);
  overflow: visible;
}

.tutorial-step__footer {
  width: 100%;
  padding: 0.82rem var(--tw-tutorial-surface-pad-x) 0;
  border-top: 1px solid var(--tw-line-soft);
}

.tutorial-step__surface--emphasis {
  background:
    radial-gradient(140% 180% at 0% 0%, rgba(249, 115, 22, 0.1), transparent 56%),
    radial-gradient(140% 180% at 100% 100%, rgba(34, 211, 238, 0.08), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
}

[data-theme="light"] .tutorial-step__surface {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0));
  border-top-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .tutorial-step__surface--emphasis {
  background:
    radial-gradient(140% 180% at 0% 0%, rgba(217, 119, 6, 0.08), transparent 56%),
    radial-gradient(140% 180% at 100% 100%, rgba(14, 165, 233, 0.08), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
}

.tutorial-step__title,
.tw-tutorial-end-nav__title {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
  color: var(--tw-hero-heading);
}

.tutorial-step__lede {
  margin: 0;
  max-width: 32ch;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.5;
  color: var(--tw-text-main);
}

.tw-tutorial-stage__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, var(--tw-tutorial-aside-max));
  gap: clamp(1.1rem, 1.9vw, 1.7rem);
  align-items: start;
  min-height: 0;
  height: auto;
}

.tutorial-step__body {
  min-height: 0;
}

.tw-tutorial-stage__main {
  display: grid;
  gap: clamp(0.82rem, 1.4vh, 1.08rem);
  min-width: 0;
  min-height: 0;
  align-content: start;
}

.tw-tutorial-stage__stepline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.tw-tutorial-stage__step-number {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--tw-accent-amber), var(--tw-accent-gold));
  color: var(--tw-text-inverted);
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.28);
}

.tw-tutorial-stage__step-label {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--tw-accent-gold);
}

.tw-tutorial-stage__text,
.tw-tutorial-stage__aside-text,
.tw-tutorial-end-nav__text {
  margin: 0;
  font-size: clamp(1rem, 1vw, 1.06rem);
  line-height: 1.65;
  color: var(--tw-text-muted);
}

.tw-tutorial-stage__list,
.tw-tutorial-stage__mini-list {
  margin: 0;
  display: grid;
  gap: 0.68rem;
  color: var(--tw-text-main);
  line-height: 1.62;
}

.tw-tutorial-stage__list {
  padding-left: 1.3rem;
  max-width: min(100%, var(--tw-tutorial-copy-measure));
}

.tw-tutorial-stage__mini-list {
  padding-left: 1.1rem;
}

.tw-tutorial-stage__text,
.tw-tutorial-end-nav__text {
  max-width: min(100%, var(--tw-tutorial-copy-measure));
}

.tw-tutorial-stage__chips {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.55rem 0.62rem;
}

.tutorial-step .tw-tag {
  max-width: 100%;
  white-space: normal;
  text-align: left;
  line-height: 1.35;
}

.tutorial-step__aside,
.tw-tutorial-stage__aside {
  display: grid;
  gap: 0.82rem;
  align-self: start;
  justify-self: end;
  width: min(100%, var(--tw-tutorial-aside-max));
  min-width: 0;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  border: 1px solid var(--tw-line-soft);
  background:
    radial-gradient(140% 160% at 0% 0%, rgba(250, 204, 21, 0.08), transparent 58%),
    radial-gradient(140% 160% at 100% 100%, rgba(34, 211, 238, 0.08), transparent 58%),
    rgba(15, 23, 42, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  overflow: visible;
}

[data-theme="light"] .tutorial-step__aside,
[data-theme="light"] .tw-tutorial-stage__aside {
  background:
    radial-gradient(140% 160% at 0% 0%, rgba(217, 119, 6, 0.08), transparent 58%),
    radial-gradient(140% 160% at 100% 100%, rgba(14, 165, 233, 0.08), transparent 58%),
    rgba(255, 255, 255, 0.84);
}

.tw-tutorial-stage__preview-list {
  display: grid;
  gap: 0.55rem;
}

.tw-tutorial-stage__preview-list span {
  display: inline-flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 0.76rem 0.88rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.45);
  color: var(--tw-text-main);
}

[data-theme="light"] .tw-tutorial-stage__preview-list span {
  background: rgba(255, 255, 255, 0.92);
}

.tw-tutorial-stage__hint {
  margin: 0;
  font-size: 0.92rem;
  color: var(--tw-text-soft);
}

.tutorial-end-nav {
  width: 100%;
  display: grid;
  gap: 0.8rem;
  padding: 0.92rem var(--tw-tutorial-surface-pad-x) 0;
  border-top: 1px solid var(--tw-line-soft);
}

.tw-tutorial-end-nav__copy {
  display: grid;
  gap: 0.35rem;
}

.tw-tutorial-end-nav__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.tw-tutorial-end-nav__button.is-active {
  border-color: rgba(250, 204, 21, 0.55);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(34, 211, 238, 0.14));
  color: var(--tw-text-main);
}

.tw-tutorial-end-nav__actions {
  display: flex;
  justify-content: flex-end;
}

.tutorial-horizontal[data-tutorial-layout="stack"] {
  overflow: visible;
}

.tutorial-horizontal[data-tutorial-layout="stack"] .tutorial-horizontal__shell {
  gap: clamp(0.55rem, 1vh, 0.72rem);
}

.tutorial-horizontal[data-tutorial-layout="stack"] .tutorial-horizontal__viewport {
  height: auto;
  overflow: visible;
}

.tutorial-horizontal[data-tutorial-layout="stack"] .tutorial-horizontal__track {
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
  transform: none !important;
}

.tutorial-horizontal[data-tutorial-layout="stack"] .tutorial-step {
  height: auto;
  overflow: visible;
  padding: 0 var(--tw-tutorial-shell-pad-x) var(--tw-tutorial-shell-pad-y);
  box-sizing: border-box;
}

.tutorial-horizontal[data-tutorial-layout="stack"] .tutorial-step__inner {
  min-height: 0;
  height: auto;
}

.tutorial-horizontal[data-tutorial-layout="stack"] .tutorial-step__surface-body {
  overflow: visible;
}

.tutorial-horizontal[data-tutorial-layout="stack"] .tutorial-step__body {
  height: auto;
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-horizontal__viewport {
  height: 100%;
  overflow: hidden;
  min-height: 0;
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] {
  --tw-tutorial-surface-pad-x: clamp(0.95rem, 1.45vw, 1.28rem);
  --tw-tutorial-surface-pad-y: clamp(0.72rem, 1vh, 0.96rem);
  --tw-tutorial-aside-max: 340px;
  height: var(--tw-tutorial-frame-height);
  overflow: clip;
  background:
    radial-gradient(135% 180% at 0% 0%, rgba(249, 115, 22, 0.16), transparent 54%),
    radial-gradient(135% 180% at 100% 100%, rgba(34, 211, 238, 0.14), transparent 56%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.98));
}

[data-theme="light"] .tutorial-horizontal[data-tutorial-layout="horizontal"] {
  background:
    radial-gradient(135% 180% at 0% 0%, rgba(217, 119, 6, 0.1), transparent 54%),
    radial-gradient(135% 180% at 100% 100%, rgba(14, 165, 233, 0.1), transparent 56%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 1));
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-horizontal__shell {
  height: 100%;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(0.34rem, 0.65vh, 0.5rem);
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-horizontal__chrome {
  padding-top: clamp(0.4rem, 0.8vh, 0.58rem);
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-horizontal__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  height: 100%;
  width: var(--tw-tutorial-track-width);
  will-change: transform;
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step {
  flex: 0 0 var(--tw-tutorial-panel-width);
  width: var(--tw-tutorial-panel-width);
  min-width: var(--tw-tutorial-panel-width);
  max-width: var(--tw-tutorial-panel-width);
  height: 100%;
  padding: 0 var(--tw-tutorial-shell-pad-x) var(--tw-tutorial-shell-pad-y);
  box-sizing: border-box;
  background: transparent;
  overflow: visible;
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__inner {
  height: 100%;
  min-height: 0;
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__surface {
  width: 100%;
  max-width: none;
  height: 100%;
  padding-top: clamp(0.2rem, 0.55vh, 0.35rem);
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__progress {
  padding: clamp(0.42rem, 0.8vh, 0.58rem);
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__title,
.tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-end-nav__title {
  font-size: clamp(1.45rem, 2.35vw, 2.35rem);
  max-width: 18ch;
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__lede {
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  line-height: 1.32;
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-progress__steps {
  flex-wrap: wrap;
  overflow: visible;
  padding-bottom: 0;
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-progress__step {
  flex: 0 0 auto;
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__surface-body {
  display: grid;
  align-content: start;
  overflow: visible;
  overscroll-behavior: auto;
  scrollbar-gutter: auto;
  padding:
    var(--tw-tutorial-surface-pad-y)
    var(--tw-tutorial-surface-pad-x)
    clamp(0.72rem, 1vh, 0.9rem);
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__body {
  width: 100%;
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__grid {
  grid-template-columns: minmax(0, 1fr) minmax(250px, var(--tw-tutorial-aside-max));
  gap: clamp(1rem, 1.55vw, 1.28rem);
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__main {
  gap: 0.78rem;
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__text,
.tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__aside-text,
.tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-end-nav__text,
.tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__list,
.tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__mini-list {
  line-height: 1.46;
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__aside,
.tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__aside {
  width: min(100%, var(--tw-tutorial-aside-max));
  gap: 0.68rem;
  padding: 0.92rem 1rem;
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__preview-list span {
  padding: 0.58rem 0.68rem;
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-end-nav {
  gap: 0.68rem;
  padding-top: 0.7rem;
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-end-nav__buttons {
  gap: 0.55rem;
}

@media (max-height: 860px) and (min-width: 961px) {
  .tutorial-horizontal {
    --tw-tutorial-shell-pad-y: 0.45rem;
    --tw-tutorial-stage-gap: 0.95rem;
  }

  .tutorial-step__progress {
    padding: 0.5rem;
  }

  .tw-tutorial-progress__top {
    margin-bottom: 0.42rem;
  }

  .tw-tutorial-progress__bar {
    height: 0.44rem;
    margin-bottom: 0.48rem;
  }

  .tw-tutorial-progress__step {
    padding: 0.35rem 0.54rem;
  }
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__surface--final {
  overflow: hidden;
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step:not(.is-active) {
  opacity: 0.78;
}

@media (max-width: 960px) {
  .tutorial-horizontal {
    --tw-tutorial-shell-pad-x: clamp(0.85rem, 4.8vw, 1.2rem);
    --tw-tutorial-shell-pad-y: 0.72rem;
    --tw-tutorial-surface-pad-x: clamp(0.95rem, 4.2vw, 1.15rem);
    --tw-tutorial-surface-pad-y: 0.86rem;
    --tw-tutorial-stage-gap: 0.9rem;
  }

  .tutorial-horizontal__shell {
    gap: 0.55rem;
  }

  .tutorial-horizontal__chrome {
    gap: 0.48rem;
  }

  .tutorial-step__progress {
    padding: 0.68rem 0.72rem;
    border-radius: 16px;
  }

  .tw-tutorial-progress__top {
    gap: 0.4rem;
    margin-bottom: 0.48rem;
  }

  .tw-tutorial-progress__bar {
    margin-bottom: 0.5rem;
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tutorial-horizontal__track {
    gap: 0.9rem;
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tutorial-step {
    padding-inline: var(--tw-tutorial-shell-pad-x);
    padding-bottom: var(--tw-tutorial-shell-pad-y);
  }

  .tutorial-step__title,
  .tw-tutorial-end-nav__title {
    max-width: 11ch;
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    line-height: 1.04;
  }

  .tutorial-step__lede {
    max-width: none;
    font-size: clamp(1rem, 4.6vw, 1.16rem);
    line-height: 1.4;
  }

  .tw-tutorial-stage__main {
    gap: 0.75rem;
  }

  .tw-tutorial-stage__grid {
    grid-template-columns: 1fr;
  }

  .tutorial-step__aside,
  .tw-tutorial-stage__aside {
    width: 100%;
    max-width: none;
    gap: 0.62rem;
    padding: 0.84rem 0.9rem;
    border-radius: 18px;
  }
}

@media (max-width: 960px) {
  .tutorial-horizontal[data-tutorial-layout="stack"] {
    overflow: visible;
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tutorial-horizontal__viewport {
    height: auto;
    overflow: visible;
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tutorial-horizontal__track {
    display: grid;
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tutorial-step__inner {
    min-height: 0;
    height: auto;
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tutorial-step__surface {
    padding-top: 0.72rem;
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tutorial-step__surface-body {
    overflow: visible;
    padding:
      var(--tw-tutorial-surface-pad-y)
      var(--tw-tutorial-surface-pad-x)
      0.95rem;
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tw-tutorial-progress__steps {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.15rem;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tw-tutorial-progress__step {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .tw-tutorial-stage__text,
  .tw-tutorial-stage__aside-text,
  .tw-tutorial-end-nav__text,
  .tw-tutorial-stage__list,
  .tw-tutorial-stage__mini-list {
    font-size: 0.98rem;
    line-height: 1.52;
  }

  .tw-tutorial-stage__step-number {
    width: 2.2rem;
    height: 2.2rem;
  }

  .tw-tutorial-stage__step-label {
    font-size: 0.82rem;
    letter-spacing: 0.06em;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] {
    --tw-tutorial-shell-pad-x: clamp(0.8rem, 4.6vw, 1rem);
    --tw-tutorial-shell-pad-y: 0.55rem;
    --tw-tutorial-surface-pad-x: clamp(0.82rem, 4.2vw, 0.98rem);
    --tw-tutorial-surface-pad-y: 0.62rem;
    --tw-tutorial-aside-max: 100%;
    --tw-tutorial-stage-gap: 0.72rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-horizontal__shell {
    gap: 0.38rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-horizontal__chrome {
    gap: 0.38rem;
    padding-top: 0.4rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__progress {
    padding: 0.44rem 0.5rem;
    border-radius: 15px;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-progress__top {
    gap: 0.28rem;
    margin-bottom: 0.3rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-progress__bar {
    height: 0.34rem;
    margin-bottom: 0.32rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-progress__steps {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    padding-bottom: 0.12rem;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-progress__steps::-webkit-scrollbar {
    display: none;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-progress__step {
    flex: 0 0 auto;
    scroll-snap-align: start;
    gap: 0.28rem;
    padding: 0.24rem 0.38rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step {
    padding-inline: var(--tw-tutorial-shell-pad-x);
    padding-bottom: var(--tw-tutorial-shell-pad-y);
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__inner {
    height: 100%;
    min-height: 0;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__surface {
    padding-top: 0.28rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__surface-body {
    padding:
      var(--tw-tutorial-surface-pad-y)
      var(--tw-tutorial-surface-pad-x)
      0.72rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__title,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-end-nav__title {
    max-width: none;
    font-size: clamp(1.18rem, 5.7vw, 1.58rem);
    line-height: 1.04;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__lede {
    font-size: clamp(0.88rem, 3.6vw, 0.96rem);
    line-height: 1.24;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__grid {
    grid-template-columns: 1fr;
    gap: 0.72rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__main {
    gap: 0.62rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__text,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__aside-text,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-end-nav__text,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__list,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__mini-list {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__aside,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__aside {
    width: 100%;
    max-width: none;
    gap: 0.56rem;
    padding: 0.82rem 0.88rem;
    border-radius: 16px;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__step-number {
    width: 1.72rem;
    height: 1.72rem;
    font-size: 0.78rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__step-label {
    font-size: 0.68rem;
    letter-spacing: 0.05em;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-end-nav {
    gap: 0.4rem;
    padding-top: 0.4rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-end-nav__buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.42rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-end-nav__button {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .tutorial-horizontal[data-tutorial-layout="stack"] .tutorial-step__masthead,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__masthead {
    flex-direction: column;
    align-items: stretch;
  }

  .tutorial-step__skip,
  .tw-tutorial-end-nav__actions .tw-btn-primary {
    width: 100%;
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tutorial-step__surface {
    padding-top: 0.65rem;
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tw-tutorial-progress__top,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-progress__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .tw-tutorial-end-nav__actions {
    justify-content: stretch;
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tw-tutorial-progress__steps,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-progress__steps {
    scrollbar-width: none;
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tw-tutorial-progress__steps::-webkit-scrollbar,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-progress__steps::-webkit-scrollbar {
    display: none;
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tw-tutorial-progress__count,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-progress__count {
    font-size: 0.82rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__masthead {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__skip {
    width: auto;
    min-width: 0;
    padding-inline: 0.8rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-progress__top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__title,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-end-nav__title {
    max-width: none;
    font-size: clamp(1.08rem, 5.2vw, 1.36rem);
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__surface {
    padding-top: 0.22rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__lede {
    font-size: 0.84rem;
    line-height: 1.2;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-progress__dot {
    width: 1rem;
    height: 1rem;
    font-size: 0.56rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-progress__label {
    font-size: 0.62rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__footer {
    padding-top: 0.38rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__hint {
    font-size: 0.74rem;
  }
}

@media (max-width: 520px) {
  .tutorial-horizontal[data-tutorial-layout="stack"] {
    --tw-tutorial-shell-pad-x: 0.85rem;
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tutorial-step__title,
  .tutorial-horizontal[data-tutorial-layout="stack"] .tw-tutorial-end-nav__title {
    max-width: none;
    font-size: clamp(1.55rem, 10vw, 2.05rem);
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tutorial-step__eyebrow,
  .tutorial-horizontal[data-tutorial-layout="stack"] .tw-tutorial-stage__aside-label {
    font-size: 0.72rem;
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tutorial-step__footer {
    padding-top: 0.6rem;
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tw-tutorial-stage__hint {
    font-size: 0.84rem;
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tw-tutorial-stage__stepline {
    gap: 0.55rem;
    align-items: flex-start;
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tw-tutorial-stage__step-number {
    width: 2rem;
    height: 2rem;
    font-size: 0.88rem;
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tw-tutorial-stage__step-label {
    font-size: 0.76rem;
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tw-tutorial-progress__step,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-progress__step {
    padding-inline: 0.62rem;
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tw-tutorial-progress__label,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-progress__label {
    font-size: 0.72rem;
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tw-tutorial-end-nav__buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tw-tutorial-end-nav__button {
    width: 100%;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] {
    --tw-tutorial-shell-pad-x: 0.8rem;
    --tw-tutorial-surface-pad-x: 0.78rem;
    --tw-tutorial-surface-pad-y: 0.58rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__progress {
    padding: 0.38rem 0.44rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-progress__top {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.2rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-progress__count {
    font-size: 0.74rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__title,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-end-nav__title {
    max-width: none;
    font-size: clamp(1rem, 5.4vw, 1.22rem);
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__eyebrow,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__aside-label {
    font-size: 0.68rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__hint {
    font-size: 0.78rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__text,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__aside-text,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-end-nav__text,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__list,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__mini-list {
    font-size: 0.8rem;
    line-height: 1.28;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-end-nav__buttons {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 430px) {
  .tutorial-horizontal[data-tutorial-layout="horizontal"] #tutorial-step-0 .tutorial-step__surface-body {
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] #tutorial-step-0 .tw-tutorial-stage__grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.46rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] #tutorial-step-0 .tw-tutorial-stage__main {
    gap: 0.42rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] #tutorial-step-0 .tw-tutorial-stage__text {
    line-height: 1.24;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] #tutorial-step-0 .tw-tutorial-stage__chips {
    gap: 0.24rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] #tutorial-step-0 .tutorial-step__aside,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] #tutorial-step-0 .tw-tutorial-stage__aside {
    width: 100%;
    align-self: stretch;
  }
}

@media (max-width: 430px) and (max-height: 760px) {
  .tutorial-horizontal[data-tutorial-layout="horizontal"] {
    --tw-tutorial-shell-pad-x: 0.76rem;
    --tw-tutorial-shell-pad-y: 0.34rem;
    --tw-tutorial-surface-pad-x: 0.74rem;
    --tw-tutorial-surface-pad-y: 0.44rem;
    --tw-tutorial-stage-gap: 0.56rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-horizontal__shell {
    gap: 0.24rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-horizontal__chrome {
    gap: 0.24rem;
    padding-top: 0.2rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__masthead {
    gap: 0.28rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__skip {
    padding-block: 0.24rem;
    padding-inline: 0.66rem;
    font-size: 0.68rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__progress {
    padding: 0.28rem 0.34rem;
    border-radius: 12px;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-progress__top {
    gap: 0.2rem;
    margin-bottom: 0.18rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-progress__count {
    font-size: 0.7rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-progress__bar {
    height: 0.26rem;
    margin-bottom: 0.2rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-progress__step {
    gap: 0.2rem;
    padding: 0.14rem 0.24rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-progress__dot {
    width: 0.9rem;
    height: 0.9rem;
    font-size: 0.5rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-progress__label {
    font-size: 0.56rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step {
    padding-bottom: 0.26rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__surface {
    padding-top: 0.14rem;
    gap: 0.24rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__surface-body {
    padding:
      var(--tw-tutorial-surface-pad-y)
      var(--tw-tutorial-surface-pad-x)
      0.54rem;
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__body {
    min-height: 0;
    height: auto;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step--final .tutorial-step__surface-body,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step--final .tutorial-step__body {
    height: auto;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__title,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-end-nav__title {
    font-size: clamp(0.94rem, 5vw, 1.12rem);
    line-height: 1;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__eyebrow,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__aside-label {
    font-size: 0.62rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__lede {
    font-size: 0.76rem;
    line-height: 1.14;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__grid {
    min-height: 0;
    grid-template-rows: auto auto;
    align-content: start;
    gap: 0.42rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] #tutorial-step-0 .tw-tutorial-stage__grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.46rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] #tutorial-step-0 .tw-tutorial-stage__main {
    gap: 0.4rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] #tutorial-step-0 .tutorial-step__aside,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] #tutorial-step-0 .tw-tutorial-stage__aside {
    width: 100%;
    align-self: stretch;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step--final .tw-tutorial-stage__grid {
    min-height: 0;
    grid-template-rows: auto auto;
    align-content: start;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__main {
    gap: 0.46rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__stepline {
    gap: 0.4rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__step-number {
    width: 1.46rem;
    height: 1.46rem;
    font-size: 0.7rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__step-label {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__text,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__aside-text,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-end-nav__text,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__list,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__mini-list {
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__chips {
    gap: 0.26rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tag {
    padding: 0.18rem 0.34rem;
    font-size: 0.6rem;
    letter-spacing: 0.04em;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__aside,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__aside {
    align-self: end;
    gap: 0.38rem;
    padding: 0.6rem 0.66rem;
    border-radius: 14px;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step--final .tutorial-step__aside,
  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step--final .tw-tutorial-stage__aside {
    align-self: start;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__preview-list {
    gap: 0.22rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__preview-list span {
    padding: 0.32rem 0.42rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step__footer {
    padding-top: 0.28rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-stage__hint {
    font-size: 0.7rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-end-nav {
    gap: 0.3rem;
    padding-top: 0.28rem;
  }

  .tutorial-horizontal[data-tutorial-layout="horizontal"] .tw-tutorial-end-nav__buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.26rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tw-tutorial-progress__fill,
  .tw-tutorial-progress__step,
  .tutorial-step,
  .tw-tutorial-end-nav__button {
    animation: none !important;
    transition: none !important;
  }
}

/* =====================================================
   Sharp-1 precision layer: tutorial visuals only
   ===================================================== */
.tutorial-horizontal {
  --tw-tutorial-surface-pad-x: clamp(0.86rem, 1.55vw, 1.25rem);
  --tw-tutorial-surface-pad-y: clamp(0.72rem, 1.2vh, 0.96rem);
  --tw-tutorial-stage-gap: clamp(0.72rem, 1.25vw, 1.05rem);
  --tw-guide-page-bg: linear-gradient(180deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.985));
  --tw-guide-surface: rgba(15, 23, 42, 0.84);
  --tw-guide-surface-strong: rgba(17, 24, 39, 0.94);
  --tw-guide-surface-subtle: rgba(30, 41, 59, 0.86);
  --tw-guide-surface-glow-warm: rgba(251, 146, 60, 0.1);
  --tw-guide-surface-glow-cool: rgba(34, 211, 238, 0.08);
  --tw-guide-surface-line: rgba(226, 232, 240, 0.16);
  --tw-guide-text: #f8fafc;
  --tw-guide-muted: #cbd5e1;
  --tw-guide-label: #fdba74;
  --tw-guide-border: rgba(226, 232, 240, 0.18);
  --tw-guide-border-strong: rgba(251, 146, 60, 0.52);
  --tw-guide-shadow: 0 12px 28px rgba(2, 6, 23, 0.34);
  --tw-guide-progress-track: rgba(148, 163, 184, 0.22);
  --tw-guide-progress-fill: linear-gradient(90deg, #fb923c, #facc15, #22d3ee);
  --tw-guide-step-bg: rgba(30, 41, 59, 0.82);
  --tw-guide-step-text: #e2e8f0;
  --tw-guide-step-border: rgba(226, 232, 240, 0.14);
  --tw-guide-step-active-border: rgba(251, 146, 60, 0.62);
  --tw-guide-step-active-bg: rgba(251, 146, 60, 0.22);
  --tw-guide-step-active-text: #fff7ed;
  --tw-guide-step-complete-bg: rgba(14, 116, 144, 0.22);
  --tw-guide-step-complete-border: rgba(34, 211, 238, 0.42);
  --tw-guide-step-dot-bg: rgba(15, 23, 42, 0.96);
  --tw-guide-step-dot-text: #f8fafc;
  --tw-guide-step-dot-border: rgba(226, 232, 240, 0.2);
  --tw-guide-step-dot-active-bg: linear-gradient(135deg, #fb923c, #facc15);
  --tw-guide-step-dot-active-text: #111827;
  --tw-guide-pill-bg: #fb923c;
  --tw-guide-pill-text: #111827;
  --tw-guide-pill-border: rgba(251, 146, 60, 0.62);
  --tw-guide-pill-muted-bg: #334155;
  --tw-guide-pill-muted-text: #f8fafc;
  --tw-guide-pill-muted-border: rgba(226, 232, 240, 0.18);
  --tw-guide-control-bg: rgba(15, 23, 42, 0.46);
  --tw-guide-control-hover-bg: rgba(30, 41, 59, 0.9);
  --tw-guide-control-text: #f8fafc;
  --tw-guide-control-border: rgba(226, 232, 240, 0.26);
  --tw-guide-control-hover-border: rgba(251, 146, 60, 0.5);
  --tw-guide-primary-bg: linear-gradient(135deg, #fb923c, #facc15);
  --tw-guide-primary-bg-hover: linear-gradient(135deg, #fdba74, #fde047);
  --tw-guide-primary-text: #111827;
  --tw-guide-primary-shadow: 0 12px 26px rgba(249, 115, 22, 0.28);
}

[data-theme="light"] .tutorial-horizontal {
  --tw-guide-page-bg: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 1));
  --tw-guide-surface: rgba(255, 255, 255, 0.92);
  --tw-guide-surface-strong: rgba(255, 255, 255, 0.98);
  --tw-guide-surface-subtle: rgba(248, 250, 252, 0.96);
  --tw-guide-surface-glow-warm: rgba(217, 119, 6, 0.08);
  --tw-guide-surface-glow-cool: rgba(14, 165, 233, 0.08);
  --tw-guide-surface-line: rgba(15, 23, 42, 0.1);
  --tw-guide-text: #111827;
  --tw-guide-muted: #475569;
  --tw-guide-label: #c2410c;
  --tw-guide-border: rgba(15, 23, 42, 0.14);
  --tw-guide-border-strong: rgba(194, 65, 12, 0.34);
  --tw-guide-shadow: 0 12px 26px rgba(15, 23, 42, 0.11);
  --tw-guide-progress-track: rgba(100, 116, 139, 0.22);
  --tw-guide-progress-fill: linear-gradient(90deg, #ea580c, #f59e0b, #0284c7);
  --tw-guide-step-bg: rgba(255, 255, 255, 0.92);
  --tw-guide-step-text: #334155;
  --tw-guide-step-border: rgba(15, 23, 42, 0.14);
  --tw-guide-step-active-border: rgba(234, 88, 12, 0.44);
  --tw-guide-step-active-bg: #fff7ed;
  --tw-guide-step-active-text: #111827;
  --tw-guide-step-complete-bg: #ecfeff;
  --tw-guide-step-complete-border: rgba(14, 116, 144, 0.38);
  --tw-guide-step-dot-bg: #e2e8f0;
  --tw-guide-step-dot-text: #334155;
  --tw-guide-step-dot-border: rgba(15, 23, 42, 0.16);
  --tw-guide-step-dot-active-bg: linear-gradient(135deg, #f97316, #fbbf24);
  --tw-guide-step-dot-active-text: #111827;
  --tw-guide-pill-bg: #1f2937;
  --tw-guide-pill-text: #f8fafc;
  --tw-guide-pill-border: rgba(15, 23, 42, 0.24);
  --tw-guide-pill-muted-bg: #e5e7eb;
  --tw-guide-pill-muted-text: #334155;
  --tw-guide-pill-muted-border: rgba(15, 23, 42, 0.14);
  --tw-guide-control-bg: rgba(255, 255, 255, 0.88);
  --tw-guide-control-hover-bg: #fff7ed;
  --tw-guide-control-text: #111827;
  --tw-guide-control-border: rgba(15, 23, 42, 0.2);
  --tw-guide-control-hover-border: rgba(234, 88, 12, 0.44);
  --tw-guide-primary-bg: linear-gradient(135deg, #f97316, #fbbf24);
  --tw-guide-primary-bg-hover: linear-gradient(135deg, #ea580c, #f59e0b);
  --tw-guide-primary-text: #111827;
  --tw-guide-primary-shadow: 0 12px 24px rgba(249, 115, 22, 0.22);
}

.tutorial-step {
  color: var(--tw-guide-text);
  background: var(--tw-guide-page-bg);
}

[data-theme="light"] .tutorial-step {
  background: var(--tw-guide-page-bg);
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] {
  background: var(--tw-guide-page-bg);
}

.tutorial-step__progress,
.tutorial-step__aside,
.tw-tutorial-stage__aside,
.tw-tutorial-stage__preview-list span {
  border-radius: var(--tw-ui-radius-card, var(--tw-radius-md, 10px));
  border-color: var(--tw-guide-border);
  box-shadow: var(--tw-guide-shadow);
}

.tutorial-step__progress {
  padding: clamp(0.52rem, 0.95vh, 0.68rem);
  color: var(--tw-guide-text);
  background:
    radial-gradient(150% 170% at 0% 0%, var(--tw-guide-surface-glow-warm), transparent 58%),
    radial-gradient(150% 170% at 100% 100%, var(--tw-guide-surface-glow-cool), transparent 58%),
    var(--tw-guide-surface);
}

.tutorial-step__surface {
  gap: 0.48rem;
  background: linear-gradient(180deg, var(--tw-guide-surface-line), transparent);
  border-top-color: var(--tw-guide-border);
}

.tutorial-step__surface--emphasis {
  background:
    linear-gradient(145deg, var(--tw-guide-surface-glow-warm), transparent 52%),
    linear-gradient(180deg, var(--tw-guide-surface-line), transparent);
}

.tutorial-step__title,
.tw-tutorial-end-nav__title {
  font-size: clamp(1.72rem, 3.25vw, 2.75rem);
  line-height: 1.04;
  color: var(--tw-guide-text);
}

.tutorial-step__lede {
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.42;
  color: var(--tw-guide-text);
}

.tw-tutorial-stage__main {
  gap: 0.72rem;
}

.tw-tutorial-stage__text,
.tw-tutorial-stage__aside-text,
.tw-tutorial-end-nav__text,
.tw-tutorial-stage__list,
.tw-tutorial-stage__mini-list {
  line-height: 1.5;
}

.tutorial-step__eyebrow,
.tw-tutorial-stage__eyebrow,
.tw-tutorial-stage__aside-label,
.tw-tutorial-stage__step-label {
  color: var(--tw-guide-label);
}

.tw-tutorial-progress__count,
.tw-tutorial-stage__list,
.tw-tutorial-stage__mini-list {
  color: var(--tw-guide-text);
}

.tw-tutorial-stage__text,
.tw-tutorial-stage__aside-text,
.tw-tutorial-end-nav__text,
.tw-tutorial-stage__hint {
  color: var(--tw-guide-muted);
}

.tw-tutorial-progress__step,
.tutorial-horizontal .tw-tag,
.tw-tutorial-end-nav__button,
.tutorial-horizontal .tw-btn-primary,
.tutorial-horizontal .tw-btn-ghost,
.tutorial-horizontal .tw-pill {
  border-radius: var(--tw-ui-radius-chip, var(--tw-radius-sm, 8px));
}

.tw-tutorial-progress__step {
  padding: 0.34rem 0.5rem;
  border-color: var(--tw-guide-step-border);
  background: var(--tw-guide-step-bg);
  color: var(--tw-guide-step-text);
}

.tw-tutorial-progress__step.is-complete {
  border-color: var(--tw-guide-step-complete-border);
  background: var(--tw-guide-step-complete-bg);
  color: var(--tw-guide-text);
}

.tw-tutorial-progress__step.is-active {
  border-color: var(--tw-guide-step-active-border, var(--tw-guide-border-strong));
  background: var(--tw-guide-step-active-bg);
  color: var(--tw-guide-step-active-text);
}

.tw-tutorial-progress__dot {
  border-color: var(--tw-guide-step-dot-border);
  background: var(--tw-guide-step-dot-bg);
  color: var(--tw-guide-step-dot-text);
}

.tw-tutorial-progress__step.is-complete .tw-tutorial-progress__dot,
.tw-tutorial-progress__step.is-active .tw-tutorial-progress__dot {
  border-color: transparent;
  background: var(--tw-guide-step-dot-active-bg);
  color: var(--tw-guide-step-dot-active-text);
}

.tw-tutorial-progress__bar {
  height: 0.38rem;
  background: var(--tw-guide-progress-track);
}

.tw-tutorial-progress__fill {
  background: var(--tw-guide-progress-fill);
}

.tutorial-step__aside,
.tw-tutorial-stage__aside {
  gap: 0.68rem;
  padding: 0.82rem 0.9rem;
  background:
    radial-gradient(140% 160% at 0% 0%, var(--tw-guide-surface-glow-warm), transparent 58%),
    radial-gradient(140% 160% at 100% 100%, var(--tw-guide-surface-glow-cool), transparent 58%),
    var(--tw-guide-surface-strong);
}

.tw-tutorial-stage__preview-list span {
  background: var(--tw-guide-surface-subtle);
  color: var(--tw-guide-text);
}

.tutorial-step .tw-tag {
  border-color: var(--tw-guide-pill-muted-border);
  background: var(--tw-guide-pill-muted-bg);
  color: var(--tw-guide-pill-muted-text);
}

.tutorial-step .tw-tag--accent {
  border-color: var(--tw-guide-pill-border);
  background: var(--tw-guide-pill-bg);
  color: var(--tw-guide-pill-text);
}

.tutorial-horizontal .tw-pill {
  border-color: var(--tw-guide-pill-muted-border);
  background: var(--tw-guide-pill-muted-bg);
  color: var(--tw-guide-pill-muted-text);
}

.tutorial-horizontal .tw-pill-dot {
  background: var(--tw-guide-step-dot-active-bg);
}

.tutorial-horizontal .tw-btn-ghost {
  border-color: var(--tw-guide-control-border);
  background: var(--tw-guide-control-bg);
  color: var(--tw-guide-control-text);
}

.tutorial-horizontal .tw-btn-ghost:hover,
.tutorial-horizontal .tw-btn-ghost:focus-visible {
  border-color: var(--tw-guide-control-hover-border);
  background: var(--tw-guide-control-hover-bg);
  color: var(--tw-guide-control-text);
}

.tutorial-horizontal .tw-btn-primary,
.tutorial-horizontal .tw-btn-primary:visited,
.tutorial-horizontal .tw-btn-primary:focus-visible {
  border: 1px solid transparent;
  background: var(--tw-guide-primary-bg);
  color: var(--tw-guide-primary-text);
  box-shadow: var(--tw-guide-primary-shadow);
}

.tutorial-horizontal .tw-btn-primary:hover {
  background: var(--tw-guide-primary-bg-hover);
  color: var(--tw-guide-primary-text);
}

.tw-tutorial-end-nav__button.is-active {
  border-color: var(--tw-guide-step-active-border, var(--tw-guide-border-strong));
  background: var(--tw-guide-step-active-bg);
  color: var(--tw-guide-step-active-text);
}

.tutorial-end-nav {
  padding-top: 0.72rem;
}

.tutorial-step--final .tutorial-step__surface {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
}

.tutorial-step--final .tutorial-step__surface-body {
  display: block;
  flex: 0 0 auto;
  min-height: 0;
}

.tutorial-step--final .tw-tutorial-stage__main {
  display: flex;
  flex-direction: column;
  gap: clamp(0.58rem, 0.95vw, 0.82rem);
}

.tutorial-step--final .tw-tutorial-stage__grid {
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.tutorial-step--final .tutorial-step__title {
  max-width: 20ch;
  font-size: clamp(1.45rem, 2.55vw, 2.12rem);
  line-height: 1.04;
}

.tutorial-step--final .tw-tutorial-stage__text,
.tutorial-step--final .tw-tutorial-end-nav__text {
  font-size: clamp(0.92rem, 0.95vw, 1rem);
  line-height: 1.42;
}

.tutorial-step--final .tw-tutorial-end-nav__title {
  max-width: none;
  font-size: clamp(1.18rem, 1.75vw, 1.58rem);
  line-height: 1.08;
}

.tutorial-step--final .tutorial-end-nav {
  flex: 0 0 auto;
  margin-top: clamp(0.08rem, 0.28vw, 0.18rem);
  padding: clamp(0.72rem, 1vw, 0.92rem) 0 0;
  gap: clamp(0.5rem, 0.75vw, 0.68rem);
}

.tutorial-step--final .tw-tutorial-end-nav__copy {
  gap: 0.25rem;
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step--final .tw-tutorial-stage__grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step--final .tw-tutorial-stage__main {
  gap: clamp(0.58rem, 0.95vw, 0.82rem);
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step--final .tutorial-step__title {
  max-width: 20ch;
  font-size: clamp(1.45rem, 2.55vw, 2.12rem);
  line-height: 1.04;
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step--final .tw-tutorial-stage__text,
.tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step--final .tw-tutorial-end-nav__text {
  font-size: clamp(0.92rem, 0.95vw, 1rem);
  line-height: 1.42;
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step--final .tw-tutorial-end-nav__title {
  max-width: none;
  font-size: clamp(1.18rem, 1.75vw, 1.58rem);
  line-height: 1.08;
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step--final .tutorial-step__surface {
  overflow-x: hidden;
  overflow-y: visible;
  overscroll-behavior-y: auto;
}

.tutorial-horizontal[data-tutorial-layout="horizontal"] .tutorial-step--final .tutorial-step__surface-body {
  display: block;
  flex: 0 0 auto;
  min-height: 0;
  overflow: visible;
  padding-bottom: clamp(0.72rem, 1vh, 0.95rem);
}

@media (max-width: 960px) {
  .tutorial-horizontal[data-tutorial-layout="stack"] .tutorial-horizontal__track {
    gap: 0.72rem;
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tutorial-step__surface-body {
    padding-bottom: 0.78rem;
  }
}

@media (max-width: 520px) {
  .tutorial-horizontal[data-tutorial-layout="stack"] {
    --tw-tutorial-shell-pad-x: 0.72rem;
  }

  .tutorial-horizontal[data-tutorial-layout="stack"] .tutorial-step__title,
  .tutorial-horizontal[data-tutorial-layout="stack"] .tw-tutorial-end-nav__title {
    font-size: clamp(1.38rem, 8.6vw, 1.86rem);
  }
}
