:root { color-scheme: light; font-family: "Helvetica Neue", Arial, "PingFang SC", sans-serif; color: #111; background: #fafafa; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
.brand { padding: 32px 48px; display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; letter-spacing: -.5px; }
.brand-mark { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; background: #111; color: #fff; border-radius: 11px; font-size: 25px; letter-spacing: -3px; padding-right: 3px; }
.brand-mark span { font-size: 22px; }
main { width: min(100% - 48px, 400px); margin: auto; padding: 42px 0 56px; }
.eyebrow { font-size: 12px; color: #6b6b70; letter-spacing: 3px; margin-bottom: 16px; }
h1 { margin: 0 0 14px; font-size: 36px; font-weight: 650; letter-spacing: -1px; }
.intro { color: #6b6b70; font-size: 14px; margin: 0 0 40px; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
input { width: 100%; height: 52px; border: 1px solid #d5d5d8; background: #fff; border-radius: 10px; padding: 0 16px; font: inherit; outline: none; }
input:focus { border-color: #111; box-shadow: 0 0 0 3px #11111112; }
#username { margin-bottom: 24px; }
.password-field { position: relative; }
.password-field input { padding-right: 72px; }
button { font: inherit; cursor: pointer; }
#toggle-password { position: absolute; right: 8px; top: 6px; height: 40px; padding: 0 12px; border: 0; background: transparent; color: #555; font-size: 13px; border-radius: 6px; }
button:focus-visible { outline: 2px solid #275dc5; outline-offset: 3px; }
#login-error { min-height: 22px; margin: 12px 0; font-size: 13px; line-height: 1.6; color: #bd2424; }
.submit { width: 100%; height: 52px; border: 0; border-radius: 28px; background: #111; color: #fff; font-weight: 600; display: flex; justify-content: center; align-items: center; gap: 16px; }
.submit:hover { background: #333; }
.submit:disabled { opacity: .6; cursor: wait; }
.note { text-align: center; font-size: 12px; color: #777; margin: 22px 0 0; }
footer { display: flex; justify-content: space-between; padding: 24px 48px; color: #777; border-top: 1px solid #e8e8ea; font-size: 12px; }
@media (max-width: 600px) { .brand { padding: 24px; } footer { padding: 22px 24px; } h1 { font-size: 32px; } main { padding-top: 32px; } }
