:root {
  color-scheme: dark;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #edf1e9;
  background: #111512;
  font-size: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; }
.login-shell { width: min(100%, 1088px); margin: auto; padding: 0 32px; }
header { min-height: 88px; padding: 20px 0; border-bottom: 1px solid #394238; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.brand { font-size: 1.45rem; font-weight: 600; letter-spacing: -.065em; }
.brand span { font-weight: 400; }
.context, .intro, .help, footer { color: #b0baad; }
.context, .help, footer { font-size: .875rem; }
main { max-width: 440px; margin: 72px auto 64px; }
h1 { font-size: clamp(1.75rem, 5vw, 2.25rem); letter-spacing: -.035em; font-weight: 500; line-height: 1.2; margin: 0 0 12px; }
p { margin: 0; }
form { margin-top: 32px; }
.field { margin-bottom: 20px; }
label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: 8px; }
label[for] { cursor: pointer; }
input, button { font: inherit; }
.field input { width: 100%; min-width: 0; min-height: 48px; padding: 12px; color: #edf1e9; background: #111612; border: 1px solid #74816f; border-radius: 4px; }
.field input:hover { border-color: #edf1e9; }
.show-password { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-weight: 400; }
.show-password input { width: 18px; height: 18px; accent-color: #c5f779; cursor: pointer; }
button { width: 100%; min-height: 48px; padding: 12px 16px; background: #c5f779; border: 1px solid #c5f779; border-radius: 4px; color: #17200d; font-weight: 600; cursor: pointer; }
button:hover:not(:disabled) { background: #d5ff9d; }
button:active:not(:disabled) { transform: translateY(1px); }
button:disabled { opacity: .65; cursor: not-allowed; }
:focus-visible { outline: 2px solid #c5f779; outline-offset: 4px; }
#login-message { min-height: 24px; margin: 8px 0 16px; font-size: .875rem; overflow-wrap: anywhere; }
#login-message.error, .error { color: #ffb2a5; }
.help { margin-top: 24px; }
footer { padding: 24px 0; border-top: 1px solid #394238; }
@media (max-width: 480px) {
  .login-shell { padding: 0 20px; }
  main { margin: 40px auto; }
  header { min-height: 76px; }
}
