/* 恒链BI V246：利润分析按用户提供的旧BI源码统一视觉。
   仅调整利润分析视觉/交互与按店铺汇总展示，不回退已确认的财务计算口径。 */

#hl-profit-v189{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",Arial,sans-serif!important;
  font-size:12px!important;
  color:#606266!important;
}

/* ---------- 页面标题 / 提示 ---------- */
#hl-profit-v189 .hl-profit-head{
  height:42px!important;
  padding:0 15px!important;
  background:#fff!important;
  border:0!important;
  border-bottom:1px solid #eee!important;
}
#hl-profit-v189 .hl-profit-head>div{gap:6px!important}
#hl-profit-v189 .hl-profit-head b{font-size:16px!important;font-weight:700!important;color:#222!important}
#hl-profit-v189 .hl-profit-head em{font-size:12px!important;color:#ff4d4f!important;font-weight:400!important}
#hl-profit-v189 .hl-profit-warning{
  height:30px!important;margin:0 0 15px!important;padding:0 15px!important;
  font-size:12px!important;color:#f56c6c!important;background:#fef0f0!important;border:1px solid #fde2e2!important;
}

/* ---------- KPI：严格按旧BI flow-tab 比例 ---------- */
#hl-profit-v189 .hl-profit-kpis{
  display:flex!important;justify-content:space-between!important;gap:0!important;
  margin:0!important;background:transparent!important;
}
#hl-profit-v189 .hl-profit-kpi{
  position:relative!important;display:flex!important;flex-direction:column!important;
  width:calc(33.33% - 10px)!important;min-width:240px!important;height:80px!important;
  margin:0 0 15px!important;padding:10px 15px!important;
  border-radius:10px!important;color:#fff!important;box-shadow:none!important;box-sizing:border-box!important;
}
#hl-profit-v189 .hl-profit-kpi.purple{background:linear-gradient(90deg,#5a6df9,#bb7bfc)!important}
#hl-profit-v189 .hl-profit-kpi.blue{background:linear-gradient(90deg,#369ff2,#6b82f2)!important}
#hl-profit-v189 .hl-profit-kpi.orange{background:linear-gradient(90deg,#eb596a,#e78201)!important}
#hl-profit-v189 .hl-profit-kpi .wave{opacity:.14!important}
#hl-profit-v189 .kpi-title{
  position:relative!important;display:flex!important;align-items:center!important;
  margin:0 -10px!important;padding:5px 10px!important;font-size:18px!important;line-height:22px!important;font-weight:400!important;
}
#hl-profit-v189 .hl-profit-kpi strong{
  position:static!important;margin-top:0!important;font-size:30px!important;line-height:31px!important;font-weight:400!important;color:#fff!important;
}
#hl-profit-v189 .hl-profit-kpi small{
  position:absolute!important;right:15px!important;bottom:10px!important;
  font-size:13px!important;line-height:18px!important;color:#fff!important;
}
#hl-profit-v189 .hl-profit-kpi .kpi-prev{font-size:18px!important;line-height:18px!important;color:#fff!important}
#hl-profit-v189 .kpi-change{
  position:absolute!important;right:10px!important;top:10px!important;
  padding:3px 15px!important;border-radius:12px!important;background:#fff!important;
  font-size:12px!important;line-height:16px!important;font-weight:500!important;box-shadow:0 0 10px rgba(0,0,0,.3)!important;
}
#hl-profit-v189 .kpi-change.up{color:#f56c6c!important}
#hl-profit-v189 .kpi-change.down{color:#39bc45!important}
#hl-profit-v189 .hl-profit-kpis .hl-profit-help-mark-v189{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:16px!important;height:16px!important;min-width:16px!important;flex:0 0 16px!important;margin-left:4px!important;
  border:1px solid #fff!important;border-radius:50%!important;background:transparent!important;color:#fff!important;
  font-size:10px!important;line-height:14px!important;font-weight:400!important;cursor:default!important;
}
#hl-profit-v189 .hl-profit-kpis .hl-profit-help-mark-v189:hover,
#hl-profit-v189 .hl-profit-kpis .hl-profit-help-mark-v189:focus{
  background:#fff!important;color:#59616c!important;border-color:#fff!important;outline:0!important;
}

/* ---------- 按指标 / 按店铺 ---------- */
#hl-profit-v189 .hl-profit-viewtabs{
  height:32px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
  padding:0!important;margin:0!important;background:#fff!important;border-bottom:0!important;
}
#hl-profit-v189 .hl-profit-viewtabs-left{display:flex!important;align-items:center!important}
#hl-profit-v189 .hl-profit-viewtabs button{
  width:auto!important;min-width:60px!important;height:28px!important;padding:0 13px!important;
  border:1px solid #dcdfe6!important;border-radius:0!important;background:#fff!important;color:#606266!important;
  font-size:12px!important;line-height:26px!important;font-weight:400!important;cursor:pointer!important;
}
#hl-profit-v189 .hl-profit-viewtabs-left button:first-child{border-radius:4px 0 0 4px!important}
#hl-profit-v189 .hl-profit-viewtabs-left button:last-child{border-left:0!important;border-radius:0 4px 4px 0!important}
#hl-profit-v189 .hl-profit-viewtabs button.active{background:#409eff!important;border-color:#409eff!important;color:#fff!important}
#hl-profit-v189 .hl-profit-store-export-v246{
  min-width:84px!important;margin-right:0!important;border-radius:4px!important;color:#606266!important;background:#fff!important;
}

