* { box-sizing: border-box; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: #0f172a;
  color: #e2e8f0;
  margin: 0;
  min-height: 100vh;
}
.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.login-wrap {
  max-width: 360px;
  margin: 4rem auto;
  padding: 2rem;
  background: #1e293b;
  border-radius: 12px;
}
h1 { font-size: 1.4rem; margin-top: 0; }
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
nav a, header a { color: #93c5fd; text-decoration: none; margin-left: 1rem; }
input, select {
  width: 100%;
  padding: 0.6rem;
  margin: 0.4rem 0 1rem;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #0f172a;
  color: #e2e8f0;
}
button {
  background: #2563eb;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
}
button:hover { background: #1d4ed8; }
button.danger { background: #dc2626; }
button.danger:hover { background: #b91c1c; }
table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
th, td { text-align: left; padding: 0.5rem; border-bottom: 1px solid #334155; font-size: 0.9rem; }
.error { color: #f87171; margin-bottom: 1rem; min-height: 1.2rem; }
.card { background: #1e293b; border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem; }
.muted { color: #94a3b8; font-size: 0.85rem; }
