#hl-history-v150{font-family:Arial,"Microsoft YaHei",sans-serif;color:#2e3748;background:#f4f6f9;min-height:calc(100vh - 78px);padding:12px 10px 20px;box-sizing:border-box;position:relative}
#hl-history-v150 *{box-sizing:border-box}
.hl-his-overview,.hl-his-detail{background:#fff;border:1px solid #e5eaf1;margin-bottom:12px}
.hl-his-header{height:44px;padding:8px 10px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0f4}
.hl-his-header h1{font-size:16px;margin:0;font-weight:700;color:#202938}
.hl-his-date{display:flex;align-items:center;gap:8px;font-size:12px;color:#6d7685;white-space:nowrap}
.hl-his-date select,.hl-his-date input{height:30px;border:1px solid #d9e0e8;border-radius:3px;background:#fff;color:#536071;padding:0 9px;font-size:12px;outline:none}
.hl-his-date-edit{display:flex;align-items:center;gap:5px}.hl-his-date-range{height:30px;display:flex;align-items:center;padding:0 10px;border:1px solid #e2e6ec;border-radius:3px;background:#fafbfd;color:#7a8390}
.hl-his-rednote{margin:8px 10px;padding:7px 12px;background:#fff1f0;border:1px solid #ffd9d5;color:#f06961;font-size:12px;line-height:20px}
.hl-his-error{margin:8px 10px;padding:9px 12px;background:#fff2f0;border:1px solid #ffccc7;color:#cf1322;font-size:12px}
.hl-his-metric-strip{height:88px;display:flex;align-items:stretch;padding:4px 10px 2px;gap:7px;overflow:hidden}
.hl-his-arrow{width:34px;min-width:34px;border:0;background:#f7f8fa;color:#303846;font-size:31px;line-height:1;cursor:pointer;border-radius:4px}.hl-his-arrow:disabled{color:#d8dde5;cursor:default}
.hl-his-card-viewport{overflow:hidden;flex:1}.hl-his-cards{display:flex;gap:10px;transition:transform .22s ease;will-change:transform}
.hl-his-card{width:164px;min-width:164px;height:80px;padding:9px 10px;background:#f5f5f6;border:1px solid transparent;border-radius:9px;position:relative;transition:.15s;overflow:visible}.hl-his-card.clickable{cursor:pointer}.hl-his-card.active{border:2px solid #168cff;background:#fff;padding:8px 9px}.hl-his-card-title{font-size:14px;color:#596271;white-space:nowrap;display:flex;gap:4px;align-items:center}.hl-his-card strong{display:block;color:#151b26;font-size:17px;margin-top:6px}.hl-his-card small{display:block;margin-top:6px;color:#9aa1ad;font-size:10px;white-space:nowrap}.hl-his-card em{font-style:normal;margin-left:5px}.hl-his-card em.bad{color:#ff4d4f}.hl-his-card em.good{color:#29be6c}.hl-his-card em.neutral{color:#9099a6}
.hl-his-info{width:14px;height:14px;line-height:14px;text-align:center;border-radius:50%;background:#6f7379;color:#fff;font-size:10px;display:inline-block;position:relative;cursor:help;z-index:20;flex:none}.hl-his-tooltip{display:none;position:absolute;left:-12px;top:24px;width:280px;padding:12px 14px;background:#fff;color:#505866;border:1px solid #e4e8ee;border-radius:3px;box-shadow:0 4px 14px rgba(30,45,70,.16);font-size:12px;line-height:22px;font-weight:400;text-align:left;white-space:normal;z-index:99999}.hl-his-tooltip:before{content:"";position:absolute;top:-7px;left:16px;width:12px;height:12px;background:#fff;border-left:1px solid #e4e8ee;border-top:1px solid #e4e8ee;transform:rotate(45deg)}.hl-his-info:hover .hl-his-tooltip{display:block}.hl-his-card:nth-last-child(-n+3) .hl-his-tooltip{left:auto;right:-12px}.hl-his-card:nth-last-child(-n+3) .hl-his-tooltip:before{left:auto;right:16px}
.hl-his-chart-legend{height:28px;display:flex;justify-content:center;align-items:center;gap:28px;font-size:11px}.hl-his-chart-legend .current{color:#268dfa}.hl-his-chart-legend .previous{color:#ff9e35}.hl-his-chart{height:188px;padding:0 10px 6px}.hl-his-chart svg{width:100%;height:100%;overflow:visible}.hl-his-chart svg .grid{stroke:#edf0f4;stroke-width:1}.hl-his-chart svg text{fill:#8e97a5;font-size:9px}.hl-his-chart svg .current-line{fill:none;stroke:#36a3ff;stroke-width:2}.hl-his-chart svg .previous-line{fill:none;stroke:#ff9d2e;stroke-width:1.7;stroke-dasharray:4 3}.hl-his-chart svg .current-point{fill:#fff;stroke:#36a3ff;stroke-width:1.6}.hl-his-chart svg .area{fill:#4eafff;opacity:.12;stroke:none}.hl-his-chart-empty{height:100%;display:flex;align-items:center;justify-content:center;color:#a0a8b4}
.hl-his-detail{padding-bottom:0;position:relative}.hl-his-detail h2{height:38px;line-height:38px;font-size:14px;margin:0;padding:0 10px;border-bottom:1px solid #e9edf2;color:#232a35}
.hl-his-toolbar{display:flex;align-items:center;justify-content:space-between;padding:9px 10px 7px;gap:10px;border-bottom:1px solid #e8edf3}.hl-his-groups,.hl-his-search{display:flex;align-items:center;gap:6px;white-space:nowrap}.hl-his-toolbar button,.hl-his-toolbar select,.hl-his-toolbar input{height:28px;border:1px solid #d7dee8;background:#fff;color:#566170;border-radius:2px;font-size:11px;padding:0 12px}.hl-his-toolbar button{cursor:pointer}.hl-his-groups button.active,.hl-his-search .query{background:#258fe5;border-color:#258fe5;color:#fff}.hl-his-groups .stale{border-color:#ffb2b2;color:#ff5b5b}.hl-his-groups .stale.active{background:#fff2f0}.hl-his-groups .custom-sold{color:#68717f}.hl-his-search input{width:140px}.hl-his-search select{width:72px;padding:0 6px}
.hl-his-table-scroll{overflow:auto;max-width:100%;border-top:0}.hl-his-table-scroll table{border-collapse:separate;border-spacing:0;min-width:1760px;width:max-content;background:#fff;font-size:11px}.hl-his-table-scroll th{height:38px;position:sticky;top:0;background:#f6f8fb;color:#3c4656;font-weight:600;text-align:center;border-right:1px solid #e4e9ef;border-bottom:1px solid #dfe5eb;padding:5px 8px;white-space:nowrap;z-index:3}.hl-his-table-scroll td{height:58px;border-right:1px solid #e6ebf0;border-bottom:1px solid #e6ebf0;padding:6px 8px;text-align:center;vertical-align:middle;color:#4e5968;max-width:180px;word-break:break-word}.hl-his-table-scroll tr:hover td{background:#f8fbff}.hl-his-table-scroll th:first-child,.hl-his-table-scroll td:first-child{border-left:1px solid #e6ebf0}.hl-his-table-scroll .col-image{width:70px;min-width:70px}.hl-his-table-scroll .col-actions{width:72px;min-width:72px}.hl-his-table-scroll .col-title{width:180px;min-width:180px;text-align:left}.hl-his-table-scroll .col-idSku{width:145px;min-width:145px;text-align:left}.hl-his-table-scroll .col-spec{width:150px;min-width:150px;text-align:left}.hl-his-table-scroll .col-store{width:160px}.hl-his-table-scroll .col-status{width:105px}.hl-his-table-scroll .col-sku{width:190px;text-align:left}.img-wrap{position:relative;width:52px;height:52px;margin:auto}.img-wrap img{width:48px;height:48px;object-fit:contain;border:1px solid #e2e6eb;background:#fff}.img-wrap .official{position:absolute;left:-7px;top:-13px;background:#29a9ea;color:#fff;font-size:9px;padding:2px 4px;border-radius:2px;white-space:nowrap}.acts{display:flex;gap:4px;justify-content:center}.acts button{border:1px solid #45a8f4;background:#fff;color:#258fe5;border-radius:3px;font-size:10px;padding:3px 5px;cursor:pointer}.product-title{color:#1688dc;line-height:17px;max-height:34px;overflow:hidden}.col-title small{display:block;color:#8c96a5;font-size:10px;margin-top:3px}.status.active{color:#27b55d}.status.paused{color:#f24646}.hl-his-table-scroll a{color:#168ce6}.empty{height:120px!important;color:#9ca5b1!important}
.hl-his-count{padding:8px 10px;color:#788292;font-size:11px;border-top:1px solid #edf0f4}.hl-his-pagination{height:48px;display:flex;justify-content:flex-end;align-items:center;gap:6px;padding:0 12px;border-top:1px solid #e7ebf0;background:#fff;position:sticky;bottom:0;z-index:5}.hl-his-pagination select{width:92px;height:30px;border:1px solid #dce2e9;background:#fff;color:#697383;border-radius:3px}.hl-his-pagination button{height:30px;min-width:30px;border:0;background:#f6f7f9;color:#536071;border-radius:2px;cursor:pointer}.hl-his-pagination button.active{background:#268ee6;color:#fff}.hl-his-pagination button:disabled{color:#ccd2da}.hl-his-pagination input{width:50px;height:30px;border:1px solid #dce2e9;border-radius:3px;text-align:center}
.hl-his-loading{position:fixed;left:calc(50% + 75px);top:48%;transform:translate(-50%,-50%);z-index:100000;background:#fff;border:1px solid #e0e5eb;border-radius:5px;box-shadow:0 8px 28px rgba(0,0,0,.15);padding:18px 26px;display:flex;align-items:center;gap:12px;color:#637083;font-size:12px}.hl-his-spinner{width:18px;height:18px;border:2px solid #d9e5f1;border-top-color:#168cff;border-radius:50%;animation:hlhis-spin .8s linear infinite}@keyframes hlhis-spin{to{transform:rotate(360deg)}}
.hl-his-modal{position:fixed;inset:0;background:rgba(15,24,38,.42);display:flex;align-items:center;justify-content:center;z-index:110000}.hl-his-modal .modal-card{width:540px;background:#fff;border-radius:5px;box-shadow:0 14px 50px rgba(0,0,0,.25)}.hl-his-modal header{height:52px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e6ebf0}.hl-his-modal header button{border:0;background:none;font-size:24px;cursor:pointer}.hl-his-modal .modal-body{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:18px}.hl-his-modal label{font-size:12px;color:#4f5967}.hl-his-modal footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 18px;border-top:1px solid #e6ebf0}.hl-his-modal footer button{height:32px;padding:0 18px;border:1px solid #d9dfe7;background:#fff;border-radius:3px}.hl-his-modal footer .primary{background:#168cff;border-color:#168cff;color:#fff}
@media(max-width:1100px){.hl-his-header{height:auto;align-items:flex-start;gap:10px}.hl-his-date{flex-wrap:wrap;justify-content:flex-end}.hl-his-toolbar{align-items:flex-start;flex-direction:column}.hl-his-search{width:100%;justify-content:flex-end}.hl-his-card{width:154px;min-width:154px}.hl-his-cards{gap:8px}}
.hl-his-sku-note{margin:0 10px 7px;padding:6px 10px;background:#fff1f0;border:1px solid #ffd9d5;color:#ef6262;font-size:11px}
.listing-badge{display:inline-block;margin-left:5px;padding:1px 5px;border-radius:2px;font-size:9px;line-height:15px;vertical-align:1px}.listing-badge.premium{background:#eaf6ff;color:#288fdc;border:1px solid #b8e1ff}.listing-badge.classic{background:#effbe9;color:#5dad39;border:1px solid #cdeeba}
.hl-his-market-time{height:34px;display:flex;align-items:center;padding:0 10px;margin-bottom:8px;background:#fff;border:1px solid #e5eaf1;color:#485466;font-size:11px}
.hl-his-floating-tip{position:fixed;z-index:120000;width:300px;max-width:calc(100vw - 20px);padding:12px 14px;background:#fff;border:1px solid #e2e7ee;border-radius:3px;box-shadow:0 5px 18px rgba(28,43,65,.2);font:12px/22px Arial,"Microsoft YaHei",sans-serif;color:#515b69;white-space:pre-wrap;pointer-events:none}


/* V150: 历史分析严格按旧BI截图调整 */
#hl-history-v150{padding:10px 10px 18px;overflow:visible;background:#f3f5f8}
#hl-history-v150 .hl-his-overview,#hl-history-v150 .hl-his-detail{margin-bottom:10px;border-color:#e5e9ef}
#hl-history-v150 .hl-his-header{height:70px;padding:10px 12px;align-items:flex-start;position:relative}
#hl-history-v150 .hl-his-header h1{font-size:16px;line-height:28px}
#hl-history-v150 .hl-his-pin{margin-top:2px;margin-right:377px;border:0;background:transparent;color:#2994e8;font-size:11px;cursor:default}
#hl-history-v150 .hl-his-rednote{margin:0 10px 8px;padding:6px 12px;line-height:19px;border:0;background:#fff1f0;color:#f16b65}
#hl-history-v150 .hl-his-metric-strip{height:86px;padding:2px 10px 0}
#hl-history-v150 .hl-his-card{width:166px;min-width:166px;height:78px;border-radius:8px;padding:8px 10px}
#hl-history-v150 .hl-his-card.active{padding:7px 9px}
#hl-history-v150 .hl-his-card-title{font-size:13px}
#hl-history-v150 .hl-his-card strong{font-size:17px;margin-top:5px}
#hl-history-v150 .hl-his-card small{margin-top:5px}
#hl-history-v150 .hl-his-chart-legend{height:25px}
#hl-history-v150 .hl-his-chart{height:190px;padding:0 10px 8px}
#hl-history-v150 .hl-his-detail h2{height:42px;line-height:42px;padding:0 12px}
#hl-history-v150 .hl-his-toolbar{padding:9px 10px 8px;min-height:44px;overflow-x:auto;overflow-y:visible}
#hl-history-v150 .hl-his-groups .hl-his-info{margin-left:3px;vertical-align:middle}
#hl-history-v150 .hl-his-sku-note{margin:0 10px 7px}

#hl-history-v150 .hl-his-table-scroll{overflow-x:auto!important;overflow-y:visible!important;width:100%;max-width:100%;position:relative;scrollbar-gutter:stable}
#hl-history-v150 .hl-his-table-scroll table{table-layout:fixed!important;min-width:3220px!important;width:3220px!important;border-collapse:separate;border-spacing:0;background:#fff;font-size:11px}
#hl-history-v150 .hl-his-table-scroll th{height:42px;padding:5px 6px;line-height:16px;white-space:normal;word-break:keep-all;vertical-align:middle;background:#f7f8fa;color:#2f3846;font-weight:600}
#hl-history-v150 .hl-his-table-scroll td{height:72px;padding:7px 6px;line-height:17px;max-width:none;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
#hl-history-v150 .hl-his-table-scroll .hl-his-info{margin-left:3px;vertical-align:1px}

/* 历史分析主表列宽按字段键保存；透明命中区不另外绘制竖线。 */
#hl-history-v150 .hl-his-main-table.hl-his-resizable-table{table-layout:fixed!important}
#hl-history-v150 .hl-his-main-table th[data-hl-history-column]{position:sticky;padding-right:14px!important}
#hl-history-v150 .hl-his-column-resizer{position:absolute;right:0;top:0;bottom:0;z-index:48;width:8px;cursor:col-resize;touch-action:none;user-select:none}
#hl-history-v150 .hl-his-column-resizer:focus-visible{outline:1px solid #168fff}
#hl-history-v150 .hl-his-column-resizer[aria-disabled="true"]{cursor:wait}
body.hl-his-column-resizing,body.hl-his-column-resizing *{cursor:col-resize!important;user-select:none!important}
#hl-history-v150 .hl-his-preference-status{font-size:11px;color:#7b8493}
#hl-history-v150 .hl-his-preference-status.is-error{color:#e85d68}
#hl-history-v150 .hl-his-preference-status button{height:auto;border:0;background:transparent;color:#168fff;margin-left:6px;padding:0}

/* 旧BI列宽 */
#hl-history-v150 .col-image{width:70px!important;min-width:70px!important;max-width:70px!important}
#hl-history-v150 .col-actions{width:72px!important;min-width:72px!important;max-width:72px!important}
#hl-history-v150 .col-title{width:195px!important;min-width:195px!important;max-width:195px!important;text-align:left!important}
#hl-history-v150 .col-idSku{width:155px!important;min-width:155px!important;max-width:155px!important;text-align:left!important}
#hl-history-v150 .col-spec{width:160px!important;min-width:160px!important;max-width:160px!important;text-align:left!important}
#hl-history-v150 .col-store{width:150px!important;min-width:150px!important;max-width:150px!important}
#hl-history-v150 .col-listedDate{width:92px!important;min-width:92px!important;max-width:92px!important}
#hl-history-v150 .col-firstWarehouse{width:104px!important;min-width:104px!important;max-width:104px!important}
#hl-history-v150 .col-firstSale{width:122px!important;min-width:122px!important;max-width:122px!important}
#hl-history-v150 .col-status{width:108px!important;min-width:108px!important;max-width:108px!important}
#hl-history-v150 .col-visits2y{width:110px!important;min-width:110px!important;max-width:110px!important}
#hl-history-v150 .col-buyerVisits{width:105px!important;min-width:105px!important;max-width:105px!important}
#hl-history-v150 .col-orderCount{width:82px!important;min-width:82px!important;max-width:82px!important}
#hl-history-v150 .col-conversion{width:108px!important;min-width:108px!important;max-width:108px!important}
#hl-history-v150 .col-realQty{width:92px!important;min-width:92px!important;max-width:92px!important}
#hl-history-v150 .col-realAmount{width:128px!important;min-width:128px!important;max-width:128px!important}
#hl-history-v150 .col-saleQty{width:92px!important;min-width:92px!important;max-width:92px!important}
#hl-history-v150 .col-saleAmount{width:120px!important;min-width:120px!important;max-width:120px!important}
#hl-history-v150 .col-avgPrice{width:112px!important;min-width:112px!important;max-width:112px!important}
#hl-history-v150 .col-dailySales{width:92px!important;min-width:92px!important;max-width:92px!important}
#hl-history-v150 .col-refundQty{width:92px!important;min-width:92px!important;max-width:92px!important}
#hl-history-v150 .col-actualRefundQty{width:112px!important;min-width:112px!important;max-width:112px!important}
#hl-history-v150 .col-refundAmount{width:122px!important;min-width:122px!important;max-width:122px!important}
#hl-history-v150 .col-refundRate{width:88px!important;min-width:88px!important;max-width:88px!important}
#hl-history-v150 .col-stock{width:88px!important;min-width:88px!important;max-width:88px!important}
#hl-history-v150 .col-available{width:92px!important;min-width:92px!important;max-width:92px!important}
#hl-history-v150 .col-stockAmount{width:125px!important;min-width:125px!important;max-width:125px!important}
#hl-history-v150 .col-sellableDays{width:92px!important;min-width:92px!important;max-width:92px!important}
#hl-history-v150 .col-dailyStock{width:135px!important;min-width:135px!important;max-width:135px!important}
#hl-history-v150 .col-monthStock{width:145px!important;min-width:145px!important;max-width:145px!important}
#hl-history-v150 .col-previousMonthStock{width:155px!important;min-width:155px!important;max-width:155px!important}
#hl-history-v150 .col-sku{width:185px!important;min-width:185px!important;max-width:185px!important;text-align:left!important}

/* 表头分区颜色参考旧BI */
#hl-history-v150 th.col-visits2y,#hl-history-v150 th.col-buyerVisits,#hl-history-v150 th.col-orderCount,#hl-history-v150 th.col-conversion{background:#dff1ff!important}
#hl-history-v150 th.col-realQty,#hl-history-v150 th.col-realAmount{background:#ffe9d4!important}
#hl-history-v150 th.col-saleQty,#hl-history-v150 th.col-saleAmount,#hl-history-v150 th.col-avgPrice,#hl-history-v150 th.col-dailySales,#hl-history-v150 th.col-refundQty,#hl-history-v150 th.col-actualRefundQty,#hl-history-v150 th.col-refundAmount,#hl-history-v150 th.col-refundRate{background:#fff0df!important}
#hl-history-v150 th.col-stock,#hl-history-v150 th.col-available,#hl-history-v150 th.col-stockAmount,#hl-history-v150 th.col-sellableDays,#hl-history-v150 th.col-dailyStock,#hl-history-v150 th.col-monthStock,#hl-history-v150 th.col-previousMonthStock{background:#f0edff!important}
#hl-history-v150 .product-title{font-size:11px;line-height:16px;max-height:33px}
#hl-history-v150 .col-title small{font-size:9px;line-height:14px}
#hl-history-v150 .img-wrap{width:54px;height:54px}
#hl-history-v150 .img-wrap img{width:50px;height:50px}
#hl-history-v150 .acts{gap:3px;flex-wrap:nowrap}
#hl-history-v150 .acts button{min-width:27px;padding:3px 4px;font-size:9px}
#hl-history-v150 .status{font-weight:500}
#hl-history-v150 .hl-his-count{height:34px;padding:9px 10px}
#hl-history-v150 .hl-his-pagination{height:44px;position:sticky;bottom:0;z-index:30}
#hl-history-v150 .hl-his-pagination select{width:112px}
#hl-history-v150 .hl-his-floating-tip{width:318px;line-height:21px;padding:12px 15px;white-space:pre-wrap;color:#515b69}

/* 与共享日期区域避免重叠 */
body.hl-analysis-shared-active-v152 #hl-history-v150 .hl-his-header{padding-right:405px}
body.hl-analysis-shared-active-v152 #hl-history-v150 .hl-his-pin{display:none}
body.hl-analysis-shared-active-v152 .workspace-panel>.page-header{min-height:72px;padding-right:400px!important}

@media(max-width:1280px){
  #hl-history-v150 .hl-his-card{width:156px;min-width:156px}
  body.hl-analysis-shared-active-v152 #hl-history-v150 .hl-his-header{padding-right:330px}
}

/* V060：商品详情、商品分析及旧BI交互 */
.hl-his-product-modal,.hl-his-analysis-modal{position:fixed;inset:0;background:rgba(7,16,29,.56);z-index:210000;display:flex;align-items:center;justify-content:center;padding:18px}
.hl-his-product-card{width:min(2000px,calc(100vw - 36px));height:min(880px,calc(100vh - 36px));background:#fff;border-radius:9px;box-shadow:0 18px 60px rgba(0,0,0,.3);overflow:hidden;display:flex;flex-direction:column}
.hl-his-product-card>header,.hl-his-analysis-head{height:54px;min-height:54px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid #e5e8ec;color:#202632;font-size:15px}
.hl-his-product-card>header button,.hl-his-analysis-head button{border:0;background:none;font-size:28px;color:#333;cursor:pointer}
.hl-his-product-summary{height:148px;min-height:148px;margin:16px 18px 0;padding:16px;background:#f8f8f9;display:flex;gap:14px;align-items:flex-start}
.hl-his-product-summary img{width:122px;height:112px;object-fit:contain;background:#fff;border:1px solid #e4e7eb}.hl-his-product-summary a{color:#078cf0;font-size:14px;font-weight:600}.hl-his-product-summary p{margin:8px 0 0;color:#737b87;font-size:12px}.hl-his-product-summary em{font-style:normal;color:#ff575c}.hl-his-modal-controls{height:44px;min-height:44px;display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:0 20px}.hl-his-modal-controls button,.hl-his-modal-controls select,.hl-his-modal-controls>span{height:30px;border:1px solid #b9dbff;background:#fff;border-radius:3px;padding:0 13px;color:#647080;font-size:12px}.hl-his-modal-controls button{background:#edf7ff;color:#238ee7;cursor:pointer}.hl-his-modal-controls>span{display:flex;align-items:center}.hl-his-modal-controls .hl-his-info{margin-right:6px}
.hl-his-modal-controls .hl-his-sync-button{position:relative}.hl-his-sync-tooltip{position:absolute;display:none;left:50%;top:38px;transform:translateX(-50%);width:300px;padding:11px 14px;border:1px solid #e4e8ee;border-radius:3px;background:#fff;box-shadow:0 4px 14px rgba(30,45,70,.16);color:#505866;line-height:20px;text-align:left;white-space:normal;z-index:99999}.hl-his-sync-tooltip:before{content:"";position:absolute;top:-7px;left:50%;width:12px;height:12px;background:#fff;border-left:1px solid #e4e8ee;border-top:1px solid #e4e8ee;transform:translateX(-50%) rotate(45deg)}.hl-his-sync-button:hover .hl-his-sync-tooltip{display:block}
.hl-his-product-kpis{height:90px;min-height:90px;padding:0 18px;display:flex;gap:10px;overflow-x:auto}.hl-his-product-kpis article{width:160px;min-width:160px;height:80px;border:1px solid #edf0f3;border-radius:10px;padding:10px;background:#fafafa}.hl-his-product-kpis article:first-child{background:#fff;border:2px solid #168fff}.hl-his-product-kpis span{font-size:13px;color:#636c79}.hl-his-product-kpis strong{display:block;font-size:16px;color:#242a34;margin-top:8px}.hl-his-product-kpis small{display:block;margin-top:8px;color:#9ba2ad;font-size:10px}.hl-his-product-kpis small span{color:#ff4d4f;font-size:10px}
.hl-his-product-tabs{height:42px;min-height:42px;display:flex;align-items:center;padding:0 18px;gap:0}.hl-his-product-tabs button{height:30px;padding:0 16px;border:1px solid #dbe1e8;background:#fff;color:#5d6877;cursor:pointer}.hl-his-product-tabs button.active{background:#2394eb;border-color:#2394eb;color:#fff}.hl-his-product-tabs .export-mini{margin-left:auto}.hl-his-detail-chart{flex:1;min-height:0;padding:0 20px 18px}.hl-his-detail-chart svg{width:100%;height:100%}.hl-his-detail-chart svg line{stroke:#ccd3dc}.hl-his-detail-chart svg path.sale{stroke:#1699f6;stroke-width:2;fill:rgba(22,153,246,.1)}.hl-his-detail-chart svg path.ad{stroke:#ff9b27;stroke-width:2;fill:none}.hl-his-detail-chart svg text{font-size:10px;fill:#7b8593}.hl-his-modal-legend{text-align:center;height:30px;line-height:30px;color:#218ee9}.hl-his-modal-legend i{font-style:normal;color:#ff9b27;margin-left:35px}.hl-his-daily-scroll{flex:1;min-height:0;overflow:auto;margin:0 18px 16px;border:1px solid #e3e8ee}.hl-his-daily-scroll table{border-collapse:separate;border-spacing:0;min-width:2100px;width:100%;font-size:11px}.hl-his-daily-scroll th{position:sticky;top:0;background:#f4f6f9;height:56px;z-index:2}.hl-his-daily-scroll th,.hl-his-daily-scroll td{padding:8px;border-right:1px solid #e5e9ef;border-bottom:1px solid #e5e9ef;text-align:center;white-space:nowrap}.hl-his-daily-scroll tr:nth-child(even) td{background:#f8f9fb}.hl-his-modal-empty{height:100%;display:flex;align-items:center;justify-content:center;color:#9ca5b2}
.hl-his-analysis-card{position:relative;width:min(2040px,calc(100vw - 18px));height:min(1080px,calc(100vh - 18px));background:#fff;border-radius:3px;overflow:hidden}.hl-his-analysis-head{position:absolute;left:110px;right:0;top:0;background:#f4f7fb;z-index:4}.hl-his-analysis-product{position:absolute;left:120px;right:12px;top:55px;height:112px;display:grid;grid-template-columns:90px minmax(380px,1fr) 260px 590px;gap:12px;align-items:center;border-bottom:1px solid #e5e9ef;padding:10px}.hl-his-analysis-product>img{width:76px;height:76px;object-fit:contain}.hl-his-analysis-product a{color:#168ee6;font-weight:600}.hl-his-analysis-product p{margin:6px 0;color:#7b8491;font-size:12px}.hl-his-analysis-product em{font-style:normal;color:#ff4e55}.hl-his-analysis-product .experience{height:75px;border-left:1px solid #dce3ea;display:flex;flex-direction:column;align-items:center;justify-content:center}.hl-his-analysis-product .experience b{font-size:23px;color:green;border-bottom:4px solid green;border-radius:50%;padding:5px 28px}.hl-his-analysis-product .rating{height:90px;border-left:1px solid #dce3ea;padding-left:20px;display:grid;grid-template-columns:90px 75px 1fr;align-items:center}.hl-his-analysis-product .rating>b{font-size:32px;color:#3f9df5}.hl-his-analysis-product .rating>i{font-style:normal;color:#ffb526;font-size:16px}.rating-bars small{display:flex;align-items:center;gap:7px;color:#5aa4ea;line-height:16px}.rating-bars small>i{display:inline-block;width:230px;height:5px;background:#e5eaf0;border-radius:3px}.rating-bars small>i>b{display:block;height:100%;background:#3a9df5;border-radius:3px}.hl-his-analysis-card>aside{position:absolute;left:0;top:0;bottom:0;width:110px;background:#eef1f6;padding-top:55px}.hl-his-analysis-card>aside button{width:100%;height:68px;border:0;border-bottom:1px solid #dce2ea;background:#eef1f6;color:#313a47;cursor:pointer}.hl-his-analysis-card>aside button.active{background:#fff}.hl-his-analysis-card>main{position:absolute;left:120px;right:12px;top:168px;bottom:0;overflow:auto;background:#fff}.hl-his-analysis-loading{height:100%;display:flex;align-items:center;justify-content:center;color:#8792a0}.hl-his-analysis-tabs{height:42px;border-bottom:1px solid #dfe5ec}.hl-his-analysis-tabs button{height:42px;padding:0 22px;border:0;background:#fff;color:#4d5968}.hl-his-analysis-tabs button.active{color:#168ee6;border-bottom:2px solid #168ee6}.hl-his-funnel-data{position:relative;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,78px);background:#f4f8fe}.hl-his-funnel-data>div{padding:14px 18px}.hl-his-funnel-data span{color:#697586;font-size:12px}.hl-his-funnel-data b{display:block;margin-top:8px;font-size:15px}.hl-his-funnel{position:absolute;right:18px;top:0;width:340px;height:234px}.hl-his-funnel i{display:block;margin:auto;height:76px;line-height:76px;text-align:center;color:#fff;font-style:normal;font-size:17px;background:#267bea;clip-path:polygon(8% 0,92% 0,78% 100%,22% 100%)}.hl-his-funnel i:nth-child(2){width:72%;background:#5897ec}.hl-his-funnel i:nth-child(3){width:45%;background:#8bb5ef}.hl-his-funnel em{position:absolute;font-style:normal;color:#3b4655}.hl-his-funnel em:nth-of-type(1){left:-5px;top:62px}.hl-his-funnel em:nth-of-type(2){left:12px;top:145px}.hl-his-experience-page{padding:18px}.hl-his-experience-page .experience-card{height:130px;border:1px solid #e5e9ee;border-radius:12px;padding:28px 22px 20px 145px;position:relative;box-shadow:0 2px 8px rgba(0,0,0,.05)}.hl-his-experience-page .experience-card>b{position:absolute;left:25px;top:30px;font-size:20px;color:green;border:5px solid green;border-bottom:0;border-radius:100px 100px 0 0;padding:28px 42px 8px}.hl-his-experience-page h3{margin:0 0 12px}.hl-his-experience-page p{margin:5px 0;color:#6e7784}.experience-grid{display:grid;grid-template-columns:270px 1fr;gap:14px;margin-top:15px;height:calc(100vh - 390px)}.experience-grid>aside,.experience-grid>main{border:1px solid #e5e9ee;border-radius:10px;padding:18px;color:#5c6572}.experience-grid>aside p{margin-top:140px}.experience-grid>main span{float:right}.experience-grid>main div{height:90%;display:flex;align-items:center;justify-content:center;color:#a0a7b1}.hl-his-review-warning{padding:9px 16px;background:#fff1f0;color:#f06d68}.hl-his-review-summary{height:115px;display:grid;grid-template-columns:1.4fr .5fr 1fr;gap:10px;border:1px solid #cce4ff;margin-top:16px}.hl-his-review-summary>div{padding:10px}.hl-his-review-summary img{width:70px;height:70px;object-fit:contain;float:left;margin-right:15px}.hl-his-review-summary p{font-size:11px;color:#697485}.hl-his-review-summary strong{font-size:34px;color:#3e9af2}.hl-his-review-summary>div:nth-child(2) i{display:block;color:#ffb323;font-style:normal}.hl-his-review-filter{margin-top:16px;border-bottom:1px solid #e4e9ef}.hl-his-review-filter button{height:34px;padding:0 22px;border:1px solid #e1e6ec;background:#fff}.hl-his-review-filter button.active{color:#168ee6}.hl-his-review-list article{min-height:95px;border-bottom:1px solid #e7ebf0;padding:12px}.hl-his-review-list article>b{display:block;color:#ffb320}.hl-his-review-list article>strong{display:block;margin:5px 0}.hl-his-review-list article p{margin:5px 0;color:#5f6875}.hl-his-review-list article small{color:#87909c}.hl-his-review-list article span{display:block;margin-top:5px;color:#6f7885}
@media(max-width:1200px){.hl-his-analysis-product{grid-template-columns:75px 1fr 160px 340px}.rating-bars small>i{width:110px}.hl-his-product-kpis article{min-width:145px}.hl-his-analysis-card>main{overflow:auto}}
#hl-his-floating-tip .hl-his-tip-title{display:block;margin-bottom:4px;color:#ff8a00;font-weight:500;font-size:12px}


/* V152: 修复指标卡右箭头被 flex 最小宽度挤出可视区 */
#hl-history-v150 .hl-his-metric-strip{overflow:visible!important;min-width:0!important;}
#hl-history-v150 .hl-his-card-viewport{flex:1 1 0!important;min-width:0!important;overflow:hidden!important;}
#hl-history-v150 .hl-his-arrow{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 34px!important;position:relative!important;z-index:35!important;visibility:visible!important;opacity:1!important;}

/* V152: 广告指标列，延续旧BI浅蓝色广告分区 */
#hl-history-v150 .hl-his-table-scroll table{min-width:4550px!important;width:4550px!important;}
#hl-history-v150 .col-adSpend{width:118px!important;min-width:118px!important;max-width:118px!important}
#hl-history-v150 .col-adQty{width:92px!important;min-width:92px!important;max-width:92px!important}
#hl-history-v150 .col-adSales{width:128px!important;min-width:128px!important;max-width:128px!important}
#hl-history-v150 .col-tacosItem{width:115px!important;min-width:115px!important;max-width:115px!important}
#hl-history-v150 .col-acos{width:88px!important;min-width:88px!important;max-width:88px!important}
#hl-history-v150 .col-roas{width:88px!important;min-width:88px!important;max-width:88px!important}
#hl-history-v150 .col-avgOrderAdCost{width:145px!important;min-width:145px!important;max-width:145px!important}
#hl-history-v150 .col-adImpressions{width:108px!important;min-width:108px!important;max-width:108px!important}
#hl-history-v150 .col-adClicks{width:102px!important;min-width:102px!important;max-width:102px!important}
#hl-history-v150 .col-adCpc{width:130px!important;min-width:130px!important;max-width:130px!important}
#hl-history-v150 .col-adConversion{width:108px!important;min-width:108px!important;max-width:108px!important}
#hl-history-v150 .col-adCtr{width:102px!important;min-width:102px!important;max-width:102px!important}
#hl-history-v150 th.col-adSpend,#hl-history-v150 th.col-adQty,#hl-history-v150 th.col-adSales,#hl-history-v150 th.col-tacosItem,#hl-history-v150 th.col-acos,#hl-history-v150 th.col-roas,#hl-history-v150 th.col-avgOrderAdCost,#hl-history-v150 th.col-adImpressions,#hl-history-v150 th.col-adClicks,#hl-history-v150 th.col-adCpc,#hl-history-v150 th.col-adConversion,#hl-history-v150 th.col-adCtr{background:#d8f2fa!important;}

/* V152: 为右上角广告流量同款时间控件预留空间 */
body.hl-analysis-shared-active-v152 #hl-history-v150 .hl-his-header{padding-right:430px!important;min-height:70px!important;}
body.hl-analysis-shared-active-v152 #hl-history-v150 .hl-his-pin{display:none!important;}


/* V153: 红色提示只包文字；指标箭头严格采用广告流量的三列布局 */
#hl-history-v150{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  max-height:none!important;
  overflow-x:hidden!important;
  overflow-y:visible!important;
}
#hl-history-v150 .hl-his-overview,
#hl-history-v150 .hl-his-detail{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
#hl-history-v150 .hl-his-rednote{
  display:table!important;
  width:auto!important;
  max-width:calc(100% - 20px)!important;
  margin:0 10px 8px!important;
  padding:6px 12px!important;
  white-space:normal!important;
}
#hl-history-v150 .hl-his-metric-strip{
  display:grid!important;
  grid-template-columns:40px minmax(0,1fr) 40px!important;
  align-items:stretch!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  margin:0 0 2px!important;
  padding:2px 10px 0!important;
}
#hl-history-v150 .hl-his-card-viewport{
  display:block!important;
  min-width:0!important;
  width:100%!important;
  overflow:hidden!important;
}
#hl-history-v150 .hl-his-cards{min-width:max-content!important}
#hl-history-v150 .hl-his-arrow{
  border:0!important;
  background:#f4f6f8!important;
  color:#0f172a!important;
  font-size:32px!important;
  border-radius:4px!important;
  cursor:pointer!important;
  width:40px!important;
  min-width:40px!important;
  max-width:40px!important;
  display:grid!important;
  place-items:center!important;
  position:relative!important;
  inset:auto!important;
  margin:0!important;
  padding:0!important;
  z-index:60!important;
  visibility:visible!important;
  opacity:1!important;
}
#hl-history-v150 .hl-his-arrow.right{justify-self:end!important}
#hl-history-v150 .hl-his-arrow:disabled{opacity:.35!important;cursor:default!important}
#hl-history-v150 .hl-his-arrow:not(:disabled):hover{background:#eaf2fb!important}

/* V153: 旧BI费用/利润/税费区 */
#hl-history-v150 th.col-platformFee,
#hl-history-v150 th.col-shippingFee{background:#fff0e4!important}
#hl-history-v150 th.col-grossProfit,
#hl-history-v150 th.col-grossMargin,
#hl-history-v150 th.col-netProfit,
#hl-history-v150 th.col-netMargin,
#hl-history-v150 th.col-unitNetProfit,
#hl-history-v150 th.col-roi,
#hl-history-v150 th.col-taxAmount,
#hl-history-v150 th.col-taxReturn{background:#e8f7df!important}
#hl-history-v150 .col-platformFee{width:112px!important;min-width:112px!important}
#hl-history-v150 .col-shippingFee{width:104px!important;min-width:104px!important}
#hl-history-v150 .col-grossProfit{width:112px!important;min-width:112px!important}
#hl-history-v150 .col-grossMargin{width:92px!important;min-width:92px!important}
#hl-history-v150 .col-netProfit{width:112px!important;min-width:112px!important}
#hl-history-v150 .col-netMargin{width:92px!important;min-width:92px!important}
#hl-history-v150 .col-unitNetProfit{width:96px!important;min-width:96px!important}
#hl-history-v150 .col-roi{width:92px!important;min-width:92px!important}
#hl-history-v150 .col-taxAmount{width:104px!important;min-width:104px!important}
#hl-history-v150 .col-taxReturn{width:112px!important;min-width:112px!important}
#hl-history-v150 .hl-his-table-scroll{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:auto!important;
}
#hl-history-v150 .hl-his-table-scroll table{
  min-width:5650px!important;
  width:5650px!important;
}

/* V155：历史分析横向滚动与分页完全参考订单管理，始终固定在浏览器底部 */
#hl-history-v150 .hl-his-detail{position:relative!important;min-width:0!important;height:auto!important;max-height:none!important;overflow:visible!important;}
#hl-history-v150 .hl-his-table-scroll{
  overflow-x:auto!important;
  overflow-y:visible!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
#hl-history-v150 .hl-his-table-scroll::-webkit-scrollbar{height:0!important;width:0!important;display:none!important;}
#hl-history-v150 .hl-his-pagination-v157{
  min-height:50px!important;
  height:50px!important;
  box-sizing:border-box!important;
  padding:8px 20px!important;
  background:rgba(255,255,255,.98)!important;
  border-top:1px solid #e2e8f0!important;
  box-shadow:0 -2px 10px rgba(15,23,42,.08)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:18px!important;
  color:#4c5565!important;
  font-size:13px!important;
  white-space:nowrap!important;
}
#hl-history-v150 .hl-his-pagination-v157 select{
  width:150px!important;
  min-width:150px!important;
  height:34px!important;
  padding:0 34px 0 14px!important;
  border:1px solid #d9e0e9!important;
  border-radius:4px!important;
  background:#fff!important;
  color:#4c5565!important;
  outline:none!important;
  box-sizing:border-box!important;
}
#hl-history-v150 .hl-his-page-nav{display:inline-flex!important;align-items:center!important;gap:8px!important;}
#hl-history-v150 .hl-his-page-nav button{
  min-width:32px!important;height:32px!important;padding:0 9px!important;border:0!important;border-radius:2px!important;
  background:#f5f6f8!important;color:#3f4753!important;cursor:pointer!important;
}
#hl-history-v150 .hl-his-page-nav button:hover:not(:disabled):not(.active){background:#eaf4ff!important;color:#168af0!important;}
#hl-history-v150 .hl-his-page-nav button.active{background:#2f95ed!important;color:#fff!important;}
#hl-history-v150 .hl-his-page-nav button:disabled{opacity:.42!important;cursor:not-allowed!important;}
#hl-history-v150 .hl-his-page-jump{display:inline-flex!important;align-items:center!important;gap:7px!important;}
#hl-history-v150 .hl-his-page-jump input{
  width:52px!important;height:32px!important;box-sizing:border-box!important;border:1px solid #d9e0e9!important;
  border-radius:4px!important;text-align:center!important;outline:none!important;color:#4c5565!important;
}
#hl-history-v150 .hl-his-page-jump input:focus,#hl-history-v150 .hl-his-pagination-v157 select:focus{border-color:#2f95ed!important;box-shadow:0 0 0 2px rgba(47,149,237,.12)!important;}
.hl-his-fixed-hscroll-v157{
  position:fixed!important;
  z-index:1895!important;
  height:16px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  background:#f7f9fc!important;
  border-top:1px solid #e1e6ed!important;
  box-shadow:0 -1px 4px rgba(15,23,42,.05)!important;
}
.hl-his-fixed-hscroll-inner-v157{height:1px!important;min-height:1px!important;}
.hl-his-fixed-hscroll-v157::-webkit-scrollbar{height:12px!important;}
.hl-his-fixed-hscroll-v157::-webkit-scrollbar-thumb{background:#9aa3ad!important;border-radius:8px!important;border:2px solid #f7f9fc!important;}
.hl-his-fixed-hscroll-v157::-webkit-scrollbar-track{background:#e9edf2!important;}

/* V155：公共日期控件已经进入历史分析 header，取消旧版本为绝对定位预留的右侧空白 */
body.hl-analysis-shared-active-v155 #hl-history-v150 .hl-his-header{padding-right:0!important;min-height:58px!important;}
body.hl-analysis-shared-active-v155 #hl-history-v150 .hl-his-pin{display:none!important;}

@media(max-width:900px){
  #hl-history-v150 .hl-his-pagination-v157{gap:10px!important;padding-left:10px!important;padding-right:10px!important;}
  #hl-history-v150 .hl-his-pagination-v157 select{width:136px!important;min-width:136px!important;}
}

/* V155：顶部指标卡区域加高，避免环比/数值被裁切；高度参考广告流量模块 */
#hl-history-v150 .hl-his-metric-strip{
  height:100px!important;
  min-height:100px!important;
  padding:5px 10px 7px!important;
  align-items:center!important;
}
#hl-history-v150 .hl-his-card-viewport{
  height:88px!important;
  min-height:88px!important;
  align-self:center!important;
}
#hl-history-v150 .hl-his-cards{
  height:88px!important;
  align-items:stretch!important;
}
#hl-history-v150 .hl-his-card{
  height:88px!important;
  min-height:88px!important;
  padding:9px 10px 8px!important;
}
#hl-history-v150 .hl-his-card.active{padding:8px 9px 7px!important;}
#hl-history-v150 .hl-his-card strong{margin-top:6px!important;line-height:21px!important;}
#hl-history-v150 .hl-his-card small{margin-top:7px!important;line-height:14px!important;}
#hl-history-v150 .hl-his-arrow{
  height:88px!important;
  min-height:88px!important;
  align-self:center!important;
}

/* V155：历史分析标题/时间区域完全按广告流量的右上布局，取消下方分隔线 */
body.hl-analysis-shared-active-v155 #hl-history-v150 .hl-his-header{
  height:58px!important;
  min-height:58px!important;
  padding:5px 12px 3px!important;
  align-items:flex-start!important;
  border-bottom:0!important;
}
body.hl-analysis-shared-active-v155 #hl-history-v150 .hl-his-header>div:first-child{
  padding-top:5px!important;
}
body.hl-analysis-shared-active-v155 #hl-history-v150 .hl-his-header>.hl-analysis-shared-range-v155{
  margin-top:-1px!important;
  margin-right:0!important;
}


/* V157：统一分析页顶部高度 / 历史曲线悬停 / 表格放大 / 图片列固定 */
#hl-history-v150 .hl-his-overview{
  height:458px!important;
  min-height:458px!important;
  overflow:visible!important;
}
#hl-history-v150 .hl-his-header{height:54px!important;min-height:54px!important;}
#hl-history-v150 .hl-his-rednote{margin-top:4px!important;margin-bottom:7px!important;}
#hl-history-v150 .hl-his-metric-strip{height:100px!important;min-height:100px!important;}
#hl-history-v150 .hl-his-chart-legend{height:28px!important;}
#hl-history-v150 .hl-his-chart{height:244px!important;padding:0 10px 8px!important;position:relative!important;overflow:visible!important;}
#hl-history-v150 .hl-his-chart svg{height:100%!important;}
#hl-history-v150 .hl-his-chart svg .previous-point-v157{fill:#fff;stroke:#ff9d2e;stroke-width:1.5;}
.hl-his-chart-hover-v157{position:absolute;inset:0;pointer-events:none;display:none;z-index:80;}
.hl-his-chart-hover-v157.show{display:block;}
.hl-his-chart-hover-line-v157{position:absolute;width:0;border-left:1px dashed #42a5f5;transform:translateX(-.5px);}
.hl-his-chart-hover-dot-v157{position:absolute;width:9px;height:9px;border-radius:50%;transform:translate(-50%,-50%);background:#fff;box-shadow:0 0 0 1px rgba(255,255,255,.8);}
.hl-his-chart-hover-dot-v157.current{border:2px solid #2698ee;}
.hl-his-chart-hover-dot-v157.previous{border:2px solid #f59e0b;}
.hl-his-chart-tooltip-v157{position:absolute;min-width:168px;max-width:250px;padding:8px 10px;border:1px solid #d9e2ec;border-radius:5px;background:rgba(255,255,255,.98);box-shadow:0 5px 18px rgba(15,23,42,.16);color:#475569;font-size:12px;line-height:19px;white-space:nowrap;}
.hl-his-chart-tooltip-v157 b{display:block;margin-bottom:3px;color:#334155;font-weight:600;}
.hl-his-chart-tooltip-v157 span{display:flex;align-items:center;gap:5px;}
.hl-his-chart-tooltip-v157 span>i{display:inline-block;width:8px;height:8px;border-radius:50%;}
.hl-his-chart-tooltip-v157 span>i.current{background:#2698ee;}.hl-his-chart-tooltip-v157 span>i.previous{background:#f59e0b;}
.hl-his-chart-tooltip-v157 strong{margin-left:auto;color:#334155;font-weight:600;}

#hl-history-v150 .hl-his-table-scroll table{
  min-width:6550px!important;
  width:6550px!important;
  font-size:12.5px!important;
}
#hl-history-v150 .hl-his-table-scroll th{
  height:46px!important;
  padding:7px 8px!important;
  line-height:18px!important;
  font-size:13px!important;
  font-weight:600!important;
}
#hl-history-v150 .hl-his-table-scroll td{
  height:78px!important;
  padding:8px 9px!important;
  line-height:19px!important;
  font-size:12.5px!important;
}
#hl-history-v150 .product-title{font-size:12.5px!important;line-height:18px!important;max-height:38px!important;}
#hl-history-v150 .col-title small{font-size:11px!important;line-height:16px!important;}
#hl-history-v150 .acts button{font-size:11px!important;min-width:31px!important;padding:4px 6px!important;}
#hl-history-v150 .img-wrap{width:62px!important;height:62px!important;}
#hl-history-v150 .img-wrap img{width:58px!important;height:58px!important;}
#hl-history-v150 .col-image{width:84px!important;min-width:84px!important;max-width:84px!important;}
#hl-history-v150 .col-actions{width:92px!important;min-width:92px!important;max-width:92px!important;}
#hl-history-v150 .col-title{width:245px!important;min-width:245px!important;max-width:245px!important;}
#hl-history-v150 .col-idSku{width:205px!important;min-width:205px!important;max-width:205px!important;}
#hl-history-v150 .col-spec{width:190px!important;min-width:190px!important;max-width:190px!important;}
#hl-history-v150 .col-store{width:190px!important;min-width:190px!important;max-width:190px!important;}
#hl-history-v150 .col-listedDate{width:112px!important;min-width:112px!important;max-width:112px!important;}
#hl-history-v150 .col-firstWarehouse{width:128px!important;min-width:128px!important;max-width:128px!important;}
#hl-history-v150 .col-firstSale{width:145px!important;min-width:145px!important;max-width:145px!important;}
#hl-history-v150 .col-status{width:118px!important;min-width:118px!important;max-width:118px!important;}
#hl-history-v150 .col-visits2y,#hl-history-v150 .col-buyerVisits{width:122px!important;min-width:122px!important;max-width:122px!important;}
#hl-history-v150 .col-orderCount{width:96px!important;min-width:96px!important;max-width:96px!important;}
#hl-history-v150 .col-conversion{width:122px!important;min-width:122px!important;max-width:122px!important;}
#hl-history-v150 .col-realQty,#hl-history-v150 .col-saleQty,#hl-history-v150 .col-dailySales,#hl-history-v150 .col-refundQty,#hl-history-v150 .col-stock,#hl-history-v150 .col-available,#hl-history-v150 .col-sellableDays{width:108px!important;min-width:108px!important;max-width:108px!important;}
#hl-history-v150 .col-realAmount,#hl-history-v150 .col-saleAmount,#hl-history-v150 .col-refundAmount,#hl-history-v150 .col-stockAmount{width:142px!important;min-width:142px!important;max-width:142px!important;}
#hl-history-v150 .col-avgPrice,#hl-history-v150 .col-actualRefundQty{width:124px!important;min-width:124px!important;max-width:124px!important;}
#hl-history-v150 .col-refundRate,#hl-history-v150 .col-grossMargin,#hl-history-v150 .col-netMargin,#hl-history-v150 .col-roi,#hl-history-v150 .col-acos,#hl-history-v150 .col-roas{width:102px!important;min-width:102px!important;max-width:102px!important;}
#hl-history-v150 .col-dailyStock{width:155px!important;min-width:155px!important;max-width:155px!important;}
#hl-history-v150 .col-monthStock{width:165px!important;min-width:165px!important;max-width:165px!important;}
#hl-history-v150 .col-previousMonthStock{width:178px!important;min-width:178px!important;max-width:178px!important;}
#hl-history-v150 .col-sku{width:210px!important;min-width:210px!important;max-width:210px!important;}
#hl-history-v150 .col-adSpend{width:132px!important;min-width:132px!important;max-width:132px!important;}
#hl-history-v150 .col-adQty{width:105px!important;min-width:105px!important;max-width:105px!important;}
#hl-history-v150 .col-adSales{width:142px!important;min-width:142px!important;max-width:142px!important;}
#hl-history-v150 .col-tacosItem{width:128px!important;min-width:128px!important;max-width:128px!important;}
#hl-history-v150 .col-avgOrderAdCost{width:160px!important;min-width:160px!important;max-width:160px!important;}
#hl-history-v150 .col-adImpressions,#hl-history-v150 .col-adClicks,#hl-history-v150 .col-adConversion,#hl-history-v150 .col-adCtr{width:120px!important;min-width:120px!important;max-width:120px!important;}
#hl-history-v150 .col-adCpc{width:145px!important;min-width:145px!important;max-width:145px!important;}
#hl-history-v150 .col-platformFee,#hl-history-v150 .col-shippingFee,#hl-history-v150 .col-grossProfit,#hl-history-v150 .col-netProfit,#hl-history-v150 .col-taxAmount,#hl-history-v150 .col-taxReturn{width:128px!important;min-width:128px!important;max-width:128px!important;}
#hl-history-v150 .col-unitNetProfit{width:112px!important;min-width:112px!important;max-width:112px!important;}

/* 横向滚动时图片列始终固定最左侧 */
#hl-history-v150 .hl-his-table-scroll th.col-image{
  position:sticky!important;left:0!important;top:0!important;z-index:45!important;background:#f7f8fa!important;
  box-shadow:2px 0 5px rgba(15,23,42,.08);
}
#hl-history-v150 .hl-his-table-scroll td.col-image{
  position:sticky!important;left:0!important;z-index:18!important;background:#fff!important;
  box-shadow:2px 0 5px rgba(15,23,42,.08);
}
#hl-history-v150 .hl-his-table-scroll tr:hover td.col-image{background:#f8fbff!important;}


/* V160：历史分析曲线视觉严格向广告流量靠齐 */
body.hl-analysis-v160-history #hl-history-v150 .hl-his-chart svg .grid{
  stroke:#edf1f5!important;
  stroke-width:1!important;
}
body.hl-analysis-v160-history #hl-history-v150 .hl-his-chart svg .current-line{
  fill:none!important;
  stroke:#1890ff!important;
  stroke-width:2.2px!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  vector-effect:non-scaling-stroke!important;
}
body.hl-analysis-v160-history #hl-history-v150 .hl-his-chart svg .previous-line{
  fill:none!important;
  stroke:#f59e0b!important;
  stroke-width:2.2px!important;
  stroke-dasharray:2 3!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  vector-effect:non-scaling-stroke!important;
}
body.hl-analysis-v160-history #hl-history-v150 .hl-his-chart svg .area{
  fill:#1890ff!important;
  opacity:.08!important;
  stroke:none!important;
}
body.hl-analysis-v160-history #hl-history-v150 .previous-point-v157,
body.hl-analysis-v160-history #hl-history-v150 .current-point{
  display:none!important;
}
#hl-history-v150 .hl-his-chart-points circle{
  stroke:#fff!important;
  stroke-width:2!important;
  vector-effect:non-scaling-stroke!important;
  pointer-events:none!important;
}
#hl-history-v150 .hl-his-chart-points circle.current{fill:#1890ff!important}
#hl-history-v150 .hl-his-chart-points circle.previous{fill:#f59e0b!important}
#hl-history-v150 .hl-his-chart-x text{fill:#999!important;font-size:10px!important;font-weight:400!important}
#hl-history-v150 .hl-his-chart-y text{fill:#999!important;font-size:11px!important;font-weight:400!important}

/* V160 悬停：和广告流量一样保留竖向辅助线和数据浮层 */
#hl-history-v150 .hl-his-chart-hover-v160{
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  opacity:0;
  z-index:30;
}
#hl-history-v150 .hl-his-chart-hover-v160.show{opacity:1}
#hl-history-v150 .hl-his-chart-hover-line-v160{
  position:absolute!important;
  width:0!important;
  border-left:1.2px dashed #38bdf8!important;
  transform:translateX(-.6px);
}
#hl-history-v150 .hl-his-chart-tooltip-v160{
  position:absolute!important;
  width:236px!important;
  box-sizing:border-box!important;
  transform:translateX(-50%)!important;
  padding:9px 11px!important;
  display:grid!important;
  gap:5px!important;
  border:1px solid #d9e2ec!important;
  border-radius:6px!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 8px 24px rgba(15,23,42,.12)!important;
  color:#606266!important;
  font-size:12px!important;
  line-height:20px!important;
  pointer-events:none!important;
}
#hl-history-v150 .hl-his-chart-tooltip-v160>strong{display:block!important;margin-bottom:3px!important;color:#303133!important;font-weight:600!important}
#hl-history-v150 .hl-his-chart-tooltip-v160 span{display:grid!important;grid-template-columns:10px minmax(0,1fr) auto!important;align-items:center!important;gap:6px!important;white-space:nowrap!important}
#hl-history-v150 .hl-his-chart-tooltip-v160 span i{width:10px!important;height:10px!important;display:inline-block!important}
#hl-history-v150 .hl-his-chart-tooltip-v160 span i.current{background:#1890ff!important}
#hl-history-v150 .hl-his-chart-tooltip-v160 span i.previous{background:#f59e0b!important}
#hl-history-v150 .hl-his-chart-tooltip-v160 span em{font-style:normal!important;overflow:hidden!important;text-overflow:ellipsis!important}
#hl-history-v150 .hl-his-chart-tooltip-v160 span b{margin-left:12px!important;color:#303133!important;font-weight:600!important}


/* V169：历史分析标题栏细节 */
#hl-history-v150 .hl-his-header{
  position:relative!important;
}
#hl-history-v150 .hl-his-pin{
  position:absolute!important;
  right:12px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  margin:0!important;
  padding:0!important;
  z-index:20!important;
}

/* 粉色两条说明整体向上微移 */
#hl-history-v150 .hl-his-rednote{
  margin-top:-3px!important;
  margin-bottom:7px!important;
}

/* V162：历史分析商品类型与旧 BI 图片/操作列一致 */
#hl-history-v150 .img-wrap{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
}
#hl-history-v150 .img-wrap .variant-marker{
  position:absolute!important;
  left:-15px!important;
  top:50%!important;
  transform:translateY(-52%)!important;
  display:block!important;
  color:#1597e5!important;
  font-size:25px!important;
  line-height:18px!important;
  font-family:Arial,sans-serif!important;
  font-weight:500!important;
  pointer-events:none!important;
}
#hl-history-v150 .img-wrap .official{
  left:-13px!important;
  top:-8px!important;
  padding:2px 5px!important;
  border-radius:2px!important;
  background:#24a8e9!important;
  font-size:10px!important;
  line-height:15px!important;
  z-index:2!important;
}
#hl-history-v150 .acts{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
}
#hl-history-v150 .acts button{
  width:36px!important;
  min-width:36px!important;
  max-width:36px!important;
  height:36px!important;
  min-height:36px!important;
  max-height:36px!important;
  flex:0 0 36px!important;
  box-sizing:border-box!important;
  padding:2px 1px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:1px!important;
  border:1px solid #229bf0!important;
  border-radius:5px!important;
  background:#fff!important;
  color:#168fe5!important;
  font-size:11px!important;
  line-height:11px!important;
}
#hl-history-v150 .acts button:hover{background:#f1f9ff!important;}
#hl-history-v150 .acts .act-icon{
  position:relative!important;
  display:block!important;
  width:13px!important;
  height:12px!important;
  border:1.3px solid currentColor!important;
  border-radius:3px!important;
  box-sizing:border-box!important;
}
#hl-history-v150 .acts .act-icon:before{
  content:''!important;
  position:absolute!important;
  width:4px!important;
  height:4px!important;
  border:1.2px solid currentColor!important;
  border-radius:50%!important;
  left:2px!important;
  top:2px!important;
  box-sizing:border-box!important;
}
#hl-history-v150 .acts .act-icon:after{
  content:''!important;
  position:absolute!important;
  width:5px!important;
  border-top:1.2px solid currentColor!important;
  transform:rotate(42deg)!important;
  right:-3px!important;
  bottom:0!important;
}

