/* Confidence-tag badges.
   The wiki writes the tags as inline code: `[confirmed]`, `[estimate]`, `[unclear]`.
   The Markdown `abbr` extension cannot reach inside code spans, so the hover
   explanation is attached as a native `title` by assets/confidence-tags.js, and
   the colour-coding lives here. Hovering any badge shows the plain-words meaning. */

code.conf-tag {
  cursor: help;
  font-weight: 600;
  padding: 0.05em 0.45em;
  border-radius: 0.55em;
  font-size: 0.85em;
  border: 1px solid transparent;
  white-space: nowrap;
}

code.conf-tag--confirmed {
  color: #1b5e20;
  background-color: rgba(46, 125, 50, 0.12);
  border-color: rgba(46, 125, 50, 0.35);
}

code.conf-tag--estimate {
  color: #8a5300;
  background-color: rgba(245, 166, 35, 0.14);
  border-color: rgba(245, 166, 35, 0.4);
}

code.conf-tag--unclear {
  color: #b00020;
  background-color: rgba(176, 0, 32, 0.1);
  border-color: rgba(176, 0, 32, 0.35);
}

/* Dark scheme: lighten text so the badges stay legible. */
[data-md-color-scheme="slate"] code.conf-tag--confirmed {
  color: #a5d6a7;
}
[data-md-color-scheme="slate"] code.conf-tag--estimate {
  color: #ffcc80;
}
[data-md-color-scheme="slate"] code.conf-tag--unclear {
  color: #ef9a9a;
}