/* ---------- 指标条：旧BI flow-data ---------- */
#hl-profit-v189 .hl-profit-metricstrip{
  display:flex!important;min-height:80px!important;height:80px!important;background:#fff!important;border-bottom:1px solid #0091ff!important;
}
#hl-profit-v189 .hl-profit-metricstrip article{
  position:relative!important;display:flex!important;flex-direction:column!important;justify-content:space-around!important;
  flex:1 1 200px!important;height:80px!important;min-height:80px!important;padding:10px!important;
  border-right:0!important;color:#666!important;background:#fff!important;cursor:pointer!important;
}
#hl-profit-v189 .hl-profit-metricstrip article:hover{background:#e5f4ff!important;color:#0091ff!important}
#hl-profit-v189 .hl-profit-metricstrip article.hl-profit-metric-static{cursor:default!important}
#hl-profit-v189 .hl-profit-metricstrip article.hl-profit-metric-static:hover{background:#fff!important;color:#666!important}
#hl-profit-v189 .hl-profit-metricstrip article .name,
#hl-profit-v189 .hl-profit-metricstrip article>div{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  padding-bottom:10px!important;font-size:18px!important;line-height:20px!important;font-weight:500!important;color:#666!important;
}
#hl-profit-v189 .hl-profit-metricstrip article .name b{font-size:18px!important;font-weight:500!important;color:inherit!important}
#hl-profit-v189 .hl-profit-metricstrip article.hl-profit-metric-static .name b{white-space:nowrap!important}
#hl-profit-v189 .hl-profit-metricstrip article>strong{
  display:block!important;margin:0!important;font-size:20px!important;line-height:22px!important;font-weight:400!important;color:#333!important;
}
#hl-profit-v189 .hl-profit-metricstrip article.active{background:#0091ff!important;color:#fff!important}
#hl-profit-v189 .hl-profit-metricstrip article.active .name,
#hl-profit-v189 .hl-profit-metricstrip article.active .name b,
#hl-profit-v189 .hl-profit-metricstrip article.active>strong{color:#fff!important}
#hl-profit-v189 .hl-profit-metricstrip .mini{
  position:absolute!important;right:12px!important;top:10px!important;height:28px!important;
  padding:5px 12px!important;border:1px solid #b3d8ff!important;border-radius:4px!important;
  background:#ecf5ff!important;color:#409eff!important;font-size:12px!important;line-height:16px!important;cursor:pointer!important;
}
#hl-profit-v189 .hl-profit-metricstrip .mini:hover{background:#409eff!important;border-color:#409eff!important;color:#fff!important}
#hl-profit-v189 .hl-profit-metricstrip .mini.reset{background:#fff!important;color:#606266!important;border-color:#dcdfe6!important}
#hl-profit-v189 .hl-profit-metricstrip .mini.reset:hover{color:#409eff!important;border-color:#c6e2ff!important;background:#ecf5ff!important}

/* 指标区问号：旧BI浅灰问号，active 时白色 */
#hl-profit-v189 .hl-profit-metricstrip .hl-profit-help-mark-v189{
  width:16px!important;height:16px!important;min-width:16px!important;flex-basis:16px!important;
  border:0!important;background:transparent!important;color:#c0c4cc!important;font-size:16px!important;line-height:16px!important;font-weight:400!important;cursor:default!important;
}
#hl-profit-v189 .hl-profit-metricstrip article.active .hl-profit-help-mark-v189{color:#fff!important}

/* ---------- 摘要 + 曲线：旧BI flow-detail-wrap ---------- */
#hl-profit-v189 .hl-profit-middle{
  display:flex!important;grid-template-columns:none!important;min-height:350px!important;
  padding:7.5px!important;margin:0 0 14px!important;border:1px solid #0091ff!important;border-top:1px solid #0091ff!important;
  background:#f5f7f9!important;
}
#hl-profit-v189 .hl-profit-middle>section{
  flex:0 1 50%!important;min-width:0!important;min-height:320px!important;margin:7.5px!important;padding:0!important;background:#fff!important;border:0!important;
}
#hl-profit-v189 .hl-profit-middle h3{
  margin:10px 0 15px!important;padding:0 0 0 7px!important;border-left:3px solid #0091ff!important;
  color:#222!important;font-size:14px!important;line-height:18px!important;font-weight:600!important;
}
#hl-profit-v189 .summary-scroll{height:260px!important;overflow:hidden!important;border:0!important}
#hl-profit-v189 .hl-profit-summary table{
  width:calc(100% - 20px)!important;margin:10px!important;border:1px solid #eee!important;border-collapse:collapse!important;font-size:12px!important;color:#606266!important;
}
#hl-profit-v189 .hl-profit-summary th,
#hl-profit-v189 .hl-profit-summary td{
  height:auto!important;min-height:38px!important;padding:3px 5px!important;border:1px solid #eee!important;text-align:right!important;background:#fff!important;font-size:12px!important;line-height:20px!important;font-weight:400!important;
}
#hl-profit-v189 .hl-profit-summary th{background:#f5f7fa!important;color:#606266!important}
#hl-profit-v189 .hl-profit-summary th:first-child,
#hl-profit-v189 .hl-profit-summary td:first-child{width:18%!important;text-align:left!important;background:#f5f7fa!important;color:#606266!important}
#hl-profit-v189 .dot,.chart-legend i,.chart-pop i{width:15px!important;height:8px!important;margin-right:5px!important}
#hl-profit-v189 .dot.cur,.chart-legend i.cur,.chart-pop i.cur{background:#0091ff!important}
#hl-profit-v189 .dot.prev,.chart-legend i.prev,.chart-pop i.prev{background:#f59a23!important}
#hl-profit-v189 .expand-mark{height:24px!important;line-height:24px!important;margin:0!important;color:#0091ff!important;font-size:12px!important}
#hl-profit-v189 .summary-expanded{min-height:510px!important}
#hl-profit-v189 .summary-expanded .summary-scroll{height:auto!important;overflow:visible!important}

#hl-profit-v189 .chart-legend{
  display:flex!important;align-items:center!important;gap:18px!important;height:28px!important;padding:0 0 0 5px!important;color:#606266!important;font-size:12px!important;
}
#hl-profit-v189 .chart-wrap{height:260px!important;position:relative!important;overflow:hidden!important;background:#fff!important}
#hl-profit-v189 .chart-wrap svg{width:100%!important;height:100%!important;display:block!important}
#hl-profit-v189 .chart-wrap .grid line{stroke:#ebeef5!important;stroke-width:1!important;vector-effect:non-scaling-stroke!important}
#hl-profit-v189 .chart-wrap .axis text{fill:#909399!important;font-size:10px!important}
#hl-profit-v189 .cur-area-v246{fill:url(#hlProfitAreaV246)!important;stroke:none!important}
#hl-profit-v189 .cur-line{fill:none!important;stroke:#0091ff!important;stroke-width:2!important;vector-effect:non-scaling-stroke!important}
#hl-profit-v189 .prev-line{fill:none!important;stroke:#f59a23!important;stroke-width:2!important;stroke-dasharray:2 4!important;stroke-linecap:round!important;vector-effect:non-scaling-stroke!important}
#hl-profit-v189 .cur-dot{fill:#fff!important;stroke:#0091ff!important;stroke-width:2!important;vector-effect:non-scaling-stroke!important}
#hl-profit-v189 .prev-dot{fill:#fff!important;stroke:#f59a23!important;stroke-width:1.6!important;vector-effect:non-scaling-stroke!important}
#hl-profit-v189 .chart-cross{top:40px!important;bottom:10px!important;border-left:1px dashed #c0c4cc!important}
#hl-profit-v189 .chart-pop{
  width:215px!important;top:70px!important;padding:10px 15px!important;border:0!important;border-radius:10px!important;background:#fff!important;
  color:#333!important;box-shadow:1px 2px 5px rgba(0,0,0,.4)!important;font-size:12px!important;line-height:24px!important;
}
#hl-profit-v189 .chart-pop b{font-size:15px!important;line-height:30px!important;margin:0!important;color:#333!important}
#hl-profit-v189 .chart-pop span{display:block!important;line-height:24px!important;color:#333!important}
#hl-profit-v189 .chart-pop em{font-style:normal!important;color:#999!important}
#hl-profit-v189 .chart-empty{height:260px!important;color:#909399!important}