/* 历史分析最终样式以旧 BI 为准。 */
#hl-history-v150 .hl-his-table-scroll th{
  height:44px!important;
  padding:12px 0!important;
  background:#fff!important;
  color:#222!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:18px!important;
  text-align:center!important;
  vertical-align:middle!important;
}
#hl-history-v150 .hl-his-table-scroll td{
  height:73px!important;
  padding:12px 8px!important;
  color:#606266!important;
  font-size:12px!important;
  font-weight:400!important;
  line-height:14px!important;
  vertical-align:middle!important;
}
#hl-history-v150 .hl-his-table-scroll tbody tr:hover>td,
#hl-history-v150 .hl-his-table-scroll tbody tr:hover>td.col-image{background:#f5f7fa!important}
#hl-history-v150 .hl-his-table-scroll th.col-image{background:#fff!important}
#hl-history-v150 .hl-his-sort{display:inline-flex;align-items:center;justify-content:center;gap:2px;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;cursor:pointer}
#hl-history-v150 .hl-his-sort i{min-width:12px;color:#168ee6;font-style:normal;font-size:11px}
#hl-history-v150 .hl-his-copy{margin-left:4px;padding:0;border:0;background:transparent;color:#606266;font-size:12px;line-height:1;cursor:pointer}
#hl-history-v150 .hl-his-copy:hover,#hl-history-v150 .hl-his-copy.copied{color:#168ee6}
#hl-history-v150 .hl-his-status-head{display:inline-flex;align-items:center;justify-content:center;gap:0;color:#222;font:inherit;font-weight:inherit;white-space:nowrap}
#hl-history-v150 .hl-his-status-head select{width:auto;max-width:92px;height:22px;margin:0 -1px;padding:0 14px 0 0;border:0;background:transparent;color:#222;font:inherit;font-weight:inherit;cursor:pointer;outline:none}
#hl-history-v150 .hl-his-toolbar button:disabled{opacity:.45;cursor:not-allowed}

