/* Activities library: natural content width, no text wrapping, horizontal scroll on narrow screens. */
.progress-page {min-width:0!important;}
.progress-page #catalog-tree {display:block!important;width:max-content!important;min-width:100%!important;max-width:none!important;overflow:visible!important;}
.progress-page:has(> #catalog-tree) {overflow-x:auto!important;}
.progress-page #catalog-tree .catalog-node {width:max-content!important;min-width:100%!important;max-width:none!important;}
.progress-page #catalog-tree>.catalog-node.catalog-level-0 {width:max-content!important;min-width:100%!important;}
.progress-page #catalog-tree .catalog-node-header {width:max-content!important;min-width:100%!important;flex-wrap:nowrap!important;white-space:nowrap!important;}
.progress-page #catalog-tree .catalog-node-header strong,
.progress-page #catalog-tree .catalog-node-header .catalog-row-title {display:inline-block!important;flex:0 0 auto!important;width:max-content!important;min-width:0!important;max-width:none!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;}
.progress-page #catalog-tree .catalog-node-header .catalog-spacer {flex:1 0 0!important;min-width:12px!important;}
.progress-page #catalog-tree .catalog-node-header button,
.progress-page #catalog-tree .catalog-node-header .catalog-order {flex-shrink:0!important;white-space:nowrap!important;}

/* Keep ordering arrows inside each visible row, directly after its title. */
.progress-page #catalog-tree .catalog-node-header .catalog-spacer{display:none!important;}
.progress-page #catalog-tree .catalog-node-header .catalog-order{display:inline-flex!important;position:static!important;flex:0 0 auto!important;gap:4px!important;margin-left:6px!important;vertical-align:middle!important;}
.progress-page #catalog-tree .catalog-node-header .catalog-order button{display:inline-flex!important;align-items:center!important;justify-content:center!important;position:static!important;}

/* Sortering altijd links van de titel, na uitklapper/selectievak. */
.progress-page #catalog-tree .catalog-node-header .catalog-order{order:0!important;margin-left:2px!important;margin-right:6px!important;gap:3px!important}
.progress-page #catalog-tree .catalog-node-header .catalog-row-title{order:1!important}
.progress-page #catalog-tree .catalog-node-header .catalog-inline-add,
.progress-page #catalog-tree .catalog-node-header [data-cat-action]{order:2!important}
