.auth-page .topbar { display: none; }
.auth-page main {
  max-width: 1240px;
  padding: 56px 48px;
  min-height: 100svh;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 20px 64px #24383108;
}
.auth-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 70px;
  overflow: hidden;
  padding: 42px 44px;
  background: #284e40;
  color: #f5f3e9;
}
.auth-intro .brand { position: relative; z-index: 1; width: fit-content; font-size: 25px; }
.auth-intro .brand-mark { background: #f0f0df; color: #284e40; }
.auth-intro-copy { position: relative; z-index: 1; }
.auth-kicker { font-size: 11px; letter-spacing: .16em; font-weight: 500; }
.auth-intro h2 { font: 400 clamp(32px, 3.5vw, 47px)/1.55 var(--serif); letter-spacing: .025em; }
.auth-intro h2 span { color: #d4946f; }
.auth-description { margin-top: 24px; color: #c4d0c0; font-size: 12px; }
.auth-path { display: flex; flex-wrap: wrap; position: relative; z-index: 1; gap: 14px 22px; padding-top: 22px; border-top: 1px solid #ffffff24; font-size: 11px; }
.auth-path b { color: #aabea8; font-size: 9px; margin-right: 5px; font-weight: 400; }
.auth-lines { position: absolute; bottom: 0; right: 0; width: 100%; pointer-events: none; stroke: #b6cfb6; stroke-opacity: .12; stroke-width: 1; }
.auth-card { align-self: center; width: 100%; padding: 60px clamp(32px, 5vw, 72px); }
.auth-card .auth-kicker { color: var(--muted); margin-bottom: 13px; }
.auth-card h1 { font-size: 38px; line-height: 1.3; }
.auth-card .editor-form { margin-top: 34px; gap: 23px; }
.auth-card .field-label { gap: 9px; font-size: 12px; position: relative; }
.auth-card .auth-form.editor-form input:not([type=hidden]) { min-height: 50px; border-radius: 6px; padding: 12px 14px; background: #fcfcf7; transition: border-color .18s ease, box-shadow .18s ease; }
.auth-card .editor-form input:hover { border-color: #a8b6a4; }
.auth-card .editor-form input:focus-visible { border-color: var(--green); outline: 2px solid #2c5b492b; outline-offset: 2px; background: var(--surface); }
.auth-card input::placeholder { color: #92988d; font-size: 12px; }
.auth-password { position: relative; }
.auth-card .auth-form.editor-form .auth-password input { padding-right: 52px; }
.password-toggle { position: absolute; right: 3px; top: 3px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 4px; background: none; color: var(--muted); }
.password-toggle[hidden] { display: none; }
.password-toggle:hover { color: var(--green); background: var(--green-pale); }
.password-toggle svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.eye-slash { display: none; }
.password-toggle[aria-pressed=true] .eye-slash { display: block; }
.auth-optional { position: absolute; right: 0; top: 0; font-size: 10px; color: var(--muted); font-weight: 400; }
.auth-submit { display: flex; justify-content: space-between; width: 100%; min-height: 50px; margin-top: 8px; border-radius: 6px; padding: 12px 18px; }
.auth-submit span { font-size: 18px; font-weight: 400; }
.auth-alternate { margin-top: 28px; padding-top: 23px; border-top: 1px solid var(--line); text-align: left; font-size: 12px; }
.auth-alternate a { margin-left: 6px; color: var(--green); font-weight: 600; }
.auth-alternate a:hover { text-decoration: underline; text-underline-offset: 4px; }
.auth-card .notice { margin: 22px 0 -12px; font-size: 12px; }
@media (max-width: 900px) {
  .auth-page main { padding: 32px; }
  .auth-intro { padding: 32px; }
  .auth-intro h2 { font-size: clamp(25px, 3.1vw, 28px); }
  .auth-card { padding: 44px 32px; }
  .auth-path { flex-direction: column; gap: 12px; }
}
@media (max-width: 640px) {
  .auth-page main { padding: 20px 16px; }
  .auth-layout { grid-template-columns: 1fr; max-width: 440px; border-radius: 10px; }
  .auth-intro { padding: 23px 26px 26px; gap: 25px; }
  .auth-intro .brand { font-size: 22px; }
  .auth-intro .brand-mark { width: 34px; height: 36px; font-size: 22px; }
  .auth-intro h2 { font-size: 28px; line-height: 1.5; }
  .auth-description, .auth-path { display: none; }
  .auth-lines { width: 65%; }
  .auth-card { padding: 30px 26px; }
  .auth-card .auth-kicker { display: none; }
  .auth-card h1 { font-size: 30px; }
  .auth-card .editor-form { margin-top: 26px; gap: 20px; }
  .auth-card .auth-form.editor-form input:not([type=hidden]) { font-size: 16px; }
  .auth-alternate { margin-top: 24px; padding-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-card .editor-form input { transition: none; }
}
.invitation-error { margin-top: 28px; font-size: 13px; line-height: 2; color: var(--muted); }
