/* 财神 iOS C2 V2 · 分销员列表单元格适配（部署时追加）
   要点：
   1) 不动行高（vxe 固定列是独立 table，行高 auto 会导致左/右列错位），
      改成把单元格内容压缩到既有行高之内 —— 这样永远不会溢出。
   2) 权限标签用的是 class="perm-tag"（角色标签 role-tag），直接命中它，
      比去猜 UI 库的 .ant-tag / .arco-tag 稳。
   3) 文本一律允许换行，不裁切（overflow:visible + white-space:normal）。 */

/* ---- 单元格：允许换行、不被裁切 ---- */
.vxe-table .vxe-body--row .vxe-body--column .vxe-cell,
.vxe-table .vxe-body--row .vxe-body--column .vxe-cell--wrapper {
  white-space: normal !important;
  word-break: break-word;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.45;
  font-size: 13px;
}

.vxe-table .vxe-body--row .vxe-body--column {
  padding-top: 6px;
  padding-bottom: 6px;
}

/* ---- 敏感权限 / 角色 标签：压到 20px 高，两行刚好落在行高内 ---- */
.vxe-table .vxe-cell .perm-tag,
.vxe-table .vxe-cell .role-tag {
  display: inline-flex !important;
  align-items: center;
  height: 20px !important;
  min-height: 20px !important;
  line-height: 18px !important;
  font-size: 12px !important;
  padding: 0 5px !important;
  margin: 0 3px 2px 0 !important;
  border-radius: 4px !important;
  vertical-align: middle;
}

/* 标签里的图标也跟着缩，别把标签顶高 */
.vxe-table .vxe-cell .perm-tag svg,
.vxe-table .vxe-cell .perm-tag .anticon,
.vxe-table .vxe-cell .perm-tag .arco-icon {
  width: 11px !important;
  height: 11px !important;
  font-size: 11px !important;
}

/* 标签容器（a-space）行距收紧 */
.vxe-table .vxe-cell .ant-space,
.vxe-table .vxe-cell .arco-space {
  gap: 3px !important;
  row-gap: 2px !important;
  flex-wrap: wrap;
}

.vxe-table .vxe-cell .ant-space-item,
.vxe-table .vxe-cell .arco-space-item {
  line-height: 1;
}

/* ---- 灰提示文字提亮（最近落地页域名占位） ---- */
.vxe-table .vxe-body--row .vxe-body--column .vxe-cell .text-muted,
.vxe-table .vxe-body--row .vxe-body--column .vxe-cell .text-secondary {
  color: #8a8f99 !important;
  opacity: 1 !important;
  font-size: 12px;
}

/* 表头保持单行、不折行 */
.vxe-table .vxe-header--column .vxe-cell {
  white-space: nowrap;
  font-size: 13px;
}
