.error-box {
  border-left: 4px solid #d9534f;
  background: #fdf1f0;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.badge-new { background: #e2e8f0; color: #334155; }
.badge-qualified { background: #dbeafe; color: #1e40af; }
.badge-rejected { background: #fee2e2; color: #991b1b; }
.badge-pitched { background: #fef3c7; color: #92400e; }
.badge-won { background: #dcfce7; color: #166534; }
.badge-lost { background: #f1f5f9; color: #64748b; }

.score {
  font-weight: 700;
  font-size: 1.1rem;
}

.evidence-item {
  border-bottom: 1px solid var(--pico-muted-border-color);
  padding: 0.5rem 0;
}
.evidence-item:last-child { border-bottom: none; }
.evidence-source { font-size: 0.85rem; color: var(--pico-muted-color); }

.timeline-item {
  border-left: 2px solid var(--pico-muted-border-color);
  padding: 0 0 1rem 1rem;
  margin-left: 0.4rem;
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pico-primary);
}

.status-actions form {
  display: inline-block;
  margin-right: 0.5rem;
}

dialog article { max-width: 480px; }

table.candidates td, table.candidates th { vertical-align: middle; }

.priority-controls button {
  padding: 0.1rem 0.5rem;
  font-size: 0.8rem;
}

.masked-key {
  font-family: monospace;
  color: var(--pico-muted-color);
}
