/**
 * 「价目表」工作台样式（客户版阶段 2 前端）。
 *
 * 口径来源：5177 `价目表样式`（整块工作台 2,647 行）里的形状与节奏：
 *   - 页面骨架：标题区 + 摘要 + 左树右表（`.price-list-workbench-scroll` / `--product-knowledge-tree-width`）；
 *   - 表格缩放：`zoom: var(--price-list-table-scale, .8)`（价目表样式:579）；
 *     **本表的局部缩放与 5177 的最终值一致**：5177 面板渲染时写的是
 *     `priceListTableScaleActualValue(80)/100 = 1.1`（IW:123-126、3057-3059、35335；
 *     CSS 里的 .8 只是没被 JS 覆盖时的兜底），再叠板块缩放 0.70 → 0.77；
 *     客户版同为 1.1 × 0.70 = 0.77（数值不需要另配补偿）。
 *   - 主表/参考价/Remark/历史报价各自独立的列模板（价目表样式 的 `--price-list-*-column-template`）；
 *   - 行高默认 240px、最小 150px、最大 720px（IW:120-122）。
 *
 * 客户版规则（与 app.css 同一套）：
 *   - 颜色一律 `var(--wb-*)`（`npm run check:design` 会扫本文件）；
 *   - px 一律抄 5177 的缩放前原值，由板块缩放 `--workbench-section-scale`（默认 0.70）统一缩放
 *     （2026-10-01 业务方实机对照后拍板；旧基准 §6 C9 的"不复刻"已作废）。
 */

/* ============================================================
 * 1. 页面骨架
 * ============================================================ */

.price-list-maintenance-page {
  display: flex;
  flex-direction: column;
  gap: var(--wb-space-6);
  min-width: 0;
}

.price-list-heading {
  gap: var(--wb-space-5);
}

.price-list-heading-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--wb-space-5);
}

.price-list-excel-action-group,
.price-list-category-open-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--wb-space-1);
  min-width: 0;
}

.price-list-excel-feedback {
  display: flex;
  flex-direction: column;
  gap: var(--wb-space-1);
  max-width: 420px;
}

.price-list-excel-last-updated {
  color: var(--wb-text-secondary);
  font-size: var(--wb-fs-12);
}

.price-list-excel-status {
  color: var(--wb-success);
  font-size: var(--wb-fs-12);
  line-height: var(--wb-font-line-height);
  overflow-wrap: anywhere;
}

.price-list-excel-status.error {
  color: var(--wb-danger);
}

.price-list-excel-status[hidden] {
  display: none;
}

/* ============================================================
 * 2. 统计摘要（照 IW:20980-21008）
 * ============================================================ */

.price-list-summary-panel {
  display: grid;
  gap: var(--wb-space-4);
  border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius-panel);
  background: var(--wb-panel-bg);
  padding: var(--wb-space-5) var(--wb-space-6);
  box-shadow: var(--wb-shadow-soft);
}

/* 2026-10-13 摘要上移进标题行后，这里只剩「摘要就绪」小字：去盒子、去投影，
 * 留一点上间距让它在标题行分隔线之下呼吸（照 5177 头部的收法）。 */
.price-list-summary-panel--line {
  display: block;
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: var(--wb-space-3) 0 0;
}

/* 统计小框簇：排在大标题同一行右侧（2026-10-13 业务方口径，样式照 5177 头部小框：
 * 描边圆角小方框、上面小标签、下面粗数字，flex-wrap 自带窄屏换行，不另做媒体查询）。 */
.price-list-heading-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: var(--wb-space-3);
  min-width: 0;
}

.price-list-heading-chip {
  display: flex;
  flex-direction: column;
  gap: var(--wb-space-1);
  border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius-control);
  background: var(--wb-panel-bg-soft);
  padding: var(--wb-space-2) var(--wb-space-3);
  min-width: 64px;
}

.price-list-heading-chip span {
  color: var(--wb-text-secondary);
  font-size: var(--wb-fs-11);
  white-space: nowrap;
}

.price-list-heading-chip strong {
  color: var(--wb-text-primary);
  font-size: var(--wb-fs-15);
  font-weight: var(--wb-fw-850);
}

/* 价目表卡片标题行：标签簇跟着标题走，「更新本地 Excel」顶到最右（共用 .section-heading
 * 只在价目表这张卡里改成左起排，其他模块不动）。 */
#priceListModule .section-heading {
  justify-content: flex-start;
}
#priceListModule .section-heading .heading-actions {
  margin-left: auto;
}

.price-list-summary-status {
  color: var(--wb-text-secondary);
  font-size: var(--wb-fs-12);
}

/* ============================================================
 * 3. 左树 + 右表布局（容器与滚动方式照 5177 价目表样式:167-206：
 *    外层按视口高固定、横向可滚；表格自己在容器内双向滚，表头 sticky）
 * ============================================================ */

.price-list-maintenance-page {
  /* 工作台视口高：5177 是 max(560px, calc((100vh - 180px) / scale))，客户版没有页面缩放，取前半段 */
  --price-list-workbench-viewport-height: max(560px, calc(100vh - 180px));
}

.price-list-workbench-scroll {
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: var(--price-list-workbench-viewport-height);
  max-height: var(--price-list-workbench-viewport-height);
  overflow-x: auto;
  overflow-y: hidden;
}

.price-list-workbench-layout {
  /* 左树宽度由面板拖动写入（240–620px，照 IW:154-156）；这里给默认值兜底。
     主区最小宽 1440px（IW:178），不够宽时外层横向滚动（5177 同款）。 */
  --price-list-tree-width: 320px;
  --price-list-workbench-main-min-width: 1440px;
  display: grid;
  grid-template-columns: var(--price-list-tree-width, 320px) minmax(var(--price-list-workbench-main-min-width, 1440px), 1fr);
  align-items: stretch;
  gap: 12px;
  width: max(100%, calc(var(--price-list-tree-width, 320px) + var(--price-list-workbench-main-min-width, 1440px) + 12px));
  min-width: calc(var(--price-list-tree-width, 320px) + var(--price-list-workbench-main-min-width, 1440px) + 12px);
  min-height: 0;
  height: var(--price-list-workbench-viewport-height);
  max-height: var(--price-list-workbench-viewport-height);
  box-sizing: border-box;
}

/* 左树与产品知识是同一套组件/样式（`.product-knowledge-tree*` 在 taxonomy-tree.css），
   这里只放 5177 价目表自己的覆写（5177-CSS 价目表样式:208-327 的几何；颜色走令牌）。 */
.price-list-category-tree {
  --product-list-depth: 0;   /* 树行缩进由每行行内样式覆写（照产品知识树） */
  height: 100%;
  min-height: 0;
}

.price-list-category-tree .price-list-category-tree-row {
  grid-template-columns: 26px minmax(0, 1fr);
}

.price-list-category-tree .product-knowledge-tree-row {
  gap: 4px;
  padding-left: calc(var(--product-list-depth, 0) * 24px);
}

.price-list-category-tree .product-knowledge-tree-toggle {
  min-width: 20px;
  min-height: 24px;
  font-size: var(--wb-fs-12);
  padding: 0;
}

.price-list-category-tree .price-list-tree-unclassified,
.price-list-category-tree .product-knowledge-tree-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--wb-space-2);
  min-width: 0;
  min-height: 30px;
  font-size: var(--wb-fs-15);
  padding: 4px 8px;
  line-height: var(--wb-font-line-height);
}

.price-list-category-tree-row[data-price-list-tree-level="1"] .product-knowledge-tree-item {
  min-height: calc(30px * 1.35);
  font-size: calc(var(--wb-fs-15) * 1.35);
  line-height: var(--wb-font-line-height);
}

.price-list-category-tree-row[data-price-list-tree-level="2"] .product-knowledge-tree-item {
  min-height: calc(30px * 1.15);
  font-size: calc(var(--wb-fs-15) * 1.15);
  line-height: var(--wb-font-line-height);
}

/* 2026-11-05 #36：价目表左树与产品知识左树同口径（三级 15、四级 13、五级及更深 12；行高 30） */
.price-list-category-tree-row[data-price-list-tree-level="3"] .product-knowledge-tree-item {
  min-height: 30px;
  font-size: var(--wb-fs-15);
}

.price-list-category-tree-row[data-price-list-tree-level="4"] .product-knowledge-tree-item {
  min-height: 30px;
  font-size: var(--wb-fs-13);
}

