/* 客户端：还款凭证上传（追加在「归还预付款 · 分期计划」之后） */
.ys-crp {
  margin-top: 12px;
  padding: 14px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .05);
  font-size: 13px;
  color: #333;
}
.ys-crp-head {
  font-size: 14px;
  font-weight: 600;
  color: #222;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ys-crp-head::before {
  content: "";
  width: 3px;
  height: 14px;
  background: #e4393c;
  border-radius: 2px;
  display: inline-block;
}
.ys-crp-sub {
  font-size: 12px;
  color: #999;
  line-height: 1.6;
  margin: 0 0 10px;
}
.ys-crp-acc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.ys-crp-acc img {
  width: 108px;
  height: 108px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #eee;
  cursor: zoom-in;
}
.ys-crp-acc-none {
  font-size: 12px;
  color: #b0b4ba;
  padding: 8px 0;
}
.ys-crp-item {
  padding: 10px 0;
  border-top: 1px dashed #f0f1f3;
}
.ys-crp-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.ys-crp-line b { font-size: 13px; color: #222; }
.ys-crp-line span { font-size: 12px; color: #666; }
.ys-crp-line em {
  font-style: normal;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 9px;
  background: #fff1f0;
  color: #e4393c;
}
.ys-crp-line em.paid { background: #eef8f0; color: #22a45d; }
.ys-crp-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ys-crp-thumb {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eee;
  background: #fafafa;
}
.ys-crp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ys-crp-del {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  padding: 0;
}
.ys-crp-add {
  width: 76px;
  height: 76px;
  border: 1px dashed #d6d8db;
  border-radius: 8px;
  background: #fbfbfc;
  color: #9aa0a6;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-sizing: border-box;
}
.ys-crp-add span:first-child { font-size: 20px; line-height: 1; }
.ys-crp-tip {
  font-size: 11px;
  color: #a8adb4;
  line-height: 1.6;
  margin-top: 8px;
}
.ys-crp-toast {
  position: fixed;
  left: 50%;
  top: 30%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, .78);
  color: #fff;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 8px;
  z-index: 31000;
  max-width: 78vw;
  text-align: center;
}
.ys-crp-viewer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .9);
  z-index: 31000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ys-crp-viewer img {
  max-width: 96vw;
  max-height: 90vh;
  object-fit: contain;
}
