:root {
  --bg: #0b0f19;
  --panel: #141a2a;
  --line: #2a3348;
  --text: #e8edf7;
  --muted: #8b95ab;
  --red: #ff5d6c;
  --green: #3dd68c;
  --blue: #4ea2ff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--bg);
  color: var(--text);
}
main { max-width: 1100px; margin: 0 auto; padding: 24px 16px 48px; }
main.narrow { max-width: 420px; }
header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
h1 { font-size: 22px; margin: 0 0 6px; }
h2 { font-size: 16px; margin: 0 0 8px; }
p { line-height: 1.45; }
a { color: var(--blue); }
nav { display: flex; gap: 14px; }
.muted { color: var(--muted); }
.bad { color: var(--red); }
.good { color: var(--green); }
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
}
label { display: block; margin-bottom: 6px; font-weight: 600; }
input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #0b0f19;
  color: var(--text);
  font: inherit;
}
button {
  margin-top: 8px;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #061018;
  font-weight: 700;
  cursor: pointer;
}
button.stop { background: var(--red); color: white; }
.table-wrap { overflow-x: auto; margin-top: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: right; white-space: nowrap; }
th:first-child, td:first-child, th:nth-child(2), td:nth-child(2), th:nth-child(3), td:nth-child(3), th:last-child, td:last-child { text-align: left; }
th { color: var(--muted); font-weight: 600; }
