:root {
  color: #17211e;
  background: #edf3f0;
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  min-width: 320px;
  margin: 0;
}
button,
input {
  font: inherit;
}
.login-page {
  min-height: 100vh;
  background: linear-gradient(90deg, #173f3a 0 36%, #edf3f0 36% 100%);
}
.login-topbar,
.login-stage {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 36% 64%;
}
.login-topbar {
  min-height: 96px;
  align-items: center;
}
.login-brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}
.login-brand img {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}
.login-brand span {
  display: grid;
  gap: 1px;
}
.login-brand strong {
  font-size: 18px;
}
.login-brand small {
  color: #b8cbc5;
  font-size: 10px;
}
.back-link {
  justify-self: end;
  color: #42615a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.back-link:hover {
  color: #0f766e;
}
.login-stage {
  min-height: calc(100vh - 96px);
  align-items: center;
  padding-bottom: 64px;
}
.login-wordmark {
  align-self: center;
  padding: 24px 56px 24px 0;
  color: #fff;
}
.login-wordmark p,
.login-kicker {
  margin: 0 0 20px;
  color: #f2b84b;
  font: 700 10px ui-monospace, SFMono-Regular, Consolas, monospace;
}
.login-wordmark h1 {
  margin: 0;
  font-size: 54px;
  line-height: 1.12;
  letter-spacing: 0;
}
.login-wordmark h1 span {
  color: #9ce5d8;
}
.login-wordmark > small {
  display: block;
  margin-top: 34px;
  color: #9fb9b2;
  font: 11px ui-monospace, SFMono-Regular, Consolas, monospace;
}
.login-panel {
  justify-self: center;
  width: min(430px, calc(100% - 64px));
  padding: 38px;
  border: 1px solid #dbe5e1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(23, 63, 58, 0.12);
}
.login-panel header {
  margin-bottom: 28px;
}
.login-kicker {
  margin-bottom: 10px;
  color: #b45309;
}
.login-panel h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.25;
}
.login-panel header > p:last-child {
  margin: 9px 0 0;
  color: #6b7772;
  font-size: 13px;
}
.login-message {
  margin: 0 0 18px;
  padding: 11px 12px;
  border-left: 3px solid;
  font-size: 13px;
  line-height: 1.55;
}
.login-message.error {
  border-color: #d43b57;
  background: #fff0f2;
  color: #99213a;
}
.login-message.notice {
  border-color: #0f766e;
  background: #ecf9f5;
  color: #155e57;
}
.login-field + .login-field {
  margin-top: 18px;
}
.login-field label {
  display: block;
  margin-bottom: 7px;
  color: #33423d;
  font-size: 12px;
  font-weight: 700;
}
.login-field input {
  width: 100%;
  height: 50px;
  border: 1px solid #cbd8d3;
  border-radius: 6px;
  padding: 0 13px;
  outline: 0;
  background: #f9fbfa;
  color: #17211e;
}
.login-field input:hover {
  border-color: #99aca5;
}
.login-field input:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
  background: #fff;
}
.login-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  margin-top: 26px;
  border: 0;
  border-radius: 6px;
  background: #173f3a;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}
.login-submit:hover {
  background: #0f514a;
}
.login-submit:focus-visible,
.back-link:focus-visible,
.login-brand:focus-visible {
  outline: 3px solid rgba(242, 184, 75, 0.65);
  outline-offset: 3px;
}
.login-panel footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #e7eeeb;
  color: #7b8782;
  font-size: 10px;
}
.session-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.session-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #15a177;
}
@media (max-width: 760px) {
  .login-page {
    background: #edf3f0;
  }
  .login-topbar,
  .login-stage {
    width: 100%;
    display: block;
  }
  .login-topbar {
    min-height: 76px;
    padding: 0 18px;
    display: flex;
    justify-content: space-between;
    background: #173f3a;
  }
  .back-link {
    color: #d6e3df;
  }
  .login-stage {
    min-height: calc(100vh - 76px);
    padding: 38px 18px 48px;
  }
  .login-wordmark {
    display: none;
  }
  .login-panel {
    width: min(430px, 100%);
    margin: 0 auto;
    padding: 28px 24px;
  }
}
@media (max-width: 380px) {
  .login-brand small {
    display: none;
  }
  .login-panel {
    padding: 25px 20px;
  }
}
