:root {
  --app-bg: #f4f6f9;
  --app-radius: 14px;
  --app-sidebar-w: 220px;
}

.app-body {
  background: var(--app-bg);
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 1020;
}

.app-sidebar {
  width: var(--app-sidebar-w);
  min-height: calc(100vh - 64px);
}

.app-sidebar .nav-link {
  color: #334155;
}

.app-sidebar .nav-link:hover {
  background: #f1f5f9;
}

.app-sidebar .nav-link.active {
  background: #e0f2fe;
  color: #0369a1;
}

.app-main {
  max-width: 1200px;
}

.card-panel {
  border-radius: var(--app-radius);
  overflow: hidden;
}

.json-pre {
  white-space: pre-wrap;
  word-break: break-word;
  background: #0f172a;
  color: #e2e8f0;
  padding: 1rem;
  border-radius: 10px;
}

.table code {
  font-size: 0.85em;
}

@media (min-width: 768px) {
  .app-main {
    margin-left: 0;
  }
}
