/* SBOM360 user documentation — presentation tweaks on top of Material */

/* Screenshots from the user manual: framed so they read as UI captures
   rather than inline diagrams. */
.screenshot,
.md-typeset img[src*="screenshots/"] {
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  margin: 0.8rem 0;
  max-width: 100%;
}

/* Tables in the manual are reference material — keep them readable and let
   wide ones scroll instead of overflowing the page. */
.md-typeset table:not([class]) {
  font-size: 0.74rem;
}
.md-typeset__table {
  overflow-x: auto;
}

/* Role cards on the landing page */
.md-typeset .grid.cards > ul > li {
  border-radius: 8px;
}

/* Documentation version, shown beside the search control in the header.
   The value comes from extra.product_version in mkdocs.yml. */
.md-header__option.sbom-version {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 0.4rem;
  padding: 0.15rem 0.5rem;
  border: 1px solid currentcolor;
  border-radius: 1rem;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.4;
  opacity: 0.85;
  white-space: nowrap;
}

/* On narrow screens the search control takes the full width — keep the badge
   from crowding it out. */
@media screen and (max-width: 44.9844em) {
  .md-header__option.sbom-version {
    display: none;
  }
}