/* ---------- 商品销售明细 / 工具栏：旧BI尺寸 ---------- */
#hl-profit-v189 .hl-profit-products{padding:10px 10px 0!important;background:#fff!important}
#hl-profit-v189 .hl-profit-products h2{margin:0 0 8px!important;font-size:15px!important;line-height:22px!important;font-weight:500!important;color:#222!important}
#hl-profit-v189 .product-toolbar{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  min-height:32px!important;margin:0 0 5px!important;padding:0!important;background:#fff!important;
}
#hl-profit-v189 .group-tabs{display:flex!important;margin-right:14px!important}
#hl-profit-v189 .group-tabs button{
  width:94px!important;min-width:94px!important;height:28px!important;padding:0!important;border:1px solid #dcdfe6!important;
  background:#fff!important;color:#606266!important;font-size:12px!important;line-height:26px!important;font-weight:400!important;
}
#hl-profit-v189 .group-tabs button:first-child{border-radius:4px 0 0 4px!important}
#hl-profit-v189 .group-tabs button:last-child{border-left:0!important;border-radius:0 4px 4px 0!important}
#hl-profit-v189 .group-tabs button.active{background:#409eff!important;color:#fff!important;border-color:#409eff!important}
#hl-profit-v189 .product-toolbar .search{display:flex!important;align-items:center!important;gap:0!important}
#hl-profit-v189 .product-toolbar select,
#hl-profit-v189 .product-toolbar input,
#hl-profit-v189 .product-toolbar .search button{
  height:28px!important;border:1px solid #dcdfe6!important;background:#fff!important;color:#606266!important;font-size:12px!important;line-height:26px!important;
}
#hl-profit-v189 .product-toolbar select{width:100px!important;padding:0 9px!important;border-radius:4px 0 0 4px!important}
#hl-profit-v189 .product-toolbar input{width:200px!important;margin-left:-1px!important;padding:0 10px!important;border-radius:0!important;outline:0!important}
#hl-profit-v189 .product-toolbar .search button[data-act="search"]{margin-left:-1px!important;padding:0 16px!important;border-radius:0 4px 4px 0!important;background:#409eff!important;border-color:#409eff!important;color:#fff!important}
#hl-profit-v189 .product-toolbar .search button.secondary{margin-left:8px!important;padding:0 12px!important;border-radius:4px!important;background:#fff!important;color:#606266!important;border-color:#dcdfe6!important}
#hl-profit-v189 .product-toolbar .search button.secondary:hover{color:#409eff!important;border-color:#c6e2ff!important;background:#ecf5ff!important}
#hl-profit-v189 .separate-title{display:block!important;width:2px!important;height:26px!important;flex:0 0 2px!important;background:#dcdfe6!important;margin:0 15px!important}

/* ---------- 商品表：旧BI列宽/字体/颜色 ---------- */
#hl-profit-v189 .profit-table-wrap{border:1px solid #ebeef5!important;background:#fff!important;overflow:clip!important}
#hl-profit-v189 .profit-table{
  width:100%!important;min-width:1633px!important;table-layout:fixed!important;border-collapse:collapse!important;font-size:12px!important;color:#606266!important;
}
#hl-profit-v189 .profit-table col:nth-child(1){width:12.247%!important}
#hl-profit-v189 .profit-table col:nth-child(2){width:7.838%!important}
#hl-profit-v189 .profit-table col:nth-child(3){width:8.879%!important}
#hl-profit-v189 .profit-table col:nth-child(4){width:11.023%!important}
#hl-profit-v189 .profit-table col:nth-child(5){width:11.023%!important}
#hl-profit-v189 .profit-table col:nth-child(6){width:12.247%!important}
#hl-profit-v189 .profit-table col:nth-child(7){width:12.247%!important}
#hl-profit-v189 .profit-table col:nth-child(8){width:12.247%!important}
#hl-profit-v189 .profit-table col:nth-child(9){width:12.247%!important}
#hl-profit-v189 .profit-table th{
  height:36px!important;padding:0 8px!important;background:#fff!important;color:#303133!important;border-right:1px solid #ebeef5!important;
  font-size:12px!important;line-height:18px!important;font-weight:600!important;text-align:center!important;vertical-align:middle!important;
}
#hl-profit-v189 .profit-table td{
  height:136px!important;padding:8px 9px!important;background:#fff!important;color:#606266!important;border-right:1px solid #ebeef5!important;border-bottom:1px solid #ebeef5!important;
  font-size:12px!important;line-height:17px!important;vertical-align:middle!important;
}
#hl-profit-v189 .profit-table tbody tr:nth-child(even) td{background:#fafafa!important}
#hl-profit-v189 .profit-table tbody tr:hover td{background:#f5f7fa!important}
#hl-profit-v189 .product-box{display:flex!important;align-items:center!important;gap:8px!important;margin:0!important}
#hl-profit-v189 .product-box img{width:54px!important;height:42px!important;max-width:54px!important;max-height:42px!important;object-fit:contain!important;border:0!important;flex:0 0 54px!important}
#hl-profit-v189 .product-title{max-width:138px!important;margin:0 0 3px!important;color:#409eff!important;font-size:12px!important;line-height:17px!important;font-weight:600!important}
#hl-profit-v189 .product-box small,
#hl-profit-v189 .product-box p{max-width:138px!important;margin:0 0 3px!important;color:#888!important;font-size:12px!important;line-height:17px!important}
#hl-profit-v189 .hl-profit-store-cell,#hl-profit-v189 .hl-profit-status-cell{font-size:12px!important;color:#606266!important;text-align:center!important;vertical-align:middle!important}
#hl-profit-v189 .status{font-size:12px!important;line-height:18px!important;padding:1px 6px!important;border-radius:2px!important}
#hl-profit-v189 .hl-profit-detail-cell{padding:8px 9px!important;vertical-align:middle!important}
#hl-profit-v189 .hl-profit-detail-cell>div{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:4px!important;
  min-height:14px!important;margin:0 0 3px!important;line-height:14px!important;font-size:12px!important;white-space:nowrap!important;
}
#hl-profit-v189 .hl-profit-detail-cell>div:last-child{margin-bottom:0!important}
#hl-profit-v189 .hl-profit-detail-cell>div:hover{background:#edf7ff!important;cursor:pointer!important}
#hl-profit-v189 .hl-profit-detail-cell>div span{color:#888!important;font-size:12px!important;line-height:14px!important}
#hl-profit-v189 .hl-profit-detail-cell>div b{margin-left:4px!important;color:#222!important;font-size:12px!important;line-height:14px!important;font-weight:400!important;text-align:right!important}

