/* 恒链BI V244：利润分析商品表格字体/垂直对齐/固定表头下边线
   参照旧BI：el-table--mini 主体字体 12px；表头 12px。
   仅调整展示，不修改任何财务计算、API 或数据。 */

/* 1) 表格整体字体按旧BI统一为 12px */
#hl-profit-v189 .profit-table{
  font-size:12px!important;
}

#hl-profit-v189 .profit-table th{
  font-size:12px!important;
  line-height:18px!important;
  vertical-align:middle!important;
}

#hl-profit-v189 .profit-table td{
  font-size:12px!important;
  line-height:16px!important;
  vertical-align:middle!important;
}

/* 2) 正文所有栏目上下居中 */
#hl-profit-v189 .product-cell,
#hl-profit-v189 .hl-profit-store-cell,
#hl-profit-v189 .store-cell,
#hl-profit-v189 .hl-profit-status-cell,
#hl-profit-v189 .status-cell,
#hl-profit-v189 .hl-profit-detail-cell,
#hl-profit-v189 .detail-cell{
  vertical-align:middle!important;
}

/* 商品信息整块在单元格内垂直居中；文字大小跟旧BI 12px 口径 */
#hl-profit-v189 .product-box{
  align-items:center!important;
}
#hl-profit-v189 .product-title{
  font-size:12px!important;
  line-height:16px!important;
}
#hl-profit-v189 .product-box small,
#hl-profit-v189 .product-box p{
  font-size:12px!important;
  line-height:16px!important;
}
#hl-profit-v189 .copy{
  font-size:10px!important;
}
#hl-profit-v189 .hl-profit-store-cell,
#hl-profit-v189 .store-cell,
#hl-profit-v189 .hl-profit-status-cell,
#hl-profit-v189 .status-cell{
  font-size:12px!important;
}
#hl-profit-v189 .status{
  font-size:12px!important;
  line-height:18px!important;
}

/* 销售/利润/平台费用等明细：整组随 td 垂直居中，单行本身也居中 */
#hl-profit-v189 .hl-profit-detail-cell>div,
#hl-profit-v189 .detail-cell>div{
  align-items:center!important;
  min-height:16px!important;
  line-height:16px!important;
  font-size:12px!important;
}
#hl-profit-v189 .hl-profit-detail-cell>div span,
#hl-profit-v189 .detail-cell>div span,
#hl-profit-v189 .hl-profit-detail-cell>div b,
#hl-profit-v189 .detail-cell>div b{
  font-size:12px!important;
  line-height:16px!important;
}

/* 问号仍保持小图标，不随正文放大到 12px */
#hl-profit-v189 .hl-profit-detail-cell .hl-profit-help-mark-v189,
#hl-profit-v189 .detail-cell .hl-profit-help-mark-v189{
  width:12px!important;
  height:12px!important;
  min-width:12px!important;
  font-size:8px!important;
  line-height:10px!important;
}

/* 3) V244：固定表头下方保留“一条真正可见的 1px 细线”。
   sticky + border-collapse 场景下，border-bottom 会在滚动固定后被表格绘制层吞掉。
   因此不再用 border，也不叠加 ::after，只用一层 inset 1px shadow。
   视觉仍然只有 1px，但固定状态下不会消失。 */
#hl-profit-v189 .profit-table thead.hl-profit-real-thead-v239 th{
  border-bottom:0!important;
  box-shadow:inset 0 -1px 0 #dfe5ec!important;
  background:#fff!important;
  background-clip:padding-box!important;
}
#hl-profit-v189 .profit-table thead.hl-profit-real-thead-v239 th::after{
  display:none!important;
  content:none!important;
}
