.table-view {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-16);
  min-height: 0;
}

.table-view.table-empty tbody tr:hover, .table-view.table-pending tbody tr:hover {
  background-color: transparent !important;
}

.table-view.table-empty tbody tr:active, .table-view.table-pending tbody tr:active {
  background-color: transparent !important;
}

.table-view.table-empty .table-row-link, .table-view.table-pending .table-row-link, .table-view.table-empty tr[data-url]:not([data-url='']), .table-view.table-pending tr[data-url]:not([data-url='']) {
  cursor: default !important;
}

.table-view.table-empty .table-sort-button, .table-view.table-pending .table-sort-button {
  cursor: default !important;
}

.table-view.table-empty .table-sort-button:hover, .table-view.table-pending .table-sort-button:hover, .table-view.table-empty .table-sort-button:active, .table-view.table-pending .table-sort-button:active {
  color: inherit !important;
}

.table-view.table-empty .table-sort-button:hover .table-sort-icon, .table-view.table-pending .table-sort-button:hover .table-sort-icon {
  color: inherit !important;
}

.table-view.table-empty .table-pagination, .table-view.table-pending .table-pagination {
  opacity: 0.5;
  pointer-events: none;
}

.table-view .table-group-header td, .table-view .table-row:not(.table-group-child):not(.table-sub-row):not(.lemma-history-sub-row) td, .table-view .table-row-view:not(.table-group-child):not(.table-sub-row):not(.lemma-history-sub-row) td, .table-view .table-tbody tr:not(.table-group-child):not(.table-sub-row):not(.lemma-history-sub-row) td {
  position: relative;
  z-index: var(--z-index-stacking-3);
  background-color: inherit;
}

.table-view .table-group-child, .table-view .batch-group-child {
  transition: transform var(--transition-duration-medium) var(--transition-timing-function-system), opacity var(--transition-duration-medium) var(--transition-timing-function-system);
  will-change: transform, opacity;
}

.table-view .table-group-child td, .table-view .batch-group-child td {
  position: relative;
  z-index: var(--z-index-stacking-2);
  background-color: inherit;
}

.table-view .lemma-history-sub-row, .table-view .table-sub-row {
  transition: transform var(--transition-duration-medium) var(--transition-timing-function-system), opacity var(--transition-duration-medium) var(--transition-timing-function-system);
  will-change: transform, opacity;
}

.table-view .lemma-history-sub-row td, .table-view .table-sub-row td {
  position: relative;
  z-index: var(--z-index-stacking-1);
  background-color: inherit;
}

.table-view .table-row-collapsed {
  pointer-events: none;
  opacity: 0;
  transform: translateY(-100%);
}

.table-view .table-row-hidden {
  display: none !important;
}

.table-view .table-sort-icon[data-active='false'] {
  display: none;
}

.table-view .table-sort-icon[data-active='true'] {
  display: inline-flex;
  color: currentColor;
}

.table-view .table-group-header .animated-right-down-chevron-view, .table-view .lemma-history-toggle, .table-view .table-subrow-toggle {
  cursor: pointer;
}

.table-view.table-measure-root {
  position: absolute !important;
  visibility: hidden !important;
  top: -9999px !important;
  left: -9999px !important;
  width: auto !important;
  height: auto !important;
}

.table-view .table-measure-table {
  table-layout: auto !important;
  width: auto !important;
  display: table !important;
}

.table-view .table-measure-cell {
  display: table-cell !important;
  width: auto !important;
  min-width: auto !important;
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

.table-view .table-measure-cell * {
  overflow: visible !important;
  text-overflow: clip !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.table-view .table-measure-sort-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: var(--spacing-8) !important;
  width: auto !important;
  min-width: auto !important;
  max-width: none !important;
}

.table-view .table-measure-sort-button span:not(.table-sort-icon) {
  display: inline !important;
  width: auto !important;
  min-width: auto !important;
  max-width: none !important;
  flex-shrink: 0 !important;
}

.table-view .table-measure-sort-button .table-sort-icon, .table-view .table-measure-sort-button .table-sort-icon svg {
  display: inline-flex !important;
  flex-shrink: 0 !important;
}

.table-view .table-measure-sort-button .table-sort-icon {
  align-items: center !important;
  justify-content: center !important;
  margin-left: 0 !important;
}

.table-view .table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-12);
  padding: var(--spacing-12);
}

.table-view .table-header-title {
  font-family: var(--typography-font-sans);
  font-size: var(--font-size-large-18);
  font-weight: var(--font-weight-semi-bold);
  color: var(--color-base);
  margin: 0;
}

