/*******************************************************************************
 * Publication status tags
 *
 * Renders status markers such as the "Oral" tag on the publications page.
 * Colors are driven by --oral-* so they can be re-themed in one place:
 *   --oral-color   text color
 *   --oral-bg      pill background
 *   --oral-border  pill border
 ******************************************************************************/

:root {
  /* light theme */
  --oral-color: #a15c00;
  --oral-bg: rgba(245, 179, 1, 0.16);
  --oral-border: rgba(161, 92, 0, 0.45);
}

html[data-theme="dark"] {
  --oral-color: #fbbf24;
  --oral-bg: rgba(251, 191, 36, 0.16);
  --oral-border: rgba(251, 191, 36, 0.5);
}

.oral-tag {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.02rem 0.5rem;
  border: 1px solid var(--oral-border);
  border-radius: 999px;
  background-color: var(--oral-bg);
  color: var(--oral-color);
  font-size: 0.82em;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
  vertical-align: 0.05em;
  white-space: nowrap;
}

/* Keep the tag readable when links inherit the surrounding color. */
.publications .oral-tag,
.publications .oral-tag:visited {
  color: var(--oral-color);
}
