ul { padding: 5px; }

.collection-table-wrapper table li {
  margin-left: 10px !important;
}

.collection-table-wrapper table ul li {
  margin-left: 10px !important;
}

.collection-table-wrapper {
  display: block !important;
  width: 100% !important;
  max-width: 90vw !important;
  max-height: 80vh !important;
  overflow-x: auto !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;

  overscroll-behavior-x: contain !important;
  overscroll-behavior-y: contain !important;
  scrollbar-gutter: stable both-edges !important;

  -webkit-overflow-scrolling: touch !important;
}

.collection-table-wrapper:focus,
.collection-table-wrapper:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

html.kbd-nav .collection-table-wrapper:focus {
  outline: 2px solid rgba(0, 0, 0, 0.22) !important;
  outline-offset: 2px !important;
  border-radius: 6px !important;
}

.collection-table-wrapper.is-dragging {
  cursor: grabbing !important;
  user-select: none !important;
}

.collection-table-wrapper table {
  font-size: 16px !important;
  width: 100% !important;
  min-width: 850px !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
}

.collection-table-wrapper th {
  position: sticky !important;
  top: 0 !important;
  background: #f5f5f5 !important;
  white-space: nowrap !important;
  padding: 8px !important;
  z-index: 5 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
}

.collection-table-wrapper td {
  white-space: nowrap !important;
  padding: 8px !important;
  vertical-align: top !important;
}

.collection-table-wrapper td:last-child {
  white-space: normal !important;
}

.collection-table-wrapper th:nth-child(1),
.collection-table-wrapper td:nth-child(1) {
  width: 200px !important;
  min-width: 200px !important;
  max-width: 200px !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
}

.collection-table-wrapper th:nth-child(2),
.collection-table-wrapper td:nth-child(2) {
  width: 150px !important;
  min-width: 150px !important;
  max-width: 150px !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
}

.collection-table-wrapper th:nth-child(3),
.collection-table-wrapper td:nth-child(3) {
  width: 150px !important;
  min-width: 150px !important;
  max-width: 150px !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
}

.collection-table-wrapper th:nth-child(4),
.collection-table-wrapper td:nth-child(4) {
  width: 150px !important;
  min-width: 150px !important;
  max-width: 150px !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
}

.collection-table-wrapper th:nth-child(5),
.collection-table-wrapper td:nth-child(5) {
  width: 200px !important;
  min-width: 200px !important;
  max-width: 200px !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
}

@media screen and (max-width: 839px) {
  .collection-table-wrapper {
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    margin: 1em 0 !important;
  }
}

@media screen and (min-width: 840px) {
  .collection-table-wrapper {
    max-width: 70vw !important;
    width: auto !important;
  }
}

.collection-table-wrapper::-webkit-scrollbar:vertical {
  width: 2px;
  background: transparent;
}