/* 固定真实表头：保留 V244 的单层1px细线 */
#hl-profit-v189 .profit-table thead.hl-profit-real-thead-v239 th{
  background:#fff!important;border-bottom:0!important;box-shadow:inset 0 -1px 0 #dfe5ec!important;background-clip:padding-box!important;
}

/* ---------- 提示词 / 气泡：旧BI ---------- */
#hl-profit-v189 .hl-profit-help-mark-v189:not(.kpi-tip):not(.metric-tip){
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:12px!important;height:12px!important;min-width:12px!important;flex:0 0 12px!important;margin-left:2px!important;
  border:1px solid #c0c4cc!important;border-radius:50%!important;background:#fff!important;color:#909399!important;
  font-size:8px!important;line-height:10px!important;font-weight:400!important;cursor:default!important;
}
#hl-profit-v189 .hl-profit-help-mark-v189:not(.kpi-tip):not(.metric-tip):hover{background:#606873!important;border-color:#606873!important;color:#fff!important}
.hl-profit-help-popover-v246{
  position:fixed!important;z-index:1000000!important;width:max-content!important;max-width:min(350px,calc(100vw - 24px))!important;
  padding:12px!important;border:1px solid #ebeef5!important;border-radius:4px!important;background:#fff!important;color:#222!important;
  box-shadow:0 2px 12px 0 rgba(0,0,0,.1)!important;font-size:12px!important;line-height:22px!important;white-space:pre-wrap!important;pointer-events:none!important;
}
.hl-profit-help-popover-v246 .con{font-size:12px!important;line-height:22px!important;color:#222!important;white-space:pre-wrap!important}
.hl-profit-help-popover-v246.table-tip b{display:block!important;margin:0 0 4px!important;color:#f59a23!important;font-size:12px!important;line-height:14px!important;font-weight:400!important}
.hl-profit-help-popover-v246.table-tip .explain-text{max-width:350px!important;color:#222!important;line-height:17px!important;font-size:12px!important;letter-spacing:1px!important;white-space:pre-wrap!important}

/* ---------- 按店铺：旧BI横向表格 ---------- */
#hl-profit-v189 .hl-profit-store-section-v246{background:#fff!important;padding:0 0 8px!important;border-top:1px solid #ebeef5!important}
#hl-profit-v189 .hl-profit-store-table-wrap-v246{width:100%!important;overflow-x:auto!important;overflow-y:visible!important;border:1px solid #ebeef5!important}
#hl-profit-v189 .hl-profit-store-table-v246{border-collapse:collapse!important;table-layout:fixed!important;width:max-content!important;min-width:100%!important;color:#606266!important;font-size:12px!important}
#hl-profit-v189 .hl-profit-store-table-v246 th,
#hl-profit-v189 .hl-profit-store-table-v246 td{
  height:40px!important;padding:6px 10px!important;border-right:1px solid #ebeef5!important;border-bottom:1px solid #ebeef5!important;
  text-align:center!important;vertical-align:middle!important;white-space:nowrap!important;font-size:12px!important;line-height:18px!important;
}
#hl-profit-v189 .hl-profit-store-table-v246 th{background:#f5f7fa!important;color:#303133!important;font-weight:600!important}
#hl-profit-v189 .hl-profit-store-table-v246 tbody tr:nth-child(even) td{background:#fafafa!important}
#hl-profit-v189 .hl-profit-store-table-v246 tbody tr:hover td{background:#f5f7fa!important}
#hl-profit-v189 .hl-profit-store-table-v246 th:first-child,
#hl-profit-v189 .hl-profit-store-table-v246 td:first-child{position:sticky!important;left:0!important;z-index:2!important;background:#fff!important}
#hl-profit-v189 .hl-profit-store-table-v246 thead th:first-child{z-index:3!important;background:#f5f7fa!important}
#hl-profit-v189 .hl-profit-store-table-v246 tbody tr:nth-child(even) td:first-child{background:#fafafa!important}
#hl-profit-v189 .hl-profit-store-table-v246 .store-name{color:#409eff!important;text-align:center!important}
#hl-profit-v189 .hl-profit-store-toggle-v246{display:block!important;margin:8px auto 0!important;border:0!important;background:transparent!important;color:#409eff!important;font-size:12px!important;cursor:pointer!important}
#hl-profit-v189 .hl-profit-store-empty{padding:35px!important;text-align:center!important;color:#909399!important;background:#fff!important;border:0!important}

/* 小窗口：保持旧BI最小列宽，通过已有底部横向代理条滚动。 */
@media(max-width:1450px){
  #hl-profit-v189 .profit-table{min-width:1633px!important}
}

/* =========================================================
   V246 最终对齐：固定控件 / 指标问号 / 摘要表 / 曲线圆点 / 按店铺
   ========================================================= */

/* 旧BI标题右侧“固定”控制 */
#hl-profit-v189 .hl-profit-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
}
#hl-profit-v189 .hl-profit-fix-btn-v246{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  height:28px!important;
  padding:0 4px!important;
  border:0!important;
  background:transparent!important;
  color:#222!important;
  font-size:12px!important;
  line-height:28px!important;
  font-weight:400!important;
  cursor:pointer!important;
  outline:0!important;
}
#hl-profit-v189 .hl-profit-fix-btn-v246.active{color:#0091ff!important}
#hl-profit-v189 .hl-profit-fix-btn-v246:hover{color:#0091ff!important}
#hl-profit-v189 .hl-profit-fix-pin-v246{
  position:relative!important;
  display:inline-block!important;
  width:12px!important;
  height:12px!important;
  flex:0 0 12px!important;
  transform:rotate(-45deg)!important;
}
#hl-profit-v189 .hl-profit-fix-pin-v246:before{
  content:""!important;
  position:absolute!important;
  left:2px!important;
  top:1px!important;
  width:7px!important;
  height:7px!important;
  border:1px solid currentColor!important;
  border-radius:50%!important;
  box-sizing:border-box!important;
}
#hl-profit-v189 .hl-profit-fix-pin-v246:after{
  content:""!important;
  position:absolute!important;
  left:5px!important;
  top:7px!important;
  width:1px!important;
  height:5px!important;
  background:currentColor!important;
}

