.auth-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-content: stretch;
  min-height: 100vh;
  min-height: 100svh;
  max-width: 1720px;
  margin: auto;
  padding-block: clamp(52px, 8vh, 100px);
}
.auth-language { position: absolute; top: 24px; right: clamp(20px, 3.5vw, 64px); }
.auth-column { align-self: start; justify-self: center; width: min(480px, 74%); }
.auth-brand { display: flex; margin-inline: auto; gap: 10px; font-size: 33px; color: #343848; }
.auth-brand img { width: 35px; height: 47px; }
.auth-panel { margin-top: clamp(38px, 6.4vh, 76px); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; }
.auth-tabs a {
  padding: 10px 0 13px;
  border-bottom: 2px solid #e3e7e9;
  text-align: center;
  font-size: 18px;
  line-height: 1.35;
  color: #66717c;
}
.auth-tabs a[aria-current] { color: #222b37; font-weight: 650; border-bottom-color: #11888a; }
.auth-tabs a:hover { color: var(--accent); }
.auth-panel h1:not(.visually-hidden) { margin-top: 25px; font-size: 23px; letter-spacing: -.025em; }
.auth-note, .field-note { color: #64717b; font-size: 13px; line-height: 1.6; }
.auth-note { margin-top: 4px; }
#auth-form { display: grid; gap: 19px; margin-top: 29px; }
#credentials { display: grid; gap: 19px; min-width: 0; padding: 0; margin: 0; border: 0; }
#registration-offer { display: grid; gap: 11px; }
.verified-address { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 8px; font-size: 14px; color: #166b69; }
.verified-address svg { width: 18px; height: 18px; flex: none; }
.verified-address bdi { color: #34404a; font-weight: 600; overflow-wrap: anywhere; }
.auth-field { display: grid; gap: 7px; }
.auth-field label { color: #34404a; font-size: 14px; font-weight: 600; }
.auth-panel input {
  display: block; width: 100%; min-width: 0; height: 48px;
  border: 1px solid #cfd8da; border-radius: 8px; background: #fff;
  padding-inline: 14px; color: #262f39; font-size: 16px; line-height: normal;
}
.auth-panel input::placeholder { color: #85909a; opacity: 1; }
.auth-panel input:focus { outline: 2px solid #1d8b8b; outline-offset: 1px; }
.code-field, .password-field { display: flex; position: relative; align-items: center; }
.code-field { gap: 10px; }
#get-code {
  align-self: stretch; flex-shrink: 0; min-width: 105px; padding: 0 14px;
  color: #116e70; font-size: 14px; font-weight: 600;
  background: #edf6f5; border: 1px solid #cfe4e2; border-radius: 8px;
}
#get-code:hover:enabled { background: #e1f1ef; }
#get-code:disabled { color: #627c7a; }
.password-label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.password-label a { color: #107477; font-size: 13px; }
.password-label a:hover { text-decoration: underline; }
.password-field input { padding-right: 48px; }
#show-password { display: grid; place-items: center; position: absolute; right: 4px; width: 40px; height: 38px; background: transparent; color: #6f7c86; border-radius: 6px; }
#show-password svg { width: 19px; height: 19px; }
.eye-slash { display: none; }
#show-password[aria-pressed="true"] .eye-slash { display: block; }
.field-note { font-size: 12px; }
#invite-row { color: #57656e; font-size: 13px; }
#invite-row summary { width: fit-content; cursor: pointer; }
#invite-row input { margin-top: 8px; }
#feedback { color: #157271; font-size: 14px; line-height: 1.55; }
#feedback[data-error="true"] { color: #a43830; }
#feedback:empty { display: none; }
.auth-primary {
  min-height: 48px; padding: 11px 18px; border-radius: 8px; font-size: 16px; font-weight: 600;
  color: white; background: #08777a;
}
.auth-primary:enabled:hover { background: #086466; }
.auth-primary:disabled { opacity: .65; }
.auth-secondary { justify-self: center; padding: 4px 10px; background: transparent; color: #107477; font-size: 14px; }
.auth-secondary:hover:enabled { text-decoration: underline; }
.auth-art { align-self: center; display: grid; place-items: center; }
.art-scene {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1.86;
}
.art-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/site-assets/juzi-agent-discovery.webp") center bottom / cover no-repeat;
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 88%, transparent),
              linear-gradient(to bottom, transparent, #000 16%, #000 83%, transparent);
  mask-composite: intersect;
}
.art-scene::after {
  content: "";
  position: absolute; left: 46%; bottom: 27%; width: 22%; height: 4%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, #486b6c38, transparent 70%);
}
.art-scene picture {
  position: absolute; z-index: 1; left: 46%; bottom: 33%;
  width: clamp(146px, 14.5vw, 218px);
  transform: translateX(-50%);
}
.art-scene img {
  display: block; width: 100%; height: auto;
}
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 800px) {
  .auth-layout { display: block; padding: 78px 24px 40px; }
  .auth-column { width: min(100%, 440px); margin-inline: auto; }
  .auth-language { top: 16px; right: 20px; }
  .auth-panel { margin-top: 32px; }
  .auth-art { display: none; }
}
@media (max-width: 400px) {
  .auth-layout { padding-inline: 20px; }
  .code-field { gap: 7px; }
  #get-code { min-width: 94px; padding-inline: 9px; }
}
