/* Dec 3, 2026: one scrollbar look for the whole site (panels, project lists, Top News, History, filters, sheets).
   Dark color scheme, thin (8 px), a see-through track, a muted warm-amber thumb that brightens on hover, and no arrow buttons.
   Blink and WebKit use the ::-webkit-scrollbar pieces (exact width, hover, no arrows). Browsers without them (Firefox) use scrollbar-width and scrollbar-color.
   The thumb color follows the house accent (--hs-acc-rgb, set by house-style.js). */
:root { color-scheme: dark; --lhl-sb-rgb: var(--hs-acc-rgb, 222 186 128); }
@supports not selector(::-webkit-scrollbar) {
  * { scrollbar-width: thin; scrollbar-color: rgb(var(--lhl-sb-rgb) / 0.38) transparent; }
}
@supports selector(::-webkit-scrollbar) {
  *::-webkit-scrollbar { width: 8px; height: 8px; background: transparent; }
  *::-webkit-scrollbar-track { background: transparent; }
  *::-webkit-scrollbar-thumb { background-color: rgb(var(--lhl-sb-rgb) / 0.34); border-radius: 8px; border: 2px solid transparent; background-clip: content-box; min-height: 28px; min-width: 28px; }
  *::-webkit-scrollbar-thumb:hover, *::-webkit-scrollbar-thumb:active { background-color: rgb(var(--lhl-sb-rgb) / 0.7); }
  *::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
  *::-webkit-scrollbar-corner { background: transparent; }
}
/* Equal left and right insets in every scrolling panel: the scrollbar's room is reserved on both edges, so rows, buttons and dividers sit the same distance from each side
   whether or not the list is long enough to scroll, and nothing jumps when it starts to scroll. Overlay-scrollbar devices (phones, Mac trackpads) reserve nothing on either side. */
.labmap-root #mm, .labmap-root #panel, .labmap-root #fl.open, .labmap-root .legend .lgbody, .bp-nl-panel, .bp-card, .pm-sh-body, .bpr-box, .bp-lg-b { scrollbar-gutter: stable both-edges; }
