:root {
  --bg: #080c10;
  --surface: #0f1318;
  --border: #1e2732;
  --text: #e2e8f0;
  --muted: #6b7280;
  --accent: #EFB33C;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 14px;
}
.top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.brand { font-weight: 600; letter-spacing: 0.02em; }
.pill {
  background: #223947;
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
}
.switcher select, button, input, select {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
}
button {
  background: var(--accent);
  color: #080c10;
  font-weight: 600;
  cursor: pointer;
}
button.ghost { background: transparent; color: var(--text); }
main { padding: 20px; max-width: 1100px; margin: 0 auto; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 800px) {
  .grid { grid-template-columns: 1fr; }
}
.hidden { display: none !important; }
.muted { color: var(--muted); }
.err { color: #ef4444; }
.who { margin: 0 0 16px; }
.tree { list-style: none; padding: 0; margin: 0; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; }
.tree li { padding: 4px 0; border-bottom: 1px solid var(--border); }
.tree .type { color: var(--accent); margin-right: 8px; }
.ticket {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 8px;
}
.ticket .num { font-family: "IBM Plex Mono", ui-monospace, monospace; color: var(--accent); }
.ticket .shape { font-size: 11px; color: var(--muted); }
label { display: block; margin: 10px 0; }
label input, label select, label textarea { width: 100%; margin-top: 4px; }
textarea {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
  font-family: inherit;
  font-size: inherit;
  resize: vertical;
}
.row { display: flex; gap: 12px; }
.row label { flex: 1; }
pre { white-space: pre-wrap; font-size: 12px; }
