:root {
  --bg: #0f1419;
  --card: #1a2332;
  --text: #e7ecf3;
  --muted: #8b98a8;
  --accent: #3b82f6;
  --ok: #22c55e;
  --err: #ef4444;
  --border: #2d3a4f;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 1.5rem; }
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
h1 { font-size: 1.25rem; margin: 0; font-weight: 600; }
nav a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 1rem;
}
nav a:hover { color: var(--text); }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
label { display: block; font-size: 0.875rem; color: var(--muted); margin: 0.75rem 0 0.35rem; }
input, select, textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #0f1419;
  color: var(--text);
}
button, .btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  border: none;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
}
button.secondary { background: #334155; }
.msg-ok { color: var(--ok); font-size: 0.9rem; }
.msg-err { color: var(--err); font-size: 0.9rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
th, td { padding: 0.5rem 0.35rem; border-bottom: 1px solid var(--border); text-align: left; }
th { color: var(--muted); font-weight: 500; }
code { font-size: 0.8rem; background: #0f1419; padding: 0.15rem 0.35rem; border-radius: 4px; }
.hint { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }
