:root {
  --bg: #0f1419;
  --surface: #171f29;
  --border: #263241;
  --text: #e6edf3;
  --muted: #8b98a5;
  --ok: #2ea043;
  --warn: #d29922;
  --accent: #3b82f6;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 1rem 0;
}
.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ok);
  display: inline-block;
}
.links { display: flex; gap: 1.25rem; }
.links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}
.links a:hover, .links a.active { color: var(--text); }
main { padding: 2rem 0 3.5rem; }
.banner {
  background: rgba(46, 160, 67, 0.12);
  border: 1px solid rgba(46, 160, 67, 0.35);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.banner h1 { font-size: 1.15rem; font-weight: 600; }
.badge {
  font-size: 0.78rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(46, 160, 67, 0.2);
  color: #56d364;
  border: 1px solid rgba(46, 160, 67, 0.4);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.15rem;
}
.card .label { font-size: 0.82rem; color: var(--muted); }
.card .value { font-size: 1.45rem; font-weight: 700; margin-top: 0.25rem; }
h2 { font-size: 1.05rem; margin: 1.5rem 0 0.75rem; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.9rem;
}
th, td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}
th { color: var(--muted); font-weight: 500; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
tr:last-child td { border-bottom: none; }
pre {
  background: #0b0f14;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem;
  overflow-x: auto;
  font-size: 0.85rem;
  color: #c9d1d9;
  margin: 0.75rem 0 1.25rem;
}
footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.err-box {
  max-width: 520px;
  margin: 4rem auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem 1.5rem;
}
.err-box h1 { font-size: 2.4rem; margin-bottom: 0.5rem; }
.err-box p { color: var(--muted); margin-bottom: 1.25rem; }
.err-box a { color: var(--accent); text-decoration: none; }
