/* V2.8.11 图片粘贴 (剪贴板 → 后台上传) 占位与缩略图样式 */

.imgpaste-host {
  position: relative;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 14px;
  margin-top: 6px;
  background: #f8fafc;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.imgpaste-host:focus-within {
  border-color: #2563eb;
  background: #eff6ff;
}
.imgpaste-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #475569;
  text-align: center;
  cursor: text;
}
.imgpaste-placeholder .imgpaste-icon {
  font-size: 26px;
}
.imgpaste-placeholder .imgpaste-title {
  font-weight: 600;
  font-size: 14px;
  color: #1e293b;
}
.imgpaste-placeholder .imgpaste-hint {
  font-size: 12px;
  color: #64748b;
}

.imgpaste-preview {
  position: relative;
  display: inline-block;
  max-width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  margin-top: 4px;
}
.imgpaste-preview img {
  display: block;
  max-width: 320px;
  max-height: 220px;
  object-fit: contain;
  cursor: zoom-in;
}
.imgpaste-preview .imgpaste-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

/* 列表卡片中的待办图片缩略图 */
.todo-thumb {
  display: inline-flex;
  margin-right: 8px;
  margin-bottom: 6px;
}
.todo-thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  cursor: zoom-in;
  border: 1px solid #e2e8f0;
}
.todo-image-link {
  display: inline-block;
  margin-right: 8px;
}
.todo-image-link img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  cursor: zoom-in;
}

/* 客户产品图片缩略图（已在 v2_5_* 中存在，这里只在 paste 预览处补一份） */
.customer-paste-preview {
  margin-top: 6px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.customer-paste-preview img {
  max-width: 140px;
  max-height: 140px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  object-fit: cover;
}
.customer-paste-preview .imgpaste-remove {
  position: static;
  background: #ef4444;
}

/* 客户管理：移除文件选择器后，粘贴区作为唯一图片入口，放大展示 */
.customer-image-field{margin:0}
.customer-image-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:7px;flex-wrap:wrap}
.customer-image-title{font-size:12.5px;font-weight:700;color:#1e293b}
.customer-image-hint{font-size:11px;color:#64748b}
.customer-paste-host{min-height:92px;display:flex;align-items:center;justify-content:center;cursor:text}
.customer-paste-host .imgpaste-placeholder{width:100%}
.customer-paste-host .imgpaste-preview{display:flex;justify-content:center;width:100%}
.customer-paste-host .imgpaste-preview img{max-width:100%;max-height:200px}
