body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #f8f5f0;
}

.navbar-brand {
  font-weight: 500;
}

.pipeline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pipeline-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: 999px;
  font-size: 0.9rem;
  color: #2e7d32;
}

.pipeline-step .check {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: #2e7d32;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.pipeline-arrow {
  color: #6c757d;
}

.kpi-card {
  border-left: 4px solid var(--bs-primary);
}

.kpi-value {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.kpi-label {
  font-size: 0.85rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.anon-badge {
  font-family: 'Roboto Mono', monospace;
  background: #eee;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

.heatmap-cell {
  display: inline-block;
  width: 48px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  font-weight: 500;
  color: white;
  border-radius: 4px;
  margin: 2px;
}

.noise-tag-low { background: #c8e6c9; color: #2e7d32; padding: 0.15rem 0.5rem; border-radius: 12px; font-size: 0.8rem; }
.noise-tag-mod { background: #fff3cd; color: #856404; padding: 0.15rem 0.5rem; border-radius: 12px; font-size: 0.8rem; }
.noise-tag-high { background: #f8d7da; color: #842029; padding: 0.15rem 0.5rem; border-radius: 12px; font-size: 0.8rem; }

.tab-link {
  padding: 0.5rem 1rem;
  border-bottom: 3px solid transparent;
  color: #6c757d;
  text-decoration: none;
}
.tab-link.active {
  border-bottom-color: var(--bs-primary);
  color: var(--bs-primary);
  font-weight: 500;
}
.tab-link:hover { color: var(--bs-primary); }

.disagreement {
  background: #fff3cd;
}