.table-view .pagination-info {
  font-family: var(--typography-font-sans);
  font-size: var(--font-size-medium-16);
  line-height: var(--line-height-small-22);
  color: var(--color-base);
}

.table-view .table-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-12);
  flex-wrap: wrap;
}

.table-view .table-pagination-controls {
  flex-shrink: 0;
  margin-inline-start: auto;
  margin-inline-end: 0;
}

.table-view .table-cell-compact {
  display: none;
}

@media (max-width: 768px) {
  .table-view .table-table:not([data-manually-resized='true']):has(th[data-priority='true']) {
    table-layout: auto !important;
    width: 100% !important;
  }

.table-view .table-table:not([data-manually-resized='true']):has(th[data-priority='true']) col {
    width: auto !important;
  }

.table-view .table-table:not([data-manually-resized='true']):has(th[data-priority='true']) th[data-table-column-id]:not([data-priority='true']), .table-view .table-table:not([data-manually-resized='true']):has(th[data-priority='true']) td[data-priority='false'], .table-view .table-table:not([data-manually-resized='true']):has(th[data-priority='true']) th[scope='row'][data-priority='false'] {
    width: 1px !important;
    min-width: 0 !important;
  }

.table-view .table-table:not([data-manually-resized='true']) th[data-priority='true'], .table-view .table-table:not([data-manually-resized='true']) td[data-priority='true'] {
    width: 100% !important;
    max-width: 0 !important;
    min-width: 20ch !important;
  }

.table-view .table-cell-full {
    display: none !important;
  }

.table-view .table-cell-compact {
    display: inline !important;
  }
}

@media (max-width: 479px) {
  .table-view .table-pagination {
    flex-direction: column !important;
    justify-content: center !important;
  }

.table-view .pagination-info {
    text-align: center !important;
  }

.table-view .table-pagination-controls {
    margin-inline: auto !important;
  }
}

.table-view .table-caption {
  font-family: var(--typography-font-sans);
  font-size: var(--font-size-medium-16);
  font-weight: var(--font-weight-semi-bold);
  color: var(--color-base);
  text-align: start;
  padding: var(--spacing-12);
}

.table-view .table-caption[data-hidden='true'] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0px, 0px, 0px, 0px);
  white-space: nowrap;
  border-width: 0;
}

.table-view .table-inner-wrapper {
  position: relative;
  transform: translateZ(0);
  overflow: hidden;
  border: var(--border-width-base) solid var(--border-color-subtle);
  border-radius: var(--border-radius-base);
  background-color: var(--background-color-base);
  width: 100%;
  display: flex;
  min-height: 0;
}

.table-view .table-scroll {
  overflow-x: auto;
  border-radius: var(--border-radius-base);
  width: 100%;
  display: flex;
  min-width: 0;
  min-height: 0;
}

.table-view.table-empty .table-inner-wrapper {
  min-height: 160px;
  flex-shrink: 0;
}

.table-view .table-scroll::-webkit-scrollbar-track, .table-view .table-scroll::-webkit-scrollbar-track-piece, .table-view .table-scroll::-webkit-scrollbar-corner {
  background-color: transparent !important;
}

.table-view .table-table {
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--typography-font-sans);
  font-size: var(--font-size-medium-16);
  color: var(--color-base);
  width: 100%;
}

