.auth-page { display: grid; min-height: 100vh; place-items: center; padding: 32px; background-color: var(--canvas); background-image: linear-gradient(135deg, transparent 48%, rgb(52 117 93 / 4%) 49%, transparent 50%); background-size: 24px 24px; }
.auth-layout { display: grid; width: min(960px, 100%); min-height: 590px; grid-template-columns: .92fr 1.08fr; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); box-shadow: 0 24px 64px rgb(24 35 29 / 12%); }
.auth-aside { display: flex; flex-direction: column; justify-content: space-between; padding: 33px; background: #24342e; color: #f1f4f1; }
.auth-brand, .recovery-brand { display: inline-flex; width: fit-content; align-items: center; gap: 11px; font-size: 17px; font-weight: 650; }
.auth-brand { color: #fff; }
.auth-brand .brand-mark, .recovery-brand .brand-mark { width: 34px; height: 34px; }
.auth-aside-copy { max-width: 320px; padding: 22px 0; }
.auth-kicker { display: block; margin-bottom: 10px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.auth-aside .auth-kicker { color: #e69a74; }
.auth-aside-copy h1 { margin-bottom: 15px; font-size: 37px; font-weight: 550; line-height: 1.12; letter-spacing: 0; }
.auth-aside-copy p { max-width: 270px; margin-bottom: 0; color: #c2cdc6; font-size: 13px; }
.auth-aside-footer { display: flex; align-items: center; gap: 9px; color: #c2cdc6; font-size: 11px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #83bd9a; }
.auth-main { display: grid; place-items: center; padding: 40px; }
.auth-form-wrap { width: min(360px, 100%); }
.auth-form-wrap h2, .recovery-panel h1 { margin-bottom: 6px; font-size: 25px; font-weight: 650; letter-spacing: 0; }
.auth-subtitle { margin-bottom: 25px; color: var(--muted); font-size: 13px; }
.auth-form { display: grid; gap: 10px; }
.auth-form label { margin-top: 6px; color: var(--ink); font-size: 12px; font-weight: 600; }
.auth-form input { width: 100%; min-height: 43px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 5px; outline: 0; background: var(--paper); color: var(--ink); font: inherit; font-size: 13px; }
.auth-form input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgb(52 117 93 / 14%); }
.password-label-row { display: flex; align-items: baseline; justify-content: space-between; }
.password-label-row a, .back-link { color: var(--green); font-size: 11px; font-weight: 600; }
.auth-submit { display: flex; min-height: 44px; align-items: center; justify-content: center; gap: 9px; margin-top: 12px; border: 0; border-radius: 5px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 650; cursor: pointer; }
.auth-submit:hover { background: var(--accent-hover); }
.auth-submit:focus-visible, .back-link:focus-visible, .auth-brand:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.auth-footnote { margin: 20px 0 0; color: var(--muted); font-size: 11px; }
.auth-alert { margin: 0 0 17px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 5px; font-size: 12px; }
.auth-alert-error { border-color: #e6b1a2; background: #fff4f0; color: #8a3825; }
.auth-alert-success { border-color: #9fc5ae; background: var(--green-soft); color: var(--green); }
.recovery-shell { width: min(500px, 100%); }
.recovery-brand { margin: 0 0 24px 3px; color: var(--ink); }
.recovery-panel { padding: 35px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); box-shadow: var(--shadow); }
.recovery-icon { display: grid; width: 44px; height: 44px; place-items: center; margin-bottom: 22px; border: 1px solid var(--line); border-radius: 7px; background: var(--green-soft); color: var(--green); font-size: 19px; }
.recovery-panel h1 { font-size: 23px; }
.recovery-panel .auth-subtitle { margin-bottom: 20px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 24px; }

@media (max-width: 720px) {
  .auth-page { padding: 16px; }
  .auth-layout { width: min(480px, 100%); min-height: 0; grid-template-columns: 1fr; }
  .auth-aside { min-height: 180px; padding: 19px 22px; }
  .auth-aside-copy { display: none; }
  .auth-aside-footer { font-size: 10px; }
  .auth-main { padding: 30px 22px 34px; }
  .auth-form-wrap { width: 100%; }
  .recovery-panel { padding: 25px 21px; }
}