/* Welcome page: record line and one list of recent changes (all four
 * handbooks; Bryan approved 14 November 2026).
 *
 * 1. The record line under the byline (styles/home-trust-v1.js) is small,
 *    muted text with tabular figures. Its height is reserved so the page
 *    does not shift when the figures arrive.
 * 2. Where the right-hand "Recent updates" panel shows (992px and wider, once
 *    styles/recent-updates-ticker-v7.js has drawn it), the in-page "Recent
 *    highlights" list, its rule and its table-of-contents entry are hidden,
 *    so a reader never sees the same changes twice. On narrower screens the
 *    panel is hidden and the in-page list shows as before. Browsers without
 *    :has() keep both.
 */

/* 1. Record line */
#title-block-header .handbook-trust {
  min-height: 1.4em;
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--bs-secondary-color, #5c636a);
  font-variant-numeric: tabular-nums;
}

#title-block-header .handbook-trust strong {
  font-weight: 600;
  color: var(--bs-body-color, #343a40);
}

#title-block-header .handbook-trust-sep {
  color: var(--bs-secondary-color, #5c636a);
}

@media (max-width: 575.98px) {
  #title-block-header .handbook-trust {
    min-height: 2.8em;
  }
}

@media print {
  #title-block-header .handbook-trust {
    min-height: 0;
  }
}

/* 2. One list of recent changes */
@media (min-width: 992px) {
  body:has(#quarto-margin-sidebar .ru-latest) #sec-recent-updates,
  body:has(#quarto-margin-sidebar .ru-latest) hr:has(+ #sec-recent-updates),
  body:has(#quarto-margin-sidebar .ru-latest) #TOC li:has(> #toc-sec-recent-updates) {
    display: none;
  }
}
