/* 战略管理、PDCA 等业务板块的组织架构树统一字体口径。 */
.wfmis-org-tree,
.wfmis-org-tree .el-tree-node__label,
.wfmis-org-tree .el-tree-node__content {
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: #303133;
}

.wfmis-org-tree .el-tree-node__content {
  min-height: 26px;
  line-height: 26px;
}

.wfmis-org-panel {
  box-sizing: border-box;
  width: 230px;
  flex: 0 0 230px;
  height: 100%;
  min-height: 0;
  padding: 15px;
  overflow-y: auto;
  background: #fff;
  border-right: 1px solid #ebeef5;
}

.wfmis-org-panel h4 {
  margin: 0 0 12px;
}

.wfmis-org-panel__search {
  margin-bottom: 10px;
}

/*
 * 组织树首帧就保留稳定内容区域。此前数据为空时整个 el-tree 不挂载，
 * 接口/会话缓存返回后再插入节点，会让搜索框下方和页脚发生一次重排，
 * 即使请求很快也会肉眼看到“闪一下”。
 */
.wfmis-org-panel > .wfmis-org-tree {
  min-height: 156px;
}

/* 与月度计划完全相同的左右页面骨架，供年度计划四页复用。 */
.monthly-kpi-page {
  display: flex;
  height: calc(100vh - 120px);
  min-height: 0;
  overflow: hidden;
}

.content-pane {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 16px;
  overflow-y: auto;
}

.view-switch {
  width: 100%;
}

.view-switch .el-radio-button,
.view-switch .el-radio-button__inner {
  width: 100%;
}

.view-switch .el-radio-button {
  width: 50%;
}

/* 首次定位任职部门时直接呈现最终层级，不播放逐层高度动画。 */
.wfmis-org-tree--instant .collapse-transition,
.wfmis-org-tree--instant .el-collapse-transition-enter-active,
.wfmis-org-tree--instant .el-collapse-transition-leave-active,
.wfmis-org-tree--instant .el-tree-node__children {
  transition: none !important;
}
