:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  color: #e7e9e7;
  background: #0c100f;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 20px 24px; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.login-card { width: 100%; max-width: 440px; padding: 40px; background: #131917; border: 1px solid #28312c; border-radius: 18px; box-shadow: 0 24px 80px #0003; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 1.85rem; letter-spacing: -0.065em; font-weight: 750; margin-bottom: 42px; }
.brand-period { color: #b5f37b; }
.eyebrow { color: #a4b29f; font-size: 0.75rem; letter-spacing: 0.13em; font-weight: 600; }
h1 { margin: 12px 0; font-size: 2rem; font-weight: 600; letter-spacing: -0.045em; }
.intro { margin: 0 0 30px; color: #9ba79f; line-height: 1.65; }
label { display: block; margin-bottom: 10px; font-size: 0.875rem; font-weight: 500; }
.password-field { display: flex; border: 1px solid #3c4b41; border-radius: 9px; background: #0c100f; }
.password-field:focus-within { border-color: #b5f37b; box-shadow: 0 0 0 3px #b5f37b18; }
input { width: 100%; min-width: 0; padding: 14px; border: 0; border-radius: 9px; background: transparent; color: #e7e9e7; outline: none; }
#toggle-key { padding: 0 14px; border: 0; background: transparent; color: #b8c4bb; font-size: 0.875rem; border-radius: 8px; }
button:focus-visible { outline: 2px solid #b5f37b; outline-offset: 4px; }
.help { margin: 10px 0 0; color: #9ba79f; font-size: 0.875rem; line-height: 1.6; }
#login-error { margin: 16px 0 0; padding: 12px; border-radius: 8px; background: #301d1d; color: #f5a4a4; font-size: 0.875rem; line-height: 1.5; }
.submit { width: 100%; margin-top: 24px; padding: 14px 20px; border: 0; border-radius: 9px; background: #b5f37b; color: #17240e; font-weight: 650; }
.submit:hover { background: #c5ff91; }
.submit:disabled { opacity: 0.65; cursor: wait; }
.session-note { margin: 24px 0 0; padding-top: 22px; border-top: 1px solid #28312c; font-size: 0.8125rem; color: #9ba79f; line-height: 1.6; text-align: center; }
footer { margin-top: 28px; color: #8b9a90; font-size: 0.8125rem; }
@media (max-width: 480px) { body { padding: 24px 16px; } .login-card { padding: 30px 24px; } .brand { margin-bottom: 32px; } }
