/* Cumulative attachments 1.0: list of chosen files under "Dateien hinzufügen" (media/com_agency/js/attachment-picker.js). */
input[type="file"][data-fc24-attachments-ready][hidden] { display: none !important; }
.fc24-attach { position: relative; min-width: 0; max-width: 100%; margin: .35rem 0 .6rem; }
.fc24-attach-picker { position: absolute; inset-inline-start: 0; top: 0; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
.fc24-attach-summary { font-size: .875rem; margin: .4rem 0; color: var(--fc-color-text-muted, #5b6472); }
.fc24-attach-list { list-style: none; padding: 0; margin: .35rem 0; }
.fc24-attach-list[hidden] { display: none; }
.fc24-attach-item { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .6rem; padding: .35rem 0; border-top: 1px solid var(--fc-color-border, #e4e8ef); min-width: 0; }
.fc24-attach-item:last-child { border-bottom: 1px solid var(--fc-color-border, #e4e8ef); }
/* Long names wrap inside the row; size and button keep their own width. */
.fc24-attach-name { flex: 1 1 10rem; min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.fc24-attach-size { flex: 0 0 auto; font-size: .875rem; white-space: nowrap; color: var(--fc-color-text-muted, #5b6472); }
.fc24-attach-remove { flex: 0 0 auto; }
.fc24-attach-errors { margin: .35rem 0; color: #a4161a; font-size: .875rem; overflow-wrap: anywhere; }
.fc24-attach-errors[hidden] { display: none; }
.fc24-attach-errors p { margin: .2rem 0; }
.fc24-attach-status { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