/* 关闭“固定”时，旧BI式固定区域全部恢复自然文档流。底部分页/横向条不受此开关影响。 */
#hl-profit-v189.hl-profit-fix-disabled-v246 .product-toolbar.hl-profit-real-toolbar-v239{
  position:static!important;
  top:auto!important;
}
#hl-profit-v189.hl-profit-fix-disabled-v246 .profit-table thead.hl-profit-real-thead-v239 th{
  position:static!important;
  top:auto!important;
}

/* “销量 / 销售额 / 采购成本 / 净利润”问号恢复为和上方KPI一致的圆形交互，
   并紧跟标题，不再被 justify-content 推到最右边。 */
#hl-profit-v189 .hl-profit-metricstrip article .name,
#hl-profit-v189 .hl-profit-metricstrip article>div.name{
  justify-content:flex-start!important;
  gap:5px!important;
}
#hl-profit-v189 .hl-profit-metricstrip .hl-profit-help-mark-v189{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:15px!important;
  height:15px!important;
  min-width:15px!important;
  flex:0 0 15px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #a8b0ba!important;
  border-radius:50%!important;
  background:transparent!important;
  color:#8e969f!important;
  font-size:10px!important;
  line-height:13px!important;
  font-weight:700!important;
  box-sizing:border-box!important;
  cursor:default!important;
  transition:background-color .12s ease,color .12s ease,border-color .12s ease!important;
}
#hl-profit-v189 .hl-profit-metricstrip article:not(.active) .hl-profit-help-mark-v189:hover,
#hl-profit-v189 .hl-profit-metricstrip article:not(.active) .hl-profit-help-mark-v189:focus{
  background:#606873!important;
  border-color:#606873!important;
  color:#fff!important;
  outline:0!important;
}
#hl-profit-v189 .hl-profit-metricstrip article.active .hl-profit-help-mark-v189{
  border-color:#fff!important;
  background:transparent!important;
  color:#fff!important;
}
#hl-profit-v189 .hl-profit-metricstrip article.active .hl-profit-help-mark-v189:hover,
#hl-profit-v189 .hl-profit-metricstrip article.active .hl-profit-help-mark-v189:focus{
  background:#fff!important;
  border-color:#fff!important;
  color:#59616c!important;
  outline:0!important;
}

/* ---------- 所有 XX摘要：按旧BI sale-table 原始比例 ---------- */
#hl-profit-v189 .hl-profit-middle{
  display:flex!important;
  padding:7.5px!important;
  border:1px solid #0091ff!important;
  background:#f5f7f9!important;
}
#hl-profit-v189 .hl-profit-middle>section{
  flex-basis:50%!important;
  flex-grow:1!important;
  min-width:0!important;
  min-height:320px!important;
  margin:7.5px!important;
  background:#fff!important;
}
#hl-profit-v189 .hl-profit-middle h3{
  margin:10px 0 15px!important;
  padding-left:7px!important;
  border-left:3px solid #0091ff!important;
  font-size:14px!important;
  line-height:18px!important;
  font-weight:600!important;
  color:#222!important;
}
#hl-profit-v189 .summary-scroll{
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  border:0!important;
}
#hl-profit-v189 .hl-profit-summary table{
  width:calc(100% - 20px)!important;
  margin:10px!important;
  border:1px solid #eee!important;
  border-collapse:collapse!important;
  table-layout:fixed!important;
  color:#666!important;
  font-size:12px!important;
}
#hl-profit-v189 .hl-profit-summary thead,
#hl-profit-v189 .hl-profit-summary tbody tr{
  display:table!important;
  width:100%!important;
  table-layout:fixed!important;
}
#hl-profit-v189 .hl-profit-summary th,
#hl-profit-v189 .hl-profit-summary td{
  height:auto!important;
  min-height:0!important;
  padding:3px 5px!important;
  border:1px solid #eee!important;
  font-size:12px!important;
  line-height:18px!important;
  font-weight:400!important;
  box-sizing:border-box!important;
}
#hl-profit-v189 .hl-profit-summary th{
  text-align:left!important;
  background:#f5f7fa!important;
  color:#666!important;
}
#hl-profit-v189 .hl-profit-summary td{
  text-align:right!important;
  background:#fff!important;
  color:#666!important;
}
#hl-profit-v189 .hl-profit-summary thead th:first-child,
#hl-profit-v189 .hl-profit-summary tbody tr th:first-child{
  width:18%!important;
}
#hl-profit-v189 .summary-head-cell,
#hl-profit-v189 .summary-label,
#hl-profit-v189 .summary-value{
  display:flex!important;
  align-items:center!important;
  min-height:38px!important;
  min-width:60px!important;
  color:#666!important;
  font-weight:400!important;
}
#hl-profit-v189 .summary-head-cell{justify-content:flex-start!important;white-space:nowrap!important}
#hl-profit-v189 .summary-head-cell b{font-weight:600!important;color:#606266!important}
#hl-profit-v189 .summary-date{font-size:12px!important;font-weight:400!important;color:#606266!important}
#hl-profit-v189 .summary-label{justify-content:flex-start!important}
#hl-profit-v189 .summary-value{justify-content:flex-end!important}
#hl-profit-v189 .summary-number{color:#666!important;font-size:12px!important;font-weight:400!important}
#hl-profit-v189 .summary-currency{
  display:inline-block!important;
  margin-right:5px!important;
  color:#999!important;
  font-size:11px!important;
  line-height:14px!important;
  font-style:normal!important;
  font-weight:400!important;
  transform:scale(.8)!important;
  transform-origin:right center!important;
}
#hl-profit-v189 .summary-percent{
  margin-left:1px!important;
  color:#999!important;
  font-size:11px!important;
  font-weight:400!important;
}
#hl-profit-v189 .summary-head-cell .dot{
  display:inline-block!important;
  width:15px!important;
  height:8px!important;
  margin-right:5px!important;
  flex:0 0 15px!important;
}
#hl-profit-v189 .summary-head-cell .dot.cur{background:#0091ff!important}
#hl-profit-v189 .summary-head-cell .dot.prev{background:#f59a23!important}

