/* One quiet frame for each active content workspace; inset outline preserves table geometry and menus. */
#mainPage #pickPool .pool-workbench.view-saved:not(.xws-stat-active) > #selectionPoolRoot,
#mainPage #pickPool .pool-workbench.view-develop:not(.xws-stat-active) > #developmentWorkbenchRoot,
#mainPage #pickPool .pool-workbench.view-finished:not(.xws-stat-active) > #finishedLibraryRoot,
#mainPage #pickPool .pool-workbench.xws-stat-active > #xwStatisticsRoot {
  outline:1px solid #dfe3e8 !important;
  outline-offset:-1px !important;
  border-radius:8px !important;
}
body.theme-dark #mainPage #pickPool .pool-workbench.view-saved:not(.xws-stat-active) > #selectionPoolRoot,
body.theme-dark #mainPage #pickPool .pool-workbench.view-develop:not(.xws-stat-active) > #developmentWorkbenchRoot,
body.theme-dark #mainPage #pickPool .pool-workbench.view-finished:not(.xws-stat-active) > #finishedLibraryRoot,
body.theme-dark #mainPage #pickPool .pool-workbench.xws-stat-active > #xwStatisticsRoot {
  outline-color:#3d4553 !important;
}
#mainPage #pickPool .pool-workbench.view-saved:not(.xws-stat-active) > #selectionPoolRoot:focus-visible,
#mainPage #pickPool .pool-workbench.view-develop:not(.xws-stat-active) > #developmentWorkbenchRoot:focus-visible,
#mainPage #pickPool .pool-workbench.view-finished:not(.xws-stat-active) > #finishedLibraryRoot:focus-visible,
#mainPage #pickPool .pool-workbench.xws-stat-active > #xwStatisticsRoot:focus-visible {
  outline:2px solid #8aa4cd !important;
  outline-offset:2px !important;
}

/* Keep controls clear of the frame while preserving existing row height. */
#mainPage #pickPool #selectionPoolRoot > .sp-toolbar.sp-compact-toolbar,
#mainPage #pickPool #developmentWorkbenchRoot .dw-shell:not(.dw-detail-shell) .dw-filter-bar.xwd-compact-toolbar,
#mainPage #pickPool #finishedLibraryRoot .dw-filter-bar.xwl-compact-toolbar,
#mainPage #pickPool #xwStatisticsRoot > .xws-toolbar {
  padding-left:8px !important;
  padding-right:8px !important;
}