#hl-history-v150 .hl-his-sku-daily table{width:max-content!important;min-width:100%!important}
#hl-history-v150 .hl-his-sku-daily th,#hl-history-v150 .hl-his-sku-daily td{min-width:105px!important}
#hl-history-v150 .hl-his-sku-daily th:first-child,#hl-history-v150 .hl-his-sku-daily td:first-child{min-width:84px!important;width:84px!important}
#hl-history-v150 .hl-his-sku-daily th:nth-child(2),#hl-history-v150 .hl-his-sku-daily td:nth-child(2){min-width:210px!important;text-align:left!important}
#hl-history-v150 .hl-his-sku-daily th:nth-child(7),#hl-history-v150 .hl-his-sku-daily td:nth-child(7){min-width:76px!important}
#hl-history-v150 .hl-his-sku-daily td>div{white-space:nowrap}
#hl-history-v150 .hl-his-sku-daily td:nth-child(n+8)>div+div{margin-top:5px;color:#909399}
#hl-history-v150 .hl-his-sku-daily select{height:27px;padding:0 22px 0 7px;border:1px solid #dcdfe6;border-radius:3px;background:#fff;color:#606266;font-size:11px;outline:none}
#hl-history-v150 .hl-his-sku-spark{width:90px;height:34px;overflow:visible}
#hl-history-v150 .hl-his-sku-spark polyline{fill:none;stroke:#168ee6;stroke-width:1.6}
#hl-history-v150 .hl-his-sku-analysis{height:30px;padding:0 12px;border:1px solid #168ee6;border-radius:3px;background:#fff;color:#168ee6;cursor:pointer}
#hl-history-v150 .hl-his-sku-period{display:inline-flex;margin-left:4px;border:1px solid #dcdfe6;border-radius:3px;overflow:hidden;background:#fff}
#hl-history-v150 .hl-his-sku-period button{min-width:42px;border:0!important;border-radius:0!important;background:#fff!important;color:#606266!important}
#hl-history-v150 .hl-his-sku-period button+button{border-left:1px solid #dcdfe6!important}
#hl-history-v150 .hl-his-sku-period button.active{background:#168fff!important;color:#fff!important}
#hl-history-v150 .hl-his-sku-daily-error{min-height:120px;margin:0 10px;display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid #f6c7ca;background:#fff5f5;color:#e65b63;font-size:12px}
#hl-history-v150 .hl-his-sku-daily-error button{height:30px;padding:0 14px;border:1px solid #168fff;border-radius:3px;background:#168fff;color:#fff;cursor:pointer}

