:root {
  --accent: #2563eb;
  --fg: #0b1220;
  --muted: #4b5563;
  --bg: #f9fafb;
  --line: #e5e7eb;
  --code-bg: #f3f4f6;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font: 14px/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
}

aside .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

aside .brand .logo {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

aside h1 {
  margin: 0 0 1px;
  font-size: 15px;
  color: var(--fg);
  font-weight: 700;
  letter-spacing: -0.01em;
}

aside .sub {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

.state {
  margin: 0 0 8px;
  padding: 7px 10px;
  background: var(--code-bg);
  border-left: 3px solid var(--accent);
  font-size: 12px;
}

.state strong { color: var(--accent); font-weight: 600; }
.state.ts { word-break: break-all; }

main section {
  margin-bottom: 28px;
}

main h2 {
  margin: 0 0 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th, td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--code-bg);
  font-weight: 600;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

td:first-child {
  color: var(--accent);
  font-weight: 600;
}

.endpoints {
  list-style: none;
  margin: 0;
  padding: 0;
}

.endpoints li {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}

.endpoints a {
  color: var(--accent);
  text-decoration: none;
}

.endpoints a:hover { text-decoration: underline; }

footer {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  word-break: break-all;
}

@media (max-width: 640px) {
  .wrap {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 18px;
  }
}
