.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 99px;
  font-size: .7rem;
  font-weight: 800;
  white-space: nowrap;
}
.badge.source { background: #d9e9df; color: #164d3a; }
.badge.supplement { background: #f8dec1; color: #784414; }
.badge.pending { background: #eee5d4; color: #685a3e; }
.badge.approved { background: #cce8d7; color: #12603e; }
.badge.danger { background: #f5d1ca; color: #8c261d; }
.annotation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}
.annotation-card { margin-top: 16px; }
.annotation-card-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}
.annotation-card-head h2 { margin-bottom: 18px; }
.review-state { margin-bottom: 0; }
.sticky-panel { position: sticky; top: 96px; }
.review-history { margin-top: 16px; }
.approved-notes {
  margin: 20px 0;
  padding: 16px;
  border-radius: 12px;
  background: #f1f7f3;
}
.approved-notes h3 { margin: 0 0 10px; font-size: 1rem; }
@media (max-width: 760px) {
  .annotation-layout { grid-template-columns: 1fr; }
  .sticky-panel { position: static; }
}