.hl-his-modal .hl-his-columns-card{width:min(980px,calc(100vw - 40px));max-height:calc(100vh - 50px);display:flex;flex-direction:column}
.hl-his-modal .hl-his-columns-body{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.8fr);gap:16px;min-height:0;overflow:hidden}
.hl-his-column-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;overflow:auto;padding-right:6px}
.hl-his-column-groups section{border:1px solid #e4e7ed;border-radius:4px;padding:10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;background:#fff}
.hl-his-column-groups h3{grid-column:1/-1;margin:0 0 3px;padding-bottom:8px;border-bottom:1px solid #ebeef5;font-size:13px;color:#303133}
.hl-his-column-groups label{display:flex;align-items:center;gap:5px;line-height:22px}
.hl-his-columns-body>aside{border-left:1px solid #ebeef5;padding-left:16px;min-height:0;display:flex;flex-direction:column}
.hl-his-columns-body>aside>header{height:auto;padding:0 0 10px;border:0;display:grid;grid-template-columns:1fr auto;gap:3px}
.hl-his-columns-body>aside>header span{grid-column:1;color:#909399;font-size:11px}
.hl-his-columns-body>aside>header button{grid-column:2;grid-row:1/3;height:28px;border:1px solid #dcdfe6;border-radius:3px;background:#fff;color:#606266;font-size:12px}
.hl-his-column-order{overflow:auto;border:1px solid #ebeef5;border-radius:4px;background:#fafafa;padding:5px}
.hl-his-column-order>div{height:32px;margin:4px;display:grid;grid-template-columns:26px 1fr 22px;align-items:center;border:1px solid #e1e6ec;border-radius:3px;background:#fff;color:#606266;cursor:grab}
.hl-his-column-order>div i{font-style:normal;text-align:center;color:#909399}.hl-his-column-order>div b{color:#a6adb8;font-weight:400}
.hl-his-modal .hl-his-stale-card{width:620px}
.hl-his-stale-note{margin:16px 18px 0;padding:10px 12px;background:#f4f8ff;color:#606266;font-size:12px}
.hl-his-modal .hl-his-stale-card .modal-body{display:grid;grid-template-columns:1fr;gap:16px}
.hl-his-stale-card .modal-body label{display:grid;grid-template-columns:90px 1fr 24px 1fr;align-items:center;gap:8px}
.hl-his-stale-card input{height:32px;border:1px solid #dcdfe6;border-radius:3px;padding:0 8px;color:#606266}

/* 历史分析旧 BI 对齐：完整 KPI、下滑缩小固定、曲线及利润分析同款分页栏。 */
body.hl-analysis-v166-history #hl-history-v150 .hl-his-overview{
  height:568px!important;
  min-height:568px!important;
}
body.hl-analysis-v166-history #hl-history-v150 .hl-his-metric-strip{
  height:120px!important;
  min-height:120px!important;
  padding:3px 10px 4px!important;
  grid-template-columns:40px minmax(0,1fr) 40px!important;
  background:#fff!important;
}
body.hl-analysis-v166-history #hl-history-v150 .hl-his-card-viewport,
body.hl-analysis-v166-history #hl-history-v150 .hl-his-cards{
  height:113px!important;
  min-height:113px!important;
}
body.hl-analysis-v166-history #hl-history-v150 .hl-his-cards{
  gap:20px!important;
  align-items:stretch!important;
}
body.hl-analysis-v166-history #hl-history-v150 .hl-his-card{
  width:265px!important;
  min-width:265px!important;
  max-width:265px!important;
  height:113px!important;
  min-height:113px!important;
  padding:10px!important;
  border:2px solid #f4f4f4!important;
  border-radius:10px!important;
  background:transparent!important;
  box-sizing:border-box!important;
}
body.hl-analysis-v166-history #hl-history-v150 .hl-his-card.active{
  padding:10px!important;
  border:2px solid #168cff!important;
  background:#fff!important;
}
body.hl-analysis-v166-history #hl-history-v150 .hl-his-card-title{
  color:#606266!important;
  font-size:14px!important;
  line-height:20px!important;
}
body.hl-analysis-v166-history #hl-history-v150 .hl-his-card.active .hl-his-card-title{color:#409eff!important}
body.hl-analysis-v166-history #hl-history-v150 .hl-his-card strong{
  display:block!important;
  margin:0!important;
  padding:12px 0 10px!important;
  color:#303133!important;
  font-size:16px!important;
  line-height:21px!important;
}
body.hl-analysis-v166-history #hl-history-v150 .hl-his-card small{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  margin:0!important;
  color:#a0a6af!important;
  font-size:12px!important;
  line-height:17px!important;
}
body.hl-analysis-v166-history #hl-history-v150 .hl-his-card small>span:last-child{display:flex!important;align-items:center!important;gap:7px!important}
body.hl-analysis-v166-history #hl-history-v150 .hl-his-card small em{margin:0!important}
body.hl-analysis-v166-history #hl-history-v150 .hl-his-card small b{color:#606266!important;font-weight:400!important}
body.hl-analysis-v166-history #hl-history-v150 .hl-his-arrow{
  height:113px!important;
  min-height:113px!important;
}
body.hl-analysis-v166-history #hl-history-v150 .hl-his-chart{
  height:250px!important;
  min-height:250px!important;
  padding:0 10px 8px!important;
}
body.hl-analysis-v166-history #hl-history-v150 .hl-his-chart svg{height:250px!important}
body.hl-analysis-v166-history #hl-history-v150 .hl-his-chart-points{display:block!important}
body.hl-analysis-v166-history #hl-history-v150 .hl-his-chart-points circle{
  display:block!important;
  opacity:1!important;
}