/* 净利润摘要：旧BI不是删除后续行，而是全部填充后在 tbody 内限高，展开时显示全部。 */
#hl-profit-v189 .net-profit-summary.summary-collapsed .hl-profit-summary tbody{
  display:block!important;
  max-height:206px!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
}
#hl-profit-v189 .net-profit-summary.summary-expanded .hl-profit-summary tbody{
  display:block!important;
  max-height:none!important;
  overflow:visible!important;
}
#hl-profit-v189 .net-profit-summary .hl-profit-summary thead{
  width:calc(100% - 8px)!important;
}
#hl-profit-v189 .expand-mark{
  display:block!important;
  width:100%!important;
  height:24px!important;
  margin:0!important;
  border:0!important;
  background:#fff!important;
  color:#0091ff!important;
  font-size:12px!important;
  line-height:24px!important;
  text-align:center!important;
  cursor:pointer!important;
}
#hl-profit-v189 .summary-expanded{min-height:510px!important}

/* ---------- 曲线：旧BI emptyCircle 约3px直径 ---------- */
#hl-profit-v189 .cur-area-v246{fill:url(#hlProfitAreaV246)!important;stroke:none!important}
#hl-profit-v189 .cur-dot,
#hl-profit-v189 .prev-dot{
  stroke-width:1.1!important;
  vector-effect:non-scaling-stroke!important;
}

/* ---------- 按店铺：旧BI横向表格 + 下方继续展示商品销售明细 ---------- */
#hl-profit-v189 .hl-profit-store-section-v246{
  width:100%!important;
  margin:0 0 14px!important;
  padding:0 0 8px!important;
  background:#fff!important;
  border-top:1px solid #ebeef5!important;
  box-sizing:border-box!important;
}
#hl-profit-v189 .hl-profit-store-table-wrap-v246{
  width:100%!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  border:1px solid #ebeef5!important;
  box-sizing:border-box!important;
}
#hl-profit-v189 .hl-profit-store-table-v246{
  width:max-content!important;
  min-width:100%!important;
  border-collapse:collapse!important;
  table-layout:fixed!important;
  color:#606266!important;
  font-size:12px!important;
}
#hl-profit-v189 .hl-profit-store-table-v246 th,
#hl-profit-v189 .hl-profit-store-table-v246 td{
  height:40px!important;
  padding:6px 10px!important;
  border-right:1px solid #ebeef5!important;
  border-bottom:1px solid #ebeef5!important;
  text-align:center!important;
  vertical-align:middle!important;
  white-space:nowrap!important;
  font-size:12px!important;
  line-height:18px!important;
  box-sizing:border-box!important;
}
#hl-profit-v189 .hl-profit-store-table-v246 th{
  background:#f5f7fa!important;
  color:#303133!important;
  font-weight:600!important;
}
#hl-profit-v189 .hl-profit-store-table-v246 tbody tr:nth-child(even) td{background:#fafafa!important}
#hl-profit-v189 .hl-profit-store-table-v246 tbody tr:hover td{background:#f5f7fa!important}
#hl-profit-v189 .hl-profit-store-table-v246 th:first-child,
#hl-profit-v189 .hl-profit-store-table-v246 td:first-child{
  position:sticky!important;
  left:0!important;
  z-index:2!important;
  background:#fff!important;
}
#hl-profit-v189 .hl-profit-store-table-v246 thead th:first-child{z-index:3!important;background:#f5f7fa!important}
#hl-profit-v189 .hl-profit-store-table-v246 tbody tr:nth-child(even) td:first-child{background:#fafafa!important}
#hl-profit-v189 .hl-profit-store-table-v246 .store-name{color:#409eff!important}
#hl-profit-v189 .hl-profit-store-toggle-v246{
  display:block!important;
  margin:8px auto 0!important;
  border:0!important;
  background:transparent!important;
  color:#409eff!important;
  font-size:12px!important;
  line-height:20px!important;
  cursor:pointer!important;
}
#hl-profit-v189 .hl-profit-store-export-v246{
  min-width:84px!important;
  height:28px!important;
  padding:0 12px!important;
  border:1px solid #dcdfe6!important;
  border-radius:4px!important;
  background:#fff!important;
  color:#606266!important;
  font-size:12px!important;
  line-height:26px!important;
}
#hl-profit-v189 .hl-profit-store-section-v246 + .hl-profit-products{
  margin-top:0!important;
}

/* =========================================================
   V247：利润分析商品信息 / 站点店铺 / 状态筛选 / 数据固定轮询
   ========================================================= */

/* 净利润摘要中的币种按参考图显示为蓝色。 */
#hl-profit-v189 .summary-currency{
  color:#409eff!important;
  transform:none!important;
  font-size:10px!important;
  margin-right:5px!important;
}

/* 固定按钮：固定数据时使用蓝色，取消固定时保持旧BI普通文字。 */
#hl-profit-v189 .hl-profit-fix-btn-v246{
  cursor:pointer!important;
}
#hl-profit-v189 .hl-profit-fix-btn-v246.active{
  color:#409eff!important;
  font-weight:500!important;
}

/* 商品信息：图片稍大，SKU/ID 放图片右侧；标题与中文名称放在图片下方。 */
#hl-profit-v189 .hl-profit-product-cell{
  padding:8px 10px!important;
  vertical-align:middle!important;
  overflow:visible!important;
}
#hl-profit-v189 .hl-profit-product-layout-v247{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:4px!important;
  width:100%!important;
  min-width:0!important;
}
#hl-profit-v189 .hl-profit-product-idrow-v247{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  min-width:0!important;
}
#hl-profit-v189 .hl-profit-product-idrow-v247>img{
  width:58px!important;
  height:58px!important;
  min-width:58px!important;
  flex:0 0 58px!important;
  object-fit:contain!important;
  background:#fff!important;
}
#hl-profit-v189 .hl-profit-product-ids-v247{
  flex:1 1 auto!important;
  min-width:0!important;
}
#hl-profit-v189 .hl-profit-product-ids-v247 p{
  display:flex!important;
  align-items:flex-start!important;
  gap:3px!important;
  margin:1px 0!important;
  color:#7b8794!important;
  font-size:11px!important;
  line-height:16px!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
