* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: #172438;
  background: #f8fafc;
  font:
    16px/1.7 -apple-system,
    BlinkMacSystemFont,
    'PingFang SC',
    'Microsoft YaHei',
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}
.loginhead {
  height: 69px;
  background: white;
  border-bottom: 1px solid #e2e8f0;
}
.loginhead > div {
  max-width: 840px;
  margin: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
}
.loginhead img {
  width: 30px;
}
.loginhead strong {
  font-size: 23px;
}
.loginhead small {
  font-weight: 650;
  letter-spacing: 0.13em;
  color: #53637a;
}
.loginmain {
  max-width: 480px;
  margin: clamp(28px, 8vh, 90px) auto;
  padding: 0 16px;
}
.loginbox {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: white;
  padding: clamp(22px, 5vw, 36px);
}
.loginmain h1 {
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1.3;
  margin: 0 0 22px;
}
.loginbox label {
  font-size: 14px;
  font-weight: 650;
}
.loginbox input {
  display: block;
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  padding: 9px 12px;
  margin: 4px 0 15px;
  min-height: 44px;
}
.loginbox button {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  color: #334155;
  min-height: 44px;
  padding: 7px 14px;
}
.loginbox form button {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
  font-weight: 700;
  width: 100%;
}
.demologin {
  border-top: 1px solid #e2e8f0;
  margin-top: 25px;
  padding-top: 16px;
}
.demologin h2 {
  font-size: 15px;
  margin: 0;
}
.demologin p,
.loginfoot {
  color: #596980;
  font-size: 13px;
}
.demologin p {
  margin: 3px 0 12px;
}
.demobuttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.loginfoot {
  text-align: center;
  padding: 18px;
}
.loginerr {
  color: #b42318;
  font-size: 14px;
  margin: 8px 0;
}
.loginerr:empty {
  display: none;
}
