/* Auth forms share the existing app's neutral palette and control geometry. */
:root { font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: hsl(240 10% 3.9%); background: hsl(0 0% 100%); }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: grid; place-items: center; padding: 24px 16px; }
main { width: 100%; max-width: 448px; }
h1 { font-size: 1.5rem; line-height: 1.3; letter-spacing: -0.02em; margin: 0 0 8px; font-weight: 600; }
p { line-height: 1.5; }
.intro { margin: 0 0 24px; color: hsl(240 4% 36%); }
form { border: 1px solid hsl(240 6% 90%); border-radius: 8px; padding: 24px; }
label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 8px; }
input:not([type="hidden"]) { display: block; width: 100%; min-height: 44px; border: 1px solid hsl(240 6% 78%); border-radius: 6px; background: white; padding: 10px 12px; font: inherit; margin-bottom: 20px; caret-color: hsl(240 6% 10%); }
input[aria-describedby] { margin-bottom: 6px; }
.help { font-size: 0.8125rem; color: hsl(240 4% 36%); margin: 0 0 20px; }
button { display: block; width: 100%; min-height: 44px; background: hsl(240 6% 10%); color: hsl(0 0% 98%); border: 0; border-radius: 6px; padding: 10px 16px; font: inherit; font-weight: 500; cursor: pointer; }
button:hover { background: hsl(240 6% 23%); }
button:active { background: hsl(240 6% 32%); }
button:disabled { opacity: 0.6; cursor: wait; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: hsl(240 4% 36%); }
:focus-visible { outline: 2px solid hsl(240 6% 35%); outline-offset: 3px; }
.error { margin: 0 0 20px; color: hsl(0 65% 34%); overflow-wrap: anywhere; }
.switch { text-align: center; font-size: 0.875rem; margin: 24px 0 0; }
::selection { background: hsl(240 6% 85%); }