/* 旧 BI / 即时分析同款逐段固定：KPI 自身到顶后缩小固定。 */
body.hl-analysis-v166-history #hl-history-v150.hl-his-kpi-fixed-v165 .hl-his-metric-strip{
  position:fixed!important;
  top:var(--hl-his-kpi-top)!important;
  left:var(--hl-his-kpi-left)!important;
  width:var(--hl-his-kpi-width)!important;
  height:88px!important;
  min-height:88px!important;
  margin:0!important;
  padding:4px 10px!important;
  z-index:1010!important;
  box-shadow:0 2px 6px rgba(15,23,42,.08)!important;
}
body.hl-analysis-v166-history #hl-history-v150.hl-his-kpi-fixed-v165 .hl-his-card-viewport,
body.hl-analysis-v166-history #hl-history-v150.hl-his-kpi-fixed-v165 .hl-his-cards,
body.hl-analysis-v166-history #hl-history-v150.hl-his-kpi-fixed-v165 .hl-his-card{
  height:80px!important;
  min-height:80px!important;
}
body.hl-analysis-v166-history #hl-history-v150.hl-his-kpi-fixed-v165 .hl-his-card strong{
  margin-top:6px!important;
  padding:0!important;
  line-height:24px!important;
}
body.hl-analysis-v166-history #hl-history-v150.hl-his-kpi-fixed-v165 .hl-his-card small{display:none!important}
body.hl-analysis-v166-history #hl-history-v150.hl-his-kpi-fixed-v165 .hl-his-arrow{height:80px!important;min-height:80px!important}
body.hl-analysis-v166-history #hl-history-v150.hl-his-kpi-fixed-v165 .hl-his-chart-legend{
  margin-top:88px!important;
}
/* 筛选栏到达缩小 KPI 下方后使用固定坐标，避免重渲染时 native sticky 丢失。 */
body.hl-analysis-v166-history #hl-history-v150 .hl-his-toolbar-placeholder{
  display:none!important;
  width:100%!important;
  height:54px!important;
  min-height:54px!important;
}
body.hl-analysis-v166-history #hl-history-v150.hl-his-toolbar-fixed .hl-his-toolbar-placeholder{
  display:block!important;
}
body.hl-analysis-v166-history #hl-history-v150.hl-his-toolbar-fixed .hl-his-toolbar{
  position:fixed!important;
  top:var(--hl-his-toolbar-top)!important;
  left:var(--hl-his-kpi-left)!important;
  width:var(--hl-his-kpi-width)!important;
  box-sizing:border-box!important;
  height:54px!important;
  min-height:54px!important;
  margin:0!important;
  padding:9px 10px 8px!important;
  overflow:hidden!important;
  background:#fff!important;
  border-top:0!important;
  border-bottom:1px solid #e5e9ef!important;
  z-index:1011!important;
}
#hl-history-v150 .hl-his-fixed-head-v166{
  position:fixed!important;
  height:45px!important;
  overflow:hidden!important;
  background:#fff!important;
  border-top:1px solid #e5e9ef!important;
  border-bottom:1px solid #dfe5eb!important;
  z-index:1012!important;
}
#hl-history-v150 .hl-his-fixed-head-table-v166{
  height:45px!important;
  margin:0!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  table-layout:fixed!important;
  background:#fff!important;
  transition:none!important;
}
#hl-history-v150 .hl-his-fixed-head-table-v166 thead,
#hl-history-v150 .hl-his-fixed-head-table-v166 tr{height:44px!important}
#hl-history-v150 .hl-his-fixed-head-table-v166 th{
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  padding:4px 0!important;
  overflow:hidden!important;
  border-right:1px solid #e4e9ef!important;
  border-bottom:1px solid #dfe5eb!important;
  background:#fff!important;
  color:#222!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:18px!important;
  text-align:center!important;
  vertical-align:middle!important;
  white-space:normal!important;
}
#hl-history-v150 .hl-his-fixed-head-table-v166 .hl-his-sort{display:inline-flex;align-items:center;justify-content:center;gap:2px;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;cursor:pointer}
#hl-history-v150 .hl-his-fixed-head-table-v166 .hl-his-status-head{display:inline-flex;align-items:center;justify-content:center;color:#222;font:inherit;font-weight:inherit;white-space:nowrap}
#hl-history-v150 .hl-his-fixed-head-table-v166 .hl-his-status-head select{width:auto;max-width:92px;height:22px;margin:0 -1px;padding:0 14px 0 0;border:0;background:transparent;color:#222;font:inherit;font-weight:inherit;cursor:pointer;outline:none}
#hl-history-v150 .hl-his-fixed-frozen-table-v166{
  position:absolute!important;
  top:0!important;
  left:0!important;
  z-index:4!important;
  box-shadow:2px 0 5px rgba(15,23,42,.08)!important;
}

