#trim-photos { min-width: 0; margin: 20px 0; padding: 18px; border: 1px solid #afc0e3; }
#trim-photos legend { font-weight: 700; padding: 0 5px; }
#trim-photos .trim-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(240px,100%),1fr)); margin-bottom: 16px; }
#trim-photos .trim-list label { display: flex; gap: 12px; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
#trim-photos input { appearance: auto; position: static; width: 20px; height: 20px; flex: none; accent-color: var(--blue); }
#trim-photos .trim-list { gap: 8px; }
#trim-photos .trim-list label { min-width: 0; padding: 6px; border: 1px solid #d9e1ee; cursor: pointer; }
#trim-photos .trim-thumbnail { display: grid; place-items: center; flex: 0 0 88px; height: 88px; background: #edf1f6; color: #41506b; font-size: .78rem; text-align: center; }
#trim-photos .trim-thumbnail canvas { width: 100%; height: 100%; object-fit: contain; }