#hl-profit-v189 .hl-profit-product-ids-v247 p>span{
  min-width:0!important;
  color:#617080!important;
  overflow-wrap:anywhere!important;
}
#hl-profit-v189 .hl-profit-product-ids-v247 .copy{
  flex:0 0 auto!important;
  margin:0!important;
  padding:0 2px!important;
  border:0!important;
  background:transparent!important;
  color:#409eff!important;
  font-size:12px!important;
  line-height:16px!important;
  cursor:pointer!important;
}
#hl-profit-v189 .hl-profit-product-layout-v247 .product-title{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:1px 0 0!important;
  color:#409eff!important;
  font-size:11.5px!important;
  line-height:16px!important;
  font-weight:400!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
#hl-profit-v189 .hl-profit-cn-name-v247{
  display:block!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#7b8794!important;
  font-size:11px!important;
  line-height:16px!important;
  text-align:left!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  cursor:pointer!important;
}
#hl-profit-v189 .hl-profit-cn-name-v247 span{
  color:#697889!important;
  margin-left:3px!important;
}
#hl-profit-v189 .hl-profit-cn-edit-v247{
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  width:100%!important;
}
#hl-profit-v189 .hl-profit-cn-input-v247{
  min-width:0!important;
  flex:1 1 auto!important;
  height:24px!important;
  padding:0 6px!important;
  border:1px solid #409eff!important;
  border-radius:2px!important;
  color:#606266!important;
  font-size:11px!important;
  outline:none!important;
}
#hl-profit-v189 .hl-profit-cn-edit-v247 button{
  height:24px!important;
  padding:0 6px!important;
  border:1px solid #dcdfe6!important;
  border-radius:2px!important;
  background:#fff!important;
  color:#606266!important;
  font-size:10px!important;
  cursor:pointer!important;
}
#hl-profit-v189 .hl-profit-cn-edit-v247 button[data-act="save-cn"]{
  border-color:#409eff!important;
  background:#409eff!important;
  color:#fff!important;
}

/* 站点/店铺：与成本管理相同的“国旗+国家 / 店铺”双行结构。 */
#hl-profit-v189 .hl-profit-site-store-v247{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  gap:4px!important;
  width:100%!important;
  color:#606266!important;
  font-size:11.5px!important;
  line-height:16px!important;
  text-align:left!important;
}
#hl-profit-v189 .hl-profit-site-store-v247>div{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  white-space:nowrap!important;
}
#hl-profit-v189 .hl-profit-site-store-v247 img{
  width:18px!important;
  height:12px!important;
  object-fit:cover!important;
  border-radius:1px!important;
}
#hl-profit-v189 .hl-profit-site-store-v247 b{
  max-width:100%!important;
  color:#606266!important;
  font-size:11.5px!important;
  line-height:16px!important;
  font-weight:400!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

/* 商品状态：表头改为旧BI下拉筛选；正文按不同状态着色。 */
#hl-profit-v189 .hl-profit-status-head-v247{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
}
#hl-profit-v189 .hl-profit-status-head-v247 select{
  width:auto!important;
  max-width:92px!important;
  height:24px!important;
  padding:0 18px 0 3px!important;
  border:0!important;
  background-color:transparent!important;
  color:#303133!important;
  font-size:11.5px!important;
  font-weight:600!important;
  outline:none!important;
  cursor:pointer!important;
}
#hl-profit-v189 .hl-profit-status-cell{
  text-align:center!important;
  vertical-align:middle!important;
}
#hl-profit-v189 .hl-profit-status-v247{
  display:inline-block!important;
  padding:1px 5px!important;
  border:0!important;
  background:transparent!important;
  font-size:11px!important;
  line-height:18px!important;
  font-weight:400!important;
  text-transform:none!important;
}
#hl-profit-v189 .hl-profit-status-v247.status-active{color:#67c23a!important}
#hl-profit-v189 .hl-profit-status-v247.status-paused{color:#f56c6c!important}
#hl-profit-v189 .hl-profit-status-v247.status-closed{color:#909399!important}
#hl-profit-v189 .hl-profit-status-v247.status-inactive{color:#e6a23c!important}
#hl-profit-v189 .hl-profit-status-v247.status-under_review{color:#409eff!important}

/* 复制 / 保存反馈。 */
.hl-profit-copy-toast-v247{
  position:fixed!important;
  left:50%!important;
  top:42%!important;
  transform:translate(-50%,-50%) scale(.96)!important;
  z-index:1000005!important;
  padding:13px 18px!important;
  border-radius:4px!important;
  background:rgba(48,49,51,.92)!important;
  color:#fff!important;
  font-size:13px!important;
  line-height:18px!important;
  opacity:0!important;
  pointer-events:none!important;
  transition:opacity .15s ease,transform .15s ease!important;
}
.hl-profit-copy-toast-v247.show{
  opacity:1!important;
  transform:translate(-50%,-50%) scale(1)!important;
}

/* =========================================================
   V248：利润分析商品信息顺序 / 站点店铺居中 / 状态字号 / 重算弹窗
   ========================================================= */

/* 商品信息列：旧BI顺序 = 主图 -> 产品名(单行) -> 中文名 -> SKU -> ID。 */
#hl-profit-v189 .hl-profit-product-cell{
  position:relative!important;
  padding:8px 12px!important;
  vertical-align:middle!important;
  overflow:visible!important;
}
#hl-profit-v189 .hl-profit-product-layout-v248{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:3px!important;
  width:100%!important;
  min-width:0!important;
  overflow:visible!important;
}
#hl-profit-v189 .hl-profit-product-img-v248{
  display:block!important;
  width:58px!important;
  height:58px!important;
  flex:0 0 58px!important;
  margin:0 0 1px!important;
  object-fit:contain!important;
  background:#fff!important;
}
#hl-profit-v189 .hl-profit-product-layout-v248 .product-title{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  color:#409eff!important;
  font-size:11.5px!important;
  line-height:17px!important;
  font-weight:400!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-decoration:none!important;
}
#hl-profit-v189 .hl-profit-product-link-v248{
  margin-left:2px!important;
  color:#409eff!important;
  font-size:10px!important;
}
#hl-profit-v189 .hl-profit-product-layout-v248 .hl-profit-cn-name-v247{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#7b8794!important;
  font-size:11px!important;
  line-height:17px!important;
  text-align:left!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#hl-profit-v189 .hl-profit-product-meta-v248{
  width:100%!important;
  min-width:0!important;
  color:#7b8794!important;
  font-size:11px!important;
  line-height:17px!important;
}
#hl-profit-v189 .hl-profit-product-meta-v248>div{
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
  height:17px!important;
  white-space:nowrap!important;
}
#hl-profit-v189 .hl-profit-product-meta-v248 .label{
  flex:0 0 auto!important;
  color:#7b8794!important;
}
#hl-profit-v189 .hl-profit-sku-text-v248,
#hl-profit-v189 .hl-profit-id-text-v248{
  min-width:0!important;
  color:#4f5f70!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
