/* UX-P13: consistent resource catalog cards; optional right-hand preview */
.resource-cards{align-items:stretch}
.resource-cards .resource-catalog-card{min-width:0;min-height:164px;height:100%;display:flex;flex-direction:column;gap:10px;overflow:hidden}
.resource-catalog-content{display:flex;align-items:flex-start;gap:12px;flex:1 1 auto;min-width:0}
.resource-catalog-details{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:6px}
.resource-catalog-details .production-row-head{display:flex;flex-wrap:wrap;gap:5px 7px;align-items:center;min-width:0}
.resource-catalog-details .production-row-head b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%}
.resource-catalog-details .tiny-msg,.resource-catalog-details .production-note{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;margin:0}
.resource-catalog-image{width:84px;height:84px;flex:0 0 84px;display:grid;place-items:center;overflow:hidden;border:1px solid #3b4d41;border-radius:5px;background:#252e28}
.resource-catalog-image .resource-catalog-cover{display:block;width:100%;height:100%;margin:0;border:0;border-radius:0;object-fit:cover}
.resource-catalog-placeholder{color:#90a499;font-size:11px;text-align:center}
.resource-catalog-card>.action-row{margin-top:auto}
@media(max-width:570px){.resource-catalog-image{width:78px;height:78px;flex-basis:78px}}
.resource-file-removed{opacity:.86}
.resource-file-removed .resource-danger{opacity:1}

/* UX-P13.2: keep photo classification actions together at narrow widths. */
.resource-role-switch{white-space:nowrap}
