:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #0b0b0b;
  background: #fff;
  --brand: #214f00;
  --lime: #b2eb38;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; background: #fff; }
button, input { font: inherit; }
button { cursor: pointer; }
.header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 67px;
  border-bottom: 1px solid #dedbd5;
}
.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--brand);
  white-space: nowrap;
}
.brand svg { display: block; width: 43px; height: 51px; }
.brand span { font-size: 38px; font-weight: 700; letter-spacing: -1.15px; }
.back, .help {
  position: absolute;
  top: 0;
  height: 66px;
  border: 0;
  background: transparent;
  color: #376c1b;
}
.back { left: 0; width: 42px; display: grid; place-items: center; }
.back svg { width: 16px; height: 24px; }
.help { right: 12px; padding: 0; font-size: 12px; }
main { padding: 56px 20px 40px; }
.card {
  width: 500px;
  max-width: 100%;
  margin: 0 auto;
  padding: 42px 40px 40px;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 13px 44px rgba(0, 0, 0, .12);
}
h1 { margin: 0; font-size: 18px; line-height: 22px; text-align: center; font-weight: 700; }
.intro { margin: 20px 0 23px; font-size: 14px; line-height: 20px; text-align: center; }
.email-field { position: relative; height: 46px; }
.email-field label {
  position: absolute;
  z-index: 1;
  top: -8px;
  left: 9px;
  padding: 0 6px;
  background: #fff;
  font-size: 12px;
  line-height: 16px;
}
.email-field input {
  display: block;
  width: 100%;
  height: 46px;
  padding: 8px 15px;
  border: 2px solid #171717;
  border-radius: 9px;
  outline: none;
  background: #fff;
  color: #111;
  font-size: 16px;
}
.email-field input:focus-visible { box-shadow: 0 0 0 3px rgba(178, 235, 56, .4); }
.email-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  margin-bottom: 12px;
  padding: 8px 16px;
  border: 1px solid #9c9c94;
  border-radius: 8px;
  font-size: 16px;
}
.email-summary span { min-width: 0; overflow-wrap: anywhere; }
.text-button { padding: 0; border: 0; background: transparent; color: #37641a; font-size: 14px; font-weight: 700; text-decoration: underline; }
.password-field, .password-field input { height: 48px; }
.password-field input { padding-right: 46px; }
.show-password { position: absolute; top: 2px; right: 3px; display: grid; place-items: center; width: 42px; height: 44px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: #171717; }
.show-password svg { width: 20px; height: 20px; }
.has-error .password-field input { border-color: #c00; box-shadow: none; }
.has-error .password-field input::placeholder { color: transparent; }
.has-error .password-field label { color: #c00; }
.password-error { display: flex; align-items: flex-start; gap: 8px; margin: 6px 0 0; color: #c00; font-size: 12px; line-height: 18px; }
.password-error svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 1px; }
.forgot { display: inline-block; margin: 16px 0 0 4px; line-height: 20px; }
.continue.login { margin-top: 26px; }
.continue {
  display: block;
  width: 100%;
  height: 44px;
  margin-top: 23px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  color: #173e00;
  background: var(--lime);
  font-size: 14px;
  font-weight: 700;
}
.continue:hover { background: #a7e329; }
.register { margin: 30px 0 0; font-size: 14px; line-height: 20px; }
.register a { margin-left: 8px; color: #37641a; font-weight: 700; text-decoration: underline; }
.verification-card { padding-top: 54px; padding-bottom: 44px; }
.verification-icon { display: block; width: 104px; height: 104px; margin: 0 auto 28px; }
#verification-title:focus { outline: none; }
.verification-intro { margin: 20px 0 26px; font-size: 14px; line-height: 20px; text-align: center; }
.verification-field {
  display: block;
  width: 100%;
  height: 44px;
  padding: 0 15px;
  border: 1px solid #9c9c94;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-size: 16px;
}
.masked-number { background: #eeedeb; }
.code-field { margin-top: 12px; padding: 0 20px; font-size: 14px; }
.code-field::placeholder { color: #777; opacity: 1; }
.code-field:focus-visible { outline: 2px solid #719b24; outline-offset: 2px; }
.verification-card .continue { margin-top: 24px; }
.resend { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; margin: 12px 0 0; font-size: 14px; line-height: 18px; text-align: center; }
.verification-status { margin: 16px 0 0; color: #37641a; font-size: 14px; line-height: 20px; text-align: center; }
.continue:disabled { cursor: default; }
:is(button, a):focus-visible { outline: 3px solid #719b24; outline-offset: 4px; }
@media (max-width: 560px) {
  .brand { gap: 9px; }
  .brand svg { width: 32px; height: 40px; }
  .brand span { font-size: 28px; letter-spacing: -.9px; }
  .help { right: 10px; font-size: 11px; }
  main { padding: 24px 20px 32px; }
  .card { padding: 34px 24px 32px; }
  .intro { margin-top: 19px; margin-bottom: 24px; }
  .register { display: flex; flex-wrap: wrap; gap: 4px 8px; }
  .register a { margin-left: 0; }
}
@media (max-width: 360px) {
  .brand span { font-size: 24px; }
  .brand { gap: 6px; }
  main { padding-left: 14px; padding-right: 14px; }
  .card { padding-left: 20px; padding-right: 20px; }
}
