/* Custom libraries fill the shell; only their list bodies scroll. */
main > div:has(> div > [data-custom-library-page]) { overflow: hidden; }
main > div > div:has(> [data-custom-library-page]) {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding-bottom: .5rem;
}
[data-custom-library-page] { flex: 1; }
[data-custom-font-list] > [data-slot="table-container"] {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}
[data-custom-font-list] [data-slot="table-header"] {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--card);
}
