* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f7f8fb;
  color: #1d2433;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.7;
}

a {
  color: #1b63c6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.topbar {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #dde3ee;
  display: flex;
  gap: 16px;
  min-height: 64px;
  padding: 0 28px;
}

.topbar-actions {
  display: flex;
  gap: 12px;
  margin-left: auto;
}

.brand {
  color: #172033;
  font-weight: 700;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.button {
  align-items: center;
  border: 1px solid #bfd0e8;
  border-radius: 6px;
  color: #17324d;
  display: inline-flex;
  font-weight: 600;
  min-height: 40px;
  padding: 8px 14px;
}

.button:hover {
  background: #eef4ff;
  text-decoration: none;
}

.button.primary {
  background: #17324d;
  border-color: #17324d;
  color: #ffffff;
}

.button.primary:hover {
  background: #224765;
}

.shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: calc(100vh - 64px);
}

.sidebar {
  background: #ffffff;
  border-right: 1px solid #dde3ee;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px;
}

.sidebar a {
  border-radius: 6px;
  color: #334155;
  padding: 8px 10px;
}

.sidebar a:hover {
  background: #eef4ff;
  text-decoration: none;
}

.content {
  max-width: 880px;
  padding: 40px;
}

h1,
h2 {
  letter-spacing: 0;
  line-height: 1.25;
}

pre {
  background: #101827;
  border-radius: 8px;
  color: #e7edf7;
  overflow-x: auto;
  padding: 18px;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

@media (max-width: 760px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid #dde3ee;
    flex-direction: row;
    overflow-x: auto;
  }

  .content {
    padding: 24px;
  }
}
