.steps-lab {
  width: 100%;
  display: grid;
  gap: 20px;
  font-family:
    "Source Han Sans CN", "思源黑体 CN", "Microsoft YaHei", sans-serif;
}
.steps-playground {
  padding: 20px;
  display: grid;
  gap: 16px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
}
.steps-head {
  display: grid;
  gap: 2px;
}
.steps-head h3 {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
}
.steps-head span {
  color: #999;
  font-size: 11px;
  line-height: 18px;
}
.steps-control {
  width: min(100%, 360px);
  display: grid;
  gap: 8px;
}
.steps-control label {
  color: #666;
  font-size: 12px;
  line-height: 18px;
}
.steps-live {
  min-height: 390px;
  padding: 28px 20px;
  display: grid;
  place-items: center;
  overflow: visible;
  border: 1px dashed #d9d9d9;
  border-radius: 6px;
  background: #f7f7f7;
}
.steps-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.steps-variant {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
}
.steps-variant > header {
  box-sizing: border-box;
  height: 44px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e8e8e8;
  font-size: 12px;
  line-height: 18px;
}
.steps-variant > header span {
  color: #999;
}
.steps-stage {
  min-height: 390px;
  padding: 28px 20px;
  display: grid;
  place-items: center;
  overflow: visible;
  background: #f7f7f7;
}
.steps-instance {
  max-width: 100%;
}
.lan-steps {
  color: #333;
  font-weight: 400;
}
.lan-steps.horizontal {
  display: flex;
  align-items: center;
}
.step-node {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #d9d9d9;
  border-radius: 50%;
  color: #999;
  background: #fff;
  font: 400 14px/18px inherit;
  cursor: pointer;
}
.step-node.large {
  width: 32px;
  height: 32px;
}
.step-node.small {
  width: 24px;
  height: 24px;
}
.step-node.current {
  color: #fff;
  border-color: #2990ff;
  background: #2990ff;
}
.step-node.done {
  border-color: #2990ff;
  background: #fff;
}
.step-node.done img {
  width: 14px;
  height: 14px;
  display: block;
  filter: brightness(0) saturate(100%) invert(51%) sepia(97%) saturate(2435%)
    hue-rotate(190deg) brightness(101%) contrast(101%);
}
.step-node.small.done img {
  width: 10px;
  height: 10px;
}
.horizontal.default {
  justify-content: center;
  gap: 16px;
}
.horizontal.default.large {
  width: 792px;
  height: 32px;
}
.horizontal.default.small {
  width: 744px;
  height: 24px;
}
.horizontal.default .step-main {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 14px;
  line-height: 18px;
}
.horizontal.default.small .step-main {
  font-size: 12px;
}
.horizontal.default .current span {
  font-weight: 500;
}
.horizontal.default .pending {
  color: #999;
}
.horizontal.default > i {
  width: 220px;
  height: 1px;
  flex: 0 0 220px;
  background: #2990ff;
}
.horizontal.default > i.pending-line {
  background: #d9d9d9;
}
.horizontal.description {
  align-items: flex-start;
  gap: 20px;
}
.horizontal.description.large {
  width: 930px;
  min-height: 104px;
}
.horizontal.description.small {
  width: 914px;
  min-height: 96px;
}
.step-desc {
  position: relative;
  width: 258px;
  flex: 0 0 258px;
}
.step-desc > div {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.description.small .step-desc > div {
  height: 24px;
}
.step-desc > div > span {
  color: #333;
  font-size: 14px;
  line-height: 22px;
  white-space: nowrap;
}
.description.small .step-desc > div > span {
  font-size: 12px;
}
.step-desc > div > i {
  width: 154px;
  height: 1px;
  margin-left: auto;
  background: #2990ff;
}
.step-desc.pending > div > i {
  background: #d9d9d9;
}
.step-desc p {
  width: 132px;
  margin: 0 0 0 40px;
  color: #666;
  font-size: 12px;
  line-height: 18px;
}
.horizontal.description .step-desc:last-child {
  width: auto;
  flex: 0 0 auto;
}
.lan-steps.vertical {
  width: 112px;
  height: auto;
  display: grid;
  gap: 59px;
}
.lan-steps.vertical.large {
  min-height: 214px;
}
.lan-steps.vertical.small {
  min-height: 190px;
}
.step-vertical {
  position: relative;
  height: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.vertical.small .step-vertical {
  height: 24px;
}
.step-vertical strong {
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  white-space: nowrap;
}
.vertical.small .step-vertical strong {
  font-size: 14px;
}
.step-vertical.current strong {
  font-weight: 500;
}
.step-vertical.pending strong {
  color: #333;
  font-weight: 400;
}
.step-vertical > i {
  position: absolute;
  left: 16px;
  top: 40px;
  width: 1px;
  height: 43px;
  background: #2990ff;
}
.vertical.small .step-vertical > i {
  left: 12px;
  top: 32px;
}
.step-vertical.current > i,
.step-vertical.pending > i {
  background: #d9d9d9;
}
.vertical.assist {
  width: 243px;
}
.vertical.assist .step-vertical {
  align-items: flex-start;
}
.vertical.assist .step-vertical strong {
  padding-top: 7px;
}
.vertical.assist.small .step-vertical strong {
  padding-top: 3px;
}
.vertical.assist .step-vertical p {
  position: absolute;
  left: 48px;
  top: 32px;
  width: 168px;
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 18px;
}
.vertical.assist.small .step-vertical p {
  left: 40px;
  top: 28px;
  font-size: 12px;
}
.step-dots button {
  box-sizing: border-box;
  width: 6px;
  height: 6px;
  margin: 0;
  padding: 0;
  display: block;
  flex: 0 0 6px;
  border: 0;
  border-radius: 50%;
  background: #2990ff;
  cursor: pointer;
}
.step-dots i {
  display: block;
  background: #2990ff;
}
.step-dots .pending {
  background: #d9d9d9;
}
.horizontal-dots {
  width: 402px;
  height: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.horizontal-dots i {
  width: 180px;
  height: 2px;
  flex: 0 0 180px;
}
.vertical-dots {
  width: 6px;
  height: 390px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.vertical-dots i {
  width: 2px;
  height: 180px;
  flex: 0 0 180px;
  border-radius: 12px;
}
.step-timeline {
  width: 287px;
  height: 312px;
  display: grid;
  align-content: start;
  gap: 24px;
}
.timeline-row {
  box-sizing: border-box;
  width: 287px;
  height: 60px;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 71px 12px 180px;
  gap: 12px;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.timeline-row time {
  display: grid;
  align-content: start;
  gap: 2px;
  text-align: right;
  white-space: nowrap;
}
.timeline-row time b {
  color: #666;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}
.timeline-row time span {
  color: #999;
  font-size: 12px;
  line-height: 18px;
}
.timeline-track {
  position: relative;
  display: flex;
  justify-content: center;
}
.timeline-track:after {
  content: "";
  position: absolute;
  top: 12px;
  bottom: -48px;
  width: 1px;
  background: #d9d9d9;
}
.timeline-row:last-child .timeline-track:after {
  display: none;
}
.timeline-track b {
  z-index: 1;
  box-sizing: border-box;
  width: 12px;
  height: 12px;
  display: grid;
  place-items: center;
  border: 1px solid #2990ff;
  border-radius: 50%;
  background: #fff;
}
.timeline-track img {
  width: 7px;
  height: 7px;
  display: block;
  filter: brightness(0) saturate(100%) invert(51%) sepia(97%) saturate(2435%)
    hue-rotate(190deg) brightness(101%) contrast(101%);
}
.timeline-copy {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 2px;
}
.timeline-copy strong {
  color: #333;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}
.timeline-copy > span {
  color: #666;
  font-size: 12px;
  line-height: 18px;
  overflow-wrap: anywhere;
}
.steps-code {
  min-height: 46px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #d9e1ec;
  background: #111722;
}
.steps-code code {
  min-width: 0;
  overflow: hidden;
  font:
    11px/18px ui-monospace,
    Consolas,
    monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.steps-code button {
  height: 26px;
  padding: 0 10px;
  flex: 0 0 auto;
  border: 1px solid #4b5565;
  border-radius: 4px;
  color: #d9e1ec;
  background: #202838;
  font-size: 11px;
}
.steps-instance
  :is(.step-node, .step-dots button, .timeline-row):focus-visible {
  outline: 2px solid #2990ff;
  outline-offset: 2px;
}
body.theme-dark .steps-playground,
body.theme-dark .steps-variant {
  border-color: #343c48;
  background: #1d232d;
}
body.theme-dark .steps-live,
body.theme-dark .steps-stage {
  border-color: #343c48;
  background: #171c24;
}
body.theme-dark .steps-control label {
  color: #98a2b3;
}
body.theme-dark .steps-control .modern-select-trigger {
  color: #e4e7ec;
  border-color: #46505e;
  background: #252c37;
}
body.theme-dark .steps-control .modern-select-menu {
  border-color: #343c48;
  background: #252c37;
}
body.theme-dark .steps-control .modern-select-option {
  color: #cbd5e1;
}
body.theme-dark .lan-steps {
  color: #e4e7ec;
}
@media (max-width: 900px) {
  .steps-gallery {
    grid-template-columns: 1fr;
  }
  .steps-stage,
  .steps-live {
    place-items: center;
    overflow: hidden;
  }
  .steps-control {
    width: 100%;
  }
  .steps-stage .steps-instance:has(.horizontal.default),
  .steps-live .steps-instance:has(.horizontal.default) {
    zoom: 0.49;
  }
  .steps-stage .steps-instance:has(.horizontal.description),
  .steps-live .steps-instance:has(.horizontal.description) {
    zoom: 0.42;
  }
  .steps-instance:has(.step-timeline) {
    zoom: 0.88;
  }
}
