:root {
  --accent: #7a1f1f;
  --text: #1a1a1a;
  --muted: #666;
  --border: #ddd;
}
* { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  margin: 0;
  color: var(--text);
  line-height: 1.5;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.site-header .brand {
  font-weight: 700;
  text-decoration: none;
  color: var(--accent);
}
.site-header nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--text);
}
.site-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.site-footer {
  text-align: center;
  color: var(--muted);
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 400px;
}
.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.9rem;
}
.auth-form input:not([type="checkbox"]), .auth-form select {
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 1rem;
}
/* "Remember me" checkbox (added 2026-09-04) — the default .auth-form label
   stacks its contents vertically, which suits a text-input's own label
   above it but reads oddly for a checkbox; this one row instead. */
.auth-form .remember-me-label {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}
button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}
/* Plain text-link-styled button (added 2026-09-05, for login.php's "Not
   you? Start over" 2FA cancel action) — a <button> so it POSTs safely
   (clears server-side session state), styled to read as a link rather than
   a second primary action next to "Verify". */
.link-button {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent);
  text-decoration: underline;
  font-size: 0.9rem;
  cursor: pointer;
}
.error { color: #b00020; }
.success { color: #1a7a1a; }
table { border-collapse: collapse; width: 100%; margin-top: 1rem; }
th, td { text-align: left; padding: 0.5rem; }

.muted { color: var(--muted); font-size: 0.9rem; margin: 0.2rem 0 0.6rem; }
.site-main ul { padding-left: 1.2rem; }
.site-main li { margin-bottom: 0.4rem; }
