body {
  background: #f5f7f7;
  color: #1c3234;
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
  padding: 20px;
}
.login-background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 14% 10%, #e8f1ef, transparent 58%),
    radial-gradient(ellipse at 90% 95%, #e8f0ea, transparent 57%);
}
.login-background::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, #638b7f43 0.8px, transparent 1.25px) center / 22px 22px;
  mask-image: radial-gradient(ellipse, #000 28%, #0009 69%, transparent);
  content: '';
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .login-background::after {
    position: absolute;
    top: 0;
    left: 0;
    width: min(680px, 80vw);
    aspect-ratio: 1;
    background: radial-gradient(circle, #a3d4c58c, #c1dfd455 39%, transparent 70%);
    opacity: 0;
    transform: translate3d(calc(var(--pointer-x, 50vw) - 50%), calc(var(--pointer-y, 50vh) - 50%), 0);
    transition: transform 180ms ease-out, opacity 240ms ease;
    content: '';
  }
  .login-background[data-pointer-active]::after {
    opacity: 1;
  }
}
.login {
  position: relative;
  box-shadow: 0 12px 50px #214b3209;
  border: 1px solid #e0e9e3;
  border-radius: 16px;
  padding: 34px;
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  color: #213c37;
}
.login-brand img {
  display: block;
  flex-shrink: 0;
  width: 43px;
  height: 48px;
  object-fit: contain;
}
.login-brand h1 {
  margin: 0;
  font-size: clamp(22px, 7vw, 27px);
  letter-spacing: -0.8px;
  font-weight: 600;
  line-height: 1.2;
}
.subtitle {
  font-size: 12px;
  color: #718576;
}
label {
  font-size: 12px;
  font-weight: 500;
  color: #68806d;
}
input {
  border-color: #dbe6de;
  border-radius: 8px;
  color: #294d36;
}
button {
  background: #216e5b;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}
button:hover {
  background: #195d4c;
}
input:focus-visible,
button:focus-visible,
.yandex-login:focus-visible {
  outline: 3px solid #82b8a8;
  outline-offset: 3px;
}
.error {
  font-size: 12px;
  background: #fcf0ed;
  color: #a35f55;
  line-height: 1.6;
}
.yandex-login {
  display: block;
  margin-top: 12px;
  padding: 13px;
  border: 1px solid #c0d1c9;
  border-radius: 8px;
  background: white;
  color: #213c37;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
}
.yandex-login:hover {
  background: #edf4f0;
}
.yandex-login-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-block: 10px;
}
.yandex-login-primary svg {
  flex: none;
}
.yandex-login-error {
  display: block;
}
