:root {
  --bg: #1e1e1e;
  --surface: #252526;
  --border: #3c3c3c;
  --text: #d4d4d4;
  --accent: #0e639c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.topbar h1 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.status {
  font-size: 0.8rem;
  opacity: 0.7;
}

.layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  height: calc(100vh - 49px);
}

.sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 0.5rem;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-item {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
}

.nav-item:hover {
  background: #2a2d2e;
}

.nav-item.is-active {
  background: var(--accent);
  color: #fff;
}

.stage {
  padding: 1.5rem;
  overflow: auto;
}

.panel {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem;
  background: var(--surface);
}
