:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --border: #262626;
  --text: #e5e5e5;
  --text-dim: #737373;
  --accent: #22c55e;
  --accent-dim: #166534;
  --link: #60a5fa;
  --red: #ef4444;
  --green: #22c55e;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'IBM Plex Mono', 'SF Mono', monospace;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
h1 { font-size: 1.4rem; color: var(--accent); margin-bottom: 0.5rem; }
h2 { font-size: 1.1rem; color: var(--text); margin: 1.5rem 0 0.5rem; border-bottom: 1px solid var(--border); padding-bottom: 0.3rem; }
h3 { font-size: 0.95rem; color: var(--text-dim); margin: 1rem 0 0.3rem; }
p, li { font-size: 0.88rem; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
table { width: 100%; border-collapse: collapse; margin: 0.5rem 0; font-size: 0.82rem; }
th { text-align: left; padding: 0.4rem 0.6rem; border-bottom: 2px solid var(--border); color: var(--text-dim); }
td { padding: 0.4rem 0.6rem; border-bottom: 1px solid var(--border); }
.positive { color: var(--green); }
.negative { color: var(--red); }
.source-link {
  position: relative;
  border-bottom: 1px dotted var(--text-dim);
  cursor: help;
}
.source-link:hover::after {
  content: attr(data-source);
  position: absolute;
  bottom: 100%;
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.4rem 0.6rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  white-space: nowrap;
  z-index: 10;
  border-radius: 4px;
}
.index-list { list-style: none; }
.index-list li { padding: 0.6rem 0; border-bottom: 1px solid var(--border); }
.index-list .date { color: var(--text-dim); font-size: 0.8rem; margin-right: 0.5rem; }
.index-list .type-daily { color: var(--accent); }
.index-list .type-weekly { color: var(--link); }
nav { margin-bottom: 1.5rem; font-size: 0.85rem; }
nav a { margin-right: 1rem; }
.meta { color: var(--text-dim); font-size: 0.8rem; margin-bottom: 1rem; }
footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 0.75rem; }
