:root {
  --bg: #12141a;
  --card: #1a1d27;
  --accent: #e8a838;
  --text: #f3efe6;
  --muted: #9aa0ad;
  --err: #e85d4c;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #0d0f14;
  position: sticky;
  top: 0;
}
.card {
  margin: 12px;
  padding: 12px;
  background: var(--card);
  border-radius: 12px;
}
h2 { font-size: 1rem; margin: 0 0 8px; color: var(--accent); }
input, select, button {
  font: inherit;
  padding: 10px 12px;
  border-radius: 8px;
  border: 0;
}
input, select { width: 100%; background: #0d0f14; color: var(--text); margin-bottom: 8px; }
button { background: var(--accent); color: #1a1208; font-weight: 600; }
.muted { color: var(--muted); font-size: 0.9rem; }
.one-liner { user-select: all; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }
.btns button { flex: 1 1 40%; }
pre {
  max-height: 280px;
  overflow: auto;
  background: #0d0f14;
  padding: 8px;
  font-size: 12px;
  white-space: pre-wrap;
}
.pill { font-size: 12px; padding: 4px 8px; border-radius: 99px; background: #333; }
.pill.ok { background: #2d6a4f; }
.pill.run { background: #b08900; }
.err { color: var(--err); }
.warn { color: var(--accent); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gallery img { width: 100%; border-radius: 8px; }
#machine-list { list-style: none; padding: 0; margin: 0; }
#machine-list li {
  padding: 10px;
  border-radius: 8px;
  background: #0d0f14;
  margin-bottom: 6px;
  cursor: pointer;
}
#machine-list li.active { outline: 2px solid var(--accent); }
