/* ===== 授权管理（系统设置 → 授权管理） ===== */

/* 表头预警规则输入 */
.auth-warn-rule {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding: 0 10px;
  height: 36px;
  background: #fff7e6;
  border: 1px solid #ffd591;
  border-radius: 8px;
  font-size: 13px;
  color: #874d00;
  white-space: nowrap;
}
.auth-warn-rule label { cursor: pointer; font-weight: 500; }
.auth-warn-rule input {
  width: 56px;
  height: 26px;
  border: 1px solid #ffd591;
  border-radius: 6px;
  padding: 0 6px;
  font-size: 13px;
  text-align: center;
  outline: none;
  background: #fff;
  color: #874d00;
}
.auth-warn-rule input:focus { border-color: #e67e22; box-shadow: 0 0 0 2px rgba(230,126,34,.15); }

/* 汇总栏 */
.auth-sum-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 2px 10px;
  font-size: 13px;
  color: #445;
}
.auth-sum-bar b { font-size: 14px; }

/* 行级高亮：已超期红 / 预警橙（仅临时软授权） */
.row-auth-expired td { background: #fdf0f0 !important; }
.row-auth-warn td { background: #fffaf0 !important; }
.row-auth-expired:hover td { background: #fbe3e3 !important; }
.row-auth-warn:hover td { background: #fff3d9 !important; }

/* 移动端：预警规则换行 */
@media (max-width: 768px) {
  .auth-warn-rule { margin-left: 0; margin-top: 6px; }
}

/* ===== 厂商产品出库管理（侧栏页 /vendor-shipping）===== */
/* 厂商金额累计统计卡（底部） */
.accum-bar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 14px 18px;
  background: linear-gradient(135deg,#f8f9fc,#eef0f3);
  border: 1px solid var(--line);
  border-radius: 10px;
  flex-wrap: wrap;
}
.accum-bar .item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 18px;
  border-right: 1px dashed var(--line);
}
.accum-bar .item:last-child { border-right: none; }
.accum-bar .lbl { font-size: 11px; color: var(--text3); }
.accum-bar .val { font-size: 16px; font-weight: 600; color: var(--text); }
@media (max-width: 768px) {
  .accum-bar .item { padding: 6px 12px; border-right: none; }
}

/* 厂商产品出库表格：固定布局 + 等宽（首尾列固定像素，中间列自动均分）+ 溢出省略 */
.vs-table { table-layout: fixed; width: 100%; }
.vs-table th, .vs-table td { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs-table td[title] { cursor: help; }
.vs-table th[style*="text-align:right"], .vs-table td[style*="text-align:right"] { text-align: right; }
