
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: #f4f5f7; color: #1d2430;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; line-height: 1.5;
}
.card {
  width: 100%; max-width: 420px; padding: 32px 24px; background: #ffffff;
  border-radius: 12px; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.brand { margin: 0 0 4px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: #5b6575; }
h1 { margin: 0 0 16px; font-size: 24px; }
p { margin: 0 0 16px; }
label { display: block; margin-bottom: 4px; font-weight: 600; }
input {
  display: block; width: 100%; margin-bottom: 16px; padding: 10px 12px;
  font: inherit; border: 1px solid #b8c0cc; border-radius: 8px;
}
input:focus { outline: 2px solid #2f6fed; outline-offset: 1px; }
button {
  width: 100%; padding: 12px; font: inherit; font-weight: 600; color: #ffffff;
  background: #2f6fed; border: 0; border-radius: 8px; cursor: pointer;
}
button:disabled { background: #93a9d8; cursor: not-allowed; }
.hint { margin-top: -8px; font-size: 14px; color: #5b6575; }
.error { padding: 10px 12px; color: #8a1c1c; background: #fdecec; border-radius: 8px; }
a { color: #2f6fed; }
.links { text-align: center; margin: 16px 0 0; }
#logout { margin-top: 8px; }
.facts { margin: 0 0 16px; }
.facts dt { font-size: 14px; color: #5b6575; }
.facts dd { margin: 0 0 8px; font-weight: 600; }
.button {
  display: block; width: 100%; padding: 12px; font-weight: 600; text-align: center; text-decoration: none;
  color: #ffffff; background: #2f6fed; border-radius: 8px;
}
h2 { margin: 24px 0 8px; font-size: 18px; }
ol { margin: 0 0 16px; padding-left: 20px; }
[hidden] { display: none !important; }