#hl-profit-v189 .hl-profit-meta-copy-v248{
  flex:0 0 auto!important;
  margin-left:3px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#1f7fd4!important;
  font-size:12px!important;
  line-height:15px!important;
  cursor:pointer!important;
}
#hl-profit-v189 .hl-profit-sku-link-v248{
  display:inline-flex!important;
  align-items:center!important;
  gap:2px!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#409eff!important;
  font-size:11px!important;
  line-height:17px!important;
  cursor:pointer!important;
}
#hl-profit-v189 .hl-profit-sku-pop-v248{
  position:absolute!important;
  left:76px!important;
  top:78px!important;
  z-index:10030!important;
  min-width:180px!important;
  max-width:260px!important;
  padding:8px 10px!important;
  border:1px solid #ebeef5!important;
  border-radius:4px!important;
  background:#fff!important;
  box-shadow:0 2px 12px rgba(0,0,0,.12)!important;
}
#hl-profit-v189 .hl-profit-sku-pop-v248>div{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  min-height:28px!important;
  color:#606266!important;
  font-size:12px!important;
  line-height:20px!important;
}
#hl-profit-v189 .hl-profit-sku-pop-v248>div+div{
  border-top:1px solid #f2f4f7!important;
}
#hl-profit-v189 .hl-profit-sku-pop-v248 span{
  min-width:0!important;
  overflow-wrap:anywhere!important;
}
#hl-profit-v189 .hl-profit-sku-pop-v248 button{
  flex:0 0 auto!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#606266!important;
  cursor:pointer!important;
}

/* 站点/店铺正文：水平、垂直均居中。 */
#hl-profit-v189 .hl-profit-store-cell{
  text-align:center!important;
  vertical-align:middle!important;
}
#hl-profit-v189 .hl-profit-site-store-v247{
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}
#hl-profit-v189 .hl-profit-site-store-v247>div{
  justify-content:center!important;
}
#hl-profit-v189 .hl-profit-site-store-v247 b{
  text-align:center!important;
}

/* 商品状态：ALL 时表头直接显示“商品状态(All)”，正文状态字号加大。 */
#hl-profit-v189 .hl-profit-status-head-v247 select{
  max-width:118px!important;
  font-size:11.5px!important;
}
#hl-profit-v189 .hl-profit-status-v247{
  font-size:13px!important;
  line-height:20px!important;
}

/* 重算弹窗：按旧BI参考图。 */
#hl-profit-v189 .hl-profit-recalc-mask-v248{
  position:fixed!important;
  inset:0!important;
  z-index:100500!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:center!important;
  padding-top:15vh!important;
  background:rgba(0,0,0,.48)!important;
}
#hl-profit-v189 .hl-profit-recalc-dialog-v248{
  width:454px!important;
  max-width:calc(100vw - 30px)!important;
  border-radius:10px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:0 2px 12px rgba(0,0,0,.25)!important;
  color:#303133!important;
}
#hl-profit-v189 .hl-profit-recalc-head-v248{
  height:56px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  padding:0 20px!important;
  border-bottom:1px solid #e6e6e6!important;
  box-sizing:border-box!important;
}
#hl-profit-v189 .hl-profit-recalc-head-v248 b{
  font-size:16px!important;
  font-weight:600!important;
}
#hl-profit-v189 .hl-profit-recalc-head-v248 button{
  width:30px!important;
  height:30px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#303133!important;
  font-size:28px!important;
  line-height:28px!important;
  cursor:pointer!important;
}
#hl-profit-v189 .hl-profit-recalc-body-v248{
  padding:25px 20px 18px!important;
}
#hl-profit-v189 .hl-profit-recalc-body-v248>label{
  display:block!important;
  margin-bottom:8px!important;
  color:#606266!important;
  font-size:13px!important;
}
#hl-profit-v189 .hl-profit-recalc-range-v248{
  height:36px!important;
  display:grid!important;
  grid-template-columns:1fr 36px 1fr!important;
  align-items:center!important;
  border:1px solid #dcdfe6!important;
  border-radius:4px!important;
  overflow:hidden!important;
  background:#fff!important;
}
#hl-profit-v189 .hl-profit-recalc-range-v248 input{
  width:100%!important;
  height:34px!important;
  padding:0 10px!important;
  border:0!important;
  outline:0!important;
  box-sizing:border-box!important;
  color:#606266!important;
  font-size:13px!important;
  text-align:center!important;
}
#hl-profit-v189 .hl-profit-recalc-range-v248 span{
  color:#303133!important;
  font-size:13px!important;
  text-align:center!important;
}
#hl-profit-v189 .hl-profit-recalc-body-v248 p{
  margin:8px 0 0!important;
  color:#f56c6c!important;
  font-size:12px!important;
  line-height:18px!important;
}
#hl-profit-v189 .hl-profit-recalc-foot-v248{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  padding:0 20px 20px!important;
}
#hl-profit-v189 .hl-profit-recalc-foot-v248 button{
  min-width:68px!important;
  height:36px!important;
  padding:0 16px!important;
  border:1px solid #dcdfe6!important;
  border-radius:4px!important;
  background:#fff!important;
  color:#606266!important;
  font-size:13px!important;
  cursor:pointer!important;
}
#hl-profit-v189 .hl-profit-recalc-foot-v248 button.primary{
  border-color:#409eff!important;
  background:#409eff!important;
  color:#fff!important;
}
#hl-profit-v189 .hl-profit-recalc-foot-v248 button:disabled{
  opacity:.55!important;
  cursor:not-allowed!important;
}

/* V101：自定义日期提示固定在利润标题栏的几何中心。 */
#hl-profit-v189 .hl-profit-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 310px minmax(0,1fr)!important;
  gap:12px!important;
}
#hl-profit-v189 .hl-profit-head-title-v098{
  min-width:0!important;
  overflow:hidden!important;
  white-space:nowrap!important;
}
#hl-profit-v189 .hl-profit-custom-prompt-host-v098{
  width:310px!important;
  min-width:0!important;
  justify-self:center!important;
}
#hl-profit-v189 .hl-profit-head>.hl-profit-fix-btn-v246{justify-self:end!important}
@media(max-width:1100px){
  #hl-profit-v189 .hl-profit-head{grid-template-columns:minmax(0,1fr) 260px minmax(0,1fr)!important}
  #hl-profit-v189 .hl-profit-custom-prompt-host-v098{width:260px!important}
}
