.auth-shell {
  --auth-ink: #263e38;
  --auth-border: #adb8ae;
  max-width: 73rem;
  margin: 0 auto;
  padding: clamp(1.75rem, 5vw, 4.75rem) clamp(1rem, 3vw, 2.25rem);
  color: #253831;
}
.auth-paired {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  grid-template-areas: "landscape form";
  gap: clamp(2.5rem, 6vw, 5.75rem);
  align-items: center;
}
.auth-shell .auth-landscape { grid-area: landscape; }
.auth-card { grid-area: form; min-width: 0; width: 100%; max-width: 29rem; margin-inline: auto; }
.auth-single .auth-card { max-width: 31rem; }
.auth-shell .auth-back {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.5rem;
  margin: 0 0 .85rem; color: #485e53; font-size: .91rem; font-weight: 650; text-decoration: none;
}
.auth-back:hover { text-decoration: underline; }
.auth-card h1 {
  margin: 0; color: var(--auth-ink); font-size: clamp(2.25rem, 3.9vw, 3.45rem);
  font-weight: 790; letter-spacing: -.053em; line-height: 1.04; text-wrap: balance;
}
.auth-lead { margin: .85rem 0 1.65rem; color: #4e5c55; font-size: 1.04rem; line-height: 1.55; overflow-wrap: anywhere; }
.auth-form { display: grid; gap: 1.05rem; }
.auth-methods {
  display: inline-flex; gap: .15rem; padding: .2rem; margin: -.25rem 0 1.3rem;
  border: 1px solid #c3cec1; border-radius: .5rem; background: #edf1e9;
}
.auth-methods a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.5rem; padding: .4rem .95rem;
  border-radius: .32rem; color: #42574b; text-decoration: none; font-size: .94rem; font-weight: 640;
}
.auth-methods a[aria-current=page] { background: #fffefa; color: #213b30; box-shadow: 0 1px 3px #263e3833; }
.auth-methods a:hover { text-decoration: underline; }
.auth-name-pair { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: .85rem; }
.password-rules {
  display: flex; flex-wrap: wrap; gap: .35rem .95rem; list-style: none;
  margin: -.55rem 0 .05rem; padding: 0; font-size: .88rem; color: #4d5d54;
}
.password-rules li { display: inline-flex; align-items: center; gap: .35rem; min-height: 1.45rem; }
.rule-mark {
  display: inline-flex; width: 1rem; height: 1rem; flex: none; align-items: center; justify-content: center;
  border: 1.5px solid #748478; border-radius: 50%;
}
.password-rules li[data-met=true] { color: #21563c; }
.password-rules li[data-met=true] .rule-mark { background: #2d6649; border-color: #2d6649; }
.password-rules li[data-met=true] .rule-mark::after {
  content: ""; width: .42rem; height: .24rem; border-left: 2px solid white; border-bottom: 2px solid white;
  transform: translateY(-1px) rotate(-45deg);
}
.password-match { margin: -.55rem 0 0; color: #884437; font-size: .9rem; }
.password-match:empty { display: none; }
.password-match[data-match=true] { color: #21563c; }
@media (max-width: 390px) { .auth-name-pair { grid-template-columns: 1fr; } }
.auth-card .field { margin: 0; display: grid; gap: .4rem; }
.auth-card .field label { font-weight: 670; color: #2d3a34; font-size: .94rem; }
.auth-card .field input {
  width: 100%; min-height: 3.05rem; padding: .66rem .85rem; border-radius: .4rem;
  border: 1px solid var(--auth-border); background: #fffefa; font-size: 1rem; color: #233b34;
}
.auth-card .field input:focus-visible { outline: 3px solid #426b5b; outline-offset: 2px; }
.auth-label-row { display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.auth-label-row a, .auth-footnote a { font-size: .9rem; font-weight: 640; color: #814333; }
.auth-password { display: grid; grid-template-columns: minmax(0, 1fr) auto; background: #fffefa; border: 1px solid var(--auth-border); border-radius: .4rem; }
.auth-card .auth-password input { border: 0; background: transparent; }
.auth-password:focus-within { outline: 3px solid #426b5b; outline-offset: 2px; }
.auth-card .auth-password input:focus-visible { outline: 0; }
.auth-password button { align-self: stretch; padding: 0 .8rem; min-width: 4.75rem; color: #40594d; font-weight: 650; font-size: .88rem; }
.auth-password button:focus-visible { outline-offset: -4px; }
.auth-card .auth-button {
  font: inherit; font-weight: 700; min-height: 3rem; width: 100%; padding: .72rem 1rem; border: 1px solid transparent;
  border-radius: .4rem; display: flex; align-items: center; justify-content: center; text-align: center;
  line-height: 1.3; text-decoration: none; cursor: pointer;
}
.auth-card .auth-button.ink { color: #fffefa; background: var(--auth-ink); }
.auth-card .auth-button.ink:hover { background: #1b302a; }
.auth-card .auth-button.coral { color: #30231e; background: #ee7b68; border-color: #bc5e4e; }
.auth-card .auth-button.coral:hover { background: #f18a78; }
.auth-card .auth-button.outlined { color: var(--auth-ink); background: #fffefa; border-color: #84978a; }
.auth-card .auth-button.outlined:hover { background: #eef2e9; }
.auth-divider { display: flex; align-items: center; gap: .8rem; margin: 1.45rem 0 .85rem; color: #556158; font-size: .9rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: #d1d7cd; }
.auth-footnote { margin: 1.2rem 0 0; font-size: .94rem; line-height: 1.6; color: #526158; }
.auth-card small, .auth-card .helptext { color: #54645b; font-size: .875rem; line-height: 1.5; }
.auth-card .errorlist { padding: 0; margin: 0; list-style: none; font-size: .94rem; color: #8b2c22; }
.auth-errors { border-left: 3px solid #b45547; background: #fff0e9; padding: .75rem .9rem; }
.auth-card input[aria-invalid=true] { border-color: #ad4839; }
.auth-detail, .auth-local { line-height: 1.55; }
.auth-local { padding: .75rem 1rem; background: #eaf0e7; color: #3a5442; border-left: 3px solid #748975; }
.auth-honey { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 750px) {
  .auth-paired { grid-template-areas: "form" "landscape"; grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .auth-shell { padding: 1.25rem clamp(1rem, 5vw, 2rem) 2rem; }
  .auth-shell .auth-landscape { width: 100%; max-width: 29rem; justify-self: center; }
  .auth-card .auth-back { margin-bottom: .6rem; }
}