#hl-history-v150 .hl-his-pagination-v157{
  height:48px!important;
  min-height:48px!important;
  padding:0 12px!important;
  justify-content:space-between!important;
  gap:12px!important;
}
#hl-history-v150 .hl-his-page-total{
  flex:0 0 auto;
  color:#606266;
  font-size:12px;
}
#hl-history-v150 .hl-his-pagination-controls{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
}
#hl-history-v150 .hl-his-pagination-v157 select{
  width:86px!important;
  min-width:86px!important;
  height:28px!important;
  padding:0 22px 0 10px!important;
}
#hl-history-v150 .hl-his-page-nav{gap:4px!important}
#hl-history-v150 .hl-his-page-nav button{
  min-width:28px!important;
  height:28px!important;
  padding:0 7px!important;
}
#hl-history-v150 .hl-his-page-jump{gap:5px!important}
#hl-history-v150 .hl-his-page-jump input{
  width:42px!important;
  height:28px!important;
}
#hl-history-v150 .hl-his-column-fixed{
  display:block;
  margin:-3px 0 7px;
  color:#909399;
  font-size:11px;
}
#hl-history-v150 .hl-his-ad-subject-note{display:block;margin-top:2px;color:#f56c6c;font-size:10px;line-height:14px;white-space:nowrap}

