/* WXSSC V67.2-D4 Home Price Light Date Column Full Display
   首页轻量预览在左侧内容列内显示，不是价格中心宽表。
   目标：日期 / 盘次完整显示，不再被右侧栏裁切。
*/

/* 首页轻量表格按父容器宽度分配列，避免撑破左列 */
html body #priceCenter .wx-hpl672d-table{
  width:100% !important;
  min-width:0 !important;
  table-layout:fixed !important;
}

/* 首页预览不需要“操作”列，完整动作由底部“查看全部报价”和搜索按钮进入价格中心 */
html body #priceCenter .wx-hpl672d-table th:nth-child(7),
html body #priceCenter .wx-hpl672d-table td:nth-child(7){
  display:none !important;
}

/* 重新分配 6 列宽度：给日期/盘次足够空间 */
html body #priceCenter .wx-hpl672d-table th:nth-child(1),
html body #priceCenter .wx-hpl672d-table td:nth-child(1){
  width:16% !important;
}

html body #priceCenter .wx-hpl672d-table th:nth-child(2),
html body #priceCenter .wx-hpl672d-table td:nth-child(2){
  width:22% !important;
}

html body #priceCenter .wx-hpl672d-table th:nth-child(3),
html body #priceCenter .wx-hpl672d-table td:nth-child(3){
  width:17% !important;
}

html body #priceCenter .wx-hpl672d-table th:nth-child(4),
html body #priceCenter .wx-hpl672d-table td:nth-child(4){
  width:14% !important;
}

html body #priceCenter .wx-hpl672d-table th:nth-child(5),
html body #priceCenter .wx-hpl672d-table td:nth-child(5){
  width:8% !important;
}

html body #priceCenter .wx-hpl672d-table th:nth-child(6),
html body #priceCenter .wx-hpl672d-table td:nth-child(6){
  width:23% !important;
  min-width:150px !important;
  white-space:normal !important;
  overflow:visible !important;
}

/* 日期与盘次分两行，确保完整展示 */
html body #priceCenter .wx-hpl672d-date{
  white-space:normal !important;
  overflow:visible !important;
  line-height:1.25 !important;
}

html body #priceCenter .wx-hpl672d-date b{
  display:block !important;
  color:#071126 !important;
  font-weight:1000 !important;
  margin:0 0 6px 0 !important;
  white-space:nowrap !important;
}

html body #priceCenter .wx-hpl672d-session{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  max-width:100% !important;
  height:24px !important;
  padding:0 8px !important;
  border-radius:999px !important;
  border:1px solid #fed7aa !important;
  background:#fff7ed !important;
  color:#ea580c !important;
  font-size:11px !important;
  font-weight:1000 !important;
  white-space:nowrap !important;
}

/* 防止单元格长文本继续撑破左列 */
html body #priceCenter .wx-hpl672d-table th,
html body #priceCenter .wx-hpl672d-table td{
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

html body #priceCenter .wx-hpl672d-table td:nth-child(6){
  overflow:visible !important;
  text-overflow:clip !important;
}

/* 小屏时允许横向滚动，但日期列仍完整 */
@media(max-width:760px){
  html body #priceCenter .wx-hpl672d-table{
    min-width:680px !important;
    table-layout:fixed !important;
  }

  html body #priceCenter .wx-hpl672d-table th:nth-child(6),
  html body #priceCenter .wx-hpl672d-table td:nth-child(6){
    min-width:150px !important;
  }
}
