* { box-sizing: border-box; }
body {
  font-family: -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #f4f5f7;
  margin: 0;
  color: #1f2430;
}
.container {
  max-width: 480px;
  margin: 60px auto;
  background: #fff;
  padding: 32px;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.container.wide { max-width: 900px; }
h1 { font-size: 22px; margin-top: 0; }
label { display: block; margin: 14px 0 6px; font-size: 14px; font-weight: 600; }
input[type=text], input[type=email], input[type=password], input[type=url], textarea, select {
  width: 100%; padding: 10px 12px; border: 1px solid #d7dae0; border-radius: 6px; font-size: 14px;
}
textarea { min-height: 90px; resize: vertical; font-family: monospace; }
button, .btn {
  display: inline-block; margin-top: 18px; padding: 10px 18px; background: #2563eb; color: #fff;
  border: none; border-radius: 6px; cursor: pointer; font-size: 14px; text-decoration: none;
}
button.secondary, .btn.secondary { background: #6b7280; }
button.danger, .btn.danger { background: #dc2626; }
.top-nav {
  display: flex; justify-content: space-between; align-items: center;
  background: #fff; padding: 14px 24px; box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.top-nav a { color: #2563eb; text-decoration: none; margin-left: 16px; font-size: 14px; }
.alert { padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.alert.success { background: #dcfce7; color: #166534; }
.alert.error { background: #fee2e2; color: #991b1b; }
.muted { color: #6b7280; font-size: 13px; }
table { width: 100%; border-collapse: collapse; margin-top: 12px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #eee; font-size: 14px; }
code.key { background: #f1f5f9; padding: 3px 6px; border-radius: 4px; font-size: 12px; word-break: break-all; }
.card { border: 1px solid #e5e7eb; border-radius: 8px; padding: 18px; margin-bottom: 16px; }
.row-actions a { margin-right: 10px; font-size: 13px; }
