body { font-family: 'Inter', system-ui, sans-serif; }

.tab-btn {
  padding: 10px 22px;
  font-size: 0.825rem;
  font-weight: 500;
  color: #64748b;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.tab-btn:hover { color: #6366f1; }
.tab-btn.active { border-bottom-color: #6366f1; color: #6366f1; }

.tl-line { position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: #e2e8f0; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fade-up 0.35s ease both; }
.fade-up-delay-1 { animation-delay: 0.05s; }
.fade-up-delay-2 { animation-delay: 0.1s; }
.fade-up-delay-3 { animation-delay: 0.15s; }

.trace-view {
  font-family: 'Menlo', 'Consolas', 'Monaco', monospace;
  font-size: 0.78rem;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.rule-chip {
  display: inline-flex; align-items: center;
  padding: 1px 8px; border-radius: 9999px;
  font-size: 0.72rem; font-weight: 600;
  white-space: nowrap;
}
.rule-kw { font-size: 0.7rem; color: #94a3b8; font-weight: 500; }
