.document-attachment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .45rem;
}

.document-attachment-camera {
    min-height: 44px;
    white-space: normal;
}

.document-attachment-field,
.document-attachment-tools { min-width: 0; }
.document-attachment-field > label { width: 100%; }
.document-attachment-error { margin: .4rem 0; color: #a12622; font-size: .875rem; }
.document-attachment-previews { display: grid; gap: .5rem; margin-top: .5rem; }
.document-attachment-previews:empty { display: none; }
.document-attachment-preview { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; padding: .5rem; border: 1px solid #ced4da; border-radius: .4rem; }
.document-attachment-preview img { width: 88px; height: 112px; object-fit: contain; background: #f4f6f8; image-orientation: from-image; }
.document-attachment-name { flex: 1 1 120px; min-width: 0; overflow-wrap: anywhere; font-size: .875rem; }
.document-attachment-preview button { min-height: 44px; }

.addon-upload-control.is-dragover {
    outline: 2px dashed var(--addon-accent, #24765e);
    outline-offset: 3px;
    background: rgba(36, 118, 94, .06);
}
