@layer app {
.auth-main { min-height: 0; padding-top: 0; background: var(--surface); }
[hidden] { display: none !important; }
.auth-container { width: auto; margin-inline: var(--site-content-gutter); }
.auth-eyebrow { margin: 0 0 var(--gap-md); color: var(--text-muted); font-size: var(--type-caption); line-height: 1.4; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.auth-title { margin: 0 0 12px; color: var(--ink); font: 500 clamp(36px, 4vw, 52px)/1.05 "Golos Text", sans-serif; letter-spacing: -.045em; }
.auth-lead { max-width: 480px; margin: 0; color: var(--muted); font-size: var(--type-lead); line-height: 1.45; }
.auth-panel { border: 1px solid var(--surface); border-radius: var(--data-radius); background: var(--surface-card); box-shadow: 0 12px 36px rgb(50 47 53 / 7%); }
.auth-centered-panel { width: min(550px,100%); margin: 38px auto 0; padding: 36px 42px; display: flex; flex-direction: column; align-items: center; gap: var(--form-stack-gap); text-align: center; }
.auth-centered-panel .auth-title { margin: 0; font-size: clamp(32px,4vw,42px); }
.auth-centered-panel .auth-centered-art { margin: 0 auto; }
.auth-centered-art { display: block; width: min(320px,100%); height: auto; margin: 0 auto 12px; }
.auth-centered-panel .auth-eyebrow { margin: 0; }
.auth-centered-copy { max-width: 480px; margin: 0; color: var(--muted); font-size: var(--type-lead); line-height: 1.45; }
.auth-panel h2 { margin: 0; color: var(--ink); font: 500 var(--type-panel-heading)/1.2 "Golos Text", sans-serif; letter-spacing: -.025em; }
.auth-form { display: grid; gap: var(--form-stack-gap); }
.auth-field { display: grid; min-width: 0; gap: 7px; }
.auth-field input,.auth-field select { width: 100%; }
.password-control { position: relative; }
.auth-error { margin: 0; color: var(--status-error-strong); font-size: var(--type-button); }
.auth-required { color: var(--status-error-strong); }
.auth-help { margin: 0; color: var(--text-secondary); font-size: var(--type-caption); line-height: 1.45; }
.auth-submit { width: 100%; min-height: 52px; font: 600 var(--navigation-font-size) Roboto, Arial, sans-serif; }
.auth-note { display: flex; align-items: flex-start; gap: var(--gap-sm); margin: 0; padding: 13px 15px; border-radius: var(--button-radius); color: var(--surface-inverse-soft); background: var(--data-row-hover); font-size: var(--type-button); line-height: 1.5; }
.auth-note svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: var(--violet); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.reset-footnote { width: 100%; margin: 0; color: var(--text-secondary); font-size: var(--type-button); line-height: 1.5; text-align: center; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.auth-links a { color: var(--violet); }
.auth-inline-arrow-link { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 700px) {
  .auth-panel h2 { font-size: var(--type-panel-heading); }
  .auth-centered-panel { margin-top: 26px; padding: 30px 24px; }
  .auth-centered-art { width: min(240px,100%); }
}
@media (max-width: 420px) {
  .auth-panel { border-radius: var(--data-radius); }
  .auth-centered-panel { padding: 26px 18px; }
}
}
