:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #272b30; background: #f4f5f6; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
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: 2px solid #326957; outline-offset: -2px; }
button:focus-visible { outline-color: #fff; }
.password-field { position: relative; }
.password-field input { padding-right: 54px; }
#toggle-password { position: absolute; top: 1px; bottom: 1px; right: 1px; display: flex; align-items: center; justify-content: center; width: 44px; margin: 0; padding: 10px; border: 0; border-radius: 6px; background: transparent; color: #34383d; }
#toggle-password:hover { background: #eef0ec; }
#toggle-password:focus-visible { outline-color: #326957; }
#toggle-password svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#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; } }
