/* 加人引导语：先收图、再识别（rc3o-20261023）。客户助手页有 #viewCustomers button{background:none}，按钮规则都带上 #viewCustomers 那一级 */
.ca-tray{display:grid;gap:10px;padding:12px 14px;border:1.5px dashed #e3b9b3;border-radius:14px;background:#fffaf9}
.ca-tray-head strong{display:block;font-size:15px;color:#1f2a37}
.ca-tray-head small{display:block;margin-top:2px;font-size:12.5px;line-height:1.6;color:#7a808a}
.ca-tray-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px}
.ca-tray-cell{position:relative;aspect-ratio:3/4;border-radius:10px;overflow:hidden;background:#f1f2f4;border:1px solid #e6e1da}
.ca-tray-cell img{width:100%;height:100%;object-fit:cover;display:block}
#viewCustomers .ca-tray .ca-tray-x{position:absolute;top:4px;right:4px;width:24px;height:24px;border:0;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;font-size:15px;line-height:24px;padding:0;cursor:pointer}
#viewCustomers .ca-tray .ca-tray-add{aspect-ratio:3/4;border:1.5px dashed #d9c9c4;border-radius:10px;background:#fff;color:#c0392b;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font:inherit}
.ca-tray-add span{font-size:24px;line-height:1}
.ca-tray-add small{font-size:12px;color:#8a8f98}
.ca-tray-acts{display:flex;flex-wrap:wrap;gap:8px}
#viewCustomers .ca-tray .btn{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:6px 18px;border-radius:10px;border:1px solid #d9d2c8;background:#fff;color:#3b4351;font:inherit;font-size:14.5px;cursor:pointer}
#viewCustomers .ca-tray .btn:hover{border-color:#c0392b;color:#c0392b}
#viewCustomers .ca-tray .btn-red{background:#c0392b;border-color:#c0392b;color:#fff;font-weight:600}
#viewCustomers .ca-tray .btn-red:hover{background:#a93226;color:#fff}
#caGeneratePane.ca-dragging .ca-card:first-child{outline:2px dashed #c0392b;outline-offset:4px}
@media (max-width:640px){.ca-tray-grid{grid-template-columns:repeat(3,1fr)}#viewCustomers .ca-tray-acts .btn{flex:1}}
/* 这一批每张图的状态（第一张以外原来看不见） */
.ca-batch{display:grid;gap:8px;margin-top:10px;padding:10px 12px;border:1px solid #ece4da;border-radius:12px;background:#fff}
.ca-batch-head{font-size:13.5px;font-weight:600;color:#3b4351}
.ca-batch-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px}
.ca-batch-cell{display:grid;gap:4px}
.ca-batch-cell img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:8px;border:1px solid #e6e1da;background:#f1f2f4}
.ca-batch-cell small{font-size:12px;line-height:1.45;color:#7a808a}
.ca-batch-cell.is-main small,.ca-batch-cell.is-merged small,.ca-batch-cell.is-friend small{color:#2e7d32}
.ca-batch-cell.is-busy small{color:#a35d00}
.ca-batch-cell.is-fail small{color:#c0392b}
.ca-batch-cell.is-busy img{outline:2px solid #e0a800;outline-offset:1px}
