: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-shortpassword-popup {
  padding: calc(32px * var(--nut-scale-f, 1)) calc(24px * var(--nut-scale-f, 1)) calc(28px * var(--nut-scale-f, 1)) calc(24px * var(--nut-scale-f, 1));
  border-radius: calc(12px * var(--nut-scale-f, 1));
  text-align: center;
}
.nut-shortpassword-title {
  display: flex;
  justify-content: center;
  line-height: var(--nutui-line-height-l, var(--nutui-font-size-l, calc(15px * var(--nut-scale-font, var(--nut-scale-f, 1)))));
  font-size: var(--nutui-font-size-l, calc(15px * var(--nut-scale-font, var(--nut-scale-f, 1))));
  color: var(--nutui-color-title, #1a1a1a);
}
.nut-shortpassword-description {
  display: flex;
  justify-content: center;
  margin-top: calc(12px * var(--nut-scale-f, 1));
  margin-bottom: calc(24px * var(--nut-scale-f, 1));
  line-height: var(--nutui-line-height-s, var(--nutui-font-size-s, calc(12px * var(--nut-scale-font, var(--nut-scale-f, 1)))));
  font-size: var(--nutui-font-size-s, calc(12px * var(--nut-scale-font, var(--nut-scale-f, 1))));
  color: var(--nutui-color-text, #505259);
}
.nut-shortpassword-input {
  padding: 0 0 calc(10px * var(--nut-scale-f, 1));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.nut-shortpassword-input-real {
  position: absolute;
  right: 0;
  width: calc(247px * var(--nut-scale-f, 1));
  height: calc(41px * var(--nut-scale-f, 1));
  outline: 0 none;
  border: 0;
  text-decoration: none;
  z-index: -99;
}
.nut-shortpassword-input-site {
  width: calc(247px * var(--nut-scale-f, 1));
  height: calc(41px * var(--nut-scale-f, 1));
  border-radius: calc(4px * var(--nut-scale-f, 1));
}
.nut-shortpassword-input-fake {
  top: 5%;
  width: 100%;
  height: calc(41px * var(--nut-scale-f, 1));
  margin: 0 auto;
  box-sizing: border-box;
  background: var(--nutui-shortpassword-background-color, var(--nutui-color-background, #f2f3f5));
  border-radius: calc(4px * var(--nut-scale-f, 1));
  border: calc(1px * var(--nut-scale-f, 1)) solid var(--nutui-shortpassword-border-color, var(--nutui-color-background, #f2f3f5));
  display: flex;
  position: absolute;
  left: 0;
}
.nut-shortpassword-input-fake-li {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.nut-shortpassword-input-fake-li-icon {
  height: calc(6px * var(--nut-scale-f, 1));
  width: calc(6px * var(--nut-scale-f, 1));
  border-radius: 50%;
  background: #000;
  display: inline-block;
}
.nut-shortpassword-message {
  margin-top: calc(9px * var(--nut-scale-f, 1));
  display: flex;
  justify-content: space-between;
  width: calc(247px * var(--nut-scale-f, 1));
}
.nut-shortpassword-message-error {
  line-height: var(--nutui-line-height-xs, var(--nutui-font-size-xs, calc(11px * var(--nut-scale-font, var(--nut-scale-f, 1)))));
  font-size: var(--nutui-font-size-xs, calc(11px * var(--nut-scale-font, var(--nut-scale-f, 1))));
  color: var(--nutui-shortpassword-error, var(--nutui-color-primary, #ff0f23));
}
.nut-shortpassword-message-forget {
  line-height: var(--nutui-line-height-s, var(--nutui-font-size-s, calc(12px * var(--nut-scale-font, var(--nut-scale-f, 1)))));
  font-size: var(--nutui-font-size-s, calc(12px * var(--nut-scale-font, var(--nut-scale-f, 1))));
  color: var(--nutui-shortpassword-forget, var(--nutui-color-text-help, #888b94));
  display: flex;
  align-items: center;
}
.nut-shortpassword-message-forget .nut-icon {
  margin-right: calc(3px * var(--nut-scale-f, 1));
}
.nut-shortpassword-message-tips-icon {
  width: var(--nutui-icon-size-11, calc(11px * var(--nut-scale-icon, var(--nut-scale-f, 1))));
  height: var(--nutui-icon-size-11, calc(11px * var(--nut-scale-icon, var(--nut-scale-f, 1))));
}
.nut-shortpassword-footer {
  display: flex;
  justify-content: space-between;
  margin-top: calc(20px * var(--nut-scale-f, 1));
}
.nut-shortpassword-footer-cancel {
  background: #ffffff;
  border: calc(1px * var(--nut-scale-f, 1)) solid var(--nutui-color-primary, #ff0f23);
  border-radius: calc(15px * var(--nut-scale-f, 1));
  padding: calc(8px * var(--nut-scale-f, 1)) calc(38px * var(--nut-scale-f, 1));
  line-height: var(--nutui-line-height-base, var(--nutui-font-size-base, calc(14px * var(--nut-scale-font, var(--nut-scale-f, 1)))));
  font-size: var(--nutui-font-size-base, calc(14px * var(--nut-scale-font, var(--nut-scale-f, 1))));
  color: var(--nutui-color-primary, #ff0f23);
}
.nut-shortpassword-footer-sure {
  background: linear-gradient(135deg, var(--nutui-color-primary, #ff0f23) 0%, var(--nutui-color-primary-stop-2, #ff0f23) 100%);
  border-radius: calc(15px * var(--nut-scale-f, 1));
  padding: calc(8px * var(--nut-scale-f, 1)) calc(38px * var(--nut-scale-f, 1));
  line-height: var(--nutui-line-height-base, var(--nutui-font-size-base, calc(14px * var(--nut-scale-font, var(--nut-scale-f, 1)))));
  font-size: var(--nutui-font-size-base, calc(14px * var(--nut-scale-font, var(--nut-scale-f, 1))));
  color: #ffffff;
}

[dir=rtl] .nut-shortpassword-input-real,
.nut-rtl .nut-shortpassword-input-real {
  right: auto;
  left: 0;
}
[dir=rtl] .nut-shortpassword-input-fake,
.nut-rtl .nut-shortpassword-input-fake {
  left: auto;
  right: 0;
}
[dir=rtl] .nut-shortpassword-footer-sure,
.nut-rtl .nut-shortpassword-footer-sure {
  background: linear-gradient(-135deg, var(--nutui-color-primary, #ff0f23) 0%, var(--nutui-color-primary-stop-2, #ff0f23) 100%);
}