/* 企业账号页：表格拉满内容区，列按设定比例摊匀。只作用于 .enter-compact。 */
.enter-compact {
  width: 100%;
  max-width: none;
  font-size: 12px;
}
.enter-compact > .el-form,
.enter-compact > .el-row,
.enter-compact .el-table {
  width: 100%;
}
.enter-compact .el-form-item {
  margin-bottom: 8px;
}
.enter-compact .el-form-item__label {
  font-size: 12px;
}
.enter-compact .mb8 {
  margin-bottom: 6px;
}

/* Element 把每列都写成固定 px 后，fit 没有弹性列可摊，表会缩在左边。
   用 100% + fixed 把那些 px 当成比例，整表铺满，分页也和表右对齐。 */
.enter-compact .el-table,
.enter-compact .el-table__inner-wrapper,
.enter-compact .el-table__header-wrapper,
.enter-compact .el-table__body-wrapper,
.enter-compact .el-table__footer-wrapper {
  width: 100% !important;
}
.enter-compact .el-table__header-wrapper table,
.enter-compact .el-table__body-wrapper table,
.enter-compact .el-table__footer-wrapper table {
  width: 100% !important;
  table-layout: fixed;
}

.enter-compact .el-table {
  font-size: 12px;
}
.enter-compact .el-table th.el-table__cell,
.enter-compact .el-table td.el-table__cell {
  padding: 4px 0;
}
.enter-compact .el-table .cell {
  padding: 2px 6px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.enter-compact .el-table th .cell {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.enter-compact .el-table .el-tag {
  height: 20px;
  padding: 0 6px;
  line-height: 18px;
  font-size: 12px;
}
.enter-compact .el-table .el-button {
  --el-button-size: 22px;
  padding: 0 4px;
  min-height: 20px;
  height: auto;
  font-size: 12px;
  margin: 0;
}
.enter-compact .el-table .el-button + .el-button {
  margin-left: 2px;
}

/* 操作列按按钮占位钉死，不参与拉满后的比例拉伸，避免左右大块空白。 */
.enter-compact .el-table th.enter-ops,
.enter-compact .el-table td.enter-ops {
  width: 208px !important;
  min-width: 208px !important;
  max-width: 208px !important;
}
.enter-compact .el-table th.enter-ops .cell,
.enter-compact .el-table td.enter-ops .cell,
.enter-compact .el-table td.small-padding.enter-ops .cell {
  display: flex;
  flex-wrap: nowrap;
  gap: 0 2px;
  justify-content: flex-start;
  align-items: center;
  overflow: visible;
  padding: 2px 4px;
  white-space: nowrap;
}
.enter-compact .el-table td.enter-ops .el-button {
  padding: 0 2px;
  margin-left: 0 !important;
}
.enter-compact .el-table .el-link {
  font-size: 12px;
}
.enter-compact .el-pagination {
  width: 100%;
  margin-top: 8px;
  padding: 0;
  box-sizing: border-box;
}
