:root { color-scheme: dark; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #edf1f8; background: #0f0f13; }
* { box-sizing: border-box; }
body { min-height: 100svh; margin: 0; display: grid; place-items: center; padding: 32px 20px; background: radial-gradient(ellipse at top, #172235 0, #0f0f13 65%); }
.card { width: 100%; max-width: 448px; padding: 40px; background: #171b24; border: 1px solid #303847; border-radius: 20px; box-shadow: 0 24px 80px #0005; }
.eyebrow { font-size: 12px; letter-spacing: .14em; font-weight: 700; color: #8bbdff; margin: 0 0 24px; }
h1 { font-size: clamp(1.6rem, 5vw, 1.85rem); letter-spacing: -.035em; line-height: 1.2; margin: 0 0 12px; }
.intro { color: #abb7c9; line-height: 1.6; margin: 0 0 30px; }
label { display: block; font-size: 14px; font-weight: 600; margin: 20px 0 9px; }
input:not([type="hidden"]) { width: 100%; min-width: 0; min-height: 50px; padding: 13px 14px; background: #10141c; color: #edf1f8; border: 1px solid #475469; border-radius: 9px; font: inherit; }
.password-field { position: relative; }
.password-field input { padding-right: 136px; }
button { cursor: pointer; font: inherit; border-radius: 9px; min-height: 44px; }
.visibility { position: absolute; right: 5px; top: 3px; padding: 0 10px; color: #a9ceff; background: transparent; border: 0; font-size: 13px; font-weight: 600; }
.visibility[hidden] { display: none; }
button:hover, nav a:hover { filter: brightness(1.15); }
:focus-visible { outline: 3px solid #90bfff; outline-offset: 3px; }
.primary, .secondary { width: 100%; margin-top: 28px; min-height: 50px; font-weight: 650; }
.primary { color: #071322; background: #8bbdff; border: 1px solid #8bbdff; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; }
.secondary { background: transparent; border: 1px solid #475469; color: #d5dfed; }
.footnote { text-align: center; font-size: 12px; color: #93a1b5; margin: 28px 0 0; }
.error { color: #ffd6d6; background: #49252b; padding: 14px; border: 1px solid #9d5660; border-radius: 9px; font-size: 14px; line-height: 1.5; }
nav { display: grid; gap: 12px; }
nav a { text-decoration: none; color: #edf1f8; border: 1px solid #475469; border-radius: 9px; min-height: 56px; padding: 16px; display: flex; justify-content: space-between; gap: 12px; }
nav span { color: #8bbdff; }
@media (max-width: 400px) { .card { padding: 28px 20px; } body { padding: 20px 12px; } }
