.tabs {
  margin-top: 1rem;
}

.tab-buttons {
  display: flex;
  margin-bottom: 0.5rem;
}

.tab-buttons button {
  flex: 1;
  padding: 0.6rem;
  cursor: pointer;
  background: #f0f0f0;
  border: 1px solid #ccc;
  border-bottom: none;
  font-weight: bold;
}

.tab-buttons button.active {
  background: white;
  border-bottom: 1px solid white;
}

.tab-content {
  border: 1px solid #ccc;
  padding: 1rem;
  background: white;
}

.tab-content > pre {
  margin: 0;
}

.stat-summary {
  margin: 0 0 1rem 0;
  font-size: 0.95rem;
}

.section-title {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
}

.gains-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.gains-table th,
.gains-table td {
  padding: 0.45rem 0.6rem;
  border: 1px solid #ddd;
  text-align: right;
}

.gains-table th:first-child,
.gains-table td:first-child {
  text-align: left;
}

.gains-table thead th {
  background: #f0f0f0;
  font-weight: 600;
}

.gains-table tbody tr:nth-child(even) {
  background: #fafafa;
}

