.calcPageTemplate {
  position: relative;
  padding: 16px;
  background: #ffffff;
  border-radius: 4px;

  .toolBar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    .filter {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;

      .filterItem {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
      }
    }

    .btnGroup {
      & > span {
        cursor: pointer;
        display: inline-block;
        color: #17181a;
        line-height: 24px;
        padding: 0 14px;
        border-radius: 4px;
        border: 1px solid #dae2f2;
        background: #fafcff;
        margin-right: 8px;
        font-weight: 400;
        font-size: 14px;
        color: #17181a;
      }

      .calc,
      .reportDataBtn,
      .export {
        cursor: pointer;
        display: inline-block;
        font-size: 14px;
        font-family: SourceHanSansCN-Normal, SourceHanSansCN;
        font-weight: 400;
        color: #ffffff;
        line-height: 24px;
        padding: 0 14px;
        background: #3377ff;
        margin-left: 8px;
        border-radius: 4px;
      }
    }
  }

  .KCIMTable {
    .hover-row {
      .hover-icon {
        visibility: hidden;
      }

      &:hover {
        .hover-icon {
          visibility: visible;
        }
      }
    }

    // 删除空规则，避免linter提示

    .cost-ant-table-body {
      .cost-ant-table-row {
        &.has-children {
          .cost-ant-table-cell-with-append {
            font-weight: bold;
          }
        }

        &.report-font-color-row {
          > td,
          > td.cost-ant-table-cell-fix-left,
          > td.cost-ant-table-cell-fix-right,
          > td.cost-ant-table-cell-fix-left-last,
          > td.cost-ant-table-cell-fix-right-first {
            color: var(--report-font-color, #17181a) !important;

            * {
              color: var(--report-font-color, #17181a) !important;
            }
          }
        }
      }
    }
  }
}

// 总计行样式：字体颜色与普通行一致对齐，颜色 #296DCC
.total-summary-row {
  td {
    color: #296dcc !important;
    font-weight: 600;
  }
}
