/* Delta pill: a metric's change. Colour is semantic (favourable or not), never
   directional, and never alone: solid triangle for favourable, hollow triangle
   and an inset ring for unfavourable, a bar for no change, a dashed "No prior"
   when there is nothing to compare. The visually hidden text always says the
   direction and the sentiment. Geometry is fixed. */

.pr-pill {
  display: inline-flex; align-items: center; gap: var(--pr-space-xs);
  padding: var(--pr-space-xs) var(--pr-space-sm);
  border-radius: var(--pr-radius-pill);
  font: 600 0.75rem/1.2 var(--font-sans);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pr-pill > .pr-g { width: 12px; height: 12px; }
.pr-pill--fav { color: var(--pr-delta-fav); background: var(--pr-delta-fav-tint); }
.pr-pill--unfav { color: var(--pr-delta-unfav); background: var(--pr-delta-unfav-tint); }
.pr-pill--unfav.pr-pill--cue { box-shadow: inset 0 0 0 1px currentColor; }
.pr-pill--neutral { color: var(--pr-delta-neutral); background: var(--pr-delta-neutral-tint); }
.pr-pill--none {
  color: var(--pr-text-caption);
  background: none;
  outline: 1px dashed var(--pr-border-control);
  outline-offset: -1px;
}
