:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17231e;
  background: #edf3ef;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top, #f9fcfa 0, #e8f0eb 62%, #dfeae3 100%); }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(100%, 430px); padding: 38px; border: 1px solid #d9e3dc; border-radius: 24px; background: rgba(255,255,255,.96); box-shadow: 0 24px 70px rgba(22, 62, 43, .12); }
.brand-mark { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 17px; background: #d9ff43; color: #123d2d; font-weight: 900; font-size: 20px; box-shadow: 0 10px 24px rgba(102, 140, 19, .18); }
.eyebrow { margin: 0 0 7px; color: #708078; font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(30px, 7vw, 42px); letter-spacing: -.045em; }
.intro { margin: 12px 0 28px; color: #66756e; line-height: 1.55; }
form { display: grid; gap: 18px; }
label { display: grid; gap: 8px; font-size: 14px; font-weight: 750; }
input { width: 100%; height: 52px; border: 1px solid #d4dfd8; border-radius: 13px; padding: 0 15px; background: #fbfdfb; color: #17231e; font: inherit; outline: none; }
input:focus { border-color: #0f6a4d; box-shadow: 0 0 0 4px rgba(15, 106, 77, .11); }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 95px; }
.password-field button { position: absolute; right: 8px; top: 8px; height: 36px; padding: 0 10px; border: 0; background: transparent; color: #0f6a4d; font-weight: 750; cursor: pointer; }
.submit { height: 52px; border: 0; border-radius: 14px; background: #0e674a; color: white; font: inherit; font-weight: 850; cursor: pointer; box-shadow: 0 10px 22px rgba(14, 103, 74, .2); }
.submit:hover { background: #0a593f; }
.submit:disabled { opacity: .65; cursor: wait; }
.error { padding: 12px 14px; border: 1px solid #f4c4bd; border-radius: 12px; background: #fff0ed; color: #a53126; font-size: 14px; line-height: 1.45; }
.security-note { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid #e7ece9; color: #748078; font-size: 12px; line-height: 1.5; }
@media (max-width: 520px) { .login-shell { align-items: start; padding: 18px; padding-top: max(30px, env(safe-area-inset-top)); } .login-card { padding: 28px 22px; border-radius: 20px; } }
