/* GuildLM research log — report-specific styles, layered over styles.css */

.report {
  max-width: 820px;
  margin: 0 auto;
  padding: 7rem 1.5rem 6rem;
}

.report__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
  transition: color 0.2s;
}
.report__back:hover { color: var(--text-gold); }

.report__date {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-gold);
}

.report h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin: 0.6rem 0 1rem;
  color: var(--text-primary);
  font-weight: 800;
}

.report__lede {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.report h2 {
  font-size: 1.4rem;
  margin: 2.8rem 0 1rem;
  color: var(--text-primary);
  font-weight: 700;
}
.report h2::before {
  content: "";
  display: inline-block;
  width: 0.5rem; height: 0.5rem;
  margin-right: 0.6rem;
  background: var(--gold-500);
  transform: rotate(45deg);
  vertical-align: middle;
}

.report h3 { font-size: 1.1rem; margin: 1.8rem 0 0.6rem; color: var(--text-primary); }

.report p, .report li {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.report ul, .report ol { padding-left: 1.4rem; margin: 0.8rem 0; }
.report li { margin: 0.4rem 0; }
.report strong { color: var(--text-primary); font-weight: 600; }
.report a { color: var(--text-gold); text-decoration: none; border-bottom: 1px solid var(--border-gold); }
.report code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.86em;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 0.1em 0.4em;
  color: var(--gold-200);
}

/* Leaderboard / results table */
.report table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0;
  font-size: 0.95rem;
}
.report th, .report td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
}
.report th {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.report td { color: var(--text-secondary); }
.report tr.win td { color: var(--text-primary); }
.report .score { font-family: "JetBrains Mono", monospace; color: var(--gold-200); }
.report .tag-win { color: var(--gold-500); font-weight: 700; }
.report .tag-down { color: #c0746a; }

.report__callout {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-left: 3px solid var(--gold-500);
  border-radius: 8px;
  padding: 1.1rem 1.3rem;
  margin: 1.8rem 0;
}
.report__callout p { margin: 0; color: var(--text-primary); }

.report__meta {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Index list */
.loglist { max-width: 820px; margin: 0 auto; padding: 7rem 1.5rem 6rem; }
.loglist h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: var(--text-primary); margin-bottom: 0.5rem; }
.loglist__sub { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 3rem; }
.logentry {
  display: block;
  text-decoration: none;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: padding-left 0.2s;
}
.logentry:hover { padding-left: 0.5rem; }
.logentry__date { font-family: "JetBrains Mono", monospace; font-size: 0.78rem; color: var(--text-gold); letter-spacing: 0.06em; }
.logentry__title { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); margin: 0.3rem 0; }
.logentry__desc { color: var(--text-secondary); font-size: 0.98rem; }
