/* Signing in and creating an account, the pages opened from email links (verify, reset, unsubscribe), and the forms
   that open from Account's rows (.auth-form.compact). Linked after account.css. The first block came before Account's
   rules in styles.css; nothing drawn depends on that, as Account's own rules for its forms are the more specific. */

/* Sign in, sign up, confirmation and reset pages */
.auth-page { max-width: 480px; display: grid; gap: 16px; padding: 32px 0; }
.auth-form { max-width: 420px; display: grid; gap: 16px; padding-top: 8px; }
.auth-form.compact { gap: 12px; padding-top: 4px; max-width: 520px; }
.auth-form .form-row { flex-wrap: wrap; }
.auth-link { justify-self: start; min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); font-size: calc(14px * var(--type)); text-decoration: underline; text-underline-offset: 3px; }
.auth-link:hover { color: var(--text); }
/* Create account and Sign in, in words beside the card's title: the way to join must be seen. */
.auth-switch { min-height: 44px; padding: 0 2px; color: var(--text); font-size: calc(15px * var(--type)); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Sign in and sign up: the brand on its photograph, one line, and the form. */
.app.is-public .top { display: none; }
/* The signed-out pages carry no sections bar, even for the moment between signing in and the Board opening. */
.app.is-public .dock { display: none !important; }
.app.is-public { padding-bottom: 24px; }
.auth-screen { display: grid; gap: 18px; padding: 28px 0 24px; }
/* The hero (the brand kit, 17.11.2026): the sign-in photograph under the line device, and over its foot the mark with
   the name under it in the display face (the kit's stacked lockup), then the one line, in light ink on a scrim of the
   darkest claret (two thirds strong or more under every word). The mark is never set straight on a photograph: it sits
   on its claret tile, filling three quarters of it, as the kit's tile has it. On a computer the hero fills the column
   beside the form. */
.auth-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: end; gap: 8px; min-width: 0; min-height: calc(300px * var(--type)); padding: 20px; border-radius: var(--radius); background: var(--scrim); color: var(--masthead-ink); }
.auth-hero > .auth-pic { position: absolute; inset: 0; z-index: -2; width: auto; }
.auth-hero > .auth-pic img { object-position: 50% 70%; }
.auth-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to top, color-mix(in srgb, var(--scrim) 86%, transparent), color-mix(in srgb, var(--scrim) 70%, transparent) 55%, color-mix(in srgb, var(--scrim) 6%, transparent)); }
.auth-brand { --tile: calc(56px * var(--type)); display: grid; justify-items: start; gap: calc(var(--tile) * .24); }
.auth-tile { --logo-h: calc(var(--tile) * .532); display: grid; place-items: center; width: var(--tile); height: var(--tile); border-radius: 22.5%; background: var(--masthead); color: var(--masthead-ink); }
.auth-name { font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: calc(29px * var(--type)); line-height: 1; letter-spacing: -0.005em; }
.auth-card { display: grid; gap: 14px; padding: 20px 16px; border-radius: var(--radius); background: var(--surface); }
.auth-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.auth-title { font-size: calc(22px * var(--type)); font-weight: 700; }
.auth-card .auth-form { max-width: none; padding-top: 0; }
.auth-go { width: 96px; }
.auth-card .form-row { justify-content: space-between; }
@media (min-width: 1024px) {
  .app.is-public { display: block; }
  .app.is-public .content { max-width: 1240px; margin: 0 auto; }
  .auth-screen { grid-template-columns: minmax(0, 1.25fr) minmax(360px, 440px); align-items: center; gap: 56px; min-height: calc(100vh - 80px); padding: 40px 0; }
  .auth-hero { align-self: stretch; min-height: calc(560px * var(--type)); padding: 36px; }
  .auth-brand { --tile: calc(72px * var(--type)); }
  .auth-name { font-size: calc(40px * var(--type)); }
  .auth-card { padding: 28px; }
}
