:root {
  --bg: #0e0f12;
  --fg: #e6e6e6;
  --dim: #7a7f88;
  --accent: #7ec8ff;
  --line: #1c1f24;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--fg);
  font: 14px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
h1 { font-size: 15px; margin: 0; font-weight: 600; letter-spacing: .04em; }
h2 { font-size: 12px; margin: 0 0 10px; color: var(--dim); text-transform: uppercase; letter-spacing: .12em; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
input, button {
  background: #151821; color: var(--fg);
  border: 1px solid var(--line); border-radius: 4px;
  padding: 6px 10px; font: inherit;
}
input { min-width: 220px; }
button { cursor: pointer; }
button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
button:disabled { opacity: .4; cursor: default; }
.status { color: var(--dim); font-size: 12px; margin-left: 6px; }
.status.ok { color: #7effa8; }
.status.err { color: #ff8080; }

main {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  height: calc(100vh - 56px);
}
aside {
  border-right: 1px solid var(--line);
  padding: 16px 14px;
  overflow-y: auto;
}
#machine-list { list-style: none; margin: 0; padding: 0; }
#machine-list li {
  padding: 8px 10px; border-radius: 4px;
  cursor: pointer; margin-bottom: 4px;
  border: 1px solid transparent;
}
#machine-list li:hover { background: #151821; }
#machine-list li.active { border-color: var(--accent); background: #151821; }
#machine-list .sub { color: var(--dim); font-size: 12px; }

#detail { padding: 16px 20px; overflow: hidden; display: flex; flex-direction: column; }
#detail-title { color: var(--fg); text-transform: none; letter-spacing: 0; font-size: 14px; }
#detail-meta { color: var(--dim); font-size: 12px; }
#keys {
  flex: 1;
  margin-top: 14px;
  background: #0a0b0e;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  color: #d8dde3;
}