/* 1.64：分页栏完整复用利润分析的不收缩尺寸，避免窗口缩放时页码被裁切 */
body.hl-analysis-v166-history #hl-history-v150 .hl-his-card{
  padding:10px!important;
  border:2px solid #f4f4f4!important;
  background:transparent!important;
}
body.hl-analysis-v166-history #hl-history-v150 .hl-his-card.active{
  padding:10px!important;
  border-color:#0091ff!important;
  background:transparent!important;
}
#hl-history-v150 .hl-his-pagination-v157{
  flex-wrap:nowrap!important;
  overflow:visible!important;
}
#hl-history-v150 .hl-his-page-total{flex:0 0 auto!important;white-space:nowrap!important}
#hl-history-v150 .hl-his-pagination-controls{
  flex:0 0 auto!important;
  width:max-content!important;
  min-width:max-content!important;
  white-space:nowrap!important;
  overflow:visible!important;
}
#hl-history-v150 .hl-his-pagination-v157 select{
  flex:0 0 86px!important;
  width:86px!important;
  min-width:86px!important;
  max-width:86px!important;
  font-size:11px!important;
}
#hl-history-v150 .hl-his-page-nav{
  flex:0 0 auto!important;
  min-width:max-content!important;
  white-space:nowrap!important;
  overflow:visible!important;
}
#hl-history-v150 .hl-his-page-nav button{
  flex:0 0 28px!important;
  width:28px!important;
  min-width:28px!important;
  max-width:28px!important;
  height:28px!important;
  padding:0!important;
  border:1px solid #e1e7ed!important;
  line-height:26px!important;
  text-align:center!important;
  box-sizing:border-box!important;
}
#hl-history-v150 .hl-his-page-jump{flex:0 0 auto!important;white-space:nowrap!important}
#hl-history-v150 .hl-his-page-jump input{
  flex:0 0 42px!important;
  width:42px!important;
  min-width:42px!important;
  max-width:42px!important;
}

