:root {
  --auth-bg: #f3f7fb;
  --auth-panel: #fff;
  --auth-soft: #f7fafc;
  --auth-line: #d8e2ec;
  --auth-ink: #061936;
  --auth-muted: #607086;
  --auth-green: #0ca46c;
  --auth-red: #c9344f;
}

body.auth-v2 {
  margin: 0;
  min-height: 100vh;
  padding: 24px;
  display: grid;
  place-items: center;
  color: var(--auth-ink);
  background:
    linear-gradient(rgba(243,247,251,.92), rgba(243,247,251,.96)),
    radial-gradient(circle at 18% 15%, rgba(12,164,108,.16), transparent 34%),
    #f3f7fb;
}

.auth-shell {
  width: min(920px, 100%);
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(360px, 1fr);
  overflow: hidden;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  background: var(--auth-panel);
  box-shadow: 0 22px 60px rgba(17,45,78,.12);
}

.auth-brand-panel {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background: #061936;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 900;
}

.auth-brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(135deg, #14a66a 0 49%, #ffb32c 50% 100%);
  font-weight: 950;
}

.auth-brand-copy {
  max-width: 280px;
}

.auth-brand-copy strong {
  display: block;
  margin-bottom: 8px;
  font-size: 26px;
  line-height: 1.16;
}

.auth-brand-copy span,
.auth-brand-foot {
  color: #b9c6d8;
  font-size: 12px;
  line-height: 1.55;
}

body.auth-v2 .card {
  width: auto;
  margin: 0;
  padding: 48px 44px;
  align-self: center;
  border: 0;
  border-radius: 0;
  color: var(--auth-ink);
  background: #fff;
  box-shadow: none;
}

body.auth-v2 h1 {
  margin: 0 0 6px;
  color: var(--auth-ink);
  font-size: 28px;
  letter-spacing: 0;
}

body.auth-v2 .sub,
body.auth-v2 .hint {
  color: var(--auth-muted);
  font-size: 13px;
}

body.auth-v2 .sub {
  margin-bottom: 22px;
}

body.auth-v2 .field {
  gap: 6px;
  margin: 0 0 13px;
}

body.auth-v2 label {
  color: #3c526d;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0;
}

body.auth-v2 input {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid var(--auth-line);
  border-radius: 6px;
  color: var(--auth-ink);
  background: #fff;
}

body.auth-v2 input:focus {
  outline: 2px solid rgba(25,118,232,.2);
  border-color: #69a5e9;
}

body.auth-v2 button {
  width: 100%;
  min-height: 42px;
  margin-top: 3px;
  border: 1px solid #061936;
  border-radius: 6px;
  color: #fff;
  background: #061936;
  font-weight: 850;
}

body.auth-v2 .err {
  min-height: 18px;
  color: var(--auth-red);
}

body.auth-v2 .ok {
  color: var(--auth-green);
}

body.auth-v2 a {
  color: #0b6fd8;
}

@media (max-width: 720px) {
  body.auth-v2 {
    padding: 12px;
  }
  .auth-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .auth-brand-panel {
    min-height: 170px;
    padding: 24px;
  }
  .auth-brand-copy strong {
    font-size: 21px;
  }
  .auth-brand-foot {
    display: none;
  }
  body.auth-v2 .card {
    padding: 30px 24px;
  }
}
