:root {
  color-scheme: light;
  color: #192923;
  background: #eef3ed;
  font: 14px/1.5 Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  display: grid;
  min-height: 100dvh;
  margin: 0;
  padding: 20px;
  place-items: center;
}
.login-card {
  width: min(100%, 400px);
  padding: clamp(22px, 6vw, 36px);
  border: 1px solid #dce5dd;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px #14292314;
}
.product { margin: 0 0 4px; color: #176649; font-weight: 650; }
h1 { margin: 0 0 22px; font-size: 25px; line-height: 1.3; }
form, label { display: grid; gap: 8px; }
form { gap: 16px; }
label { font-weight: 600; }
input, button {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #d6e0d8;
  border-radius: 8px;
  background: #fff;
  font: inherit;
}
input:focus-visible, button:focus-visible { outline: 2px solid #39876a; outline-offset: 2px; }
button { border-color: #176649; background: #176649; color: #fff; font-weight: 650; cursor: pointer; }
button:hover { background: #12563d; }
button:disabled { opacity: .6; cursor: wait; }
#login-error { margin: 0; color: #9a332a; }