.hl-his-product-modal .hl-his-product-card{height:min(920px,calc(100vh - 24px))}
.hl-his-product-modal .hl-his-modal-controls{height:auto;min-height:44px;flex-wrap:wrap;padding:6px 20px}
.hl-his-product-modal .hl-his-modal-controls input{height:30px;box-sizing:border-box;border:1px solid #b9dbff;border-radius:3px;padding:0 8px;color:#606266}
.hl-his-product-modal .hl-his-modal-controls>span{border:0;padding:0 2px}
.hl-his-product-kpis article{background:#fff!important;border:1px solid #ebeef5!important;border-radius:2px!important}
.hl-his-product-kpis article:first-child{border-color:#168ee6!important}
.hl-his-product-kpis small span.up{color:#f56c6c!important}.hl-his-product-kpis small span.down{color:#32b16c!important}
.hl-his-detail-chart svg .grid{stroke:#ebeef5!important;stroke-width:1}
.hl-his-detail-chart svg path.sale{fill:none!important;stroke:#168ee6!important;stroke-width:2!important}
.hl-his-detail-chart svg path.ad{fill:none!important;stroke:#f5a623!important;stroke-width:2!important;stroke-dasharray:3 3}
.hl-his-detail-chart svg text{font-size:12px!important;fill:#606266!important}
.hl-his-activity-help{padding:10px 18px 18px;overflow:auto;color:#606266;font-size:12px}
.hl-his-activity-help p{margin:0 0 10px;padding:9px 12px;background:#f4f8ff}
.hl-his-activity-help table{width:100%;border-collapse:collapse}
.hl-his-activity-help th,.hl-his-activity-help td{height:40px;padding:7px 10px;border:1px solid #e4e7ed;text-align:center}
.hl-his-activity-help th{background:#f5f7fa;color:#303133;font-size:13px}

/* 1.177: 按父体展示完整商品目录 SKU。 */
#hl-history-v150 .hl-his-sku-wrap-v177{position:relative;white-space:nowrap}
#hl-history-v150 .hl-his-sku-link-v177{display:inline-flex;align-items:center;gap:2px;margin:0;padding:0;border:0;background:transparent;color:#168ce6;font:inherit;cursor:pointer}
#hl-history-v150 .hl-his-sku-pop-v177{position:absolute;left:35px;top:20px;z-index:10030;min-width:180px;max-width:280px;padding:7px 10px;border:1px solid #dfe6ee;border-radius:4px;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.14);white-space:normal}
#hl-history-v150 .hl-his-sku-pop-v177>div{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:24px;color:#4e5968;white-space:nowrap}
#hl-history-v150 .hl-his-sku-pop-v177>div+div{border-top:1px solid #eef1f5}
#hl-history-v150 .hl-his-sku-pop-v177 [data-copy]{flex:none}
#hl-history-v150 .hl-his-main-table td.col-idSku:has(.hl-his-sku-pop-v177){position:relative;z-index:10020;overflow:visible!important}
