/* 金聚诚 StockProductsView 的产品名称、型号与操作列使用相同的桌面表格间距。 */
.catalog-page .products-panel {
  padding: 20px 20px 16px;
}
.catalog-page .ftable table {
  min-width: 760px;
}
.catalog-page .ftable th:first-child,
.catalog-page .ftable td:first-child {
  width: 34%;
}
.catalog-page .ftable td {
  height: 72px;
  overflow-wrap: anywhere;
}
.catalog-page .catalog-name {
  display: block;
  font-weight: 600;
  line-height: 1.45;
}
.catalog-page .catalog-code {
  display: block;
  margin-top: 4px;
  color: #86909c;
  font-size: 12px;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}
.catalog-page .ftable .catalog-empty {
  height: 160px;
  text-align: center;
  color: #86909c;
}
.catalog-page .catalog-totals {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: baseline;
  padding-top: 12px;
  border-top: 1px solid #f2f3f5;
  color: #4e5969;
  font-size: 13px;
}
.catalog-page .catalog-totals b {
  margin-left: 6px;
  font-variant-numeric: tabular-nums;
}
.catalog-detail dl {
  margin: 0;
}
.catalog-detail dl div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #f2f3f5;
  font-size: 14px;
  line-height: 1.5;
}
.catalog-detail dt {
  color: #86909c;
}
.catalog-detail dd {
  margin: 0;
  color: #1d2129;
  overflow-wrap: anywhere;
}
.catalog-detail .catalog-stock-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 20px;
  color: #1274a5;
  font-size: 14px;
}
.catalog-detail .catalog-stock-link svg {
  width: 16px;
  height: 16px;
}

