:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #171717;
  background: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: #ffffff;
}

button,
input {
  font: inherit;
}

.login-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));
}

.login-panel {
  width: min(100%, 360px);
}

.eyebrow {
  margin: 0 0 8px;
  color: #1b7841;
  font-size: 14px;
  font-weight: 650;
}

h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0;
}

.intro {
  margin: 10px 0 30px;
  color: #737373;
  font-size: 15px;
  line-height: 1.5;
}

.login-form {
  display: grid;
  gap: 9px;
}

label {
  margin-top: 5px;
  color: #4b4b4b;
  font-size: 14px;
  font-weight: 600;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: #171717;
  background: #f4f4f4;
  border: 1px solid transparent;
  border-radius: 8px;
  outline: none;
}

input:focus {
  background: #ffffff;
  border-color: #1b7841;
}

.login-error {
  margin: 2px 0 0;
  color: #171717;
  font-size: 14px;
}

button {
  min-height: 48px;
  margin-top: 14px;
  color: #ffffff;
  background: #1b7841;
  border: 0;
  border-radius: 8px;
  font-weight: 650;
  cursor: pointer;
}

button:active {
  opacity: 0.84;
}

@media (min-width: 700px) {
  .login-panel {
    width: 360px;
  }
}
