/* 全站列表统一视觉：现代商务轻边框，不改变表格结构、字段和业务交互 */
:root{
  --list-border:#e2e8f0;
  --list-border-soft:#edf1f6;
  --list-head-bg:#f4f7fb;
  --list-row-hover:#f2f7ff;
  --list-row-selected:#eaf2ff;
  --list-text:#263247;
  --list-muted:#64748b;
}
/* Bootstrap 表格及动态生成表格统一 */
.table-responsive,
.purchase-monitor-table-wrap{
  border:1px solid var(--list-border)!important;
  border-radius:12px;
  background:#fff;
  overflow-x:auto;
  overflow-y:hidden;
  box-shadow:0 1px 3px rgba(15,23,42,.035);
}
.table-responsive>.table,
.purchase-monitor-table-wrap>.purchase-monitor-table{
  margin-bottom:0!important;
  border-collapse:separate;
  border-spacing:0;
}
.table-responsive>.table>thead>tr>th,
.purchase-monitor-table-wrap>.purchase-monitor-table>thead>tr>th{
  background:var(--list-head-bg)!important;
  color:#263247;
  font-weight:650;
  border-top:0!important;
  border-bottom:1px solid #cfd8e5!important;
  border-right:1px solid var(--list-border-soft)!important;
  padding:11px 12px;
  white-space:nowrap;
}
.table-responsive>.table>thead>tr>th:last-child,
.purchase-monitor-table-wrap>.purchase-monitor-table>thead>tr>th:last-child{border-right:0!important}
.table-responsive>.table>tbody>tr>td,
.purchase-monitor-table-wrap>.purchase-monitor-table>tbody>tr>td{
  border-top:0!important;
  border-bottom:1px solid var(--list-border-soft)!important;
  border-right:1px solid #f0f3f7!important;
  color:var(--list-text);
  padding:10px 12px;
  background-clip:padding-box;
}
.table-responsive>.table>tbody>tr>td:last-child,
.purchase-monitor-table-wrap>.purchase-monitor-table>tbody>tr>td:last-child{border-right:0!important}
.table-responsive>.table>tbody>tr:last-child>td,
.purchase-monitor-table-wrap>.purchase-monitor-table>tbody>tr:last-child>td{border-bottom:0!important}
.table-responsive>.table.table-bordered> :not(caption)>*{border-width:0}
.table-responsive>.table.table-bordered> :not(caption)>*>*{border-right:1px solid var(--list-border-soft)!important;border-bottom:1px solid var(--list-border-soft)!important}
.table-responsive>.table>tbody>tr:hover>td,
.purchase-monitor-table-wrap>.purchase-monitor-table>tbody>tr:hover>td{background-color:var(--list-row-hover)!important}
.table-responsive>.table>tbody>tr.table-active>td,
.table-responsive>.table>tbody>tr.selected>td,
.table-responsive>.table>tbody>tr.is-selected>td{background-color:var(--list-row-selected)!important}
.table-responsive>.table>tbody>tr:last-child:hover>td{border-bottom:0!important}
/* 保留异常、成功、匹配状态的语义颜色，避免统一表格样式覆盖状态标签 */
.table-responsive .badge,
.table-responsive [class*="status-"],
.table-responsive .match-status,
.table-responsive .supplier-row-status{position:relative}
/* 图片库等卡片型列表使用一致的轻边框与悬停反馈 */
.image-manager-card,
.image-queue-job,
.pricing-candidate-list>*,
.purchase-sheet-list>*,
.supplier-batch-list>*{
  border:1px solid var(--list-border)!important;
  border-radius:12px;
  background:#fff;
  box-shadow:0 2px 8px rgba(15,23,42,.035);
}
.image-manager-card{transition:border-color .16s ease,box-shadow .16s ease}
.image-manager-card:hover{border-color:#b9c9e0!important;box-shadow:0 4px 14px rgba(15,23,42,.07)}
.image-manager-card.is-invalid-record{border-color:#f0c4c4!important;background:#fffafa}
/* 分页与列表边界保持适当距离 */
.table-pager,.tail-pagination,#imageManagerPager,#supplierHistoryPager,#purchasePager,#verificationPager{margin-top:10px}
/* 小屏保留横向滚动，不压缩列、不隐藏数据 */
@media(max-width:768px){
  .table-responsive,.purchase-monitor-table-wrap{border-radius:9px}
  .table-responsive>.table>thead>tr>th,
  .table-responsive>.table>tbody>tr>td{padding:9px 10px}
}
@media(prefers-reduced-motion:reduce){.image-manager-card{transition:none}}
