:root {
  color: #1e2922;
  background: #eef2ef;
  font-family: Inter, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; background: radial-gradient(circle at 50% 0%, #ffffff 0, #f4f7f4 38%, #e8eeea 100%); }
.login-shell { display: grid; min-height: 100vh; min-height: 100dvh; padding: 24px; place-items: center; }
.login-card { width: min(100%, 410px); padding: 38px; border: 1px solid #d6dfd8; border-radius: 16px; background: rgba(255, 255, 255, 0.94); box-shadow: 0 24px 70px rgba(43, 62, 49, 0.13); }
.brand-mark { display: flex; width: 44px; height: 44px; align-items: end; justify-content: center; gap: 3px; padding: 10px; border-radius: 11px; background: #23543b; box-shadow: 0 8px 20px rgba(35, 84, 59, 0.24); }
.brand-mark span { display: block; width: 5px; border-radius: 3px; background: #fff; }
.brand-mark span:nth-child(1) { height: 11px; opacity: 0.72; }
.brand-mark span:nth-child(2) { height: 21px; }
.brand-mark span:nth-child(3) { height: 16px; opacity: 0.84; }
.login-heading { margin: 25px 0 24px; }
.eyebrow { color: #47725b; font-size: 10px; font-weight: 800; letter-spacing: 0.15em; }
h1 { margin: 8px 0 7px; color: #1e2922; font-size: 27px; letter-spacing: -0.035em; }
.login-heading p, .security-note { margin: 0; color: #748079; font-size: 12px; line-height: 1.6; }
.login-error { display: none; margin: 0 0 17px; padding: 10px 12px; border: 1px solid #f0c8c4; border-radius: 7px; background: #fff2f0; color: #a1372c; font-size: 12px; }
.login-error.visible { display: block; }
form { display: grid; gap: 9px; }
label { margin-top: 6px; color: #465149; font-size: 11px; font-weight: 700; }
input { width: 100%; height: 45px; padding: 0 13px; border: 1px solid #ccd6cf; border-radius: 8px; outline: 0; background: #fbfcfb; color: #1e2922; font: inherit; transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease; }
input:focus { border-color: #397153; background: #fff; box-shadow: 0 0 0 3px rgba(57, 113, 83, 0.13); }
button { height: 45px; margin-top: 13px; border: 0; border-radius: 8px; background: #23543b; color: #fff; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; box-shadow: 0 8px 18px rgba(35, 84, 59, 0.2); }
button:hover { background: #1d4933; }
button:active { transform: translateY(1px); }
.security-note { margin-top: 20px; text-align: center; }

@media (max-width: 520px) {
  .login-shell { padding: 15px; align-items: center; }
  .login-card { padding: 28px 22px; border-radius: 13px; }
  h1 { font-size: 24px; }
}
