/* Central sign-in pages. Colors come only from the design system tokens
   (vendor/caelon-design-system/tokens.css); this file adds layout. */
@font-face { font-family: "Geist"; src: url("/assets/ds/fonts/Geist-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/ds/fonts/Geist-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/ds/fonts/Geist-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

* { box-sizing: border-box; }

.auth-shell { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px; gap: 16px; }
.auth-card { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--line); border-radius: 2px; padding: 28px 28px 24px; }
.auth-card--wide { max-width: 760px; }
.auth-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.auth-brand-name { font-weight: 600; font-size: 14px; letter-spacing: 0.01em; }
.auth-card h1 { font-size: 22px; font-weight: 600; margin: 0 0 6px; letter-spacing: -0.01em; }
.auth-lead { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0 0 20px; overflow-wrap: anywhere; }
.auth-section { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 8px 0 8px; }
.auth-muted, .auth-hint { color: var(--muted); font-size: 13px; }
.auth-hint { margin: -6px 0 14px; }
.auth-foot { color: var(--faint); font-size: 12px; margin: 0; }

form { display: flex; flex-direction: column; }
label { font-size: 13px; font-weight: 500; margin-bottom: 6px; }
input { font: inherit; font-size: 14px; color: var(--ink); background: var(--canvas); border: 1px solid var(--line2); border-radius: 2px; padding: 9px 10px; margin-bottom: 14px; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

.auth-primary, .auth-secondary { font: inherit; font-size: 14px; font-weight: 500; border-radius: 2px; padding: 10px 12px; cursor: pointer; text-align: center; }
.auth-primary { background: var(--ink); color: var(--canvas); border: 1px solid var(--ink); }
.auth-primary:hover { opacity: 0.9; color: var(--canvas); }
.auth-secondary { background: transparent; color: var(--ink); border: 1px solid var(--line2); margin-top: 8px; }
.auth-secondary:hover { background: var(--hover); }
button:disabled { opacity: 0.6; cursor: progress; }
.auth-button-link { display: block; }

.auth-alert { border: 1px solid var(--line2); border-left: 3px solid var(--ink); background: var(--surface2); padding: 10px 12px; font-size: 13px; margin-bottom: 16px; }
.auth-links { font-size: 13px; margin: 16px 0 0; }

.auth-list { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid var(--line); }
.auth-list li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.auth-chip { font-size: 12px; padding: 2px 8px; border-radius: 2px; background: rgba(9, 9, 11, 0.06); color: var(--ink); }
body.dark .auth-chip { background: rgba(250, 250, 250, 0.09); }

.auth-mail { border-top: 1px solid var(--line); padding: 14px 0; }
.auth-mail header { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.auth-mail pre { white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--font-geist-mono); font-size: 12px; background: var(--surface2); padding: 10px; border-radius: 2px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
