:root {
  color: #17232b;
  background: #e8efed;
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(rgba(217, 229, 225, 0.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 229, 225, 0.7) 1px, transparent 1px),
    #eef3f1;
  background-size: 34px 34px;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-panel {
  width: min(420px, 100%);
  padding: 28px;
  background: #fff;
  border: 1px solid #cbd7d3;
  border-top: 4px solid #08766e;
  box-shadow: 0 18px 50px rgba(24, 42, 48, 0.12);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid #d9e1de;
}

.login-brand > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #08766e;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
}

.login-brand strong,
.login-brand small {
  display: block;
}

.login-brand strong {
  font-size: 18px;
}

.login-brand small {
  margin-top: 4px;
  color: #67747b;
  font: 8px "SFMono-Regular", Consolas, monospace;
}

.login-heading {
  margin: 30px 0 24px;
}

.login-heading p {
  margin: 0 0 7px;
  color: #08766e;
  font: 750 9px "SFMono-Regular", Consolas, monospace;
}

.login-heading h1 {
  margin: 0;
  font-size: 24px;
}

form {
  display: grid;
}

label {
  margin: 0 0 7px;
  color: #4f5f66;
  font-size: 11px;
  font-weight: 700;
}

input {
  width: 100%;
  height: 44px;
  margin-bottom: 18px;
  padding: 0 12px;
  color: #17232b;
  background: #f7f9f8;
  border: 1px solid #bbc8c4;
  border-radius: 4px;
  font: inherit;
  letter-spacing: 0;
}

input:focus {
  outline: 3px solid rgba(50, 105, 168, 0.16);
  border-color: #3269a8;
}

.login-message {
  min-height: 17px;
  margin: -4px 0 10px;
  color: #bd3f49;
  font-size: 11px;
}

button {
  height: 44px;
  color: #fff;
  background: #08766e;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-weight: 750;
  letter-spacing: 0;
  cursor: pointer;
}

button:hover {
  background: #075c57;
}

button:disabled {
  opacity: 0.65;
  cursor: wait;
}

footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: #67747b;
  font: 8px "SFMono-Regular", Consolas, monospace;
}

footer i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #08766e;
  box-shadow: 0 0 0 4px rgba(8, 118, 110, 0.12);
}

@media (max-width: 460px) {
  .login-shell {
    padding: 14px;
  }

  .login-panel {
    padding: 22px;
  }
}
