:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #272b30; background: #f4f5f6; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-height: 100svh; display: grid; place-items: center; padding: 24px; line-height: 1.5; }
.card { width: 100%; max-width: 360px; background: #fff; border: 1px solid #d6d9dd; border-radius: 12px; padding: 28px; }
h1 { font-size: 25px; line-height: 1.2; font-weight: 600; margin: 0 0 28px; }
form { display: flex; flex-direction: column; gap: 12px; }
label { font-size: 14px; }
input, button { font: inherit; font-size: 16px; min-height: 44px; border-radius: 7px; padding: 10px 12px; }
input { width: 100%; min-width: 0; background: #fff; color: inherit; border: 1px solid #bdc2c9; }
button { color: #fff; background: #34383d; border: 1px solid #34383d; cursor: pointer; margin-top: 6px; }
button:hover { background: #24282d; }
button:disabled { opacity: .65; cursor: wait; }
input:focus-visible, button:focus-visible { outline: 3px solid #657bab; outline-offset: 3px; }
#login-error { color: #8b3524; font-size: 14px; margin: 0; overflow-wrap: anywhere; }
#login-error:empty { display: none; }
noscript { display: block; margin-top: 16px; font-size: 14px; }
@media (max-width: 380px) { body { padding: 16px; } .card { padding: 24px; } }