.price-list-category-tree-row[data-price-list-tree-level="5"] .product-knowledge-tree-item,
.price-list-category-tree-row[data-price-list-tree-level="6"] .product-knowledge-tree-item,
.price-list-category-tree-row[data-price-list-tree-level="7"] .product-knowledge-tree-item,
.price-list-category-tree-row[data-price-list-tree-level="8"] .product-knowledge-tree-item {
  min-height: 30px;
  font-size: var(--wb-fs-12);
}

.price-list-tree-unclassified {
  margin-top: 2px;
}

.price-list-tree-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-list-tree-counts {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  /* 2026-11-05 #39：与类目名拉开 6px，避免「00」像名字一部分 */
  margin-left: 6px;
  color: var(--wb-text-secondary);
  font-size: var(--wb-fs-12);
  font-weight: var(--wb-fw-850);
}

.price-list-tree-counts strong,
.price-list-tree-counts em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 20px;
  border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius-pill);
  background: var(--wb-panel-bg);
  color: var(--wb-text-primary);
  font-style: normal;
  line-height: 1;
  padding: 0 5px;
}

.price-list-tree-counts em {
  border-color: var(--wb-toast-success-border);
  background: var(--wb-success-bg);
  color: var(--wb-success);
}

.price-list-category-tree .product-knowledge-tree-item.active .price-list-tree-counts strong,
.price-list-category-tree .product-knowledge-tree-item.active .price-list-tree-counts em,
.price-list-tree-unclassified.active .price-list-tree-counts strong,
.price-list-tree-unclassified.active .price-list-tree-counts em {
  border-color: var(--wb-panel-bg);
  background: var(--wb-panel-bg);
}

/* 类目标题行（5177-CSS-PL:5011-5015 / 14417-14420） */
.price-list-category-tree .quote-side-title {
  min-height: 40px;
  font-size: var(--wb-fs-15);
  padding: 8px 10px;
}

.price-list-category-tree .quote-side-title.product-tree-search-heading {
  min-height: 54px;
  padding-block: 10px;
}

.price-list-tree-resize-handle {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: 8px;
  height: auto;
  cursor: col-resize;
  touch-action: none;
  background: transparent;
}

.price-list-tree-resize-handle:hover {
  background: var(--wb-accent-soft);
}

.price-list-workbench-main {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  gap: var(--wb-space-4);
  min-width: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

/* 表格壳：撑满主区最后一行，表格自己在里面滚（IW:200-206） */
.price-list-workbench-main > [data-price-list-grid-shell] {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

/* ============================================================
 * 4. 工具排（照 IW:24792-24817）
 * ============================================================ */

/* 只读/到期：价目表写入口禁用（DOM 级，不改面板状态，避免打断首轮加载）。 */
body[data-price-list-readonly="1"] #viewPriceList :is(
  [data-price-list-add-product],
  [data-price-list-row-context-edit],
  [data-price-list-row-context-transfer],
  [data-price-list-row-context-delete],
  [data-price-list-editor-save],
  [data-price-list-editor-image-clear],
  [data-price-list-editor-alternate-delete],
  [data-price-list-editor-alternate-upload],
  [data-price-list-editor-reference-add],
  [data-price-list-editor-reference-delete],
  [data-price-list-editor-category-pick-path],
  [data-price-list-editor-category-clear],
  [data-price-list-editor-style-select],
  [data-price-list-editor-style-clear]
) {
  opacity: var(--wb-disabled-opacity);
  pointer-events: none;
  cursor: not-allowed;
}

body[data-price-list-readonly="1"] .price-list-row-context-menu {
  display: none;
}

.price-list-maintenance-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--wb-space-4);
  border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius-panel);
  background: var(--wb-panel-bg);
  padding: var(--wb-space-4) var(--wb-space-5);
  box-shadow: var(--wb-shadow-soft);
}

.price-list-maintenance-toolbar > div {
  flex: 1 1 auto;
  min-width: 0;
}

.price-list-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--wb-space-3);
  /* 5177-CSS:384-389：工具行限宽 1080，筛选区吃剩余宽度，后面的按钮（含「更多」）靠右。 */
  width: min(1080px, 100%);
}

.price-list-category-filter {
  position: relative;
  min-width: 0;
}

.price-list-filter-row > [data-price-list-category-filter-shell] {
  flex: 1 1 auto;
  min-width: 0;
}

.price-list-category-picker {
  position: absolute;
  top: calc(100% + var(--wb-space-1));
  left: 0;
  z-index: var(--wb-z-menu);
  display: flex;
  gap: var(--wb-space-1);
  border: 1px solid var(--wb-menu-border);
  border-radius: var(--wb-radius-panel);
  background: var(--wb-menu-bg);
  padding: var(--wb-space-3);
  box-shadow: var(--wb-shadow-menu);
  max-width: min(760px, 82vw);
  overflow: auto;
}

.product-cascade-trigger {
  min-height: var(--wb-control-height);
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid var(--wb-btn-border);
  border-radius: var(--wb-radius-button);
  background: var(--wb-btn-bg);
  color: var(--wb-btn-ink);
  padding: 0 var(--wb-space-5);
  font: inherit;
  font-size: var(--wb-fs-13);
  cursor: pointer;
}

.product-cascade-trigger.has-value {
  color: var(--wb-accent-ink);
  border-color: var(--wb-accent);
  background: var(--wb-accent-soft);
}

.product-cascade-trigger:hover {
  color: var(--wb-btn-hover-ink);
  border-color: var(--wb-btn-hover-border);
  background: var(--wb-btn-hover-bg);
}

.product-cascade-column {
  display: flex;
  flex-direction: column;
  gap: var(--wb-space-1);
  min-width: 118px;
  max-height: 300px;
  overflow: auto;
  border-right: 1px solid var(--wb-border);
  padding-right: var(--wb-space-3);
}

.product-cascade-column:last-child {
  border-right: 0;
  padding-right: 0;
}

.product-cascade-option,
.product-cascade-clear {
  border: 1px solid transparent;
  border-radius: var(--wb-radius-control);
  background: transparent;
  color: var(--wb-text-primary);
  padding: var(--wb-space-2) var(--wb-space-3);
  font: inherit;
  font-size: var(--wb-fs-12);
  text-align: left;
  cursor: pointer;
}

.product-cascade-option:hover,
.product-cascade-clear:hover {
  background: var(--wb-btn-text-hover-bg);
}

.product-cascade-option.active,
.product-cascade-clear.active {
  background: var(--wb-accent-soft);
  color: var(--wb-accent-ink);
  font-weight: var(--wb-fw-700);
}

.product-cascade-node {
  color: var(--wb-accent-ink);
  border-color: var(--wb-chip-border);
  background: var(--wb-chip-bg);
}

.product-cascade-empty {
  color: var(--wb-text-placeholder);
  font-size: var(--wb-fs-12);
  padding: var(--wb-space-2) var(--wb-space-3);
}

.price-list-category-picker-actions {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--wb-space-2);
  min-width: 168px;
  padding-left: var(--wb-space-3);
}

.price-list-category-picker-actions span {
  color: var(--wb-text-secondary);
  font-size: var(--wb-fs-12);
  overflow-wrap: anywhere;
}

.price-list-table-scale-control {
  display: inline-flex;
  align-items: center;
  gap: var(--wb-space-3);
  min-height: var(--wb-control-height);
  border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius-control);
  background: var(--wb-panel-bg-soft);
  padding: 0 var(--wb-space-4);
  color: var(--wb-text-primary);
  font-size: var(--wb-fs-12);
  font-weight: var(--wb-fw-700);
  white-space: nowrap;
}

.price-list-table-scale-control input[type="range"] {
  width: 120px;
  accent-color: var(--wb-accent);
}

.price-list-toolbar-more summary {
  min-height: var(--wb-control-height);
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--wb-btn-border);
  border-radius: var(--wb-radius-button);
  background: var(--wb-btn-bg);
  color: var(--wb-btn-ink);
  padding: 0 var(--wb-space-5);
  font-size: var(--wb-fs-13);
  cursor: pointer;
  list-style: none;
}

.price-list-toolbar-more summary::-webkit-details-marker {
  display: none;
}

.price-list-toolbar-more[open] summary {
  color: var(--wb-btn-hover-ink);
  border-color: var(--wb-btn-hover-border);
  background: var(--wb-btn-hover-bg);
}

