:root {
  color-scheme: dark;
  --fg: #e4e7ec;
  --muted: #9aa3b2;
  --bg: #121417;
  --surface: #1b1e23;
  --accent: #7fb2ef;
  --border: #2e333b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.5;
}

.site-header, main, .site-footer {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.brand { font-weight: 700; color: var(--fg); text-decoration: none; }
nav a { margin-left: 1rem; color: var(--fg); text-decoration: none; font-weight: 500; }
main { padding-top: 1.5rem; padding-bottom: 1.5rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.stats div { border: 1px solid var(--border); padding: 0.75rem; background: var(--surface); }
.stats dt { color: var(--muted); font-size: 0.9rem; }
.stats dd { margin: 0.25rem 0 0; font-size: 1.5rem; font-weight: 600; }

table { width: 100%; border-collapse: collapse; background: var(--surface); }
th, td { text-align: left; padding: 0.5rem; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: 0.9rem; color: var(--muted); }
code { font-size: 0.9rem; }

.list li { margin-bottom: 0.5rem; }

.badge {
  display: inline-block;
  padding: 0.15em 0.6em;
  border-radius: 0.375rem;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  color: #121417;
}
.badge-published { background: #75b798; }
.badge-under_review { background: #ffda6a; }
.badge-withdrawn { background: #9aa3b2; }
.badge-reclassified { background: #6ea8fe; }
.badge-confirmed { background: #e86a5b; }
a { color: var(--fg); text-decoration: underline; }
a:hover { text-decoration: none; }
.brand, nav a { text-decoration: none; }

.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  padding-bottom: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.disclaimer { font-weight: 600; color: var(--fg); }
