/* 电脑与手机共用的出库去向。长客户名称完整换行，不截断、不挤出卡片。 */
.device-recipient {
  margin: 7px 0 0;
  min-width: 8em;
  max-width: 18em;
  white-space: normal;
  overflow-wrap: anywhere;
  color: #11785f;
  font-size: 12px;
  line-height: 1.6;
}
.device-recipient b { font-weight: 600; }
.device-recipient.is-missing { color: #946622; }
/* 库存表中的客户和售价连在一行；窄屏沿用表格横向滚动。 */
.cs-erp table .device-recipient { display:inline-flex; align-items:baseline; flex-wrap:nowrap; max-width:none; white-space:nowrap; overflow-wrap:normal; }
.cs-erp table .device-recipient > span,.cs-erp table .device-recipient > b { display:inline; white-space:nowrap; flex:none; }
.cs-erp table .device-sale-price { margin-left:4px; }
/* 寄售去向在状态下面单独一行，直接显示本机登记的当前持有人。 */
.cs-erp table .device-consignee { display:flex; }
/* 手机给去向单独一行，采购员不必展开更多操作就能看见。 */
.cs-mobile .device-card .device-recipient {
  min-width: 0;
  max-width: 100%;
  margin: 9px 0 4px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #edf7f1;
  font-size: 13px;
}
.cs-mobile .device-card .device-recipient.is-missing { background: #fff8eb; }