.price-list-toolbar-more-menu {
  position: absolute;
  z-index: var(--wb-z-menu);
  display: flex;
  flex-direction: column;
  gap: var(--wb-space-1);
  margin-top: var(--wb-space-1);
  border: 1px solid var(--wb-menu-border);
  border-radius: var(--wb-radius-panel);
  background: var(--wb-menu-bg);
  padding: var(--wb-space-2);
  box-shadow: var(--wb-shadow-menu);
}

.price-list-toolbar-more-menu button {
  border: 0;
  border-radius: var(--wb-radius-control);
  background: transparent;
  color: var(--wb-btn-text-ink);
  padding: var(--wb-space-2) var(--wb-space-5);
  font: inherit;
  font-size: var(--wb-fs-13);
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.price-list-toolbar-more-menu button:hover {
  background: var(--wb-btn-text-hover-bg);
}

.price-list-toolbar-more-menu button:disabled {
  color: var(--wb-text-disabled);
  opacity: var(--wb-disabled-opacity);
  cursor: not-allowed;
}

.price-list-toolbar-more {
  position: relative;
}

.quote-library-status {
  margin: 0;
  color: var(--wb-text-secondary);
  font-size: var(--wb-fs-13);
  line-height: var(--wb-font-line-height);
  overflow-wrap: anywhere;
}

.quote-library-status.error {
  color: var(--wb-danger);
}

.quote-library-status[hidden] {
  display: none;
}

.price-list-context-hint {
  margin: 0;
  color: var(--wb-text-secondary);
  font-size: var(--wb-fs-12);
}

/* ============================================================
 * 5. 表格（照 IW:23679-23716、22413-22451）
 * ============================================================ */

.price-list-maintenance-table {
  /* 面板每次渲染都会把这些列模板/宽度变量写到这张表上（照 IW:3056-3069）。
     1.1 = 5177 的 JS 实际值（显示 80 + 偏移 30 = 110，IW:123-126/3096-3102/35335），
     不是给 1:1 环境配的补偿；叠上板块缩放 0.70 后与 5177 的 0.77 一致，不要改。 */
  --price-list-table-scale: 1.1;
  /* 这两枚只是兜底：行高与图高上限的真值都由 JS 同步逐行写到行内（IW:33429-33447
     与 33368-33391），静态值只兜「脚本还没跑/这行没同步上」的窗口，不许拿它当版式。 */
  --price-list-row-height: auto;
  --price-list-image-max-height: 360px;
  --price-list-main-column-template: 112px 220px 462px 74px 74px 74px 75px 88px 88px 101px;
  --price-list-main-min-width: 1368px;
  --price-list-reference-column-template: 112px 150px;
  --price-list-reference-width: 262px;
  --price-list-remark-width: 320px;
  /* 容器与滚动照 5177 价目表样式:565-580：撑满表格壳、四张表并排（inner 横向排）、
     容器自己双向滚（表头 sticky 在顶部），不再另设 max-height（外层视口高已固定）。 */
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  overflow: auto;
  overflow-anchor: none;
  box-sizing: border-box;
  zoom: var(--price-list-table-scale, 1.1);
  border: 1px solid var(--wb-price-list-grid-line);
  border-radius: 0;
  background: var(--wb-price-list-cell-bg);
  font-size: var(--wb-fs-18);
}

.price-list-maintenance-table-inner {
  display: flex;
  align-items: stretch;
  width: max-content;
}

.price-list-main-table {
  flex: 0 0 auto;
  min-width: var(--price-list-main-min-width, 1368px);
}

.price-list-grid-head,
.price-list-grid-row {
  display: grid;
  grid-template-columns: var(--price-list-main-column-template, 112px 220px 462px 74px 74px 74px 75px 88px 88px 101px);
  align-items: stretch;
}

.price-list-grid-head {
  position: sticky;
  top: 0;
  z-index: var(--wb-z-content);
  background: var(--wb-price-list-head-bg);
  color: var(--wb-price-list-head-ink);
  font-weight: var(--wb-fw-900);
}

/* 表头单元与数据单元共用同一条外观规则（照 价目表样式:608-620）：
   每格四周都是 1px 网格线、内容水平垂直都居中、min-height 62px */
.price-list-grid-head > div,
.price-list-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 62px;
  border-right: 1px solid var(--wb-price-list-grid-line);
  border-bottom: 1px solid var(--wb-price-list-grid-line);
  padding: var(--wb-space-2);
  text-align: center;
}

/* 六个数字列表头写小一号并收紧左右（照 价目表样式:634-643） */
.price-list-grid-head [data-price-list-main-column="lengthPx"],
.price-list-grid-head [data-price-list-main-column="widthPx"],
.price-list-grid-head [data-price-list-main-column="heightPx"],
.price-list-grid-head [data-price-list-main-column="volumePx"],
.price-list-grid-head [data-price-list-main-column="netWeightPx"],
.price-list-grid-head [data-price-list-main-column="grossWeightPx"] {
  font-size: var(--wb-fs-16);
  padding-left: 2px;
  padding-right: 2px;
}

/* 最后一列的右边线由容器外框兜住，不再叠一条（照 价目表样式:678-681） */
/* 2026-10-23 照 5177：每行底部可拖行高（手动行高写回价目表数据）。 */
.price-list-row-height-resizer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  height: 12px;
  cursor: ns-resize;
  touch-action: none;
}

.price-list-row-height-resizer::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 4px;
  left: 8px;
  height: 2px;
  border-radius: 999px;
  background: transparent;
}

.price-list-row-height-resizer:hover::after,
.price-list-row-height-resizer.active::after {
  background: var(--wb-price-list-resizer-ink);
}

/* 2026-10-23 照 5177：Product Picture / Description / QTY-CTN 三列可拖列宽。 */
.price-list-column-resizer {
  position: absolute;
  top: 0;
  right: -5px;
  bottom: 0;
  z-index: 8;
  width: 10px;
  cursor: col-resize;
  touch-action: none;
}

.price-list-column-resizer::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 4px;
  bottom: 8px;
  width: 2px;
  border-radius: 999px;
  background: transparent;
}

.price-list-column-resizer:hover::after,
.price-list-column-resizer.active::after,
.price-list-column-resizing .price-list-column-resizer:hover::after {
  background: var(--wb-price-list-resizer-ink);
}

.price-list-column-resizing {
  cursor: col-resize;
  user-select: none;
}

.price-list-grid-head > div:last-child,
.price-list-cell:last-child {
  border-right: 0;
}

/* 表头排字照 价目表样式:622-632 + 发票样式:2425-2440：
   标签是 inline-grid 居中，多行靠 JS 切出来的堆叠行（不是 pre-line 折 \n），
   紧凑到 line-height 1.05，表头因此矮到 64px 而不是 85px。 */
.price-list-header-label {
  display: inline-grid;
  place-items: center;
  gap: 0;
  min-width: 0;
  max-width: 100%;
  line-height: 1.05;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: normal;
}

.price-list-header-stack {
  display: inline-grid;
  gap: 0;
  max-width: 100%;
  line-height: 1.05;
  white-space: normal;
  vertical-align: middle;
}

.price-list-header-line {
  display: block;
  min-width: 0;
  line-height: 1.05;
}

.price-list-grid-row {
  background: var(--wb-price-list-cell-bg);
}

/* 行高两态照 价目表样式:688-695：自动态让内容撑开（下限是 JS 写的行内值），
   手动态锁死高度。 */
.price-list-grid-row.is-auto-height {
  height: auto;
  min-height: var(--price-list-row-height, 0px);
}

.price-list-grid-row.is-manual-height {
  height: var(--price-list-row-height, 240px);
  min-height: var(--price-list-row-height, 240px);
}

.price-list-grid-row .price-list-cell {
  min-height: 0;
  overflow: hidden;
}

.price-list-grid-row.is-context-target,
[data-price-list-reference-row].is-context-target,
[data-price-list-remark-row].is-context-target {
  outline: 3px solid var(--wb-price-list-row-target-ring);
  outline-offset: -3px;
}

.price-list-cell {
  color: var(--wb-price-list-cell-ink);
}

/* calc 格（体积/毛重这类自动列）：浅灰底 + 加粗（照 价目表样式:1168-1172） */
.price-list-cell.calc-cell {
  background: var(--wb-price-list-calc-bg);
  color: var(--wb-price-list-cell-ink);
  font-weight: var(--wb-fw-800);
}

.price-list-item-cell {
  display: grid;
  place-items: center;
  gap: 4px;
  cursor: grab;
  user-select: none;
}

