:root {
  --bg: #0f1419;
  --panel: #1a2332;
  --text: #e7ecf3;
  --muted: #9aa7b8;
  --accent: #3b82f6;
  --border: #2a3544;
  --ok: #34d399;
  --warn: #fbbf24;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
}
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}
h1 { margin: 0 0 0.35rem; font-size: 1.6rem; }
.sub { color: var(--muted); margin: 0 0 1.25rem; }
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
}
label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.35rem; }
textarea, input[type=text], input[type=password] {
  width: 100%;
  background: #0c1118;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  font: inherit;
}
textarea { min-height: 180px; resize: vertical; }
.row { display: grid; gap: 0.75rem; margin-bottom: 0.75rem; }
@media (min-width: 720px) {
  .row.two { grid-template-columns: 1fr 1fr; }
}
button {
  appearance: none;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font: inherit;
  font-weight: 600;
  padding: 0.7rem 1rem;
  cursor: pointer;
}
button:disabled { opacity: 0.5; cursor: not-allowed; }
button.secondary { background: #334155; }
.actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.status { margin-top: 0.75rem; color: var(--muted); font-size: 0.9rem; }
.status.error { color: #f87171; }
.status.ok { color: var(--ok); }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
th, td {
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.4rem;
}
th { color: var(--muted); font-weight: 600; }
pre, .code {
  background: #0c1118;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 420px;
  font-size: 0.8rem;
}
.hint { font-size: 0.8rem; color: var(--muted); margin-top: 0.35rem; }
a { color: #93c5fd; }