.table-view.table-empty .table-table {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.table-view.table-empty .table-thead {
  min-width: min-content;
}

.table-view .table-row:nth-child(even), .table-view .table-row-view:nth-child(even), .table-view .table-tbody tr:nth-child(even) {
  background-color: var(--background-color-stripe);
}

.table-view .table-row:nth-child(odd), .table-view .table-row-view:nth-child(odd), .table-view .table-tbody tr:nth-child(odd) {
  background-color: var(--background-color-base);
}

.table-view .table-row-even {
  background-color: var(--background-color-stripe) !important;
}

.table-view .table-row-odd {
  background-color: var(--background-color-base) !important;
}

.table-view .table-row-last {
  border-block-end: none !important;
}

.table-view .table-td-spacer {
  background-color: inherit !important;
  width: 16px !important;
  min-width: 16px !important;
  border-right-width: 0 !important;
  padding: 0 !important;
}

.table-view .table-tbody tr {
  cursor: default;
}

.table-view .table-tbody tr[data-url]:not([data-url='']), .table-view .table-tbody tr.table-row-link {
  cursor: var(--cursor-base-hover);
  transition: var(--transition-property-base) var(--transition-duration-base) var(--transition-timing-function-user);
}

.table-view .table-tbody tr[data-url]:not([data-url='']):hover, .table-view .table-tbody tr.table-row-link:hover {
  background-color: var(--background-color-stripe-hover) !important;
}

.table-view .table-tbody tr[data-url]:not([data-url='']):active, .table-view .table-tbody tr.table-row-link:active {
  background-color: var(--background-color-stripe-active) !important;
}

.table-view .table-tbody tr:hover:has(.table-selection-container:hover), .table-view .table-tbody tr:active:has(.table-selection-container:active), .table-view .table-tbody tr:hover:has(.animated-chevron-container:hover), .table-view .table-tbody tr:hover:has(.animated-chevron:hover) {
  background-color: transparent !important;
}

.table-view .table-table-borders-vertical td:last-child, .table-view .table-table-borders-vertical th:last-child {
  border-inline-end: none;
}

.table-view .table-table td > div:not(.table-resizer), .table-view .table-table th > div:not(.table-resizer), .table-view .table-table th > button, .table-view .table-table td > span, .table-view .table-table th > span {
  white-space: nowrap !important;
  text-overflow: clip !important;
  display: block;
  width: 100%;
}

.table-view .table-table td > div:not(.table-resizer), .table-view .table-table td > span {
  white-space: nowrap;
  text-overflow: clip;
  --edge-fade-start: 0px;
  --edge-fade-end: var(--size-edge-fade);
}

.table-view .table-table td > div:not(.table-resizer), .table-view .table-table td > span {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.table-view .table-table td > div:not(.table-resizer)::-webkit-scrollbar, .table-view .table-table td > span::-webkit-scrollbar {
  display: none !important;
}

.table-view .table-table td > div:not(.table-resizer)[data-overflowing-start='true'], .table-view .table-table td > span[data-overflowing-start='true'] {
  --edge-fade-start: var(--size-edge-fade);
}

.table-view .table-table td > div:not(.table-resizer)[data-overflowing-end='false'], .table-view .table-table td > span[data-overflowing-end='false'] {
  --edge-fade-end: 0px;
}

.table-view .table-table td > div:not(.table-resizer)[data-overflowing='true']:not([data-edge-fade-expanded='true']), .table-view .table-table td > span[data-overflowing='true']:not([data-edge-fade-expanded='true']) {
  mask-image: linear-gradient(to right, transparent, black var(--edge-fade-start), black calc(100% - var(--edge-fade-end)), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black var(--edge-fade-start), black calc(100% - var(--edge-fade-end)), transparent);
}

.table-view .table-table td > div:not(.table-resizer)[data-overflowing='true']:not([data-edge-fade-expanded='true']):dir(rtl), .table-view .table-table td > span[data-overflowing='true']:not([data-edge-fade-expanded='true']):dir(rtl) {
  mask-image: linear-gradient(to left, transparent, black var(--edge-fade-start), black calc(100% - var(--edge-fade-end)), transparent);
  -webkit-mask-image: linear-gradient(to left, transparent, black var(--edge-fade-start), black calc(100% - var(--edge-fade-end)), transparent);
}

.table-view .table-table td > div:not(.table-resizer)[data-edge-fade-expanded], .table-view .table-table td > span[data-edge-fade-expanded] {
  cursor: pointer;
}

.table-view .table-table td > div:not(.table-resizer)[data-edge-fade-expanded='true'], .table-view .table-table td > span[data-edge-fade-expanded='true'] {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  flex-wrap: wrap !important;
}

.table-view .table-table td > div:not(.table-resizer)[data-edge-fade-view='expand']:has(:focus-visible), .table-view .table-table td > span[data-edge-fade-view='expand']:has(:focus-visible), .table-view .table-table td > div:not(.table-resizer)[data-edge-fade-view='expand']:is(:focus-visible *), .table-view .table-table td > span[data-edge-fade-view='expand']:is(:focus-visible *) {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  flex-wrap: wrap !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}

.table-view .table-table td[data-fits-header='true'] > div:not(.table-resizer), .table-view .table-table td[data-fits-header='true'] > span {
  width: 0 !important;
  min-width: 100% !important;
}

.table-view .table-table th > div:not(.table-resizer), .table-view .table-table th > button, .table-view .table-table th > span {
  width: max-content !important;
  white-space: nowrap !important;
  text-overflow: clip !important;
  overflow: visible !important;
}

.table-view .table-thead {
  background-color: var(--background-color-neutral-subtle);
  border-block-end: var(--border-width-base) solid var(--border-color-subtle);
  height: 44px;
  min-height: 44px;
  max-height: 44px;
}

.table-view .table-tfoot {
  background-color: var(--background-color-neutral-subtle);
  border-block-start: var(--border-width-base) solid var(--border-color-subtle);
  font-weight: var(--font-weight-semi-bold);
}

.table-view .table-thead th, .table-view .table-tbody th {
  background-color: inherit;
  padding: var(--spacing-8);
  font-family: var(--typography-font-sans);
  font-size: var(--font-size-medium-16);
  font-weight: var(--font-weight-semi-bold);
  line-height: var(--line-height-small-22);
  color: var(--color-emphasized);
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  box-sizing: border-box;
  vertical-align: middle;
  overflow: visible;
  white-space: nowrap;
  min-width: max-content;
  text-align: start;
}

.table-view .table-tbody td, .table-view .table-tfoot td {
  background-color: inherit;
  padding: var(--spacing-8);
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  box-sizing: border-box;
  vertical-align: middle;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
  min-width: 0;
  text-align: start;
}

.table-view [data-align='center'] {
  text-align: center;
}

.table-view [data-align='end'], .table-view [data-align='number'] {
  text-align: end;
}

.table-view th, .table-view td {
  font-variant-numeric: tabular-nums;
}

.table-view .table-table-borders-vertical th, .table-view .table-table-borders-vertical td {
  border-inline-start: var(--border-width-base) solid var(--border-color-subtle);
}

.table-view .table-selection-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.table-view .table-selection-container input, .table-view .table-selection-container label, .table-view .table-selection-container button {
  cursor: pointer !important;
}

.table-view .table-resizer {
  position: absolute;
  top: var(--spacing-8);
  right: 0;
  bottom: var(--spacing-8);
  width: 1px;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: var(--spacing-16);
  padding-right: 0;
  box-sizing: content-box !important;
  cursor: col-resize;
  z-index: 10;
  user-select: none;
  background-color: var(--border-color-base);
  background-clip: content-box !important;
  transition: var(--transition-property-base) var(--transition-duration-base) var(--transition-timing-function-system);
}

.table-view .table-resizer:hover {
  background-color: var(--border-color-interactive-hover);
  opacity: 1;
}

.table-view .table-resizer .resizing {
  background-color: var(--border-color-interactive-active) !important;
  opacity: 1 !important;
}

.table-view .table-footer {
  padding: var(--spacing-12);
  margin-block-start: var(--spacing-8);
}

.table-view .table-sort-label {
  width: max-content !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  min-width: 0px;
  flex-grow: 1;
  flex-shrink: 1;
}

.table-view .table-sort-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--size-icon-small);
  height: var(--size-icon-small);
  font-size: var(--font-size-medium-16);
  flex-shrink: 0;
}

