:root,
page {
  --nut-scale-f: 1;
  --nut-scale-font: var(--nut-scale-f, 1);
  --nut-scale-icon: var(--nut-scale-f, 1);
  --nut-icon-height: calc(16px * var(--nut-scale-icon, var(--nut-scale-f, 1))) !important;
  --nut-icon-width: calc(16px * var(--nut-scale-icon, var(--nut-scale-f, 1))) !important;
  --nut-icon-line-height: calc(16px * var(--nut-scale-icon, var(--nut-scale-f, 1))) !important;
}

/* #ifdef harmony */
/* #endif */
/* #ifndef harmony */
/* #endif */
.nut-step {
  position: relative;
  display: flex;
}
.nut-step-last .nut-step-line {
  display: none;
}
.nut-step-head {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--nutui-steps-base-head-height, calc(14px * var(--nut-scale-f, 1)));
  position: relative;
  z-index: 1;
}
.nut-step-head-text {
  height: var(--nutui-steps-base-head-text-size, var(--nutui-font-size-s, calc(12px * var(--nut-scale-font, var(--nut-scale-f, 1)))));
  width: var(--nutui-steps-base-head-text-size, var(--nutui-font-size-s, calc(12px * var(--nut-scale-font, var(--nut-scale-f, 1)))));
  background-color: var(--nutui-steps-base-head-background-color, var(--nutui-color-background, #f2f3f5));
  color: var(--nutui-steps-base-head-color, var(--nutui-color-text, #505259));
  font-size: var(--nutui-steps-base-icon-size, var(--nutui-font-size-xxs, calc(10px * var(--nut-scale-font, var(--nut-scale-f, 1)))));
}
.nut-step-head-icon {
  height: var(--nutui-steps-base-head-icon-size, var(--nutui-font-size-md, calc(16px * var(--nut-scale-font, var(--nut-scale-f, 1)))));
  width: var(--nutui-steps-base-head-icon-size, var(--nutui-font-size-md, calc(16px * var(--nut-scale-font, var(--nut-scale-f, 1)))));
  background-color: var(--nutui-steps-base-head-background-color, var(--nutui-color-background, #f2f3f5));
}
.nut-step-head-icon .nut-icon {
  color: white;
}
.nut-step-head-dot {
  height: var(--nutui-steps-base-head-dot-size, var(--nutui-icon-size-6, calc(6px * var(--nut-scale-icon, var(--nut-scale-f, 1)))));
  width: var(--nutui-steps-base-head-dot-size, var(--nutui-icon-size-6, calc(6px * var(--nut-scale-icon, var(--nut-scale-f, 1)))));
  background-color: var(--nutui-steps-base-head-dot-background-color, var(--nutui-color-text-disabled, #c2c4cc));
}
.nut-step-head-dot, .nut-step-head-icon, .nut-step-head-text {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-sizing: border-box;
  border: var(--nutui-steps-base-head-border, none);
}
.nut-step-line {
  position: absolute;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nut-step-line-inner {
  display: flex;
  flex: 1;
  height: var(--nutui-steps-base-line-height, calc(1px * var(--nut-scale-f, 1)));
  background: var(--nutui-steps-base-line-background, var(--nutui-color-border, rgba(0, 0, 0, 0.06)));
}
.nut-step-main {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: var(--nutui-steps-base-head-height, calc(14px * var(--nut-scale-f, 1)));
}
.nut-step-line, .nut-step-title {
  background-color: #ffffff;
}
.nut-step-title {
  position: relative;
  z-index: 1;
}
.nut-step-title {
  height: calc(14px * var(--nut-scale-f, 1));
  line-height: calc(14px * var(--nut-scale-f, 1));
  font-size: var(--nutui-steps-base-title-font-size, var(--nutui-font-size-s, calc(12px * var(--nut-scale-font, var(--nut-scale-f, 1)))));
  color: var(--nutui-steps-base-title-color, var(--nutui-color-title, #1a1a1a));
  white-space: nowrap;
}
.nut-step-description {
  height: calc(16px * var(--nut-scale-f, 1));
  line-height: calc(16px * var(--nut-scale-f, 1));
  margin-top: var(--nutui-steps-base-title-margin-bottom, calc(2px * var(--nut-scale-f, 1)));
  font-size: var(--nutui-steps-base-description-font-size, var(--nutui-font-size-xxs, calc(10px * var(--nut-scale-font, var(--nut-scale-f, 1)))));
  color: var(--nutui-steps-base-description-color, var(--nutui-color-text-help, #888b94));
  overflow: hidden;
}
.nut-step.nut-step-process .nut-step-head-icon,
.nut-step.nut-step-process .nut-step-head-text,
.nut-step.nut-step-process .nut-step-head-dot {
  background-color: var(--nutui-steps-process-head-background-color, var(--nutui-color-primary, #ff0f23));
}
.nut-step.nut-step-process .nut-step-head-text {
  color: var(--nutui-steps-process-color, #ffffff);
}
.nut-step.nut-step-wait .nut-step-head-icon .nut-icon {
  color: var(--nutui-steps-wait-icon-color, var(--nutui-color-text-help, #888b94));
}
.nut-step.nut-step-finish .nut-step-head-icon .nut-icon {
  color: var(--nutui-steps-finish-icon-color, var(--nutui-color-text-help, #888b94));
}
.nut-step.nut-step-business .nut-step-head-text {
  color: var(--nutui-steps-business-head-text-color, var(--nutui-color-service-pressed));
}
.nut-step.nut-step-business .nut-step-title {
  color: var(--nutui-steps-business-title-color, var(--nutui-color-service-pressed));
}
.nut-step.nut-step-business .nut-step-description {
  color: var(--nutui-steps-business-description-color, var(--nutui-color-service-pressed));
}
.nut-step.nut-step-business .nut-step-head-dot {
  background-color: var(--nutui-steps-business-head-dot-background-color, var(--nutui-color-service-pressed));
}
.nut-step.nut-step-business .nut-step-head-icon,
.nut-step.nut-step-business .nut-step-head-text {
  background-color: var(--nutui-steps-business-head-background-color, var(--nutui-color-service));
}
.nut-step.nut-step-business .nut-step-head-icon .nut-icon {
  color: var(--nutui-steps-business-head-icon-color, var(--nutui-color-service-pressed));
}