/* #ifdef harmony */
/* #endif */
/* #ifndef harmony */
/* #endif */
.nut-table {
  overflow: hidden;
  position: relative;
  word-wrap: break-word;
  word-break: break-all;
}
.nut-table-wrapper {
  display: flex;
  width: 100%;
  flex-direction: column;
  font-size: var(--nutui-font-text);
  color: var(--nutui-color-title);
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  border: scale-px(1px) solid var(--nutui-table-border-color, var(--nutui-color-border));
}
.nut-table-wrapper-sticky {
  overflow-x: auto;
}
.nut-table-main {
  /* #ifndef dynamic*/
  display: table;
  width: max-content;
  /* #endif */
  overflow-x: auto;
  color: var(--nutui-color-title);
  background-color: var(--nutui-color-surface-2);
  table-layout: fixed;
  min-width: 100%;
  position: relative;
}
.nut-table-main-striped .nut-table-main-head-tr {
  background-color: var(--nutui-table-tr-even-bg-color, var(--nutui-color-surface-1));
}
.nut-table-main-striped .nut-table-main-body-tr:nth-child(odd) {
  background-color: var(--nutui-table-tr-odd-bg-color, #ffffff);
}
.nut-table-main-striped .nut-table-main-body-tr:nth-child(even) {
  background-color: var(--nutui-table-tr-even-bg-color, var(--nutui-color-surface-1));
}
.nut-table-main-head, .nut-table-main-body {
  background: inherit;
}
.nut-table-main-head-tr, .nut-table-main-body-tr {
  /* #ifndef dynamic*/
  display: table-row;
  /* #endif */
  background: inherit;
}
.nut-table-main-head-tr:last-child .nut-table-main-body-tr-td, .nut-table-main-body-tr:last-child .nut-table-main-body-tr-td {
  border-bottom: none;
}
.nut-table-main-head-tr-th, .nut-table-main-body-tr-th {
  /* #ifndef dynamic*/
  display: table-cell;
  /* #endif */
  padding: var(--nutui-table-cols-padding, 10px);
  table-layout: fixed;
  background: inherit;
  position: sticky;
  top: 0;
}
.nut-table-main-head-tr-th.nut-table-fixed-left, .nut-table-main-head-tr-th.nut-table-fixed-right, .nut-table-main-body-tr-th.nut-table-fixed-left, .nut-table-main-body-tr-th.nut-table-fixed-right {
  z-index: 4;
}
.nut-table-main-head-tr-th:last-child, .nut-table-main-body-tr-th:last-child {
  border-right: none;
}
.nut-table-main-head-tr-td, .nut-table-main-body-tr-td {
  /* #ifndef dynamic*/
  display: table-cell;
  /* #endif */
  padding: var(--nutui-table-cols-padding, 10px);
  table-layout: fixed;
  background: inherit;
}
.nut-table-main-head-tr-td:last-child, .nut-table-main-body-tr-td:last-child {
  border-right: none;
}
.nut-table-main-head-tr-td-nodata, .nut-table-main-body-tr-td-nodata {
  display: flex;
  height: scale-px(50px);
  align-items: center;
  justify-content: center;
}
.nut-table-main-head-tr-border, .nut-table-main-body-tr-border {
  border-right: scale-px(1px) solid var(--nutui-table-border-color, var(--nutui-color-border));
  border-bottom: scale-px(1px) solid var(--nutui-table-border-color, var(--nutui-color-border));
}
.nut-table-main-head-tr-alignleft, .nut-table-main-head-tr-align, .nut-table-main-body-tr-alignleft, .nut-table-main-body-tr-align {
  text-align: start;
}
.nut-table-main-head-tr-aligncenter, .nut-table-main-body-tr-aligncenter {
  text-align: center;
}
.nut-table-main-head-tr-alignright, .nut-table-main-body-tr-alignright {
  text-align: end;
}
.nut-table-main-head {
  /* #ifndef dynamic*/
  display: table-header-group;
  /* #endif */
}
.nut-table-main-body {
  /* #ifndef dynamic*/
  display: table-row-group;
  /* #endif */
}
.nut-table-sticky-left, .nut-table-sticky-right {
  position: absolute;
  top: 0;
  width: scale-px(8px);
  bottom: scale-px(-1px);
  overflow-x: hidden;
  overflow-y: hidden;
  box-shadow: none;
  touch-action: none;
  pointer-events: none;
  z-index: 3;
  background: transparent;
}
.nut-table-sticky-left {
  left: scale-px(1px);
  box-shadow: var(--nutui-table-sticky-left-shadow, 4px 0 8px 0 rgba(0, 0, 0, 0.1));
}
.nut-table-sticky-right {
  right: scale-px(1px);
  box-shadow: var(--nutui-table-sticky-right-shadow, -4px 0 8px 0 rgba(0, 0, 0, 0.1));
}
.nut-table-fixed-left, .nut-table-fixed-right {
  position: sticky;
  z-index: 2;
}
.nut-table-fixed-left.h5-div, .nut-table-fixed-right.h5-div {
  padding: var(--nutui-table-cols-padding, 10px) 0;
}
.nut-table-fixed-left-last {
  border-right: none;
}
.nut-table-summary {
  color: var(--nutui-color-title);
  background-color: var(--nutui-color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  height: scale-px(30px);
  padding: var(--nutui-table-cols-padding, 10px);
  position: relative;
  z-index: 5;
}

[dir=rtl] .nut-table-main-head-tr-th:last-child, [dir=rtl] .nut-table-main-body-tr-th:last-child,
.nut-rtl .nut-table-main-head-tr-th:last-child,
.nut-rtl .nut-table-main-body-tr-th:last-child {
  border-right: none;
  border-left: none;
}
[dir=rtl] .nut-table-main-head-tr-td:last-child, [dir=rtl] .nut-table-main-body-tr-td:last-child,
.nut-rtl .nut-table-main-head-tr-td:last-child,
.nut-rtl .nut-table-main-body-tr-td:last-child {
  border-right: none;
  border-left: none;
}
[dir=rtl] .nut-table-main-head-tr-border, [dir=rtl] .nut-table-main-body-tr-border,
.nut-rtl .nut-table-main-head-tr-border,
.nut-rtl .nut-table-main-body-tr-border {
  border-right: none;
  border-left: scale-px(1px) solid var(--nutui-table-border-color, var(--nutui-color-border));
}
[dir=rtl] .nut-table-main-head-tr-alignleft, [dir=rtl] .nut-table-main-head-tr-align, [dir=rtl] .nut-table-main-body-tr-alignleft, [dir=rtl] .nut-table-main-body-tr-align,
.nut-rtl .nut-table-main-head-tr-alignleft,
.nut-rtl .nut-table-main-head-tr-align,
.nut-rtl .nut-table-main-body-tr-alignleft,
.nut-rtl .nut-table-main-body-tr-align {
  text-align: right;
}
[dir=rtl] .nut-table-main-head-tr-alignright, [dir=rtl] .nut-table-main-body-tr-alignright,
.nut-rtl .nut-table-main-head-tr-alignright,
.nut-rtl .nut-table-main-body-tr-alignright {
  text-align: left;
}
[dir=rtl] .nut-table-sticky-left,
.nut-rtl .nut-table-sticky-left {
  left: auto;
  right: scale-px(1px);
  box-shadow: var(--nutui-table-sticky-right-shadow, -4px 0 8px 0 rgba(0, 0, 0, 0.1));
}
[dir=rtl] .nut-table-sticky-right,
.nut-rtl .nut-table-sticky-right {
  right: auto;
  left: scale-px(1px);
  box-shadow: var(--nutui-table-sticky-left-shadow, 4px 0 8px 0 rgba(0, 0, 0, 0.1));
}
[dir=rtl] .nut-table-fixed-left-last,
.nut-rtl .nut-table-fixed-left-last {
  border-right: none;
  border-left: none;
}