.hl-rep-host{padding:0!important;background:#f4f6f9!important;overflow:hidden!important;min-height:calc(100vh - 92px)}
.hl-rep-host>:not(.hl-rep-app){display:none!important}
.hl-rep-app{font-size:13px;color:#303744;padding:12px 16px 24px;min-width:1200px}
.hl-rep-clock{height:44px;background:#fff;display:flex;align-items:center;gap:7px;padding:0 14px;border-bottom:10px solid #f4f6f9}
.hl-rep-clock b{font-size:16px}.hl-rep-clock small{color:#7d8795;font-size:12px}
.hl-tip,.hl-tip-icon{display:inline-flex;width:15px;height:15px;border:1px solid #a6acb4;border-radius:50%;align-items:center;justify-content:center;color:#7d8795;background:#fff;font-size:10px;cursor:default;flex:0 0 15px}
.hl-tip:hover,.hl-tip-icon:hover{background:#666;color:#fff;border-color:#666}
.hl-rep-panel{background:#fff;border:1px solid #e2e7ed}
.hl-rep-head{height:54px;display:flex;align-items:center;padding:0 14px;border-bottom:1px solid #e5e9ef}
.hl-rep-title-line{display:flex;align-items:center;gap:14px;min-width:0}
.hl-rep-head h2{font-size:17px;margin:0;white-space:nowrap}
.hl-rep-sync-btn{height:32px;padding:0 13px;border:1px solid #409eff;background:#fff;color:#168cf1;border-radius:3px;cursor:pointer}
.hl-rep-sync-btn:disabled{cursor:not-allowed;opacity:.48;background:#f5f7fa;color:#9aa4b0;border-color:#d8dee7}
.hl-rep-actions{margin-left:auto;display:flex;align-items:center;gap:9px}
.hl-rep-actions input{width:220px;height:32px;border:1px solid #d7dde6;padding:0 9px;border-radius:3px}
.hl-rep-actions button{height:32px;border:1px solid #409eff;background:#168cf1;color:#fff;border-radius:3px;padding:0 13px;cursor:pointer}
.hl-rep-actions .secondary{background:#fff;color:#51606d;border-color:#d7dde6}
.hl-rep-table-wrap{overflow:auto;padding:16px}
.hl-rep-table{border-collapse:collapse;width:100%;min-width:1400px;table-layout:fixed}
.hl-rep-table th{height:42px;background:#f7f9fb;border:1px solid #e1e7ee;font-weight:600}
.hl-rep-table td{border:1px solid #e5e9ef;text-align:center;padding:12px 10px;vertical-align:middle;background:#fff}
.hl-rep-table thead th:nth-child(1){width:190px}.hl-rep-table thead th:nth-child(2){width:110px}.hl-rep-table thead th:nth-child(4){width:150px}.hl-rep-table thead th:nth-child(6){width:90px}
.hl-rep-main-row{cursor:pointer}
.hl-rep-main-row:hover td{background:#fcfdff}
.hl-rep-main-row.is-expanded td{background:#fff}
.store-main b{display:block;font-size:18px;line-height:1.25;font-weight:600;word-break:break-all}
.store-main small{display:block;color:#414a56;margin-top:6px;word-break:break-all}
.market-badge{display:inline-flex;align-items:center;gap:4px;color:#2592f3;font-weight:700;font-size:14px}
.market-badge:before{content:'📌';font-size:12px}
.hl-rep-level-wrap{padding:0 12px}
.hl-rep-band{display:flex;justify-content:center;gap:4px;margin-bottom:12px}
.hl-rep-band span{width:34px;height:11px;border-radius:1px;opacity:.26}.hl-rep-band .red{background:#f2b2b2}.hl-rep-band .orange{background:#efd5a3}.hl-rep-band .yellow{background:#e8e4a1}.hl-rep-band .light{background:#d1e79c}.hl-rep-band .green{background:#37b43a}.hl-rep-band span.active{opacity:1}
.level{margin:0 auto;text-align:left;color:#4f5965;background:#f6f8fa;padding:8px 12px;line-height:1.55;border-radius:2px;max-width:620px}.level b{color:#29a253;font-weight:700}
.power{color:#89c35a;font-size:16px;font-weight:500}
.hl-rep-mini-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.hl-rep-mini{background:#fbfcfd;border-radius:3px;padding:10px 6px}.hl-rep-mini b,.hl-rep-mini strong,.hl-rep-mini small{display:block}.hl-rep-mini b{font-weight:600;color:#3f4752;margin-bottom:6px}.hl-rep-mini strong{font-size:20px;margin:2px 0 8px;color:#303744}.ok{color:#2ba65d!important}.bad{color:#e45358!important}.hl-rep-mini small{display:inline-block;background:#dff0d8;color:#66a647;border-radius:2px;padding:2px 8px;font-size:12px}.hl-rep-mini .bad+small{background:#ffe9ea;color:#e45358}
.toggle-detail{border:none;background:transparent;color:#f0a54f;cursor:pointer;font-size:14px}.toggle-detail .arrow{font-size:12px}
.hl-rep-expand-row td{padding:12px 12px 18px;background:#fff}
.hl-rep-expand-box{padding-top:0}
.hl-rep-expand-grid{display:grid;grid-template-columns:420px 1fr;gap:16px}
.hl-rep-eval,.hl-rep-metrics{border:1px solid #eceff4;background:#fff;padding:14px 16px 16px}
.hl-rep-expand-grid h3{margin:0 0 16px;font-size:18px;font-weight:600;position:relative;padding-left:10px}.hl-rep-expand-grid h3:before{content:'';position:absolute;left:0;top:3px;bottom:3px;width:3px;background:#2693ff;border-radius:3px}
.rating-row{display:grid;grid-template-columns:80px 1fr 48px;align-items:center;gap:12px;margin:26px 0}.rating-row span{color:#4b5662}.rating-row i{height:11px;background:#edf1f6;border-radius:6px;overflow:hidden}.rating-row i b{height:100%;background:#88d447;display:block;border-radius:6px}.rating-row.neutral i b{background:#f3a324}.rating-row.bad i b{background:#ff4a4a}.rating-row strong{color:#7cc041}.rating-row.neutral strong{color:#f3a324}.rating-row.bad strong{color:#ff4a4a}
.metric-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.metric-head small{color:#99a2ae}.criteria-trigger{color:#2496ff;cursor:default;display:flex;align-items:center;gap:6px;font-size:14px}.criteria-trigger:after{content:'⌄';font-size:12px;color:#2496ff}
.hl-rep-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.hl-rep-card{text-align:center;border:1px solid #eceff4;background:#fff;padding:12px 10px 14px}
.hl-rep-card-title{font-weight:600;color:#505a66;margin-bottom:8px;display:flex;align-items:center;justify-content:center;gap:4px}
.donut{--deg:0deg;width:76px;height:76px;border-radius:50%;margin:0 auto 12px;background:conic-gradient(#dfe4ea 0deg,#dfe4ea calc(360deg - var(--deg)),#ff5b60 calc(360deg - var(--deg)),#ff5b60 360deg);display:grid;place-items:center;position:relative}
.hl-rep-card.primary .donut{background:conic-gradient(#dfe4ea 0deg,#dfe4ea calc(360deg - var(--deg)),#58a7ff calc(360deg - var(--deg)),#58a7ff 360deg)}
.hl-rep-card.warn .donut{background:conic-gradient(#dfe4ea 0deg,#dfe4ea calc(360deg - var(--deg)),#f9a52b calc(360deg - var(--deg)),#f9a52b 360deg)}
.donut>div{width:58px;height:58px;background:#fff;border-radius:50%;display:grid;place-content:center}.donut strong{font-size:18px;font-weight:500}
.hl-rep-card-sub{color:#606a76;min-height:18px;line-height:1.5}.hl-rep-card-sub a{color:#2592f3;text-decoration:none}.hl-rep-card-sub a:hover{text-decoration:underline}
.hl-rep-card-target{margin-top:12px;background:#fafafa;color:#7ec148;padding:6px 8px;border-radius:2px}
.hl-rep-expand-loading,.hl-rep-expand-error{padding:26px 14px;color:#8792a0;text-align:left}
.hl-rep-metric-tip,.hl-rep-criteria-pop{position:fixed;z-index:2147483647;background:#fff;border:1px solid #d9e0e8;box-shadow:0 6px 24px rgba(20,35,55,.22);border-radius:4px}
.hl-rep-metric-tip{width:250px;padding:16px 16px 14px}
.hl-rep-metric-tip .tip-title{font-size:18px;font-weight:600;margin-bottom:8px}.hl-rep-metric-tip .tip-title.danger{color:#ff4a4a}.hl-rep-metric-tip .tip-title.primary{color:#2592f3}.hl-rep-metric-tip .tip-title.warn{color:#f0a54f}.hl-rep-metric-tip .tip-title.neutral{color:#333}
.hl-rep-metric-tip .tip-body{color:#394351;line-height:1.7;font-size:13px}
.hl-rep-metric-tip .tip-arrow{position:absolute;top:-7px;left:50%;margin-left:-7px;width:12px;height:12px;background:#fff;border-left:1px solid #d9e0e8;border-top:1px solid #d9e0e8;transform:rotate(45deg)}
.hl-rep-criteria-pop{width:720px;padding:14px;max-height:82vh;overflow:hidden}.hl-rep-criteria-pop h4{margin:0 0 12px;font-size:16px}.criteria-note{font-weight:600;color:#4d5662;margin-bottom:8px}.criteria-block{background:#f7f8fa;padding:12px 14px;line-height:1.75;color:#414a56;margin-bottom:10px}.criteria-scroll{max-height:430px;overflow:auto;border:1px solid #e5e9ef}.criteria-scroll table{width:100%;border-collapse:collapse;font-size:12px}.criteria-scroll th,.criteria-scroll td{border:1px solid #e0e5eb;padding:8px 6px;text-align:center}.criteria-scroll thead th{background:#f5f7fa;position:sticky;top:0;z-index:1}.criteria-scroll .country{font-weight:600;background:#fafafa}.criteria-scroll .lv{font-weight:600}.criteria-scroll .lv.leader{background:#2fb63e;color:#111}.criteria-scroll .lv.green{background:#b8f11c;color:#111}.criteria-scroll .lv.yellow{background:#f1e33f;color:#111}.criteria-scroll .lv.orange{background:#f6ba4f;color:#111}.criteria-scroll .lv.red{background:#ff6259;color:#111}.criteria-foot{margin-top:8px;color:#7a8592;font-size:12px}
.empty{height:180px!important;color:#939ba6}
.hl-rep-metric-tip .clock-body{line-height:1.55;font-size:13px;color:#4e5865;white-space:nowrap}
/* 店铺声誉提示：允许中文自动换行，避免文字越出提示框 */
.hl-rep-metric-tip{width:300px;max-width:min(360px,calc(100vw - 24px));box-sizing:border-box;white-space:normal!important;overflow-wrap:anywhere;word-break:break-word}
.hl-rep-metric-tip .tip-body,.hl-rep-metric-tip .clock-body{white-space:normal!important;overflow-wrap:anywhere;word-break:break-word;max-width:100%;box-sizing:border-box}
.hl-rep-live-time{font-variant-numeric:tabular-nums;color:#637083}

.hl-rep-last-sync{font-size:12px;color:#606b79;white-space:nowrap}.hl-rep-last-sync b{font-weight:400;color:#536070}
.hl-rep-actions .hl-rep-sync-btn{background:#fff;color:#168cf1;border-color:#409eff}
.hl-rep-actions .hl-rep-sync-btn:disabled{cursor:not-allowed;opacity:.48;background:#f5f7fa;color:#9aa4b0;border-color:#d8dee7}

/* 仅店铺声誉：时间条接入顶部，标题/筛选/表格共用完整白色面板。
   继续使用管理表格的横向滚动和分页实现，不建立第二个纵向滚动区。 */
body.hl-reputation-layout .app-main{padding:0 11px!important;gap:0!important}
body.hl-reputation-layout .hl-rep-host{height:auto!important;min-height:0!important;min-width:0!important;overflow:visible!important;border:0!important;margin:0!important;box-shadow:none!important}
body.hl-reputation-layout .hl-rep-app.hl-management-layout-v021,
body.hl-reputation-layout .hl-rep-app{padding:0!important;min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
body.hl-reputation-layout .hl-rep-clock{width:calc(100% + 22px);height:72px;box-sizing:border-box;margin:0 -11px;padding:0 14px;border-bottom:20px solid #f1f4f8;box-shadow:none}
body.hl-reputation-layout .hl-rep-clock b{font-size:13px}
body.hl-reputation-layout .hl-rep-clock small{font-size:12px}
body.hl-reputation-layout .hl-rep-panel{min-height:calc(var(--rep-viewport-height,0px) - 72px);padding-bottom:72px;box-sizing:border-box;background:#fff}
body.hl-reputation-layout .hl-rep-fixed-top{position:sticky;top:10px;z-index:140;background:#fff;isolation:isolate}
body.hl-reputation-layout .hl-rep-fixed-top::before{content:"";position:absolute;top:-10px;left:-1px;right:-1px;height:10px;background:#f1f4f8;pointer-events:none}
body.hl-reputation-layout .hl-rep-head{min-height:54px;height:auto;gap:12px;padding:10px 14px;box-sizing:border-box;flex-wrap:wrap}
body.hl-reputation-layout .hl-rep-head h2{font-size:17px;font-weight:600}
body.hl-reputation-layout .hl-rep-sync-actions{margin-left:auto;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
body.hl-reputation-layout .hl-rep-actions{justify-content:flex-end;flex-wrap:wrap;padding:14px 12px 10px;margin:0;min-height:56px;box-sizing:border-box;background:#fff}
body.hl-reputation-layout .hl-rep-actions input{box-sizing:border-box}
body.hl-reputation-layout .hl-rep-table-region{margin:0 12px;min-width:0}
body.hl-reputation-layout .hl-rep-table-wrap.hl-management-scroll-host-v021,
body.hl-reputation-layout .hl-rep-table-wrap{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;overflow-x:clip!important;overflow-y:visible!important}
body.hl-reputation-layout .hl-rep-table{border-collapse:separate!important;border-spacing:0!important;width:100%;min-width:1200px;translate:var(--rep-horizontal-offset,0px) 0}
body.hl-reputation-layout .hl-rep-table th,
body.hl-reputation-layout .hl-rep-table td{border:0;border-right:1px solid #e1e7ee;border-bottom:1px solid #e1e7ee;background-clip:border-box}
body.hl-reputation-layout .hl-rep-table th:first-child,
body.hl-reputation-layout .hl-rep-table td:first-child{border-left:1px solid #e1e7ee}
/* 表头由本模块直接固定，不依赖公共增强脚本是否已挂载类名。 */
body.hl-reputation-layout .hl-rep-app .hl-rep-table>thead{position:static!important;z-index:auto!important;isolation:auto!important;box-shadow:none!important}
body.hl-reputation-layout .hl-rep-app .hl-rep-table>thead>tr>th{position:sticky!important;top:var(--rep-header-top,120px)!important;z-index:130!important;border-top:1px solid #e1e7ee;box-shadow:none!important;background:#f4f7fa!important}
body.hl-reputation-layout .hl-rep-table thead th:nth-child(1){width:150px}
body.hl-reputation-layout .hl-rep-table thead th:nth-child(2){width:110px}
body.hl-reputation-layout .hl-rep-table thead th:nth-child(3){width:32%}
body.hl-reputation-layout .hl-rep-table thead th:nth-child(4){width:110px}
body.hl-reputation-layout .hl-rep-table thead th:nth-child(6){width:90px}
body.hl-reputation-layout .hl-rep-main-row>td{padding:15px 10px}
body.hl-reputation-layout .hl-rep-level-wrap{padding:0 3px}
body.hl-reputation-layout .hl-rep-band{margin:0 0 20px}
body.hl-reputation-layout .hl-rep-band span{width:48px;height:14px}
body.hl-reputation-layout .hl-rep-mini-grid{gap:12px}
body.hl-reputation-layout .hl-rep-mini{padding:0 0 8px;background:#fff;border:1px solid #f0f2f5}
body.hl-reputation-layout .hl-rep-mini b{font-size:13px;font-weight:400;background:#f4f7fa;padding:6px 2px;margin:0 0 8px}
body.hl-reputation-layout .hl-rep-mini strong{font-size:13px;font-weight:400;margin:0 0 8px}
body.hl-reputation-layout .toggle-detail{color:#168cf1}
body.hl-reputation-layout .hl-rep-expand-grid{grid-template-columns:minmax(240px,1fr) minmax(680px,2.6fr)}
body.hl-reputation-layout .hl-rep-app .hl-pagination-spacer-v250{display:none!important;height:0!important;min-height:0!important}
body.hl-reputation-layout .hl-rep-app .hl-rep-footer{justify-content:space-between!important;padding:0 12px!important;z-index:150!important;font-size:12px!important}
/* 与成本页相同的分页窗口和尺寸。内部不用 pagination 类名，
   防止旧全局扫描把页码/跳页控件误当成第二个固定页脚。 */
body.hl-reputation-layout .hl-rep-footer>span:first-child{font-size:12px!important;color:#657283!important}
body.hl-reputation-layout .hl-rep-pager{display:flex;align-items:center;justify-content:flex-end;gap:8px;white-space:nowrap}
body.hl-reputation-layout .hl-rep-page-size{height:28px!important;min-width:86px!important;padding:0 24px 0 9px!important;border:1px solid #dce3eb!important;border-radius:4px!important;background:#fff!important;color:#6c7885!important;font-size:11px!important}
body.hl-reputation-layout .hl-rep-page-nav{display:flex;align-items:center;gap:4px}
body.hl-reputation-layout .hl-rep-page-nav button{min-width:28px!important;width:28px!important;height:28px!important;padding:0!important;border:1px solid #e1e7ed!important;border-radius:2px!important;background:#f7f8fa!important;color:#8e99a6!important;font-size:12px!important;line-height:26px!important;text-align:center!important}
body.hl-reputation-layout .hl-rep-page-nav button.active{background:#269bf0!important;border-color:#269bf0!important;color:#fff!important}
body.hl-reputation-layout .hl-rep-page-nav button:disabled{opacity:.4!important;cursor:not-allowed!important}
body.hl-reputation-layout .hl-rep-page-jump{display:flex;align-items:center;gap:5px;font-weight:400;color:#657283}
body.hl-reputation-layout .hl-rep-page-jump input{width:42px!important;height:28px!important;padding:0 5px!important;border:1px solid #dce3eb!important;border-radius:3px!important;background:#fff!important;text-align:center!important;color:#657283!important;font-size:11px!important;box-sizing:border-box!important}
body.hl-reputation-layout>#hl-management-top-guard-v021,
body.hl-reputation-layout>#hl-management-fixed-hscroll-v021,
body.hl-reputation-layout>#hl-fixed-hscroll{display:none!important}
/* 独立 translate 避免旧全局/管理代理在刷新表格时互相清零。 */
#hl-rep-horizontal-scroll{position:fixed;bottom:48px;height:20px;z-index:151;overflow-x:auto;overflow-y:hidden;box-sizing:border-box;background:#fbfcfd;border-top:1px solid #eef2f5;border-bottom:1px solid #eef2f5;scrollbar-width:auto;overscroll-behavior-x:contain}
#hl-rep-horizontal-scroll[hidden]{display:none!important}
#hl-rep-horizontal-scroll>div{height:1px;pointer-events:none}
#hl-rep-horizontal-scroll::-webkit-scrollbar{height:18px}
#hl-rep-horizontal-scroll::-webkit-scrollbar-track{background:#f5f7f9}
#hl-rep-horizontal-scroll::-webkit-scrollbar-thumb{background:#c8d0d8;border-radius:6px;border:2px solid #f5f7f9}
#hl-rep-horizontal-scroll::-webkit-scrollbar-thumb:hover{background:#aab6c1}
/* 矮窗口仅释放标题/查询区；表头仍固定，给表格内容保留可视空间。 */
body.hl-reputation-layout .hl-rep-short-viewport .hl-rep-fixed-top{position:relative!important;top:auto!important}
body.hl-reputation-layout .hl-rep-short-viewport .hl-rep-table>thead>tr>th::before{content:"";position:absolute;top:-11px;left:-1px;right:-1px;height:10px;background:#f1f4f8;pointer-events:none}
