
/* ===== 水票产品化：配送员端 ===== */

/* 商品明细行 */
.dv-items {
  margin: 10px 0 8px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  overflow: hidden;
}
.dv-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 9px 11px;
  border-bottom: 1px solid #EEF2F7;
  font-size: 13.5px;
}
.dv-item:last-child { border-bottom: 0; }
.dv-item-nm { font-weight: 600; color: #0F172A; }
.dv-item-sp { font-size: 12px; color: #64748B; }
.dv-item-q  { margin-left: auto; font-weight: 700; color: #0F766E; }

/* 状态胶囊 */
.pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 1.6;
  white-space: nowrap;
}
.pill-ok   { background: #DCFCE7; color: #166534; }
.pill-bad  { background: #FEE2E2; color: #991B1B; }
.pill-dim  { background: #E2E8F0; color: #475569; }

/* 客户水票余量面板 */
.dv-tk {
  margin: 8px 0 4px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 10px;
  padding: 10px 11px;
}
.dv-tk-hd {
  font-size: 12.5px;
  font-weight: 700;
  color: #92400E;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dv-tk-hd em {
  font-style: normal;
  font-weight: 500;
  font-size: 11.5px;
  color: #B45309;
  background: #FEF3C7;
  padding: 1px 7px;
  border-radius: 999px;
}
.dv-tk-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  font-size: 13px;
  border-bottom: 1px dashed #FDE68A;
}
.dv-tk-row:last-child { border-bottom: 0; }
.dv-tk-pd { font-weight: 600; color: #78350F; }
.dv-tk-nm { font-size: 12px; color: #A16207; }
.dv-tk-num {
  margin-left: auto;
  font-size: 16px;
  color: #92400E;
  font-variant-numeric: tabular-nums;
}
.dv-tk-num.low { color: #DC2626; }
.dv-tk-row small { color: #A16207; font-size: 11.5px; }

.dv-tk.warn-empty {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #991B1B;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 11px;
  border-radius: 10px;
  margin: 8px 0 4px;
}

/* 来源徽标：自有 / 抖音 / 赠送 */
.src-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: .3px;
  white-space: nowrap;
}
.src-own    { background: #E0F2FE; color: #075985; }
.src-douyin { background: #111827; color: #FDE047; }
.src-gift   { background: #F3E8FF; color: #6B21A8; }
