#workflowStyleBrowsePane .workflows-style-section.has-category-scroll {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#workflowStyleBrowsePane.is-cats-collapsed .has-category-scroll {
  display: none;
}

.style-category-viewport {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}

#workflowStyleBrowsePane .style-category-viewport,
#workflowStyleBrowsePane [data-style-section="covers"] {
  scrollbar-width: thin;
  scrollbar-color: #747d87 #e6e9ed;
}

#workflowStyleBrowsePane .style-category-viewport::-webkit-scrollbar,
#workflowStyleBrowsePane [data-style-section="covers"]::-webkit-scrollbar {
  width: 8px;
}

#workflowStyleBrowsePane .style-category-viewport::-webkit-scrollbar-track,
#workflowStyleBrowsePane [data-style-section="covers"]::-webkit-scrollbar-track {
  background: #e6e9ed;
  border-radius: 6px;
}

#workflowStyleBrowsePane .style-category-viewport::-webkit-scrollbar-thumb,
#workflowStyleBrowsePane [data-style-section="covers"]::-webkit-scrollbar-thumb {
  background: #747d87;
  border-radius: 6px;
}

#workflowStyleBrowsePane .style-category-viewport::-webkit-scrollbar-thumb:hover,
#workflowStyleBrowsePane [data-style-section="covers"]::-webkit-scrollbar-thumb:hover {
  background: #56606b;
}

.style-category-scroll-hint {
  position: relative;
  flex: 0 0 auto;
  min-height: 36px;
  width: 100%;
  margin-top: 8px;
  padding: 7px 3px;
  overflow: hidden;
  border: 1px solid #d7dfe7;
  border-radius: 6px;
  background: #f2f5f8;
  color: #576777;
  font: inherit;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}

.style-category-scroll-hint::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--category-scroll-progress, 0%);
  background: #dfe9f2;
  pointer-events: none;
}

.style-category-scroll-hint span {
  position: relative;
}

.style-category-scroll-hint:disabled {
  cursor: default;
}

.style-category-scroll-hint[hidden] {
  display: none;
}

@media (max-width: 720px) {
  .style-category-scroll-hint {
    min-height: 44px;
    font-size: 11px;
    overflow-wrap: anywhere;
  }
}
