.pill {
  display: inline-block;
  padding: 0.15em 0.7em;
  margin: 0 0.3em 0.3em 0;
  border-radius: 1em;
  font-size: 0.75em;
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
}

.pill-intra-sentence {
  background-color: var(--md-code-bg-color, #e0f2e9);
  color: #2e7d32;
}

.pill-inter-sentence {
  background-color: #fff3cd;
  color: #8a6100;
}

[data-md-color-scheme="slate"] .pill-intra-sentence {
  background-color: #1b3a2b;
  color: #7cd992;
}

[data-md-color-scheme="slate"] .pill-inter-sentence {
  background-color: #4a3b0a;
  color: #f0c060;
}

.pill-polarity-none,
.pill-strength-none {
  background-color: #e0e0e0;
  color: #5f5f5f;
}

.pill-polarity-documented,
.pill-strength-documented {
  background-color: #fff3cd;
  color: #8a6100;
}

.pill-polarity-captured,
.pill-strength-captured {
  background-color: #d6e8fc;
  color: #1a5aa8;
}

[data-md-color-scheme="slate"] .pill-polarity-none,
[data-md-color-scheme="slate"] .pill-strength-none {
  background-color: #3a3a3a;
  color: #b0b0b0;
}

[data-md-color-scheme="slate"] .pill-polarity-documented,
[data-md-color-scheme="slate"] .pill-strength-documented {
  background-color: #4a3b0a;
  color: #f0c060;
}

[data-md-color-scheme="slate"] .pill-polarity-captured,
[data-md-color-scheme="slate"] .pill-strength-captured {
  background-color: #123a5e;
  color: #7fb8f0;
}
