/* Reserve the scrollbar space before any popup opens. */
html { scrollbar-gutter: stable; }
html.sp-popup-open, html.sp-popup-open body { overflow-y: hidden !important; }
html.sp-popup-open { scroll-behavior: auto !important; }
dialog, dialog *, [role="dialog"][aria-modal="true"],
[role="dialog"][aria-modal="true"] *,
[data-popup-scroll-lock], [data-popup-scroll-lock] * { overscroll-behavior: contain; }
.vibe-history-panel { max-height: var(--sp-popup-visible-height, 100%); box-sizing: border-box; overscroll-behavior: contain; }
