.leader-dashboard .overview-board #panel-anchors > .card,
.leader-dashboard .overview-board #panel-recruitment > .card,
.leader-dashboard .overview-board #panel-live > .card { height:410px; min-height:410px; padding:12px; gap:10px; }
.leader-anchor-filters { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; flex:none; }
.leader-anchor-filters button { display:flex; flex-direction:column; align-items:center; gap:5px; padding:9px 3px; border:1px solid var(--theme-line,#e2e9f3); border-radius:8px; background:var(--theme-blue-soft,#eef4ff); color:var(--theme-blue,#426dad); font-size:12px; }
.leader-anchor-filters b { font-size:21px; line-height:1.1; font-variant-numeric:tabular-nums; }
.leader-delivery-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:3px; flex:none; }
.leader-delivery-stats button { padding:7px 1px; border-radius:6px; background:var(--theme-raised,#f5f7fb); color:var(--theme-muted,#7a879c); font-size:11px; white-space:nowrap; }
.leader-delivery-stats b { color:var(--theme-blue,#426dad); }
.leader-table-scroll { flex:none; height:153px; overflow:auto; border:1px solid var(--theme-line,#e4ebf4); border-radius:8px; scrollbar-width:thin; }
.leader-table { width:100%; table-layout:fixed; border-collapse:separate; border-spacing:0; font-size:12px; font-variant-numeric:tabular-nums; }
.leader-table th,.leader-table td { height:40px; padding:0 5px; text-align:center; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; border-bottom:1px solid var(--theme-line,#e4ebf4); }
.leader-table th { position:sticky; top:0; z-index:1; height:31px; font-size:11px; font-weight:500; background:var(--theme-raised,#f5f7fb); color:var(--theme-muted,#8190a6); }
.leader-table th:first-child,.leader-table td:first-child { text-align:left; width:31%; padding-left:9px; }
.leader-person { max-width:100%; padding:0; background:transparent; color:var(--theme-blue,#426dad); font:inherit; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; vertical-align:middle; }
/* Ignore list content when sizing the shared grid row; use the team's height. */
.leader-attention { display:flex; flex-direction:column; flex:1; min-height:0; contain:size; overflow:hidden; }
.leader-attention header { flex:none; margin-bottom:5px; }
.leader-attention h3 { margin:0; font-size:12px; font-weight:600; }
.leader-attention-list { flex:1; overflow-y:auto; overflow-x:hidden; min-height:0; scrollbar-width:thin; overscroll-behavior-y:contain; }
.leader-attention article { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.5fr) auto; align-items:center; gap:6px; min-height:34px; border-bottom:1px solid var(--theme-line,#e4ebf4); font-size:11px; }
.leader-attention strong { font-weight:500; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.leader-attention article > span { color:var(--theme-muted,#8190a6); }
.leader-handle { padding:5px 6px; font-size:11px; white-space:nowrap; border-radius:5px; color:var(--theme-blue,#426dad); background:var(--theme-blue-soft,#eef4ff); }
.leader-empty { margin:0; padding:12px 4px; text-align:center; color:var(--theme-muted,#8190a6); font-size:11px; }
.leader-data-note { flex:none; margin:4px 0 0; color:var(--theme-muted,#8190a6); font-size:10px; }
.leader-live-stats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; flex:none; }
.leader-live-stat { display:flex; align-items:center; justify-content:space-between; min-height:67px; padding:10px 14px; border:1px solid var(--theme-line,#e4ebf4); border-radius:8px; color:var(--theme-blue,#426dad); background:var(--theme-blue-soft,#eef4ff); font-size:12px; }
.leader-live-stat b { font-size:26px; font-variant-numeric:tabular-nums; }
.leader-dashboard #recruitment-card .overview-channel-total { margin:0; }
.leader-dashboard #leader-recruitment-team { flex:none; }
.leader-dashboard #home-priority-leads { margin:0; padding:0; min-height:0; flex:1; }
.leader-dashboard #home-priority-leads .priority-leads-head { padding:0 0 6px; }
.leader-dashboard #home-priority-leads .priority-leads-head h3 { font-size:12px; }
.leader-dashboard #home-priority-leads .priority-lead { padding:8px 0; }
@media(min-width:1051px) {
 .leader-dashboard .overview-board #panel-anchors > .card,
 .leader-dashboard .overview-board #panel-recruitment > .card,
 .leader-dashboard .overview-board #panel-live > .card { height:auto; align-self:stretch; }
}
@media(max-width:1050px) {
 .leader-dashboard .overview-board #panel-anchors > .card,
 .leader-dashboard .overview-board #panel-recruitment > .card,
 .leader-dashboard .overview-board #panel-live > .card { height:440px; min-height:440px; }
}
/* 2026-10-29: summaries and people share the same visual rhythm. */
.leader-dashboard .leader-table-scroll{flex:1;min-height:180px;height:auto;margin-bottom:10px}
.leader-dashboard .leader-table th:first-child,.leader-dashboard .leader-table td:first-child{width:27%}
.leader-dashboard .leader-total td{font-weight:700;background:var(--theme-blue-soft,#eef4ff)}
.leader-dashboard #leader-recruitment-team{flex:1;min-height:0;overflow:auto}
.recruitment-team-fold>summary{cursor:pointer;padding:12px 3px;display:flex;flex-wrap:wrap;gap:8px;color:var(--theme-text,#263650)}
.recruitment-team-fold>summary span,.recruitment-team-fold>summary small{color:var(--theme-muted,#738298);font-size:11px}
.recruitment-team-fold .leader-table-scroll{max-height:260px}
.leader-dashboard .overview-board{padding-bottom:12px}
.leader-dashboard #knowledge-card{display:flex;flex-direction:column;gap:10px;min-height:0;overflow:auto}
.leader-dashboard #knowledge-card>#management-actions{flex:none;max-height:240px;margin:0}
.leader-dashboard #knowledge-card>#team-management-card{flex:1;min-height:140px}
.overview-board .assigned-module{flex:none;margin:4px 0 0;max-height:130px;min-height:0;padding:6px 2px;border:0;border-top:1px solid var(--theme-line,#dfe6ef);border-radius:0}
.overview-board .assigned-module[hidden]{display:none}