.price-list-item-cell span {
  color: var(--wb-price-list-empty-ink);
  font-size: var(--wb-fs-13);
  font-weight: var(--wb-fw-800);
}

/* 2026-11-06 起 Item 列改指针拖拽：手柄不再是原生 draggable，光标按手柄属性给 */
.price-list-item-cell[data-price-list-drag-handle] {
  cursor: grab;
}

.price-list-grid-row.is-dragging,
.price-list-grid-row.dragging {
  opacity: var(--wb-disabled-opacity);
}

.price-list-grid-row.is-drop-before,
.price-list-grid-row.pointer-sort-over-before {
  box-shadow: inset 0 3px 0 var(--wb-price-list-resizer-ink);
}

.price-list-grid-row.is-drop-after,
.price-list-grid-row.pointer-sort-over-after {
  box-shadow: inset 0 -3px 0 var(--wb-price-list-resizer-ink);
}

/* 图片/描述两列改成纵向铺满（照 价目表样式:788-811） */
.price-list-image-cell,
.price-list-description-cell {
  align-items: stretch;
  flex-direction: column;
  gap: var(--wb-space-2);
}

.price-list-description-cell {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* 空态占位框：高度跟 价目表样式:820-832 一样锁在 190px（不是行高减出来的 228，
   那是之前两边行高被撑到 241 的元凶），外观也换成 5177 的实线浅框。 */
.price-list-image-dropzone {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  align-content: center;
  gap: 4px;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 190px;
  border: 1px solid var(--wb-price-list-divide-line);
  border-radius: 8px;
  background: var(--wb-price-list-calc-bg);
  overflow: hidden;
}

.price-list-image-dropzone.has-image {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  align-self: center;
  height: auto;
  width: fit-content;
  max-width: 100%;
  min-height: 0;
  max-height: var(--price-list-image-max-height, 360px);
  background: var(--wb-price-list-cell-bg);
  overflow: visible;
}

/* 多图合辑（照 价目表样式:848-859）：整框铺满单元、内部图片自己排，
   外层框与空态同一条浅线。 */
.price-list-image-dropzone.has-image.has-picture-gallery {
  display: flex;
  flex: 1 1 auto;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  max-height: none;
  min-height: 0;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.price-list-image-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--wb-space-1);
  color: var(--wb-text-placeholder);
  font-size: var(--wb-fs-11);
}

.price-list-picture-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--wb-space-2);
  width: 100%;
  height: 100%;
  overflow: auto;
}

.price-list-picture-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--wb-radius-control);
  background: var(--wb-surface-muted);
  min-height: 96px;
}

.price-list-picture-tile img {
  max-width: 100%;
  /* 图片高度跟着描述文字长度走（JS 写的 --price-list-image-max-height），不是按行高算死值 */
  max-height: var(--price-list-image-max-height, 360px);
  object-fit: contain;
}

.price-list-picture-main-badge {
  position: absolute;
  left: var(--wb-space-1);
  top: var(--wb-space-1);
  border-radius: var(--wb-radius-pill);
  background: var(--wb-pill-bg);
  color: var(--wb-pill-ink);
  font-size: var(--wb-fs-11);
  font-weight: var(--wb-fw-850);
  padding: 0 var(--wb-space-2);
}

.price-list-row-category {
  color: var(--wb-accent-ink);
  font-size: var(--wb-fs-11);
}

.price-list-product-style-unselected {
  margin-left: var(--wb-space-2);
  color: var(--wb-warning);
}

/* 只读值画成像输入框一样的浅框（照 价目表样式:1907-1936） */
.price-list-readonly-value {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 30px;
  border: 1px solid var(--wb-price-list-readonly-border);
  border-radius: 5px;
  background: var(--wb-price-list-cell-bg);
  color: var(--wb-price-list-cell-ink);
  padding: 5px 6px;
  text-align: left;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.price-list-readonly-value.is-empty {
  color: var(--wb-price-list-placeholder-ink);
}

.price-list-readonly-value.is-multiline {
  height: 100%;
  min-height: 54px;
  line-height: 1.35;
  overflow: auto;
}

.price-list-cell.small-cell .price-list-readonly-value,
.price-list-reference-cell .price-list-readonly-value {
  text-align: center;
}

.price-list-empty {
  min-width: 100%;
  border-bottom: 1px solid var(--wb-price-list-grid-line);
  padding: 28px;
  color: var(--wb-price-list-empty-ink);
  font-weight: var(--wb-fw-850);
  text-align: center;
}

/* 展开/收起 Reference Price 的竖条（照 价目表样式:1371-1405：10px 宽，
   文字视觉隐藏、用 title/aria 说明；夹在主表与参考价表之间） */
.price-list-reference-toggle {
  display: block;
  flex: 0 0 10px;
  align-self: stretch;
  width: 10px;
  min-height: 100%;
  margin: 0;
  border: 0;
  border-right: 1px solid var(--wb-price-list-toggle-border);
  border-left: 1px solid var(--wb-price-list-toggle-border);
  border-radius: 0 !important;
  box-shadow: none !important;
  background: var(--wb-price-list-toggle-bg);
  cursor: pointer;
  line-height: 0;
  padding: 0;
}

.price-list-reference-toggle:hover,
.price-list-reference-toggle:focus-visible {
  background: var(--wb-price-list-toggle-hover);
  outline: 2px solid var(--wb-price-list-toggle-focus);
  outline-offset: -2px;
}

.price-list-reference-toggle span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 参考价表（照 IW:22385-22398；列宽来自 IW:159-162；并排布局见 IW:23716 的 inner） */
.price-list-reference-table {
  flex: 0 0 var(--price-list-reference-width, 262px);
  width: var(--price-list-reference-width, 262px);
  min-width: var(--price-list-reference-width, 262px);
  background: var(--wb-price-list-cell-bg);
}

/* Reference Price 的两行绿表头（照 价目表样式:1219-1261）：
   标题行 0-31px、列头行 31-62px，各自 sticky；单元内容居中 */
.price-list-reference-title {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  height: 31px;
  border-right: 1px solid var(--wb-price-list-grid-line);
  border-bottom: 1px solid var(--wb-price-list-grid-line);
  background: var(--wb-price-list-head-bg);
  color: var(--wb-price-list-head-ink);
  font-size: var(--wb-fs-20);
  font-weight: var(--wb-fw-900);
}

.price-list-reference-head {
  position: sticky;
  top: 31px;
  z-index: 2;
  height: 31px;
  background: var(--wb-price-list-head-bg);
  color: var(--wb-price-list-head-ink);
  font-weight: var(--wb-fw-900);
}

.price-list-reference-head,
.price-list-reference-row {
  display: grid;
  grid-template-columns: var(--price-list-reference-column-template, 112px 150px);
}

.price-list-reference-head > div,
.price-list-reference-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  border-right: 1px solid var(--wb-price-list-grid-line);
  border-bottom: 1px solid var(--wb-price-list-grid-line);
  padding: var(--wb-space-2);
  text-align: center;
}

.price-list-reference-row {
  height: var(--price-list-row-height, auto);
  min-height: var(--price-list-row-height, 0);
  background: var(--wb-price-list-cell-bg);
}

.price-list-reference-row:hover,
.price-list-reference-row.is-context-target {
  background: var(--wb-table-row-hover-bg);
}

/* 多条参考价时改成纵向排列，只读框之间画分隔线（照 价目表样式:1281-1298） */
.price-list-reference-cell.is-multi-value {
  flex-direction: column;
  align-items: stretch;
  padding: 0;
}

.price-list-reference-cell.is-multi-value > .price-list-readonly-value {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: var(--wb-space-2);
}

.price-list-reference-cell.is-multi-value > .price-list-readonly-value + .price-list-readonly-value {
  border-top: 1px solid var(--wb-price-list-divide-line);
}

/* Remark 表（照 IW:22413-22422） */
.price-list-remark-table {
  flex: 0 0 var(--price-list-remark-width, 320px);
  width: var(--price-list-remark-width, 320px);
  min-width: var(--price-list-remark-width, 320px);
  background: var(--wb-price-list-cell-bg);
}

/* Remark 表头：单行 62px 绿底（照 价目表样式:1310-1343） */
.price-list-remark-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  height: 62px;
  border-right: 1px solid var(--wb-price-list-grid-line);
  border-bottom: 1px solid var(--wb-price-list-grid-line);
  background: var(--wb-price-list-head-bg);
  color: var(--wb-price-list-head-ink);
  font-size: var(--wb-fs-20);
  font-weight: var(--wb-fw-900);
}

