/* Site-wide BOS tooltip bubble — see bos-tooltip.js. Replaces the native
   title-attribute tooltip (fixed ~500-1000ms OS delay, not stylable) with a
   custom one so the open/close delay can be tuned (200ms/100ms). The 0.12s
   transition below is just the fade animation, independent of that delay. */
.bos-tooltip {
  position: fixed;
  z-index: 10000;
  max-width: 280px;
  padding: 5px 9px;
  font-family: inherit;
  font-size: 12.5px;
  line-height: 1.4;
  color: #fff;
  /* Hardcoded, not var(--navy-mid, #1a3456) — this bubble is loaded on
     every page (light and dark theme alike) and must always look the same;
     --navy-mid gets redefined bright (#4a7de0) on pages using the dark
     header (body.btt-header-page / #bttPage), which turned this into a
     light-blue tooltip there instead of the intended dark navy. */
  background: #1a3456;
  border: 1px solid rgba(232, 190, 122, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.12s ease;
}
.bos-tooltip.bos-tooltip-visible {
  opacity: 1;
  visibility: visible;
}

/* "Withheld" badge — flags a redacted specimen field (location/date/collectors).
   Neutral gray-brown so it reads as a metadata note, not a status/alert badge
   (cf. .dist-badge in bos-taxon-tabs.css, which uses saturated colors for
   conservation/residency status meaning). Shared by BOS and SpiderNet. */
.withheld-badge {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 7px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: #6b6258;
  border-radius: 3px;
  cursor: help;
  white-space: nowrap;
}
