.auth { min-height:100vh; min-height:100svh; }
.auth main { min-height:100vh; min-height:100svh; display:flex; align-items:center; justify-content:center; padding:calc(24px + env(safe-area-inset-top)) calc(20px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(20px + env(safe-area-inset-left)); }
.login-card { width:100%; max-width:480px; padding:28px 24px; border:1px solid var(--border); border-radius:28px; background:var(--core-card); box-shadow:0 24px 70px rgb(0 0 0 / .3); }
.login-brand { display:block; width:64px; height:64px; border-radius:18px; box-shadow:0 8px 22px rgb(0 0 0 / .25); }
.eyebrow { color:var(--muted); text-transform:uppercase; letter-spacing:.09em; font-size:.75rem; margin:20px 0 8px; }
h1 { font-size:2rem; line-height:1.15; letter-spacing:-.6px; margin:0 0 24px; }
form { margin:0; }
label { display:block; margin:18px 0 8px; font-weight:650; }
input { width:100%; min-height:52px; padding:12px 14px; font:inherit; font-size:16px; color:var(--text); background:var(--core-input); border:1px solid var(--border); border-radius:12px; }
button { display:block; width:100%; min-height:52px; margin:24px 0 0; padding:12px 20px; border:1px solid #111; border-radius:12px; font:inherit; font-weight:700; color:#fff; background:#111; box-shadow:0 10px 24px rgb(0 0 0 / .22),inset 0 1px 0 rgb(255 255 255 / .12); cursor:pointer; touch-action:manipulation; }
button:active { background:#000; }
.message { padding:14px; margin-bottom:20px; border:1px solid #bc756b; border-radius:12px; color:var(--core-danger); background:var(--core-danger-surface); overflow-wrap:anywhere; }
@media (min-width:600px) { .login-card { padding:36px; } h1 { font-size:2.4rem; } .login-brand { width:72px; height:72px; } }
@media (hover:hover) and (pointer:fine) { button:hover { background:#000; } }
@media (forced-colors:active) { .login-card { border-color:CanvasText; } input,button { border-color:ButtonText; } }

@media (prefers-color-scheme:dark) { button { border-color:#626262; box-shadow:0 10px 28px rgb(0 0 0 / .55),inset 0 1px 0 rgb(255 255 255 / .16); } }
@media (forced-colors:active) { button,button:hover,button:active { background:ButtonFace; color:ButtonText; border-color:ButtonText; box-shadow:none; } }
