:root {
  --bg: #0f1115;
  --panel: #171a21;
  --border: #2a2e38;
  --text: #e6e8ec;
  --muted: #8b93a1;
  --accent: #4f8cff;
  --ok: #35c46f;
  --danger: #ef5757;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.wrap { max-width: 960px; margin: 0 auto; padding: 32px 20px; }
h1 { font-size: 20px; margin: 0 0 24px; }
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
}
input, button {
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  padding: 9px 12px;
  background: #0f1115;
  color: var(--text);
}
button {
  background: var(--accent);
  border: none;
  color: white;
  cursor: pointer;
  font-weight: 600;
}
button:hover { opacity: 0.9; }
button.secondary { background: #262a33; color: var(--text); }
button.danger { background: var(--danger); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); font-size: 14px; }
th { color: var(--muted); font-weight: 500; font-size: 12px; text-transform: uppercase; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.dot.online { background: var(--ok); box-shadow: 0 0 6px var(--ok); }
.dot.offline { background: var(--muted); }
.row { display: flex; gap: 8px; align-items: center; }
.top-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.muted { color: var(--muted); font-size: 13px; }
a { color: var(--accent); text-decoration: none; }
.err { color: var(--danger); font-size: 13px; min-height: 18px; }
.creds-box {
  background: #0f1115;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 14px;
  font-family: monospace;
  font-size: 13px;
  white-space: pre-wrap;
  margin-top: 10px;
}