.price-list-remark-row {
  height: var(--price-list-row-height, auto);
  min-height: var(--price-list-row-height, 0);
  background: var(--wb-price-list-cell-bg);
}

.price-list-remark-row:hover,
.price-list-remark-row.is-context-target {
  background: var(--wb-table-row-hover-bg);
}

.price-list-remark-cell {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  border-right: 1px solid var(--wb-price-list-grid-line);
  border-bottom: 1px solid var(--wb-price-list-grid-line);
  padding: var(--wb-space-2);
  color: var(--wb-price-list-cell-ink);
}

/* 2026-10-23：Remark 格必须撑满整行，否则格子边线只画到内容高度，
   下面半行没有框线（用户真机截图指出的问题）。显示框按内容高度居中，
   超长仍封顶滚动——与 5177 的同一段规则一致。 */
.price-list-remark-cell > .price-list-readonly-value.is-multiline {
  height: auto;
  max-height: 100%;
  align-self: center;
}

/* 继续显示更多产品（照 IW:22605-22614；蓝系配色照 价目表样式:1181-1211） */
.price-list-render-window {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--wb-space-3);
  border: 1px solid var(--wb-price-list-render-border);
  border-radius: var(--wb-radius-panel);
  background: var(--wb-price-list-render-bg);
  padding: var(--wb-space-3) var(--wb-space-5);
  color: var(--wb-price-list-render-ink);
  font-size: var(--wb-fs-15);
  font-weight: var(--wb-fw-800);
}

.price-list-render-window button {
  min-height: 30px;
  border: 1px solid var(--wb-price-list-render-btn-border);
  border-radius: 5px;
  background: var(--wb-price-list-render-btn-bg);
  color: var(--wb-price-list-render-btn-ink);
  cursor: pointer;
  font: inherit;
  font-weight: var(--wb-fw-900);
  padding: var(--wb-space-1) var(--wb-space-5);
}

.price-list-render-window button:hover,
.price-list-render-window button:focus-visible {
  border-color: var(--wb-price-list-render-btn-hover-border);
  background: var(--wb-price-list-render-btn-hover-bg);
}

/* ============================================================
 * 6. 右键菜单（照 IW:23557-23566）
 * ============================================================ */

.price-list-row-context-menu {
  position: fixed;
  z-index: var(--wb-z-menu);
  display: flex;
  flex-direction: column;
  gap: 6px;
  /* 5177-CSS:190-201 是 312px/12px/26px，但它在 0.70 缩放区里；
     客户版菜单做了反向 zoom，折算 0.70 后写这里，视觉尺寸才和 5177 一致。 */
  min-width: 218px;
  border: 1px solid var(--wb-menu-border);
  border-radius: 7px;
  background: var(--wb-menu-bg);
  padding: 8px;
  box-shadow: var(--wb-shadow-menu);
  /* 反向补偿（2026-10-01 板块缩放）：菜单挂在缩放区（.card 内容）里，fixed 的尺寸与
   * 指针坐标都会被缩 0.70；照 5177 的除算（发票样式:2697、素材库样式:716）。 */
  zoom: calc(1 / var(--workbench-section-scale, 1));
}

.price-list-row-context-menu button {
  min-height: 41px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--wb-btn-text-ink);
  padding: 11px 14px;
  font: inherit;
  font-size: 18px;
  text-align: left;
  cursor: pointer;
}

.price-list-row-context-menu button:hover {
  background: var(--wb-btn-text-hover-bg);
}

.price-list-row-context-menu button.is-danger {
  border: 1px solid var(--wb-pk-rowmenu-danger-border);
  background: var(--wb-pk-rowmenu-danger-bg);
  color: var(--wb-pk-rowmenu-danger-ink);
}

.price-list-row-context-menu button.is-danger:hover {
  background: var(--wb-btn-danger-hover-bg);
}

/* ============================================================
 * 7. 产品编辑弹窗 / 转移弹窗（照 IW:23076-23166）
 * ============================================================ */

/* 2026-10-23：编辑/转移弹窗挂到 body 门户，产品知识预览可就地打开；门户只做挂载点。 */
.price-list-editor-portal {
  position: relative;
  z-index: var(--wb-z-modal);
  /* 门户挂在 body 上，不在板块缩放区里：把它当 1 倍，弹窗自带的
     1 / scale 反向补偿才会算成 1（否则会放大 1/0.7）。 */
  --workbench-section-scale: 1;
}

.price-list-product-editor-backdrop,
.price-list-transfer-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--wb-z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wb-overlay-bg);
  padding: var(--wb-space-6);
}

.price-list-product-editor-dialog,
.price-list-transfer-dialog {
  display: flex;
  flex-direction: column;
  width: min(1180px, 96vw);
  max-height: 92vh;
  border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius-lg);
  background: var(--wb-panel-bg);
  box-shadow: var(--wb-shadow-modal);
  overflow: hidden;
  /* 反向补偿：弹窗在缩放区里，尺寸与居中都会被缩 0.70（5177 价目表样式:2002 同款）。 */
  zoom: calc(1 / var(--workbench-section-scale, 1));
}

.price-list-transfer-dialog {
  width: min(620px, 94vw);
}

/* 2026-10-19 照 5177 价目表样式:1998-2010：外层尺寸与 5177 一致
   （宽度取 base 的 min(1920,100vw-16)、高度 min(94vh,1040)），不再提供拖拽把手。 */
.price-list-product-editor-dialog {
  width: min(1920px, calc(100vw - 16px));
  height: min(94vh, 1040px);
  max-width: calc(100vw - 16px);
  max-height: 94vh;
  min-width: 520px;
  min-height: 320px;
  border-color: var(--wb-price-list-editor-border);
  overflow: hidden;
}

.price-list-product-editor-header,
.price-list-transfer-dialog header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--wb-space-4);
  border-bottom: 1px solid var(--wb-heading-divider);
  padding: var(--wb-space-5) var(--wb-space-7);
  cursor: grab;
  user-select: none;
}
.price-list-product-editor-header button,
.price-list-transfer-dialog header button {
  cursor: pointer;
  user-select: auto;
}

.price-list-product-editor-header h3,
.price-list-transfer-dialog h3 {
  margin: 0;
  font-size: var(--wb-fs-19);
  font-weight: var(--wb-fw-850);
  color: var(--wb-page-ink);
}

/* 2026-10-19 照 5177 价目表样式:2010-2024：头部 72px、22px/900、无关闭叉。 */
.price-list-product-editor-header {
  align-items: center;
  min-height: 72px;
  border-bottom-color: var(--wb-price-list-editor-header-border);
  padding: 19px 26px;
}

.price-list-product-editor-header h3 {
  color: var(--wb-price-list-editor-title-ink);
  font-size: 22px;
  font-weight: var(--wb-fw-900);
  line-height: 1.35;
}

.price-list-transfer-dialog header p {
  margin: 0 0 var(--wb-space-1);
  color: var(--wb-text-secondary);
  font-size: var(--wb-fs-12);
}

.price-list-editor-close {
  border: 0;
  background: transparent;
  color: var(--wb-text-secondary);
  font-size: var(--wb-fs-18);
  line-height: 1;
  cursor: pointer;
}

.price-list-transfer-body {
  display: flex;
  flex-direction: column;
  gap: var(--wb-space-6);
  padding: var(--wb-space-6) var(--wb-space-7);
  overflow: auto;
}

/* 2026-10-19 照 5177 价目表样式:2026-2046：弹窗内容区整块滚动（含横向），
   四栏固定 330/640/430/430 = 1830，超宽靠横向滚动，不再按窗口自适应。 */
.price-list-product-editor-body {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  overflow: auto;
  padding: 14px 16px;
}

.price-list-product-editor-top-grid {
  display: grid;
  grid-template-columns: 330px 640px 430px 430px;
  align-items: stretch;
  gap: 0;
  width: 1830px;
  min-width: 1830px;
}

.price-list-product-editor-body h4 {
  margin: 0;
  color: var(--wb-price-list-editor-title-ink);
  font-size: 19px;
  font-weight: var(--wb-fw-900);
}

/* 四栏共用外框：左栏左圆角、右栏右圆角，中缝只留竖线（照 03:2050-2058/2191-2196/2633/2735）。 */
.price-list-editor-panel {
  display: grid;
  align-content: start;
  min-width: 0;
  border: 1px solid var(--wb-price-list-editor-panel-border);
  background: var(--wb-price-list-cell-bg);
  padding: 14px;
}