.catalog-product-link { display: block; color: #1d2129; text-decoration: none; }
.catalog-page tr[data-href] { cursor: pointer; }
.catalog-product-link:hover, .catalog-page tr[data-href]:hover .catalog-product-link { color: #1274a5; }
.catalog-drawer-links, .ps-meta, .ps-filter-head, .ps-filter, .ps-panel > header { display: flex; align-items: center; }
.catalog-drawer-links { gap: 24px; }
.product-sales .crm-head { margin-bottom: 4px; }
.ps-meta { gap: 0; flex-wrap: wrap; color: #647182; font-size: 13px; }
.ps-meta span + span:before { content: ""; display: inline-block; width: 1px; height: 11px; background: #d8dde5; margin: 0 10px; vertical-align: -1px; }
.ps-filter-head { justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.ps-filter-head h2, .ps-panel h2 { margin: 0; font-weight: 600; color: #1d2633; }
.ps-filter-head h2 { font-size: 21px; }
.ps-filter-head p { margin: 4px 0 0; font-size: 12px; color: #687586; }
.ps-filter { flex-wrap: wrap; gap: 8px; font-size: 13px; color: #677382; }
.ps-filter input { height: 34px; padding: 0 8px; border: 1px solid #dfe4eb; border-radius: 6px; color: #283445; background: #fff; font: inherit; }
.ps-all { padding: 7px 10px; color: #536279; text-decoration: none; border-radius: 6px; }
.ps-all[aria-current], .ps-all:hover { color: #1271a1; background: #e2f6fd; }
.ps-filter .btn { min-height: 34px; padding: 0 14px; }
.product-sales .ps-summary, .product-sales .ps-panel { padding: 18px 20px; margin: 0 0 16px; }
.ps-metrics { display: grid; grid-template-columns: 1.25fr 1.2fr 1fr 1fr; }
.ps-metric { min-width: 0; padding: 2px 18px; }
.ps-metric:first-child { padding-left: 0; }
.ps-metric + .ps-metric { border-left: 1px solid #e9edf2; }
.ps-metric > span { color: #657282; font-size: 13px; }
.ps-metric strong { display: flex; flex-wrap: wrap; gap: 2px 8px; margin-top: 5px; align-items: baseline; font-size: clamp(21px,2vw,32px); font-weight: 600; line-height: 1.35; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.ps-metric:first-child strong { color: #10648e; }
.ps-metric small, .ps-quantity small { font-weight: 400; font-size: 12px; letter-spacing: 0; color: #657282; white-space: nowrap; }
.ps-quantity { white-space: nowrap; }
.ps-notes { margin: 14px 0 0; padding-top: 11px; border-top: 1px solid #edf0f4; font-size: 12px; color: #697484; }
.ps-panel > header { flex-wrap: wrap; justify-content: space-between; gap: 6px; margin: 0 0 14px; }
.ps-panel h2 { font-size: 17px; }
.ps-panel > header span { color: #697687; font-size: 12px; }
.ps-plot { overflow-x: auto; }
.ps-plot svg { display: block; width: 100%; height: 188px; stroke: none; fill: none; }
.ps-plot text { font-size: 11px; fill: #687586; stroke: none; }
.ps-plot .ps-grid { stroke: #e9edf2; }
.ps-plot .ps-axis { stroke: #b8c4d4; }
.ps-plot .ps-bar { fill: #217fae; }
.ps-plot .ps-bar.negative { fill: #a76747; }
.ps-plot g:hover .ps-bar { opacity: .75; }
.ps-plot .ps-gap { fill: #778496; }
.ps-trend-detail { margin-top: 8px; }
.ps-trend-detail summary { cursor: pointer; font-size: 13px; color: #3d6a81; }
.ps-trend-detail[open] summary { margin-bottom: 10px; }
.ps-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; align-items: start; }
.product-sales .ps-panel .ftable { border-radius: 9px; }
.product-sales .ps-panel .ftable table { table-layout: auto; min-width: 0; }
.product-sales .ps-panel .ftable th, .product-sales .ps-panel .ftable td { width: auto; padding: 8px 10px; font-size: 13px; height: 40px; }
.product-sales .ps-panel .ftable th { white-space: nowrap; }
.product-sales .ps-panel .ftable .r { white-space: nowrap; text-align: right; }
.product-sales .ps-documents .ftable > table { min-width: 660px; }
.ps-link, .ps-line-toggle { color: #12709f; text-decoration: none; }
.ps-link:hover, .ps-line-toggle:hover { text-decoration: underline; }
.ps-line-toggle { padding: 2px; border: 0; background: none; font: inherit; white-space: nowrap; cursor: pointer; }
.ps-panel .tpager { padding-bottom: 0; }
.ps-lines { padding: 4px 12px; border-left: 2px solid #6ec5e3; }
.product-sales .ps-lines table th, .product-sales .ps-lines table td { background: #f6fbfc; height: 36px; }
.ps-empty { padding: 30px 20px; color: #687586; font-size: 14px; }
.product-sales .ps-panel { scroll-margin-top: 14px; }
@media (max-width: 1050px) {
  .ps-split { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 760px) {
  .ps-metrics { grid-template-columns: 1fr 1fr; gap: 12px 0; }
  .ps-metric:nth-child(3) { padding-left: 0; border: 0; }
}
.catalog-page .products-panel .ftable th.ops, .catalog-page .products-panel .ftable td.ops { width: 156px; white-space: nowrap; }
.catalog-page table[aria-label="产品资料"] { min-width: 885px; }
.catalog-page table[aria-label="产品资料"] :is(th,td):first-child { width: 26%; }
.catalog-page table[aria-label="产品资料"] .catalog-net { width: 115px; white-space: nowrap; }
.catalog-net button { padding: 2px 0; border: 0; color: inherit; font: inherit; background: none; cursor: pointer; }
.catalog-net button:hover, .catalog-net[aria-sort="descending"] button { color: #12709f; }
.catalog-page table[aria-label="产品资料"] :is(td:nth-child(1),td:nth-child(3),td:nth-child(4)), .product-sales .ps-panel .ftable td:not(.r) { white-space: normal; overflow-wrap: anywhere; }
.product-sales .ps-panel .ftable .ps-line-toggle { white-space: nowrap; }

.sales-evidence-page > .ps-meta { margin:4px 0 20px; }
.sales-evidence-page .ps-metrics { grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); }
.crumbs .back-to-answer { color:#1a658b; }
.crumbs .back-to-answer:not(:last-child) { padding-right:12px; margin-right:4px; border-right:1px solid #e1e6ec; }

.query-record .ftable table { table-layout: auto; }
.query-record .ftable th, .query-record .ftable th:first-child, .query-record .ftable td:first-child { width: auto; white-space: nowrap; }
.query-record .ftable a { color: var(--work-blue); }
