* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { background: #0f1115; color: #e6e8eb; font: 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif; }
[hidden] { display: none !important; }
.login { min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 16px; }
.card {
  width: 100%; max-width: 340px; background: #161a21; border: 1px solid #2a303b;
  border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 14px;
}
h1 { margin: 0 0 4px; font-size: 20px; }
label { display: flex; flex-direction: column; gap: 6px; color: #8b93a1; font-size: 13px; }
input {
  font: inherit; background: #0f1115; border: 1px solid #2a303b; border-radius: 8px;
  padding: 9px 10px; color: #e6e8eb; font-size: 15px; min-width: 0;
}
button {
  font: inherit; font-weight: 600; cursor: pointer; border-radius: 8px; padding: 9px 14px;
  background: #5b8def; border: 1px solid #5b8def; color: #0b1020;
}
button:disabled { opacity: .6; cursor: default; }
input:focus, button:focus-visible { outline: 2px solid #5b8def; outline-offset: 1px; }
.error { color: #f05252; margin: 0; }