.price-list-editor-image-panel {
  gap: 10px;
  border-radius: 8px 0 0 8px;
}

.price-list-editor-fields {
  gap: 12px;
  border-left: 0;
  border-right: 0;
  padding: 14px;
}

.price-list-editor-side-panel {
  border-radius: 0;
  padding: 0;
  overflow: hidden;
}

.price-list-editor-remark-panel {
  grid-template-rows: auto minmax(0, 1fr);
  align-content: stretch;
  border-left: 0;
  border-radius: 0 8px 8px 0;
}

.price-list-editor-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 18px;
}

.price-list-editor-image-target {
  /* 2026-10-19 照 5177 03:2191-2214 / 13:340-348：左栏内宽 300、正方形、虚线外框。 */
  position: relative;
  display: grid;
  place-items: center;
  gap: 6px;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  border: 1px dashed var(--wb-price-list-editor-image-border);
  border-radius: 7px;
  background: var(--wb-price-list-cell-bg);
  color: var(--wb-price-list-empty-ink);
  font-size: var(--wb-fs-13);
  text-align: center;
  cursor: pointer;
  overflow: hidden;
}

/* 2026-10-09 照 5177：主图完整显示不裁剪——绝对定位 + 上下限都按已布局的方框解析。 */
.price-list-editor-image-target img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* 主图右上角删除圆钮（照 03:2216-2232）。 */
.price-list-editor-image-clear {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--wb-price-list-editor-clear-border);
  border-radius: 50%;
  background: var(--wb-price-list-cell-bg);
  color: var(--wb-price-list-editor-clear-ink);
  font-size: 20px;
  font-weight: var(--wb-fw-900);
  line-height: 1;
  cursor: pointer;
}

.price-list-editor-image-hint {
  margin: 0;
  color: var(--wb-price-list-editor-image-hint-ink);
  font-size: var(--wb-fs-13);
  font-weight: var(--wb-fw-700);
}

/* 备选主图条内嵌左栏主图下方（照 03:2701-2733）：分隔虚线 + 三列小卡 + 内部滚动一行高。 */
.price-list-editor-alternate-strip {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--wb-price-list-editor-alt-divider);
}

.price-list-editor-alternate-strip .price-list-editor-section-heading h4 {
  font-size: 13px;
}

.price-list-editor-alternate-strip .price-list-editor-section-heading span {
  color: var(--wb-text-secondary);
  font-size: 11px;
  font-weight: var(--wb-fw-700);
}

.price-list-editor-alternate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
  max-height: 95px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

/* 备选小卡与"粘贴/上传"方块（照 03:2094-2189）。 */
.price-list-editor-alternate-card,
.price-list-editor-alternate-add {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--wb-price-list-editor-alt-border);
  border-radius: 7px;
  background: var(--wb-price-list-cell-bg);
  overflow: hidden;
}

.price-list-editor-alternate-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.price-list-editor-alternate-card button {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--wb-price-list-editor-delete-border);
  border-radius: 50%;
  background: var(--wb-price-list-cell-bg);
  color: var(--wb-price-list-editor-clear-ink);
  font: inherit;
  font-weight: var(--wb-fw-900);
  line-height: 1;
  cursor: pointer;
}

/* 2026-10-23：备选主图改成常规的上下两块——上面点击粘贴，下面从本地上传，
   字号收小，整块仍然可以拖入图片。 */
.price-list-editor-dropzone.price-list-editor-alternate-add {
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 3px;
  align-content: stretch;
  border-style: dashed;
  color: var(--wb-price-list-editor-alt-ink);
  padding: 4px;
  aspect-ratio: auto;
  cursor: pointer;
}

.price-list-editor-alternate-add .price-list-editor-alternate-paste {
  display: grid;
  place-content: center;
  gap: 2px;
  width: 100%;
  height: 100%;
  min-width: 0;
  border-bottom: 1px dashed var(--wb-price-list-editor-alt-divider);
  padding: 3px;
  color: var(--wb-price-list-editor-alt-deep-ink);
  text-align: center;
}

.price-list-editor-alternate-add strong {
  font-size: 11px;
  line-height: 1.15;
}

.price-list-editor-alternate-paste span,
.price-list-editor-alternate-add > small {
  color: var(--wb-price-list-empty-ink);
  font-size: 9px;
  line-height: 1.15;
}

.price-list-editor-alternate-add > small {
  text-align: center;
}

.price-list-editor-alternate-add .btn {
  width: 100%;
  min-width: 0;
  min-height: 22px;
  box-shadow: none;
  border: 1px solid var(--wb-price-list-editor-alt-upload-border);
  border-radius: 5px;
  background: var(--wb-price-list-cell-bg);
  color: var(--wb-price-list-editor-alt-deep-ink);
  padding: 3px 4px;
  font-size: 10px;
  font-weight: var(--wb-fw-900);
  cursor: pointer;
}

.price-list-editor-form-grid {
  /* 照 03:2600-2612：数字字段一排 7 个窄列（70/70/70/82/88/88/86）。 */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 70px)) minmax(0, 82px) repeat(2, minmax(0, 88px)) minmax(0, 86px);
  justify-content: start;
  gap: 10px 8px;
}

.price-list-editor-category-label,
.price-list-editor-form-grid label {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
  color: var(--wb-price-list-editor-label-ink);
  font-size: var(--wb-fs-13);
  font-weight: var(--wb-fw-850);
}

.price-list-editor-form-grid label.is-full {
  grid-column: 1 / -1;
}

.price-list-editor-carton-field > span {
  white-space: nowrap;
  font-size: var(--wb-fs-13);
  line-height: 1.3;
}

.price-list-editor-form-grid input,
.price-list-editor-form-grid textarea,
.price-list-editor-form-grid select,
.price-list-editor-form-grid output {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 36px;
  border: 1px solid var(--wb-price-list-input-border);
  border-radius: 6px;
  background: var(--wb-price-list-cell-bg);
  color: var(--wb-price-list-cell-ink);
  font: inherit;
  font-size: var(--wb-fs-13);
  line-height: 1.4;
  padding: 7px 8px;
}

.price-list-editor-form-grid textarea {
  min-height: 205px;
  resize: vertical;
}

.price-list-editor-form-grid input:focus,
.price-list-editor-form-grid textarea:focus {
  outline: none;
  border-color: var(--wb-input-focus-border);
  box-shadow: var(--wb-input-focus-shadow);
}

.price-list-editor-volume-output {
  display: flex;
  align-items: center;
  min-height: 36px;
  color: var(--wb-price-list-cell-ink);
  font-size: var(--wb-fs-13);
}

/* 2026-10-23：类目与 5177 同款——顶部路径条 + 一级/二级/三级……横向级联列。
   每列是可滚动的选项列表，选中项浅蓝底 + 左侧蓝线；有下级的行尾显示 ›。 */
.price-list-editor-category-picker {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.price-list-editor-category-path {
  border: 1px solid var(--wb-price-list-input-border);
  border-radius: 6px;
  background: var(--wb-panel-bg-soft);
  color: var(--wb-price-list-cell-ink);
  padding: 8px 10px;
  font-size: var(--wb-fs-13);
  font-weight: var(--wb-fw-850);
  overflow-wrap: anywhere;
}

.price-list-editor-cascade {
  display: flex;
  align-items: stretch;
  min-height: 220px;
  border: 1px solid var(--wb-border);
  border-radius: 6px;
  background: var(--wb-panel-bg);
  overflow: hidden;
}

.price-list-editor-cascade-column {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
  border-left: 1px solid var(--wb-border);
}

.price-list-editor-cascade-column:first-child {
  border-left: 0;
}

.price-list-editor-cascade-column.is-style {
  background: var(--wb-panel-bg-soft);
}

.price-list-editor-cascade-hint {
  display: block;
  padding: var(--wb-space-2) var(--wb-space-3);
  color: var(--wb-text-secondary);
  font-size: var(--wb-fs-12);
  line-height: 1.5;
}

.price-list-editor-cascade-hint.is-error {
  color: var(--wb-danger);
  font-weight: var(--wb-fw-700);
}

.price-list-editor-cascade-head {
  border-bottom: 1px solid var(--wb-border);
  background: var(--wb-surface-muted);
  color: var(--wb-text-secondary);
  padding: 8px 10px;
  font-size: var(--wb-fs-12);
  font-weight: var(--wb-fw-850);
}

.price-list-editor-cascade-body {
  flex: 1 1 auto;
  max-height: 260px;
  overflow-y: auto;
  padding: 4px;
}

.price-list-editor-cascade-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  min-height: 34px;
  border: 0;
  border-bottom: 1px solid var(--wb-border);
  background: transparent;
  color: var(--wb-price-list-cell-ink);
  padding: 7px 8px;
  font: inherit;
  font-size: var(--wb-fs-13);
  text-align: left;
  cursor: pointer;
}

