:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #182521;
  background: #eef3f0;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.login-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 15% 10%, rgba(33, 113, 87, .12), transparent 38%),
    radial-gradient(circle at 90% 90%, rgba(201, 145, 46, .13), transparent 35%),
    #eef3f0;
}
.login-card {
  width: min(100%, 440px);
  padding: 34px 30px 28px;
  background: #fff;
  border: 1px solid #dce6e1;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(30, 55, 46, .12);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #1c6b53;
  color: #fff;
  font-weight: 800;
  font-size: 25px;
  box-shadow: 0 8px 20px rgba(28, 107, 83, .22);
}
.eyebrow { margin: 22px 0 7px; color: #527064; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
h1 { margin: 0; font-size: 32px; letter-spacing: -.04em; }
.intro { margin: 10px 0 26px; color: #63746e; font-size: 14px; line-height: 1.7; }
label { display: block; margin: 16px 0 7px; font-size: 14px; font-weight: 650; }
input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #cbd8d2;
  border-radius: 12px;
  background: #fbfcfb;
  color: #182521;
  font: inherit;
}
input:focus { outline: 3px solid rgba(28, 107, 83, .18); border-color: #1c6b53; }
button {
  width: 100%;
  min-height: 50px;
  margin-top: 22px;
  border: 0;
  border-radius: 12px;
  background: #1c6b53;
  color: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
button:hover { background: #155841; }
button:disabled { opacity: .6; cursor: wait; }
.error { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff0ee; color: #a33b2f; font-size: 13px; }
.security-note { margin: 20px 0 0; color: #81918b; font-size: 12px; line-height: 1.6; text-align: center; }
@media (max-width: 420px) {
  .login-card { padding: 28px 22px 24px; border-radius: 20px; }
}
