:root { color-scheme: dark; }
* { box-sizing: border-box; }
body.auth-page { margin: 0; min-width: 320px; min-height: 100dvh; background: var(--surface-canvas); color: var(--ink); font: 16px/1.5 var(--font-sans); }
.auth-skip { position: absolute; top: -4rem; left: 1rem; z-index: 10; padding: .5rem 1rem; background: var(--steel); color: var(--on-steel); }
.auth-skip:focus { top: 1rem; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); min-height: 100dvh; }
.auth-context { display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; min-height: 100%; padding: clamp(2rem, 5vw, 5rem); border-right: 1px solid var(--line); background: radial-gradient(circle at 12% 88%, rgba(141,191,255,.12), transparent 35%), var(--surface-panel); }
.auth-brand { display: inline-flex; align-items: center; gap: .8rem; width: fit-content; color: var(--ink); font: 600 1.05rem/1 var(--font-display); letter-spacing: .07em; }
.auth-brand img { object-fit: contain; }
.auth-brand small { display: block; margin-top: .35rem; color: var(--ink-muted); font: 500 .67rem/1 var(--font-sans); letter-spacing: .02em; }
.auth-context-copy { max-width: 38rem; }
.auth-eyebrow { margin: 0 0 1rem; color: var(--signal); font: 600 .7rem/1.3 var(--font-mono); letter-spacing: .14em; }
.auth-context h1 { margin: 0 0 1.5rem; font: 600 clamp(2.6rem, 4.6vw, 5.2rem)/1.07 var(--font-display); letter-spacing: -.035em; }
.auth-context h1 span { color: var(--ink-muted); }
.auth-context-copy > p:last-child { max-width: 35rem; color: var(--ink-muted); }
.auth-footnote { margin: 0; color: var(--ink-faint); font-size: .8rem; }
.auth-panel { display: grid; place-items: center; padding: 2rem; }
.auth-card { width: min(100%, 26rem); }
.auth-card h2 { margin: 0; font: 600 clamp(2rem, 3vw, 2.7rem)/1.12 var(--font-display); }
.auth-intro { min-height: 1.5rem; margin: .7rem 0 2rem; color: var(--ink-muted); }
.auth-form { display: grid; gap: .55rem; }
.auth-form[hidden] { display: none; }
.auth-form label { margin-top: .65rem; font-size: .84rem; font-weight: 600; }
.auth-form input { width: 100%; min-height: 3rem; padding: .7rem .85rem; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--surface-panel); color: var(--ink); font: inherit; }
.auth-form input:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.auth-form input[aria-invalid="true"] { border-color: var(--down); }
.auth-form .pb-btn { min-height: 3rem; margin-top: 1rem; font-size: .95rem; }
.auth-error { margin: .45rem 0 0; color: var(--down); font-size: .85rem; }
.auth-field-help, .auth-help { margin: .25rem 0 0; color: var(--ink-muted); font-size: .78rem; }
.auth-help { margin-top: 1.8rem; }
.auth-help a { color: var(--steel); text-underline-offset: .2rem; }
.auth-help a:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
@media (max-width: 760px) { .auth-layout { display: block; } .auth-context { min-height: auto; gap: 1.2rem; padding: 1.5rem; border-right: 0; border-bottom: 1px solid var(--line); } .auth-context-copy, .auth-footnote { display: none; } .auth-panel { min-height: calc(100dvh - 6rem); align-items: start; padding: clamp(1.5rem, 8vw, 3rem) 1.5rem; } .auth-card { padding-top: 1.5rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