.table-view .table-sort-button {
  display: flex;
  align-items: center;
  flex-shrink: 1;
  height: 100%;
  gap: var(--spacing-8);
  width: max-content !important;
  padding: 0;
  background-color: var(--background-color-transparent);
  border: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: var(--color-base);
  text-align: inherit;
  text-transform: inherit;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap;
  cursor: var(--cursor-base-hover);
  min-width: 0;
  transition: var(--transition-property-base) var(--transition-duration-base) var(--transition-timing-function-system);
}

.table-view .table-header-label {
  width: max-content !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  display: block;
}

.table-view .table-selection-header {
  width: 44px;
  min-width: 44px;
  position: sticky;
  top: 0;
  z-index: var(--z-index-sticky) !important;
  background-color: var(--background-color-neutral-subtle) !important;
}

.table-view .table-column-header {
  position: sticky;
  top: 0;
  z-index: var(--z-index-sticky) !important;
  background-color: var(--background-color-neutral-subtle) !important;
}

.table-view .table-column-header:nth-last-child(2) .table-resizer {
  display: none;
}

.table-view .table-th-spacer {
  width: 16px;
  min-width: 16px;
  position: sticky;
  top: 0;
  z-index: var(--z-index-sticky) !important;
  background-color: var(--background-color-neutral-subtle) !important;
  border-right-width: 0px;
  padding: 0px;
}

.table-view.table-empty .table-tbody {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.table-view .table-tbody td.table-empty-state > .table-empty-state-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-8);
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin: auto;
}

.table-view .table-tbody td.table-empty-state {
  padding: var(--spacing-24);
  text-align: center;
  color: var(--color-subtle);
  font-family: var(--typography-font-sans);
  font-size: var(--font-size-medium-16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 100%;
  height: 128px;
  min-height: 128px;
  flex: 0 0 128px;
}

.table-view .table-empty-row {
  background-color: var(--background-color-base) !important;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.table-view .table-group-indent {
  display: inline-block;
  width: var(--spacing-24);
}

.table-view .table-cell-content {
  width: 100%;
  display: block;
}

body[data-table-resizing='true'] {
  cursor: col-resize;
}
