/* V61.10.595 — match 主页内容: primary tabs, flat secondary filter bar,
   and clearly separated record content. Scoped to 3 dashboard management views. */
:is(#section-resume,#section-bp,#section-favorites)>.dashboard-tab-shell{
 box-sizing:border-box;min-width:0;overflow:hidden;border-radius:16px;
}
/* The shared primary tabs keep the original active-pill and counter behavior. */
#section-resume #resumeTabs,
#section-bp #bpWorkbenchTabs,
#section-favorites #favoriteTabs{
 display:flex;align-items:center;flex-wrap:nowrap;gap:9px;
 min-width:0;overflow-x:auto;overscroll-behavior-x:contain;
 margin:0;padding:14px 18px 12px;border-bottom:1px solid #e8eef5;
 scrollbar-width:none;
}
#section-resume #resumeTabs::-webkit-scrollbar,
#section-bp #bpWorkbenchTabs::-webkit-scrollbar,
#section-favorites #favoriteTabs::-webkit-scrollbar{display:none}
#section-resume #resumeTabs>button,
#section-bp #bpWorkbenchTabs>button,
#section-favorites #favoriteTabs>button{
 flex:0 0 auto;box-sizing:border-box;min-height:38px;margin:0;
 padding:9px 14px;white-space:nowrap;
}

/* Resume and interview lists: remove the extra inset around the filters.
   Cards stay independently bordered with the same spacing as recent dynamics. */
#section-resume #resumeRecords.manage-panel.dashboard-switch-panel{
 display:flex;flex-direction:column;gap:0;box-sizing:border-box;
 min-width:0;min-height:0!important;margin:0;padding:0 0 18px!important;
 background:#fff!important;border:0!important;box-shadow:none!important;
 overflow:visible;
}
#section-resume #resumeRecords>.pb-resume-history-filter,
#section-resume #resumeRecords>.pb-interview-filter{
 display:flex;align-items:center;flex-wrap:wrap;box-sizing:border-box;
 width:100%;min-width:0;min-height:60px;gap:8px;
 margin:0!important;padding:12px 18px!important;
 border:0!important;border-bottom:1px solid #e8eef5!important;
 border-radius:0!important;background:#fff;
}
#section-resume #resumeRecords>.pb-resume-history-filter>button,
#section-resume #resumeRecords>.pb-interview-filter>button{
 flex:0 0 auto;min-height:34px;white-space:nowrap;
}
#section-resume #resumeRecords>.pb-resume-row.pb-flow-card,
#section-resume #resumeRecords>.pb-interview-list-row.pb-flow-card{
 box-sizing:border-box;width:auto;min-width:0;
 margin:15px 18px 0!important;
 border-radius:12px;
}
#section-resume #resumeRecords>.manage-empty{margin:16px 18px 0}
#section-resume #resumeRecords>.pb-dashboard-pager{margin-top:16px}

/* BP workbench: the filter bar must be a flush divider, not an inset panel.
   Give BP cards a top gutter so no border runs into the filter divider. */
#section-bp .bp-workbench-shell{overflow:hidden}
#section-bp .bp-workbench-filters{
 display:flex;align-items:center;gap:8px;flex-wrap:wrap;
 box-sizing:border-box;width:100%;min-height:60px;
 margin:0;padding:12px 18px;background:#fff;
 border:0;border-bottom:1px solid #e8eef5;
}
#section-bp .bp-workbench-filters button{min-height:34px;white-space:nowrap}
#section-bp .bp-workbench-list{
 box-sizing:border-box;min-width:0;margin:0;
 padding:16px 18px 18px;display:grid;gap:12px;
 background:#fff;
}
#section-bp .bp-workbench-list>.pb-dashboard-pager{
 margin:0 -18px -18px;width:calc(100% + 36px);
}
#section-bp .bp-workbench-notice{margin:0;padding:13px 18px 17px}

/* Favorites: the status filter was inside another rounded, padded container.
   Flatten that nested frame so both rows share the same horizontal origin. */
#section-favorites .pb-fav-filter-content{
 box-sizing:border-box;min-width:0;margin:0;padding:0;background:#fff;
}
#section-favorites .pb-fav-filter-box{
 display:flex;align-items:center;justify-content:space-between;
 box-sizing:border-box;min-width:0;width:100%;min-height:60px;
 gap:9px;margin:0;padding:12px 18px;
 border:0;border-bottom:1px solid #e8eef5;
 border-radius:0;background:#fff;
}
#section-favorites .pb-fav-group-tabs{
 display:flex;align-items:center;flex:1 1 auto;min-width:0;
 gap:8px;flex-wrap:nowrap;overflow-x:auto;
 margin:0;padding:0;border:0;background:transparent;
 scrollbar-width:none;
}
#section-favorites .pb-fav-group-tabs::-webkit-scrollbar{display:none}
#section-favorites .pb-fav-group-tabs>button{flex:0 0 auto;min-height:34px}
#section-favorites #favoriteManagementTools{flex:0 0 auto;margin-left:auto}
#section-favorites #favoriteList.dashboard-switch-panel{
 box-sizing:border-box;min-width:0;min-height:0;
 margin:16px 18px 18px;padding:0;
 border:1px solid #e5ebf4;border-radius:12px;
 background:#fff;overflow:hidden;
}

@media(max-width:700px){
 #section-resume #resumeTabs,#section-bp #bpWorkbenchTabs,
 #section-favorites #favoriteTabs{gap:5px;padding:10px 12px 9px}
 #section-resume #resumeTabs>button,#section-bp #bpWorkbenchTabs>button,
 #section-favorites #favoriteTabs>button{min-height:36px;padding:8px 10px;font-size:12px}
 #section-resume #resumeRecords>.pb-resume-history-filter,
 #section-resume #resumeRecords>.pb-interview-filter,
 #section-bp .bp-workbench-filters,
 #section-favorites .pb-fav-filter-box{min-height:54px;gap:6px;padding:10px 12px!important}
 #section-resume #resumeRecords>.pb-resume-row.pb-flow-card,
 #section-resume #resumeRecords>.pb-interview-list-row.pb-flow-card{margin:12px 12px 0!important}
 #section-resume #resumeRecords>.manage-empty{margin:12px 12px 0}
 #section-bp .bp-workbench-list{gap:10px;padding:12px 12px 14px}
 #section-bp .bp-workbench-list>.pb-dashboard-pager{margin:0 -12px -14px;width:calc(100% + 24px)}
 #section-bp .bp-workbench-notice{padding:12px}
 #section-favorites .pb-fav-group-tabs{gap:6px;flex-wrap:nowrap;overflow-x:auto}
 #section-favorites .pb-fav-group-tabs>button{padding:7px 9px;min-height:34px;font-size:12px}
 #section-favorites #favoriteList.dashboard-switch-panel{margin:12px 12px 14px}
}
@media(max-width:390px){
 #section-favorites .pb-fav-filter-box{gap:6px!important}
 #section-favorites .pb-fav-group-tabs{gap:5px}
 #section-favorites .pb-fav-group-tabs>button{padding:7px;font-size:11px}
 #section-favorites .pb-fav-clear{padding:7px;font-size:11px}
}
@media(max-width:350px){
 /* Preserve both status counts alongside the cleanup action on narrow phones. */
 #section-favorites .pb-fav-group-tabs{gap:3px}
 #section-favorites .pb-fav-group-tabs>button{padding:7px 5px;font-size:10px}
 #section-favorites .pb-fav-group-tabs>button b{font-size:10px}
 #section-favorites .pb-fav-clear{padding:7px 5px;font-size:10px}
}
