/* Staff account pages: sign-in and developer sign-in.
   Loaded only from ui/auth_base.html, which sets class="atelier" on <html>, so the Atelier tokens and
   rules in horgan.css section 41 apply. Prospect pages (ui/public_base.html) never load this file.
   Layout: cream ground, one centered paper card with the stacked lockup, a quiet mono footer line.
   The lockup SVG is shown as published; only its display size is set here. */

html.atelier .auth-body { min-height: 100vh; background: var(--bg); }

html.atelier .auth {
  display: flex; flex-direction: column; min-height: 100vh;
}

html.atelier .auth-main {
  flex: 1; width: 100%; max-width: 31rem; margin: 0 auto;
  padding: 4.5rem 1rem 2.5rem;
  display: flex; flex-direction: column; justify-content: center; gap: 1rem;
}
html.atelier .auth-main:focus { outline: none; }

html.atelier .auth-card {
  padding: 2.75rem 2.5rem 2.25rem;
  border: 1px solid var(--border); border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-inset), 0 1px 2px rgba(64, 48, 26, 0.05), 0 24px 48px -28px rgba(64, 48, 26, 0.35);
}

/* Stacked lockup: displayed large enough that the tagline reads; the artwork itself is untouched. */
html.atelier .auth-logo { width: 15rem; max-width: 100%; margin: 0 auto 2rem; }
html.atelier .auth-logo img { display: block; width: 100%; height: auto; }

html.atelier .auth-intro { text-align: center; }
html.atelier .auth-intro h1 { margin: 0 0 0.5rem; font-size: 1.75rem; line-height: 1.15; color: var(--text); }
html.atelier .auth-intro p { margin: 0; font-size: 0.94rem; line-height: 1.55; color: var(--text-muted); }

html.atelier .auth-card .btn--lg { margin-top: 0.25rem; }
html.atelier .auth-card .signin-trust {
  margin: 0; font-size: 0.8125rem; line-height: 1.45; text-align: center; color: var(--text-subtle);
}
/* Inline icon so a wrapped line on a phone stays centered with the lock beside the first word. */
html.atelier .auth-card .signin-trust { display: block; text-wrap: balance; }
html.atelier .auth-card .signin-trust svg {
  display: inline-block; margin-right: 0.375rem; vertical-align: -2px; stroke: var(--gold-deep);
}

/* Developer form: set off with a hairline and a mono eyebrow style heading. */
html.atelier .auth-dev { margin-top: 0.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
html.atelier .auth-dev h2 {
  margin: 0; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep);
}
html.atelier .auth-dev .help { margin: 0; }

html.atelier .auth-footer { padding: 1.5rem 1rem 2rem; text-align: center; }
html.atelier .auth-footer address {
  font-style: normal; font-family: var(--font-mono); font-size: 0.6875rem; line-height: 1.6;
  letter-spacing: 0.04em; color: var(--text-faint);
}

@media (max-width: 640px) {
  html.atelier .auth-main { padding: 2rem 1rem 1.5rem; justify-content: flex-start; }
  html.atelier .auth-card { padding: 2rem 1.25rem 1.75rem; }
  html.atelier .auth-logo { width: 12.5rem; margin-bottom: 1.5rem; }
  html.atelier .auth-intro h1 { font-size: 1.5rem; }
}
