:root {
  --bg: #0a0c10;
  --bg-soft: #11141b;
  --surface: #151922;
  --border: #232936;
  --text: #e6e9ef;
  --muted: #8b94a7;
  --accent: #5eead4;
  --accent-strong: #2dd4bf;
  --accent-dim: rgba(45, 212, 191, 0.12);
  --radius: 14px;
  --max: 780px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 2.5rem 1.5rem 5rem; }
header.top { text-align: center; margin-bottom: 2.5rem; }
header.top h1 { font-size: 1.9rem; margin-bottom: 0.4rem; }
header.top .accent { color: var(--accent); }
.badge {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.card h2 { margin-top: 0; font-size: 1.1rem; }
.row { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.field { flex: 1; min-width: 180px; margin-bottom: 0.9rem; display: flex; flex-direction: column; gap: 0.4rem; }
label { font-size: 0.8rem; color: var(--muted); }
input, select {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 0.65rem 0.8rem;
  font-family: inherit;
  font-size: 0.95rem;
}
input:focus, select:focus { outline: none; border-color: var(--accent-strong); }
button {
  background: var(--accent);
  color: #04211d;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.4rem;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.95rem;
}
button:hover { background: var(--accent-strong); }
button.danger { background: transparent; color: #f87171; border: 1px solid #f87171; padding: 0.4rem 0.8rem; font-size: 0.8rem; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
th { color: var(--muted); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; }
.status { margin-top: 0.8rem; font-size: 0.88rem; min-height: 1.2em; }
.status.ok { color: var(--accent); }
.status.err { color: #f87171; }
.empty { color: var(--muted); font-size: 0.9rem; padding: 1rem 0; text-align: center; }
footer { text-align: center; color: var(--muted); font-size: 0.8rem; margin-top: 2rem; }
footer a { color: var(--accent); }
