:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #eef3f0;
  color: #17221d;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 15% 10%, rgba(93, 145, 119, .18), transparent 34%),
    linear-gradient(160deg, #f7faf8 0%, #e7efeb 100%);
}
.login-shell {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: max(20px, env(safe-area-inset-top)) 18px max(20px, env(safe-area-inset-bottom));
}
.login-card {
  width: min(420px, 100%);
  padding: 30px;
  border: 1px solid rgba(49, 86, 70, .15);
  border-radius: 22px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 70px rgba(22, 49, 37, .16);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: #315646;
  color: #fff;
}
.brand-mark svg { width: 30px; height: 30px; }
.eyebrow { margin: 0 0 5px; color: #315646; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
h1 { margin: 0; font-size: 30px; line-height: 1.1; }
.subtitle { margin: 8px 0 26px; color: #66736d; }
form { display: grid; gap: 15px; }
label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; }
input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #c8d4ce;
  border-radius: 11px;
  background: #fff;
  color: #17221d;
  font: inherit;
  font-size: 16px;
  outline: none;
}
input:focus { border-color: #315646; box-shadow: 0 0 0 3px rgba(49, 86, 70, .13); }
button {
  min-height: 50px;
  border: 0;
  border-radius: 11px;
  background: #315646;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
button:disabled { opacity: .65; cursor: wait; }
.result { min-height: 20px; color: #a02e2e; font-size: 13px; }
@media (max-width: 520px) {
  .login-card { padding: 24px 20px; border-radius: 18px; }
  h1 { font-size: 27px; }
}
