/* Sign-in, first-run setup, forced password change. Same tokens as the app. */
.auth-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 100dvh; }
.auth-hero {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--s-6);
  padding: clamp(var(--s-6), 6vw, var(--s-8)); background: var(--board); color: var(--board-ink);
}
.auth-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.auth-hero__word { display: grid; gap: 6px; }
.auth-hero__word .digit { width: clamp(44px, 5.6vw, 84px); height: clamp(60px, 7.6vw, 112px); font-size: clamp(2.2rem, 1rem + 3.6vw, 4.6rem); font-weight: 500; }
.auth-hero__line { max-width: 34ch; font-size: var(--t-17); line-height: 1.5; color: var(--board-muted); }

.auth { display: grid; place-items: center; padding: var(--s-6) var(--s-4); min-height: 100dvh; }
.auth-split .auth { min-height: 0; }
.auth__panel { width: 100%; max-width: 380px; display: grid; gap: var(--s-3); }
.auth__panel h1 { font-size: var(--t-28); letter-spacing: -0.02em; font-weight: 650; margin-top: var(--s-3); }
.auth__panel > .muted { margin-bottom: var(--s-3); }
.auth__panel .form { max-width: none; }
.auth__submit { width: 100%; height: 42px; margin-top: var(--s-1); }
.auth-noscript { padding: var(--s-5); text-align: center; }

@media (max-width: 860px) {
  .auth-split { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .auth-hero { padding: var(--s-6) var(--s-4) var(--s-5); gap: var(--s-4); }
  .auth-hero__word .digit { width: 40px; height: 54px; font-size: 2.1rem; }
  .auth-hero__line { font-size: var(--t-15); }
  .auth { align-items: start; padding-top: var(--s-6); }
}
