.auth-layout { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
.auth-art { position: relative; isolation: isolate; overflow: hidden; background: var(--surface-raised); display: flex; flex-direction: column; padding: 40px clamp(30px, 4.5vw, 76px); min-height: 720px; }
.auth-art::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #f1f7f3c4, #f1f7f300 30%, #f1f7f340 51%, #f1f7f3f5 76%, #f1f7f3 100%); }
.auth-art-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 40%; }
.auth-art-brand { width: fit-content; }
.auth-art-copy { margin-top: auto; padding-top: 300px; padding-bottom: 42px; }
.auth-eyebrow { display: block; color: var(--accent); font-size: 11px; font-weight: 600; line-height: 1.6; letter-spacing: .14em; }
.auth-art-copy h2 { margin-top: 18px; font: italic 800 clamp(50px, 5vw, 76px)/1.04 var(--font-display); letter-spacing: -.5px; }
.auth-art-copy p { margin-top: 24px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.auth-art-caption { padding-top: 20px; border-top: 1px solid var(--border); font: 600 11px/1.7 var(--font-body); letter-spacing: .18em; color: var(--faint); }
.auth-form-side { padding: 32px clamp(30px, 5.2vw, 88px) 24px; min-width: 0; display: flex; flex-direction: column; background: var(--surface); }
.auth-topbar { min-height: 40px; display: flex; justify-content: flex-end; align-items: center; }
.auth-home { color: var(--muted); display: inline-flex; gap: 10px; align-items: center; font-size: 12px; min-height: 44px; }
.auth-home > span { font-size: 18px; }
.auth-mobile-brand { display: none; }
.auth-form-wrap { width: min(100%, 410px); margin: auto; padding-block: 54px 64px; }
.auth-form-wrap h1 { font: 700 48px/1.18 var(--font-display); letter-spacing: -.4px; margin-top: 10px; }
.auth-intro { color: var(--muted); font-size: 13px; margin-top: 12px; line-height: 1.8; }
.auth-form { margin-top: 32px; }
.auth-field + .auth-field { margin-top: 21px; }
.auth-field label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 500; }
.auth-field input { width: 100%; min-height: 50px; color: var(--text); background: var(--surface); border: 1px solid #bdcfc4; border-radius: 5px; padding: 12px 14px; font-size: 14px; line-height: 1.7; transition: border-color 150ms ease; }
.auth-field input:hover { border-color: #829d8e; }
.auth-field input:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-color: transparent; }
.auth-field input[aria-invalid=true] { border-color: var(--error); }
.auth-field input::placeholder { opacity: 1; color: var(--faint); }
.auth-field input:autofill { box-shadow: 0 0 0 100px var(--surface) inset; -webkit-text-fill-color: var(--text); caret-color: var(--text); }
.auth-password-wrap { position: relative; }
.auth-password-wrap input { padding-right: 72px; }
.auth-password-toggle { position: absolute; top: 3px; bottom: 3px; right: 3px; padding: 0 14px; background: transparent; color: var(--accent); font-size: 12px; border-radius: 3px; min-width: 60px; }
.auth-field-help, .auth-field-error { font-size: 12px; line-height: 1.65; margin-top: 7px; }
.auth-field-help { color: var(--muted); }
.auth-field-error { color: var(--error); }
.auth-field-error:empty { display: none; }
.auth-error { margin-top: 20px; padding: 12px 14px; color: var(--error); border: 1px solid var(--error-border); border-radius: 5px; background: var(--error-ground); font-size: 12px; line-height: 1.8; }
.auth-submit { width: 100%; min-height: 51px; margin-top: 26px; justify-content: space-between; padding-inline: 18px; font-size: 14px; }
.auth-submit-arrow { font-size: 21px; font-weight: 400; line-height: 1; }
.auth-submit:disabled { opacity: .6; }
.auth-submit[aria-busy=true] .auth-submit-arrow { width: 16px; height: 16px; font-size: 0; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: auth-spin .8s linear infinite; }
.auth-switch { color: var(--muted); text-align: center; margin-top: 28px; font-size: 12px; }
.auth-switch a { color: var(--accent); font-weight: 500; display: inline-block; padding-block: 8px; margin-left: 3px; }
.auth-switch a span { margin-left: 3px; }
.auth-footer { color: var(--faint); font-size: 11px; text-align: center; padding-block: 12px; }
@keyframes auth-spin { to { transform: rotate(360deg); } }
@media (min-width: 1600px) { .auth-form-wrap { width: 440px; } }
@media (max-width: 1000px) { .auth-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); } .auth-art { padding-inline: 30px; } .auth-art .brand-wordmark { font-size: 27px; } .auth-form-side { padding-inline: 36px; } }
@media (max-width: 760px) {
  .auth-layout { display: block; }
  .auth-art { display: none; }
  .auth-form-side { min-height: 100vh; min-height: 100svh; padding: 14px 24px 16px; }
  .auth-topbar { justify-content: space-between; gap: 12px; min-height: 54px; }
  .auth-mobile-brand { display: inline-flex; gap: 8px; }
  .auth-mobile-brand img { width: 33px; height: 33px; }
  .auth-mobile-brand .brand-wordmark { font-size: 25px; }
  .auth-home { font-size: 11px; gap: 5px; }
  .auth-home > span { font-size: 16px; }
  .auth-form-wrap { padding-block: 42px 48px; margin-block: 0 auto; }
  .auth-form-wrap h1 { font-size: 42px; }
  .auth-intro { margin-top: 10px; }
  .auth-form { margin-top: 28px; }
  .auth-field + .auth-field { margin-top: 20px; }
  .auth-field input { font-size: 16px; }
  .auth-switch { margin-top: 20px; }
  .auth-footer { font-size: 11px; }
}
@media (max-width: 360px) { .auth-form-side { padding-inline: 20px; } .auth-mobile-brand .brand-wordmark { font-size: 22px; } .auth-home { font-size: 11px; } .auth-form-wrap { padding-top: 30px; } }
@media (prefers-reduced-motion: reduce) { .auth-submit[aria-busy=true] .auth-submit-arrow { animation: none; } }
