* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1f2933;
  background: #f4f6f8;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
header {
  background: #1f2933;
  color: #fff;
  padding: 12px 0;
  margin-bottom: 24px;
}
header .container { display: flex; justify-content: space-between; align-items: center; }
.brand { color: #fff; text-decoration: none; font-weight: 600; }
nav { display: flex; gap: 16px; align-items: center; }
nav .navlink { color: #fff; text-decoration: none; font-size: 14px; }
nav .navlink:hover { text-decoration: underline; }
nav .navinfo { color: #c7d0d8; font-size: 13px; }
nav button.link {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font: inherit;
}
code { background: #1f2933; color: #fff; padding: 2px 6px; border-radius: 3px; }
main { padding-bottom: 64px; }
h1 { margin-top: 0; }
section { background: #fff; padding: 20px; border-radius: 8px; margin-bottom: 24px; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
table { width: 100%; border-collapse: collapse; margin-top: 12px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #e4e7eb; vertical-align: top; }
th { background: #f4f6f8; font-weight: 600; font-size: 14px; }
.muted { color: #7b8794; }
.error { color: #b00020; }
button {
  background: #1f6feb;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}
button:hover { background: #1858c4; }
button.danger { background: #b00020; }
button.danger:hover { background: #8a0019; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.inline-form input,
.inline-form select { padding: 6px 10px; border: 1px solid #cbd2d9; border-radius: 4px; background: #fff; }
pre { background: #f4f6f8; padding: 12px; border-radius: 4px; white-space: pre-wrap; word-break: break-word; }
details summary { cursor: pointer; }

.login-page { display: flex; justify-content: center; align-items: center; min-height: 100vh; }
.login-box { background: #fff; padding: 32px; border-radius: 8px; max-width: 360px; width: 100%; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.login-box label { display: block; margin-bottom: 14px; font-size: 14px; }
.login-box input { width: 100%; padding: 8px; margin-top: 4px; border: 1px solid #cbd2d9; border-radius: 4px; }
.login-box button { width: 100%; padding: 10px; }
