body[data-qiushi-page="password-reset"] {
  margin: 0;
  background: #fff;
  color: #161616;
  font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

body[data-qiushi-page="password-reset"] [data-password-reset-page] {
  box-sizing: border-box;
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 20px 28px;
}

body[data-qiushi-page="password-reset"] [data-reset-topbar] {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 40px;
}

body[data-qiushi-page="password-reset"] [data-reset-topbar] a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-height: 40px;
  margin-left: -8px;
  color: #d71920;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

body[data-qiushi-page="password-reset"] [data-reset-hero] h1,
body[data-qiushi-page="password-reset"] [data-reset-hero] p {
  color: #d71920;
}

body[data-qiushi-page="password-reset"] [data-reset-hero] {
  margin-bottom: 28px;
  padding-top: 12px;
  text-align: center;
}

body[data-qiushi-page="password-reset"] [data-reset-hero] h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
}

body[data-qiushi-page="password-reset"] [data-reset-hero] p {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 500;
}

body[data-qiushi-page="password-reset"] [data-reset-title] {
  margin-bottom: 14px;
}

body[data-qiushi-page="password-reset"] [data-reset-title] h2 {
  margin: 0;
  color: #151515;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
}

body[data-qiushi-page="password-reset"] [data-reset-title] p {
  margin: 6px 0 0;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}

body[data-qiushi-page="password-reset"] [data-reset-steps],
body[data-qiushi-page="password-reset"] [data-reset-panel],
body[data-qiushi-page="password-reset"] [data-password-reset-state] {
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
}

body[data-qiushi-page="password-reset"] [data-reset-steps] {
  margin-bottom: 14px;
  padding: 10px 14px;
}

body[data-qiushi-page="password-reset"] [data-reset-steps] ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

body[data-qiushi-page="password-reset"] [data-reset-step] {
  min-width: 0;
  color: #777;
}

body[data-qiushi-page="password-reset"] [data-reset-step] span:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0 auto;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #fafafa;
  color: #777;
  font-size: 12px;
  font-weight: 800;
}

body[data-qiushi-page="password-reset"] [data-reset-step] span:last-child {
  display: block;
  min-width: 0;
  margin-top: 6px;
  overflow: hidden;
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-qiushi-page="password-reset"] [data-reset-step-current="1"] [data-reset-step="1"],
body[data-qiushi-page="password-reset"] [data-reset-step-current="2"] [data-reset-step="2"],
body[data-qiushi-page="password-reset"] [data-reset-step-current="3"] [data-reset-step="3"] {
  color: #151515;
}

body[data-qiushi-page="password-reset"] [data-reset-step-current="1"] [data-reset-step="1"] span:first-child,
body[data-qiushi-page="password-reset"] [data-reset-step-current="2"] [data-reset-step="2"] span:first-child,
body[data-qiushi-page="password-reset"] [data-reset-step-current="3"] [data-reset-step="3"] span:first-child {
  border-color: #d71920;
  background: #d71920;
  color: #fff;
}

body[data-qiushi-page="password-reset"] [data-password-reset-state] {
  box-sizing: border-box;
  margin-bottom: 12px;
  padding: 12px 14px;
  color: #666;
  font-size: 13px;
  line-height: 1.55;
}

body[data-qiushi-page="password-reset"] [data-password-reset-state][hidden] {
  display: none;
}

body[data-qiushi-page="password-reset"] form {
  display: grid;
  gap: 16px;
}

body[data-qiushi-page="password-reset"] [data-reset-panel] {
  overflow: hidden;
}

body[data-qiushi-page="password-reset"] [data-reset-card] {
  box-sizing: border-box;
  padding: 14px 16px;
}

body[data-qiushi-page="password-reset"] [data-reset-card] + [data-reset-card] {
  border-top: 1px solid #f0f0f0;
}

body[data-qiushi-page="password-reset"] [data-reset-card-header] {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

body[data-qiushi-page="password-reset"] [data-reset-card-header] div {
  min-width: 0;
}

body[data-qiushi-page="password-reset"] [data-reset-card] h2 {
  margin: 0;
  color: #151515;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

body[data-qiushi-page="password-reset"] [data-reset-card] h2 + p {
  margin: 3px 0 0;
  color: #666;
  font-size: 12px;
  line-height: 1.55;
}

body[data-qiushi-page="password-reset"] [data-reset-card-header] > span {
  flex: none;
  border: 1px solid #eee;
  border-radius: 999px;
  padding: 4px 10px;
  color: #666;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

body[data-qiushi-page="password-reset"] [data-reset-card] > div:last-child,
body[data-qiushi-page="password-reset"] [data-reset-card] .space-y-3 {
  display: grid;
  gap: 10px;
}

body[data-qiushi-page="password-reset"] label {
  display: block;
  margin: 0 0 6px;
  padding: 0 4px;
  color: #666;
  font-size: 12px;
  font-weight: 800;
}

body[data-qiushi-page="password-reset"] input,
body[data-qiushi-page="password-reset"] button {
  box-sizing: border-box;
  font: inherit;
}

body[data-qiushi-page="password-reset"] input {
  width: 100%;
  height: 48px;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  background: #fff;
  padding: 0 14px;
  color: #151515;
  font-size: 15px;
  outline: none;
}

body[data-qiushi-page="password-reset"] input:focus {
  border-color: #d71920;
  box-shadow: 0 0 0 2px rgba(215, 25, 32, 0.14);
}

body[data-qiushi-page="password-reset"] [data-reset-code-row] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 8px;
}

body[data-qiushi-page="password-reset"] [data-password-reset-code] {
  min-width: 0;
  letter-spacing: 0.12em;
}

body[data-qiushi-page="password-reset"] [data-password-reset-send],
body[data-qiushi-page="password-reset"] [data-reset-submit] {
  height: 48px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

body[data-qiushi-page="password-reset"] [data-password-reset-send] {
  min-width: 0;
  border: 1px solid #d71920;
  background: #fff;
  color: #d71920;
}

body[data-qiushi-page="password-reset"] [data-reset-submit] {
  width: 100%;
  border: 0;
  background: #d71920;
  color: #fff;
  font-size: 15px;
}

body[data-qiushi-page="password-reset"] button:disabled {
  border-color: #ddd;
  background: #ddd;
  color: #777;
}

@media (max-width: 380px) {
  body[data-qiushi-page="password-reset"] [data-password-reset-page] {
    padding-right: 16px;
    padding-left: 16px;
  }

  body[data-qiushi-page="password-reset"] [data-reset-code-row] {
    grid-template-columns: minmax(0, 1fr) 104px;
  }
}
