/* Scoped final geometry for catalogue tables, independent of legacy decorators. */
#content#content .cw-workspace .business-summary.cw-entry-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important;max-width:none!important}
#content#content .cw-workspace .cw-entry-cards>button.active{border-color:#397cff!important;background:#f5f8ff!important;box-shadow:inset 0 -2px #397cff}
#content .cw-workspace .cw-table .cw-actions>.btn,#modal .cw-modal .cw-table .cw-actions>.btn{padding:3px 6px!important;font-size:13px!important;line-height:20px!important;min-width:0!important;min-height:28px!important;max-width:none!important;flex:none!important}
#content .cw-workspace .cw-table td,#modal .cw-modal .cw-table td{padding-top:7px!important;padding-bottom:7px!important;min-height:0!important;line-height:1.5!important}
#content .cw-workspace .cw-table .cw-product img{width:34px!important;height:34px!important;min-height:0!important;object-fit:contain!important}

/* R29: keep each action group aligned; wrap complete groups on narrower screens. */
html body #content .cw-workspace .cw-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:12px 0}
html body #content .cw-workspace .cw-toolbar>.cw-actions{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;min-width:0}
html body #content .cw-workspace #cw-filter{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;margin:0;min-width:0}
html body #content .cw-workspace #cw-filter input{width:220px;flex:0 1 220px}
html body #content .cw-workspace .cw-toolbar .btn{white-space:nowrap;flex:none;padding:6px 10px}
html body #content .cw-workspace [data-cw-chosen]{white-space:nowrap;color:#64748b}
header .top-actions .cw-header-statistics{height:34px;box-sizing:border-box;white-space:nowrap}
@media(max-width:1100px){html body #content .cw-workspace .cw-toolbar{flex-wrap:wrap}html body #content .cw-workspace .cw-toolbar>.cw-actions{flex-wrap:wrap}html body #content .cw-workspace #cw-filter{flex-wrap:wrap}html body #content .cw-workspace .cw-selection-actions{margin-left:auto}}

html body #content .cw-workspace .cw-settings-toolbar>.repair-import{margin-left:0!important;margin-right:auto!important;padding:0!important}
