/* Compact upload lists and file manager dialog. */
.compact-file-list { display: none; }
.compact-upload-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; margin-top: 8px; font-size: 13px; }
#form-individual .compact-upload-summary button { width: auto; margin: 0; padding: 7px 12px; font-size: 13px; background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 6px; color: inherit; }
#form-individual .compact-upload-summary button:disabled { opacity: .4; cursor: default; }
.compact-upload-modal { position: fixed; inset: 0; z-index: 9998; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.25); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.compact-upload-modal[hidden] { display: none; }
.compact-upload-panel { width: min(540px,100%); max-height: 80vh; display: flex; flex-direction: column; padding: 22px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: #351a1a; color: #fff; box-shadow: 0 12px 48px rgba(0,0,0,.3); }
.compact-upload-panel header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.compact-upload-panel h2 { font-size: 18px; font-weight: 500; }
.compact-upload-close { width: auto; margin: 0; padding: 6px 10px; border: 0; border-radius: 6px; background: transparent; color: #fff; cursor: pointer; }
.compact-upload-body { overflow-y: auto; min-height: 60px; margin-top: 12px; }
.compact-upload-modal .compact-file-list { display: flex; }
.compact-upload-modal .file-preview-left { min-width: 0; flex-wrap: wrap; }
.compact-upload-modal .file-preview-right { flex-shrink: 0; }