.price-list-editor-cascade-item:last-child {
  border-bottom: 0;
}

.price-list-editor-cascade-item:hover {
  background: var(--wb-table-row-hover-bg);
}

.price-list-editor-cascade-item.is-active {
  background: var(--wb-accent-soft);
  box-shadow: inset 3px 0 0 var(--wb-accent-ink);
  font-weight: var(--wb-fw-850);
}

.price-list-editor-cascade-item.is-clear {
  color: var(--wb-text-secondary);
  font-weight: 600;
}

/* 列底的「＋ 新增类目」与内联表单（2026-10-23）。 */
.price-list-editor-cascade-footer {
  border-top: 1px solid var(--wb-border);
  padding: 4px;
}

/* 正式款式列顶部搜索（2026-10-23）。 */
.price-list-editor-cascade-search {
  padding: 4px 4px 0;
}

.price-list-editor-cascade-search input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--wb-price-list-input-border);
  border-radius: 4px;
  background: var(--wb-price-list-cell-bg);
  color: var(--wb-price-list-cell-ink);
  font: inherit;
  font-size: var(--wb-fs-11);
  padding: 4px 6px;
}

.price-list-editor-cascade-search input:focus {
  outline: none;
  border-color: var(--wb-input-focus-border);
  box-shadow: var(--wb-input-focus-shadow);
}

.price-list-editor-cascade-empty {
  display: block;
  padding: 8px 4px;
  color: var(--wb-text-secondary);
  font-size: var(--wb-fs-11);
  text-align: center;
}

.price-list-editor-cascade-add {
  width: 100%;
  min-height: 34px;
  border: 1px dashed var(--wb-price-list-input-border);
  border-radius: 6px;
  background: var(--wb-panel-bg-soft);
  color: var(--wb-accent-ink);
  font: inherit;
  font-size: var(--wb-fs-18);
  line-height: 1;
  cursor: pointer;
}

.price-list-editor-cascade-add:hover {
  border-color: var(--wb-accent-ink);
  background: var(--wb-accent-soft);
}

.price-list-editor-cascade-add-form {
  display: grid;
  gap: 4px;
}

.price-list-editor-cascade-add-form input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--wb-price-list-input-border);
  border-radius: 4px;
  background: var(--wb-price-list-cell-bg);
  color: var(--wb-price-list-cell-ink);
  font: inherit;
  font-size: var(--wb-fs-12);
  padding: 4px 5px;
}

.price-list-editor-cascade-add-form input:focus {
  outline: none;
  border-color: var(--wb-input-focus-border);
  box-shadow: var(--wb-input-focus-shadow);
}

.price-list-editor-cascade-add-form > div {
  display: flex;
  gap: 4px;
}

.price-list-editor-cascade-add-form button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 24px;
  padding: 2px 4px;
  font-size: var(--wb-fs-11);
}

.price-list-editor-cascade-add-error {
  color: var(--wb-danger);
  font-size: var(--wb-fs-11);
  line-height: 1.2;
}

.price-list-editor-cascade-chevron {
  color: var(--wb-text-secondary);
  font-size: var(--wb-fs-15);
  line-height: 1;
}

.price-list-editor-dropzone {
  display: grid;
  place-items: center;
  gap: 7px;
  border: 1px dashed var(--wb-price-list-editor-custom-drop-border);
  border-radius: 8px;
  background: var(--wb-price-list-editor-custom-drop-bg);
  color: var(--wb-price-list-empty-ink);
  font-size: var(--wb-fs-12);
  cursor: pointer;
}

/* 2026-10-19 照 5177 03:2643-2651：第三栏整列归 Reference Price。 */
.price-list-editor-reference-panel {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 24px 18px 18px;
}

/* 参考报价 = [＋][Quantity][Price USD] 待输入行 + 下方已加入的列表（13:389-448）。 */
.price-list-editor-reference-draft {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  align-items: end;
}

.price-list-editor-reference-draft label {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: var(--wb-price-list-editor-label-ink);
  font-size: var(--wb-fs-13);
  font-weight: var(--wb-fw-850);
}

.price-list-editor-reference-draft input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 36px;
  border: 1px solid var(--wb-price-list-input-border);
  border-radius: 6px;
  background: var(--wb-price-list-cell-bg);
  color: var(--wb-price-list-cell-ink);
  padding: 7px 8px;
  font: inherit;
  font-size: var(--wb-fs-13);
  line-height: 1.4;
}

.price-list-editor-reference-draft input:focus {
  outline: none;
  border-color: var(--wb-input-focus-border);
  box-shadow: var(--wb-input-focus-shadow);
}

.price-list-editor-reference-add {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  line-height: 1;
  border: 1px solid var(--wb-price-list-editor-add-border);
  border-radius: 50%;
  background: var(--wb-price-list-cell-bg);
  color: var(--wb-price-list-editor-ref-add-ink);
  font: inherit;
  font-weight: var(--wb-fw-900);
  font-size: var(--wb-fs-16);
  cursor: pointer;
}

.price-list-editor-reference-list {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

/* 2026-10-23 照 5177：已保存的参考报价一行内可改数量/报价/成本，并显示利润/利润率。
   数量 | 报价 | 成本 | 利润 | 利润率 | ×（最后一列固定 24px，表头空格才不挤偏）。 */
.price-list-editor-reference-head,
.price-list-editor-reference-item {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.1fr) minmax(0, .85fr) minmax(0, 1.05fr) minmax(0, .85fr) 24px;
  gap: 4px;
  align-items: center;
}

.price-list-editor-reference-head {
  padding: 0 8px;
  color: var(--wb-text-secondary);
  font-size: var(--wb-fs-11);
  font-weight: var(--wb-fw-850);
}

.price-list-editor-reference-head span {
  min-width: 0;
  text-align: center;
}

.price-list-editor-reference-item {
  border: 1px solid var(--wb-price-list-editor-ref-border);
  border-radius: 6px;
  background: var(--wb-price-list-cell-bg);
  padding: 4px 6px;
  color: var(--wb-price-list-cell-ink);
  font-size: var(--wb-fs-13);
}

.price-list-editor-reference-item input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--wb-price-list-input-border);
  border-radius: 4px;
  background: var(--wb-price-list-cell-bg);
  color: var(--wb-price-list-cell-ink);
  font: inherit;
  font-size: var(--wb-fs-12);
  padding: 3px 4px;
  text-align: center;
  direction: ltr;
  unicode-bidi: plaintext;
}

.price-list-editor-reference-item input:focus {
  outline: none;
  border-color: var(--wb-input-focus-border);
  box-shadow: var(--wb-input-focus-shadow);
}

.price-list-editor-reference-readonly {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--wb-text-secondary);
  font-size: var(--wb-fs-11);
  text-align: center;
  direction: ltr;
  unicode-bidi: plaintext;
}

.price-list-editor-reference-readonly.is-profit {
  color: var(--wb-success);
  font-weight: var(--wb-fw-850);
}

.price-list-editor-reference-item button {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  line-height: 1;
  border: 1px solid var(--wb-price-list-editor-delete-border);
  border-radius: 50%;
  background: var(--wb-price-list-cell-bg);
  color: var(--wb-price-list-editor-clear-ink);
  font: inherit;
  font-weight: var(--wb-fw-900);
  cursor: pointer;
}

/* 2026-10-19 照 5177 04:17-19 / 03:2740-2746：第四栏 Remark 独立、文本域铺满整栏。 */
.price-list-editor-remark-panel .price-list-editor-remark-label {
  color: var(--wb-price-list-editor-label-ink);
  font-size: var(--wb-fs-13);
  font-weight: var(--wb-fw-850);
}

.price-list-editor-remark-panel textarea {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 250px;
  border: 1px solid var(--wb-price-list-input-border);
  border-radius: 6px;
  background: var(--wb-price-list-cell-bg);
  color: var(--wb-price-list-cell-ink);
  font: inherit;
  font-size: var(--wb-fs-13);
  line-height: 1.4;
  padding: 7px 8px;
  overflow-y: auto;
}

