/* 隔离作业模块下各列表：隔行 #f0f0f0（Ant Design Table 需覆盖 td） */
.isolation-work-list-table .ant-table-tbody > tr.isolation-work-list-row-alt > td {
  background-color: #f0f0f0 !important;
}
.isolation-work-list-table .ant-table-tbody > tr.isolation-work-list-row-alt:hover > td {
  background-color: #e8e8e8 !important;
}

/* 列表表格：统一更紧凑的间距（钥匙管理等使用） */
.isolation-work-list-table .ant-table {
  font-size: 14px;
}

.isolation-work-list-table .ant-table-thead > tr > th {
  padding: 10px 12px !important;
  line-height: 1.25 !important;
  vertical-align: middle !important;
}

.isolation-work-list-table .ant-table-tbody > tr > td {
  padding: 10px 12px !important;
  line-height: 1.25 !important;
  vertical-align: middle !important;
}

/* 选择框列和操作列更居中一些 */
.isolation-work-list-table .ant-table-selection-column,
.isolation-work-list-table .ant-table-selection-column .ant-checkbox-wrapper,
.isolation-work-list-table .ant-table-cell-fix-right {
  vertical-align: middle !important;
}

/* 系统管理：shadcn Table 隔行（背景需落在 td 上） */
.system-mgmt-shadcn-table [data-slot="table-body"] > [data-slot="table-row"].system-mgmt-row-alt > [data-slot="table-cell"] {
  background-color: #f0f0f0 !important;
}
.system-mgmt-shadcn-table [data-slot="table-body"] > [data-slot="table-row"].system-mgmt-row-alt:hover > [data-slot="table-cell"] {
  background-color: #e8e8e8 !important;
}
.system-mgmt-shadcn-table [data-slot="table-body"] > [data-slot="table-row"]:not(.system-mgmt-row-alt) > [data-slot="table-cell"] {
  background-color: #ffffff !important;
}
.system-mgmt-shadcn-table [data-slot="table-body"] > [data-slot="table-row"]:not(.system-mgmt-row-alt):hover > [data-slot="table-cell"] {
  background-color: #f9fafb !important;
}

/* 物资类型树表：展开/占位图标与「物资类型名称」文案留出间距（勿改 td 为 flex，避免破坏表格布局） */
.material-type-tree-table .ant-table-row-expand-icon,
.material-type-tree-table .ant-table-row-expand-icon-spaced {
  margin-inline-end: 12px;
}
