body.login {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  background: #ecede8;
}

.login-main {
  flex: 1;
  display: grid;
  align-content: center;
  max-width: 1180px;
  padding-block: clamp(32px, 6vh, 76px);
}

.login-card {
  display: grid;
  grid-template-columns: 0.93fr 1.07fr;
  overflow: hidden;
  background: #f9faf7;
  border: 1px solid #c7cec7;
  border-radius: 12px;
}

.login-panel {
  align-self: center;
  padding: clamp(28px, 3.6vw, 54px);
  color: #152422;
  color-scheme: light;
}
.login-panel h1 { font-size: clamp(36px, 3.8vw, 54px); }
.login-panel form { display: grid; margin-top: 30px; }
.login-panel label { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.login-panel input {
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid #9daea3;
  border-radius: 5px;
  background: #fff;
  color: #16271f;
}
.login-panel input + label { margin-top: 16px; }
.login-panel :is(input, button, a):focus-visible { outline-color: #16735b; }
.login-panel .button { width: 100%; font-size: 15px; font-weight: 600; }
.login-submit { margin-top: 22px; background: #203f32; color: #f5fcf5; }
.login-submit:hover { background: #2b5342; }
.login-google { justify-content: center; background: transparent; color: #203f32; border-color: #9daea3; }
.login-google:hover { background: #e9eee8; }
.login-panel .login-divider {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-block: 12px;
  color: #56645c;
  font-size: 12px;
}
.login-divider::before, .login-divider::after { content: ""; flex: 1; border-top: 1px solid #ced6cf; }
.login-panel .login-signup { margin-top: 24px; color: #51605a; font-size: 14px; }
.login-signup a { color: #245841; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.login-panel .login-error:not(:empty) {
  margin-top: 14px;
  color: #962e26;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.login-figure {
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  min-width: 0;
  padding: clamp(20px, 2.6vw, 38px);
  background-color: #162123;
  background-image: radial-gradient(#91b0a927 0.8px, transparent 1px),
    radial-gradient(ellipse at 65% 25%, #2c4243, #142023 76%);
  background-size: 16px 16px, cover;
}
.login-figure img { display: block; width: 100%; height: auto; }
.login-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 5px 16px;
  padding-top: 14px;
  border-top: 1px solid #49605f;
}
.login-figure strong { font-size: 16px; font-weight: 550; }
.login-figure figcaption span { font: 11px var(--mono); color: #b3c9c3; }

@media (max-width: 740px) {
  .login-main { max-width: 480px; }
  .login-card { grid-template-columns: minmax(0, 1fr); }
  .login-figure { display: none; }
  .login-panel { padding: clamp(22px, 5.5vw, 38px); }
}
@media (max-width: 480px) {
  .login-main { align-content: start; }
}