/* 历史行里的「图」列与删除钮（照 04-shell-base.css:98-139）。 */
.price-list-editor-history-image {
  display: flex;
  justify-content: center;
  gap: 4px;
  align-items: center;
}

.price-list-editor-history-image img,
.price-list-editor-history-image span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--wb-price-list-readonly-border);
  border-radius: 5px;
  object-fit: cover;
  color: var(--wb-price-list-placeholder-ink);
  font-size: var(--wb-fs-11);
}

.price-list-editor-history-image button {
  min-width: 32px;
  min-height: 32px;
  border: 1px dashed var(--wb-price-list-editor-img-add-border);
  border-radius: 6px;
  background: var(--wb-price-list-cell-bg);
  color: var(--wb-price-list-render-btn-ink);
  cursor: pointer;
  font: inherit;
  font-size: var(--wb-fs-12);
  font-weight: var(--wb-fw-850);
  line-height: 1.1;
  white-space: nowrap;
  padding: 0 3px;
}

.price-list-editor-history-delete {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--wb-price-list-editor-img-del-border);
  border-radius: 6px;
  background: var(--wb-price-list-cell-bg);
  color: var(--wb-price-list-editor-img-del-ink);
  font-size: var(--wb-fs-19);
  font-weight: var(--wb-fw-900);
  line-height: 1;
  cursor: pointer;
}

.price-list-editor-empty {
  margin: 0;
  border: 1px solid var(--wb-price-list-editor-history-row-border);
  border-top: 0;
  color: var(--wb-price-list-editor-empty-ink);
  padding: 18px;
  font-size: var(--wb-fs-13);
}

/* 2026-10-09 照 5177：自定义 / 备用主图点开看大图（客户版只做看大图，点击或 Esc 关闭）。 */
.price-list-editor-image-preview-trigger {
  cursor: zoom-in;
}

.price-list-editor-image-preview-backdrop {
  position: fixed;
  inset: 0;
  z-index: calc(var(--wb-z-modal) + 1);
  display: grid;
  place-items: center;
  background: var(--wb-overlay-bg);
  padding: var(--wb-space-6);
}

.price-list-editor-image-preview {
  display: grid;
  gap: var(--wb-space-2);
  margin: 0;
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius-lg);
  background: var(--wb-panel-bg);
  padding: var(--wb-space-4);
}

.price-list-editor-image-preview img {
  max-width: 100%;
  max-height: 74vh;
  object-fit: contain;
}

.price-list-editor-image-preview figcaption {
  color: var(--wb-text-secondary);
  font-size: var(--wb-fs-12);
  text-align: center;
}

/* 产品知识里的价目表预览不吃大表「撑满 + 自己滚」的布局（5177
   quote-library-product-list.css:4629）：它按内容高度铺开，滚动交给外面的面板。 */
.product-knowledge-price-list-preview {
  flex: 0 0 auto;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
}

/* 2026-10-09 照 5177：产品知识里的价目表预览——参考价「数量」列补左侧分隔线，
   标题格同一条线连成完整列分界（省略号那格是列表头）。 */
.product-knowledge-price-list-preview .price-list-reference-head > div:first-child,
.product-knowledge-price-list-preview .price-list-reference-cell:first-child,
.product-knowledge-price-list-preview .price-list-reference-title {
  border-left: 1px solid var(--wb-border-strong);
}

.price-list-product-editor-footer,
.price-list-transfer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--wb-space-3);
  border-top: 1px solid var(--wb-heading-divider);
  padding: var(--wb-space-4) var(--wb-space-7);
}

/* 底栏照 04-shell-base.css:168-184 + quote-library-product-list:2915-2944。 */
.price-list-product-editor-footer {
  justify-content: space-between;
  min-height: 72px;
  border-top-color: var(--wb-price-list-editor-header-border);
  background: var(--wb-price-list-cell-bg);
  padding: 14px 16px;
}

.price-list-product-editor-footer button {
  min-height: 34px;
  box-shadow: none;
  border: 1px solid var(--wb-price-list-editor-footer-btn-border);
  border-radius: 8px;
  background: var(--wb-price-list-cell-bg);
  color: var(--wb-price-list-editor-footer-btn-ink);
  cursor: pointer;
  font-size: var(--wb-fs-17);
  font-weight: var(--wb-fw-850);
  padding: 8px 18px;
}

.price-list-product-editor-footer .btn-primary {
  border-color: var(--wb-price-list-editor-footer-primary);
  background: var(--wb-price-list-editor-footer-primary);
  color: var(--wb-price-list-cell-bg);
}

.price-list-product-editor-footer button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.price-list-editor-status {
  margin-right: auto;
  color: var(--wb-price-list-empty-ink);
  font-size: var(--wb-fs-12);
  font-weight: var(--wb-fw-800);
  overflow-wrap: anywhere;
}

.price-list-editor-status.error {
  color: var(--wb-danger);
}

.price-list-transfer-body p {
  margin: 0;
  color: var(--wb-text-secondary);
  font-size: var(--wb-fs-13);
}

.price-list-transfer-path {
  color: var(--wb-accent-ink);
  font-size: var(--wb-fs-13);
  font-weight: var(--wb-fw-700);
  overflow-wrap: anywhere;
}

.price-list-transfer-category-field {
  display: flex;
  flex-direction: column;
  gap: var(--wb-space-2);
}

.price-list-transfer-cascade {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wb-space-2);
  max-height: 240px;
  overflow: auto;
  border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius-control);
  background: var(--wb-panel-bg-soft);
  padding: var(--wb-space-2);
}

/* ============================================================
 * 8. 窄屏
 * ============================================================ */

/* 窄屏照 04-shell-base.css:227-237：弹窗按 96vw 收，四栏仍保持 1830，靠横向滚动。 */
@media (max-width: 1180px) {
  .price-list-product-editor-dialog {
    width: 96vw;
  }
}

@media (max-width: 920px) {
  .price-list-workbench-layout {
    grid-template-columns: minmax(0, 1fr);
    width: auto;
    min-width: 0;
    height: auto;
    max-height: none;
  }

  .price-list-workbench-scroll {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .price-list-category-tree-list {
    max-height: 260px;
  }
}

/* 未开通：只显示一句说明（2026-10-23 内测模拟模块授权时用） */
.price-list-unavailable {
  margin: 0;
  padding: 24px;
  color: var(--wb-price-list-empty-ink);
  font-size: var(--wb-fs-14);
  line-height: 1.7;
}

.price-list-product-editor-dialog:hover > .wb-dialog-corner-handle {
  opacity: 1;
}

/* 底部横向滚动镜像条（照 5177 发票样式:851-901）：
 * 主表比视口宽时，屏幕底部吸附一条同步的水平滚动条，行多时不用先滚到表格底部才能左右看。
 * 挂 body（不在板块缩放的 zoom 祖先里），位置与高度按真实像素算。 */
.price-list-table-scroll-mirror {
  position: fixed;
  bottom: 8px;
  z-index: var(--wb-z-menu);
  display: none;
  height: 18px;
  max-width: calc(100vw - 16px);
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius-control);
  background: var(--wb-panel-bg);
  box-shadow: var(--wb-shadow-modal);
  overscroll-behavior-x: contain;
  scrollbar-color: var(--wb-scroll-thumb) var(--wb-scroll-track);
  scrollbar-width: auto;
}

.price-list-table-scroll-mirror.is-visible {
  display: block;
}

.price-list-table-scroll-mirror:focus-visible {
  outline: var(--wb-focus-outline);
  outline-offset: 1px;
}

.price-list-table-scroll-mirror-track {
  height: 1px;
  min-width: 100%;
  pointer-events: none;
}

.price-list-table-scroll-mirror::-webkit-scrollbar {
  height: 12px;
}

.price-list-table-scroll-mirror::-webkit-scrollbar-track {
  border-radius: var(--wb-radius-control);
  background: var(--wb-scroll-track);
}

.price-list-table-scroll-mirror::-webkit-scrollbar-thumb {
  border: 2px solid var(--wb-scroll-track);
  border-radius: var(--wb-radius-pill);
  background: var(--wb-scroll-thumb);
}

.price-list-table-scroll-mirror::-webkit-scrollbar-thumb:hover {
  background: var(--wb-scroll-thumb-hover);
}
