.team-management-root {
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: 6px 0 28px;
  color: #172335;
  --team-ink: #172335;
  --team-muted: #667784;
  --team-line: #d7e4e2;
  --team-soft: #f4f8f7;
  --team-soft-strong: #eaf6f3;
  --team-accent: #117d73;
  --team-danger: #b44738;
  --team-warning: #b36b18;
}

.team-management-root button,
.team-management-root input,
.team-management-root select,
.team-management-root textarea { font: inherit; }

.team-page-header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border: 1px solid var(--team-line);
  border-radius: 15px;
  background: #fff;
}

.team-page-header > div { min-width: 0; }
.team-page-header h2 { margin: 1px 0 3px; color: #102033; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.18; }
.team-page-header p { margin: 0; color: var(--team-muted); line-height: 1.45; }
.team-eyebrow { margin: 0 !important; color: var(--team-accent) !important; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.team-header-meta { flex: 0 0 auto; color: var(--team-muted); font-size: 13px; font-weight: 700; text-align: right; }

.team-work-panel,
.team-empty-card,
.team-inline-status,
.team-settings-drawer,
.team-system-group {
  min-width: 0;
  border: 1px solid var(--team-line);
  border-radius: 14px;
  background: #fff;
}

.team-panel-header {
  min-height: 55px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #e9efee;
}
.team-panel-header > div:first-child { min-width: 0; }
.team-panel-header span { display: block; color: var(--team-muted); font-size: 11px; font-weight: 700; }
.team-panel-header h3 { margin: 1px 0 0; font-size: 16px; line-height: 1.25; }
.team-panel-header > small { margin-left: auto; color: var(--team-muted); }

.team-command-grid,
.team-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 11px;
}
.team-command-grid.compact { max-width: 620px; }
.team-command-card {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--team-line);
  border-radius: 12px;
  background: #fff;
  color: var(--team-ink);
  text-align: left;
  cursor: pointer;
}
.team-command-card:hover,
.team-command-card:focus-visible { border-color: #78b8b1; box-shadow: 0 7px 20px rgba(22, 90, 83, .08); outline: 0; }
.team-command-card span { color: var(--team-muted); font-size: 12px; }
.team-command-card strong { display: block; margin: 3px 0 1px; font-size: 24px; }
.team-command-card small { color: var(--team-accent); font-weight: 800; }

.team-home-workspace { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr); gap: 11px; margin-top: 11px; }
.team-action-list { display: grid; gap: 7px; padding: 12px; }
.team-action-row { display: grid; grid-template-columns: 8px minmax(0, 1fr) minmax(86px, auto) auto; align-items: center; gap: 10px; min-height: 55px; padding: 8px 10px; border: 1px solid #e4eceb; border-radius: 10px; background: #fff; color: var(--team-ink); text-align: left; cursor: pointer; }
.team-action-row:hover { background: #f8fbfa; border-color: #a7cec9; }
.team-action-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--team-accent); }
.team-action-row[data-priority="high"] .team-action-dot { background: #c64a3c; }
.team-action-row[data-priority="medium"] .team-action-dot { background: #d78628; }
.team-action-copy { min-width: 0; }
.team-action-copy strong,
.team-action-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-action-copy small { margin-top: 2px; color: var(--team-muted); }
.team-action-due { color: var(--team-muted); font-size: 12px; }
.team-action-link { color: var(--team-accent); font-weight: 800; }
.team-progress-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; padding: 12px; }
.team-progress-card { padding: 11px; border: 1px solid #e2ebe9; border-radius: 10px; background: var(--team-soft); color: var(--team-ink); text-align: left; cursor: pointer; }
.team-progress-card span { color: var(--team-muted); font-size: 12px; }
.team-progress-card strong { display: block; margin: 3px 0 7px; font-size: 19px; }
.team-progress-card i,
.team-reward-lanes i { display: block; height: 6px; overflow: hidden; border-radius: 99px; background: #dce7e5; }
.team-progress-card b,
.team-reward-lanes b { display: block; height: 100%; border-radius: inherit; background: var(--team-accent); }

/* 团队首页：严格对应“每日行动指挥台”设计稿。所有规则均限制在首页，避免影响团队子页面。 */
.team-home-page {
  padding: 20px;
  border: 1px solid #cddbd9;
  border-radius: 20px;
  background: #f8fbfa;
  box-shadow: 0 18px 50px rgba(32, 72, 68, .09);
}
.team-home-page,
.team-home-page * { box-sizing: border-box; }
.team-home-page .team-home-header {
  min-height: 103px;
  padding: 12px 16px;
  border-color: #d3e1df;
  border-radius: 16px;
}
.team-home-page .team-home-header h2 {
  margin: 0;
  font-size: clamp(24px, 2vw, 28px);
  line-height: 34px;
}
.team-home-page .team-home-header > div:first-child > p:last-child {
  margin-top: 5px;
  font-size: 13px;
}
.team-home-meta {
  flex: 0 0 auto;
  text-align: right;
}
.team-home-meta > strong,
.team-home-meta > small { display: block; }
.team-home-meta > strong { font-size: 13px; line-height: 18px; }
.team-home-meta > small { margin-top: 1px; color: var(--team-muted); font-size: 11px; line-height: 16px; }
.team-home-scope {
  display: flex;
  gap: 3px;
  margin-top: 5px;
  padding: 3px;
  border-radius: 9px;
  background: #eef5f3;
}
.team-home-scope button {
  padding: 5px 9px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #617078;
  font-size: 11px;
  font-weight: 800;
  line-height: 16px;
  cursor: pointer;
}
.team-home-scope button.active {
  background: #fff;
  color: var(--team-accent);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}
.team-home-page .team-command-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
  margin-top: 10px;
}
.team-home-page .team-command-card {
  min-height: 84px;
  padding: 11px 13px;
  border-color: #d5e2e0;
  border-radius: 13px;
}
.team-home-page .team-command-card strong {
  margin: 3px 0 1px;
  font-size: 25px;
  line-height: 1;
}
.team-home-page .team-command-card small { font-size: 11px; }
.team-home-page .team-command-card[data-tone="danger"] strong,
.team-home-page .team-command-card[data-tone="danger"] small { color: #b34335; }
.team-home-page .team-command-card[data-tone="warning"] strong,
.team-home-page .team-command-card[data-tone="warning"] small { color: #a86214; }
.team-home-page .team-home-workspace {
  grid-template-columns: minmax(0, 1.5fr) minmax(330px, .72fr);
  gap: 10px;
  margin-top: 10px;
}
.team-home-page .team-work-panel {
  border-color: #d3e1df;
  border-radius: 14px;
}
.team-home-page .team-panel-header {
  min-height: 53px;
  padding: 7px 13px;
}
.team-home-page .team-panel-header span { font-size: 10px; line-height: 13px; }
.team-home-page .team-panel-header h3 { margin-top: 2px; font-size: 16px; line-height: 20px; }
.team-home-page .team-panel-header .team-text-button {
  margin-left: auto;
  padding: 5px 7px;
  font-size: 11px;
}
.team-home-page .team-action-list {
  gap: 6px;
  padding: 10px;
}
.team-home-page .team-action-row {
  grid-template-columns: 8px minmax(0, 1fr) auto auto;
  min-height: 58px;
  padding: 8px 10px;
  border-color: #e1eae8;
  border-radius: 10px;
}
.team-home-page .team-action-copy small,
.team-home-page .team-action-due { font-size: 11px; }
.team-home-page .team-action-link {
  padding: 6px 9px;
  border-radius: 7px;
  background: #e7f5f2;
  font-size: 11px;
}
.team-home-page .team-progress-grid {
  grid-template-columns: 1fr;
  gap: 7px;
  padding: 10px;
}
.team-home-page .team-progress-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 8px;
  min-height: 66px;
  padding: 10px;
  border-color: #e1eae8;
  background: #f8fbfa;
}
.team-home-page[data-home-state="empty"] .team-progress-card {
  min-height: 60px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.team-home-page .team-progress-card span { font-size: 11px; }
.team-home-page .team-progress-card strong {
  margin: 0;
  color: var(--team-accent);
  font-size: 13px;
}
.team-home-page .team-progress-card small {
  display: block;
  grid-column: 1 / -1;
  margin-top: 1px;
  color: var(--team-muted);
  font-size: 10px;
  line-height: 14px;
}
.team-home-page .team-progress-card > span,
.team-home-page .team-progress-card > strong { line-height: 16px; }
.team-home-page .team-progress-card i { grid-column: 1 / -1; margin-top: 5px; }
.team-home-empty-actions {
  padding: 16px;
  border: 1px dashed #bfd2ce;
  border-radius: 11px;
  background: #fbfdfc;
}
.team-home-empty-actions > strong { display: block; margin-bottom: 5px; }
.team-home-empty-actions > p { margin: 0 0 10px; color: var(--team-muted); font-size: 12px; }
.team-home-empty-actions > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.team-home-empty-actions button {
  padding: 8px;
  border: 1px solid #d4e2e0;
  border-radius: 8px;
  background: #fff;
  color: var(--team-accent);
  font-weight: 800;
  cursor: pointer;
}
.team-home-page .team-attention-panel { margin-top: 10px; }
.team-home-page[data-home-state="active"] .team-home-workspace { min-height: 398px; }
.team-home-page[data-home-state="active"] .team-attention-panel { min-height: 129px; }
.team-home-page[data-home-state="empty"] .team-home-workspace { min-height: 276px; }
.team-home-page[data-home-state="empty"] .team-attention-panel { min-height: 139px; }
.team-attention-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding: 10px;
}
.team-attention-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 9px;
  border: 1px solid #e1eae8;
  border-radius: 10px;
  background: #fff;
  color: var(--team-ink);
  text-align: left;
  cursor: pointer;
}
.team-home-page .team-attention-card strong,
.team-home-page .team-attention-card small,
.team-home-page .team-attention-card b { line-height: 17px; }
.team-attention-card:hover,
.team-attention-card:focus-visible { border-color: #78b8b1; background: #f8fbfa; outline: 0; }
.team-attention-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #def0ed;
  color: var(--team-accent);
  font-weight: 900;
}
.team-attention-card > span:nth-child(2) { min-width: 0; }
.team-attention-card strong,
.team-attention-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-attention-card small { margin-top: 2px; color: var(--team-muted); font-size: 10px; }
.team-attention-card > b { color: #b34335; font-size: 10px; }
.team-attention-empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 12px;
  border: 1px dashed #bfd2ce;
  border-radius: 10px;
  color: var(--team-muted);
}
.team-attention-empty strong { color: var(--team-ink); }

/* 招募管理：严格对应“候选人管道工作台”设计稿。 */
.team-recruitment-page {
  box-sizing: border-box;
  padding: 16px 18px 22px;
  border: 1px solid #cddbd9;
  border-radius: 20px;
  background: #f8fbfa;
  box-shadow: 0 18px 50px rgba(32, 72, 68, .08);
}
.team-recruitment-page,
.team-recruitment-page * { box-sizing: border-box; }
.team-recruitment-page .btn.btn-primary {
  border: 1px solid var(--team-accent);
  background: var(--team-accent);
  color: #fff;
  box-shadow: none;
}
.team-recruitment-page .btn.btn-primary:hover,
.team-recruitment-page .btn.btn-primary:focus-visible {
  border-color: #0d6f66;
  background: #0d6f66;
  color: #fff;
  outline: 0;
}
.team-recruitment-page .btn.btn-secondary {
  border: 1px solid #c9d8d6;
  background: #fff;
  color: var(--team-ink);
  box-shadow: none;
}
.team-recruitment-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 18px;
  border: 1px solid #d2e0de;
  border-radius: 15px;
  background: #fff;
}
.team-recruitment-header h2 { margin: 0; color: #102033; font-size: 25px; line-height: 31px; }
.team-recruitment-header p { margin: 2px 0 0; color: var(--team-muted); font-size: 12px; line-height: 17px; }
.team-recruitment-header-actions { display: flex; align-items: center; gap: 16px; }
.team-recruitment-header-actions > span { color: var(--team-muted); font-size: 11px; white-space: nowrap; }
.team-recruitment-header-actions .btn { min-height: 41px; padding: 9px 15px; border-radius: 10px; font-size: 12px; }
.team-recruitment-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.team-recruitment-metric {
  position: relative;
  min-height: 82px;
  padding: 12px 14px;
  border: 1px solid #d2e0de;
  border-radius: 12px;
  background: #fff;
  color: var(--team-ink);
  text-align: left;
  cursor: pointer;
}
.team-recruitment-metric:hover,
.team-recruitment-metric:focus-visible { border-color: #78b8b1; box-shadow: 0 7px 18px rgba(22, 90, 83, .07); outline: 0; }
.team-recruitment-metric span { display: block; color: var(--team-muted); font-size: 11px; line-height: 16px; }
.team-recruitment-metric strong { display: block; margin-top: 4px; font-size: 24px; line-height: 28px; }
.team-recruitment-metric small { position: absolute; right: 14px; bottom: 13px; color: var(--team-accent); font-size: 10px; font-weight: 800; }
.team-recruitment-metric.warning { border-color: #edcba8; background: #fffaf5; }
.team-recruitment-metric.warning small { color: #b86513; }
.team-recruitment-filters {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 7px 10px;
  border: 1px solid #d2e0de;
  border-radius: 11px;
  background: #fff;
}
.team-recruitment-page .team-recruitment-filters input { flex: 1 1 260px; min-width: 120px; }
.team-recruitment-page .team-recruitment-filters select { flex: 0 1 118px; min-width: 102px; }
.team-management-root.team-recruitment-page .team-recruitment-filters > input,
.team-management-root.team-recruitment-page .team-recruitment-filters > select { height: 30px !important; min-height: 30px !important; padding: 4px 9px; font-size: 11px; }
.team-recruitment-filters > span { margin-left: auto; color: var(--team-muted); font-size: 10px; white-space: nowrap; }
.team-recruitment-filters .team-text-button { height: 30px; min-height: 30px; padding: 5px 2px; font-size: 10px; white-space: nowrap; }
.team-recruitment-page .team-recruitment-workspace {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr) 340px;
  gap: 10px;
  height: 578px;
  min-height: 0;
  margin-top: 10px;
}
.team-recruitment-workspace > .team-work-panel {
  height: 100%;
  overflow: hidden;
  border-color: #d2e0de;
  border-radius: 13px;
}
.team-recruitment-workspace > .team-work-panel > header {
  height: 49px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 13px;
  border-bottom: 1px solid #e5edec;
}
.team-recruitment-workspace > .team-work-panel > header h3 { margin: 0; font-size: 14px; line-height: 20px; }
.team-recruitment-workspace > .team-work-panel > header span { color: var(--team-muted); font-size: 10px; }
.team-recruitment-funnel > div { display: grid; gap: 4px; padding: 9px 8px; }
.team-recruitment-funnel .team-funnel-row { min-height: 41px; padding: 8px 10px; font-size: 11px; }
.team-recruitment-funnel .team-funnel-row strong { color: var(--team-muted); font-size: 10px; }
.team-recruitment-table-panel { min-width: 0; }
.team-recruitment-table-scroll {
  width: 100%;
  height: calc(100% - 49px);
  overflow-x: auto;
  overflow-y: auto;
}
.team-recruitment-table-scroll table { width: 100%; min-width: 600px; border-collapse: collapse; table-layout: fixed; }
.team-recruitment-table-scroll th {
  height: 42px;
  padding: 7px 10px;
  border-bottom: 1px solid #e8efee;
  color: var(--team-muted);
  font-size: 9px;
  text-align: left;
}
.team-recruitment-table-scroll th:nth-child(1) { width: 27%; }
.team-recruitment-table-scroll th:nth-child(2) { width: 16%; }
.team-recruitment-table-scroll th:nth-child(3) { width: 20%; }
.team-recruitment-table-scroll th:nth-child(4) { width: 16%; }
.team-recruitment-table-scroll th:nth-child(5) { width: 21%; }
.team-recruitment-row {
  height: 68px;
  cursor: pointer;
}
.team-recruitment-row td { padding: 9px 10px; border-bottom: 1px solid #e9efee; vertical-align: middle; font-size: 11px; overflow-wrap: anywhere; }
.team-recruitment-row td > strong:first-child { font-size: 12px; }
.team-recruitment-row td small { display: block; margin-top: 3px; color: var(--team-muted); font-size: 9px; line-height: 13px; }
.team-recruitment-row:hover,
.team-recruitment-row.selected { background: #eaf7f4; }
.team-recruitment-row:focus-visible { outline: 2px solid #6fb5ad; outline-offset: -2px; }
.team-cell-primary { display: block; font-weight: 500 !important; }
.team-overdue strong { color: #c24738; }
.team-recruitment-detail-panel > [data-team-detail-host] { height: calc(100% - 49px); }
.team-recruitment-detail { height: 100%; display: flex; flex-direction: column; min-height: 0; }
.team-recruitment-person { min-height: 68px; display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-bottom: 1px solid #edf2f1; }
.team-recruitment-person .team-person-avatar { width: 39px; height: 39px; font-size: 12px; }
.team-recruitment-person > div { min-width: 0; }
.team-recruitment-person h3 { margin: 0; font-size: 14px; }
.team-recruitment-person p { margin: 2px 0 0; color: var(--team-muted); font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-detail-more { margin-left: auto; padding: 6px; border: 0; background: transparent; color: #7a8991; cursor: pointer; }
.team-recruitment-tabs { display: flex; gap: 4px; padding: 6px 12px 0; }
.team-recruitment-tabs button { padding: 6px 9px; border: 0; border-radius: 7px; background: transparent; color: var(--team-muted); font-size: 10px; font-weight: 800; cursor: pointer; }
.team-recruitment-tabs button.active { background: #e5f5f1; color: var(--team-accent); }
.team-recruitment-summary { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 4px 7px; padding: 8px 13px 9px; border-bottom: 1px solid #edf2f1; font-size: 10px; }
.team-recruitment-summary span { color: var(--team-muted); }
.team-recruitment-summary strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-recruitment-tab-panel { display: none; flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.team-recruitment-tab-panel.active { display: block; }
.team-recruitment-timeline { position: relative; display: grid; gap: 11px; padding: 10px 12px 12px 29px; }
.team-recruitment-timeline::before { content: ""; position: absolute; left: 17px; top: 15px; bottom: 15px; width: 1px; background: #b7dcd7; }
.team-recruitment-timeline article { position: relative; }
.team-recruitment-timeline article::before { content: ""; position: absolute; left: -17px; top: 5px; width: 7px; height: 7px; border: 2px solid #58aaa0; border-radius: 50%; background: #fff; }
.team-recruitment-timeline time { display: block; color: var(--team-muted); font-size: 9px; }
.team-recruitment-timeline strong { display: block; margin-top: 2px; font-size: 10px; }
.team-recruitment-timeline p { margin: 2px 0 0; color: #495965; font-size: 9px; line-height: 14px; }
.team-recruitment-profile-form { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 10px; }
.team-recruitment-profile-form .wide,
.team-recruitment-profile-actions { grid-column: 1 / -1; }
.team-recruitment-profile-form input { min-width: 0; padding: 7px 8px; font-size: 10px; }
.team-recruitment-profile-actions { display: flex; align-items: center; gap: 6px; }
.team-recruitment-convert { margin: 0 10px 10px; border-top: 1px solid #e4eceb; }
.team-recruitment-convert summary { padding: 9px 0; color: var(--team-accent); font-size: 10px; font-weight: 800; cursor: pointer; }
.team-recruitment-convert form { display: grid; gap: 6px; padding: 8px; border-radius: 8px; background: var(--team-soft); }
.team-recruitment-task-list { display: grid; gap: 6px; padding: 10px; }
.team-recruitment-task-list article { display: flex; align-items: center; gap: 8px; padding: 9px; border: 1px solid #e2eae9; border-radius: 8px; }
.team-recruitment-task-list article > span { min-width: 0; }
.team-recruitment-task-list strong,
.team-recruitment-task-list small { display: block; }
.team-recruitment-task-list strong { font-size: 10px; }
.team-recruitment-task-list small { margin-top: 2px; color: var(--team-muted); font-size: 9px; }
.team-recruitment-task-list button { margin-left: auto; padding: 5px 8px; border: 1px solid #bcd4d0; border-radius: 6px; background: #fff; color: var(--team-accent); font-size: 9px; cursor: pointer; }
.team-recruitment-quick-actions { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 5px; padding: 8px 10px; border-top: 1px solid #e2eae9; }
.team-recruitment-quick-actions .btn { min-height: 36px; padding: 7px 8px; font-size: 10px; }
.team-recruitment-action-panel { max-height: 205px; overflow-y: auto; padding: 8px 10px; border-top: 1px solid #e2eae9; background: #f5faf9; }
.team-recruitment-action-panel[hidden] { display: none; }
.team-recruitment-action-panel form { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 6px; }
.team-recruitment-action-panel form[hidden] { display: none; }
.team-recruitment-action-panel textarea,
.team-recruitment-action-panel input,
.team-recruitment-action-panel select { padding: 7px; font-size: 10px; }
.team-recruitment-action-panel form[data-team-action="activity"] label { grid-column: 1 / -1; }
.team-recruitment-empty-list,
.team-recruitment-empty-detail { display: grid; place-items: center; align-content: center; min-height: 100%; padding: 24px; text-align: center; }
.team-recruitment-empty-list > span { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 10px; border-radius: 17px; background: #e4f4f1; color: var(--team-accent); font-size: 28px; }
.team-recruitment-empty-list strong,
.team-recruitment-empty-detail strong { font-size: 13px; }
.team-recruitment-empty-list p,
.team-recruitment-empty-detail p { max-width: 360px; margin: 6px 0 12px; color: var(--team-muted); font-size: 10px; line-height: 17px; }
.team-recruitment-detail-loading,
.team-recruitment-detail-error { display: grid; place-items: center; align-content: center; gap: 8px; min-height: 100%; padding: 22px; text-align: center; }
.team-recruitment-detail-error { background: #fff9f7; color: #9b4437; }
.team-recruitment-detail-error p { margin: 0; font-size: 10px; }
.team-recruitment-modal[hidden] { display: none; }
.team-recruitment-modal { position: fixed; z-index: 10020; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(10, 28, 36, .42); }
.team-recruitment-modal-card { width: min(660px, 100%); max-height: min(760px, 92vh); overflow-y: auto; border: 1px solid #cbdad8; border-radius: 15px; background: #fff; box-shadow: 0 24px 80px rgba(9, 35, 42, .23); }
.team-recruitment-modal-card > header { display: flex; align-items: center; justify-content: space-between; min-height: 55px; padding: 10px 16px; border-bottom: 1px solid #e5edec; }
.team-recruitment-modal-card h3 { margin: 0; font-size: 17px; }
.team-recruitment-modal-card > header button { padding: 4px 8px; border: 0; background: transparent; color: #5b6b73; font-size: 24px; cursor: pointer; }
.team-recruitment-modal-card > form { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 14px 16px 16px; }
.team-recruitment-modal-card .wide,
.team-recruitment-modal-card footer { grid-column: 1 / -1; }
.team-recruitment-modal-card footer { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding-top: 4px; }
.team-recruitment-state-grid { min-height: 578px; display: grid; grid-template-columns: 1fr; margin-top: 10px; }
.team-recruitment-state-grid > div,
.team-recruitment-page-error { padding: 18px; border: 1px solid #d2e0de; border-radius: 13px; background: #fff; }
.team-recruitment-state-grid i { display: block; width: min(520px, 90%); height: 11px; margin-top: 10px; border-radius: 99px; background: #edf3f2; }
.team-recruitment-state-grid p { color: var(--team-accent); font-size: 11px; }
.team-recruitment-page-error { margin-top: 10px; border-color: #e9c4bb; background: #fff8f5; }
.team-recruitment-page-error p { color: var(--team-muted); }

/* 成员与组织：严格对应“组织层级 + 成员列表 + 成员详情”设计稿。 */
.team-members-page {
  box-sizing: border-box;
  padding: 16px 18px 22px;
  overflow-x: hidden;
  border: 1px solid #cddbd9;
  border-radius: 20px;
  background: #f8fbfa;
  box-shadow: 0 18px 50px rgba(32, 72, 68, .08);
}
.team-members-page,
.team-members-page * { box-sizing: border-box; }
.team-members-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 18px;
  border: 1px solid #d2e0de;
  border-radius: 15px;
  background: #fff;
}
.team-members-header h2 { margin: 0; color: #102033; font-size: 25px; line-height: 31px; }
.team-members-header p { margin: 2px 0 0; color: var(--team-muted); font-size: 12px; line-height: 17px; }
.team-members-header > div:last-child { display: grid; justify-items: end; gap: 3px; color: var(--team-muted); font-size: 10px; }
.team-members-header > div:last-child strong { color: var(--team-accent); font-size: 11px; }
.team-members-filters {
  height: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 7px 10px;
  border: 1px solid #d2e0de;
  border-radius: 11px;
  background: #fff;
}
.team-members-page .team-members-filters .team-members-search { position: relative; display: flex; flex: 1 1 280px; min-width: 150px; }
.team-members-search > span { position: absolute; z-index: 1; top: 4px; left: 10px; color: #71818a; font-size: 18px; line-height: 22px; pointer-events: none; }
.team-management-root.team-members-page .team-members-filters input,
.team-management-root.team-members-page .team-members-filters select {
  height: 30px !important;
  min-height: 30px !important;
  padding: 4px 9px;
  border-color: #cbd9d7;
  border-radius: 7px;
  font-size: 11px;
}
.team-management-root.team-members-page .team-members-filters input { width: 100%; padding-left: 31px; }
.team-management-root.team-members-page .team-members-filters select { flex: 0 0 112px; width: 112px; }
.team-members-filter-reset { height: 30px; padding: 4px 5px; border: 0; background: transparent; color: var(--team-accent); font-size: 10px; font-weight: 800; cursor: pointer; }
.team-members-filter-count { margin-left: auto; color: var(--team-muted); font-size: 10px; white-space: nowrap; }
.team-members-page .team-members-workspace {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr) 340px;
  gap: 10px;
  height: 578px;
  min-height: 0;
  margin-top: 10px;
}
.team-members-panel {
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid #d2e0de;
  border-radius: 13px;
  background: #fff;
}
.team-members-panel > header {
  height: 49px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 13px;
  border-bottom: 1px solid #e5edec;
}
.team-members-panel > header strong { color: var(--team-ink); font-size: 13px; }
.team-members-panel > header span { color: var(--team-muted); font-size: 10px; }
.team-members-tree-scroll,
.team-members-table-scroll,
.team-members-detail-scroll { height: calc(100% - 49px); overflow: auto; scrollbar-width: thin; }
.team-members-tree-scroll { padding: 8px; }
.team-members-tree-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-height: 47px;
  padding: 6px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--team-ink);
  text-align: left;
  cursor: pointer;
}
.team-members-tree-row:hover,
.team-members-tree-row:focus-visible,
.team-members-tree-row.active { background: #def2ee; color: var(--team-accent); outline: 0; }
.team-members-tree-row:disabled { opacity: .6; cursor: wait; }
.team-members-tree-icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: #edf5f4; color: var(--team-accent); font-weight: 900; }
.team-members-tree-row strong,
.team-members-tree-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-members-tree-row strong { font-size: 11px; }
.team-members-tree-row small { margin-top: 2px; color: var(--team-muted); font-size: 9px; }
.team-members-tree-row b { color: var(--team-muted); font-size: 9px; }
.team-members-tree-branch { position: relative; margin-top: 3px; padding-left: 13px; }
.team-members-tree-branch::before { content: ""; position: absolute; top: 0; bottom: 0; left: 11px; border-left: 1px solid #d8e5e3; }
.team-members-tree-branch .team-members-tree-row { padding-left: 10px; }
.team-members-tree-empty { margin: 8px 4px 8px 13px; color: var(--team-muted); font-size: 10px; line-height: 17px; }
.team-members-table-scroll { overflow: auto; }
.team-members-table-scroll table { width: 100%; min-width: 610px; border-collapse: collapse; table-layout: fixed; }
.team-members-table-scroll th { height: 37px; padding: 7px 10px; border-bottom: 1px solid #dfe8e7; color: var(--team-muted); font-size: 9px; font-weight: 800; text-align: left; white-space: nowrap; }
.team-members-table-scroll th:nth-child(1) { width: 31%; }
.team-members-table-scroll th:nth-child(2) { width: 18%; }
.team-members-table-scroll th:nth-child(3) { width: 24%; }
.team-members-table-scroll th:nth-child(4) { width: 12%; }
.team-members-table-scroll th:nth-child(5) { width: 15%; }
.team-members-table-scroll td { height: 57px; padding: 7px 10px; border-bottom: 1px solid #edf2f1; color: var(--team-ink); font-size: 10px; line-height: 14px; vertical-align: middle; }
.team-members-table-scroll tbody tr { cursor: pointer; }
.team-members-table-scroll tbody tr:hover,
.team-members-table-scroll tbody tr.selected { background: #eef8f6; }
.team-members-table-scroll tbody tr:focus-visible { outline: 2px solid #75b7b0; outline-offset: -2px; }
.team-members-person { display: flex; align-items: center; gap: 8px; min-width: 0; }
.team-members-person > i { display: grid; place-items: center; width: 31px; height: 31px; flex: 0 0 auto; border-radius: 50%; background: #dfeeed; color: var(--team-accent); font-style: normal; font-size: 11px; font-weight: 900; }
.team-members-person > span { min-width: 0; }
.team-members-person strong,
.team-members-person small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-members-person strong { font-size: 10px; line-height: 14px; }
.team-members-person small { margin-top: 2px; color: var(--team-muted); font-size: 8px; line-height: 12px; }
.team-members-status { display: inline-flex; padding: 3px 7px; border-radius: 999px; background: #e4f4ef; color: #15756b; font-size: 9px; font-weight: 800; white-space: nowrap; }
.team-members-status[data-status="onboarding"] { background: #fff2d9; color: #a86510; }
.team-members-status[data-status="inactive"],
.team-members-status[data-status="departed"] { background: #eef1f3; color: #697780; }
.team-members-detail-scroll { padding: 11px 12px; }
.team-members-detail-person { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.team-members-detail-person > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #dceff0; color: var(--team-accent); font-size: 16px; font-weight: 900; }
.team-members-detail-person h3 { margin: 0; color: var(--team-ink); font-size: 16px; }
.team-members-detail-person p { margin: 2px 0 0; color: var(--team-muted); font-size: 10px; }
.team-members-detail-person > b { padding: 4px 7px; border-radius: 999px; background: #e4f4ef; color: #15756b; font-size: 9px; }
.team-members-relations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 13px; }
.team-members-relations article { min-width: 0; min-height: 61px; padding: 8px; border: 1px solid #e1eae9; border-radius: 8px; background: #fafcfc; }
.team-members-relations span,
.team-members-relations strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-members-relations span { color: var(--team-muted); font-size: 9px; }
.team-members-relations strong { margin-top: 6px; color: var(--team-ink); font-size: 10px; }
.team-members-detail-metrics { display: grid; gap: 0; margin-top: 10px; border-top: 1px solid #e5edec; }
.team-members-detail-metric { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 48px; border-bottom: 1px solid #e8efee; }
.team-members-detail-metric > span { color: var(--team-muted); font-size: 10px; }
.team-members-detail-metric > strong { color: var(--team-ink); font-size: 12px; }
.team-members-detail-metric > i { grid-column: 1 / -1; height: 4px; margin-top: -8px; overflow: hidden; border-radius: 99px; background: #e0ebe9; }
.team-members-detail-metric > i b { display: block; height: 100%; border-radius: inherit; background: var(--team-accent); }
.team-members-profile-lines { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 11px; }
.team-members-profile-lines > span { min-width: 0; padding: 8px; border-radius: 7px; background: #f3f8f7; color: var(--team-muted); font-size: 9px; }
.team-members-profile-lines strong { display: block; margin-top: 4px; overflow: hidden; color: var(--team-ink); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.team-members-relation-drawer { margin-top: 11px; border-top: 1px solid #e4eceb; }
.team-members-relation-drawer > summary { display: flex; align-items: center; justify-content: space-between; padding: 10px 1px; color: var(--team-accent); font-size: 10px; font-weight: 800; cursor: pointer; list-style: none; }
.team-members-relation-form { display: grid; gap: 7px; padding: 9px; border-radius: 8px; background: #f2f8f7; }
.team-members-relation-form label { font-size: 10px; }
.team-members-relation-form select { min-height: 32px; padding: 5px 7px; font-size: 10px; }
.team-members-relation-form .btn { min-height: 34px; padding: 7px 9px; font-size: 10px; }
.team-members-relation-preview,
.team-members-relation-form [data-team-inline-status],
.team-members-relation-empty { color: var(--team-muted); font-size: 9px; line-height: 15px; }
.team-members-empty,
.team-members-detail-state { display: grid; place-items: center; align-content: center; min-height: 100%; padding: 22px; text-align: center; }
.team-members-empty p,
.team-members-detail-state p { margin: 5px 0 0; color: var(--team-muted); font-size: 10px; line-height: 17px; }
.team-members-detail-state.error { color: #9b4437; }
.team-members-state { min-height: 654px; display: grid; place-items: center; align-content: center; gap: 9px; padding: 22px; border: 1px solid #d2e0de; border-radius: 13px; background: #fff; }
.team-members-state i { display: block; width: min(480px, 82%); height: 10px; border-radius: 99px; background: #edf3f2; }
.team-members-page-error { padding: 18px; border: 1px solid #e9c4bb; border-radius: 13px; background: #fff8f5; }
.team-members-page-error p { color: var(--team-muted); }

.team-toolbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-height: 0; margin-top: 10px; }
.team-filter-summary { margin-right: auto; display: flex; align-items: center; gap: 8px; color: var(--team-muted); }
.team-list-filter { display: flex; align-items: center; gap: 9px; margin-top: 11px; padding: 10px 12px; border: 1px solid var(--team-line); border-radius: 11px; background: #fff; }
.team-list-filter input { flex: 1; min-width: 0; }
.team-list-filter input,
.team-list-filter select,
.team-management-root input,
.team-management-root select,
.team-management-root textarea { padding: 9px 10px; border: 1px solid #cbd9d7; border-radius: 8px; background: #fff; color: var(--team-ink); }
.team-list-filter span { color: var(--team-muted); font-size: 12px; }

.team-pipeline-layout,
.team-members-workspace { display: grid; grid-template-columns: minmax(190px, .65fr) minmax(440px, 1.5fr) minmax(300px, .9fr); gap: 11px; margin-top: 11px; align-items: start; }
.team-table-wrap { overflow: auto; }
.team-table-wrap table,
.team-performance-table table { width: 100%; border-collapse: collapse; }
.team-table-wrap th,
.team-performance-table th { padding: 9px 10px; border-bottom: 1px solid var(--team-line); color: var(--team-muted); font-size: 11px; text-align: left; white-space: nowrap; }
.team-table-wrap td,
.team-performance-table td { padding: 10px; border-bottom: 1px solid #ecf1f0; vertical-align: middle; }
.team-table-wrap td small { display: block; margin-top: 2px; color: var(--team-muted); }
.team-table-wrap tbody tr { cursor: pointer; }
.team-table-wrap tbody tr:hover,
.team-table-wrap tbody tr.selected { background: #eef8f6; }
.team-table-wrap tr:focus-visible { outline: 2px solid #75b7b0; outline-offset: -2px; }

.team-funnel-list,
.team-tree-list { display: grid; gap: 6px; padding: 10px; }
.team-funnel-row,
.team-tree-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--team-ink); text-align: left; cursor: pointer; }
.team-funnel-row:hover,
.team-funnel-row.active,
.team-tree-row:hover,
.team-tree-row.active { background: #def2ee; color: var(--team-accent); }
.team-tree-row { display: grid; justify-content: stretch; }
.team-tree-row span { color: var(--team-muted); font-size: 11px; }
.team-tree-row.child { margin: 6px 10px 0 26px; width: calc(100% - 36px); background: #f5f8f8; }
[data-team-tree-children] { display: block; padding-bottom: 8px; }

.team-inspector-body { padding: 12px; }
.team-candidate-inspector-panel,
.team-member-inspector-panel,
.team-admin-inspector-panel,
.team-reward-inspector-panel { display: none; }
.team-candidate-inspector-panel.active,
.team-member-inspector-panel.active,
.team-admin-inspector-panel.active,
.team-reward-inspector-panel.active { display: block; }
.team-inspector-title { display: flex; align-items: center; gap: 10px; }
.team-inspector-title > div { min-width: 0; }
.team-inspector-title h3 { margin: 1px 0 2px; font-size: 18px; }
.team-inspector-title p,
.team-candidate-inspector-panel > p,
.team-admin-inspector-panel > p,
.team-reward-inspector-panel > p { margin: 3px 0 0; color: var(--team-muted); }
.team-inspector-title .team-text-button { margin-left: auto; }
.team-person-avatar { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; background: #dceff0; color: var(--team-accent); font-weight: 900; }
.team-inspector-grid { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 8px 10px; margin-top: 13px; }
.team-inspector-grid span { color: var(--team-muted); }
.team-inspector-grid strong { overflow-wrap: anywhere; }
.team-relation-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 12px; }
.team-relation-summary > span { min-width: 0; padding: 9px; border-radius: 8px; background: var(--team-soft); overflow-wrap: anywhere; }
.team-relation-summary small { display: block; margin-bottom: 3px; color: var(--team-muted); }
.team-summary-notice { margin-top: 12px; padding: 10px; border-radius: 9px; background: #f3f6f7; color: var(--team-muted); }

.team-status-badge { display: inline-flex; padding: 4px 8px; border-radius: 999px; background: #e5f3f0; color: #0f746b !important; font-size: 11px; font-weight: 800; white-space: nowrap; }
.team-text-button { margin: 0; padding: 5px 7px; border: 0; background: transparent; color: var(--team-accent); font-weight: 800; cursor: pointer; }
.team-text-button.danger { color: var(--team-danger); }

.team-operation-drawer,
.team-settings-drawer { margin-top: 11px; }
.team-operation-drawer { border-top: 1px solid #e7eeee; }
.team-operation-drawer summary,
.team-settings-drawer > summary { padding: 10px 12px; color: var(--team-accent); font-weight: 800; cursor: pointer; list-style-position: inside; }
.team-operation-stack { display: grid; gap: 9px; padding: 0 0 6px; }
.team-operation-stack form,
.team-settings-drawer form,
.team-relation-editor { display: grid; gap: 8px; padding: 10px; border-radius: 9px; background: var(--team-soft); }
.team-management-root label { display: grid; gap: 5px; min-width: 0; color: #465767; font-size: 12px; font-weight: 700; }
.team-card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
[data-team-inline-status] { min-height: 17px; color: var(--team-muted); font-size: 12px; }
[data-team-inline-status][data-kind="success"] { color: var(--team-accent); }
[data-team-inline-status][data-kind="error"] { color: var(--team-danger); }

.team-create-drawer { width: fit-content; margin-top: 0; margin-left: auto; border: 0; background: transparent; }
.team-create-drawer > summary { padding: 9px 14px; list-style: none; }
.team-create-drawer[open] { width: min(100%, 850px); padding: 10px; border: 1px solid var(--team-line); background: #fff; }
.team-create-panel { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; gap: 9px; margin: 0 !important; padding: 4px !important; border: 0 !important; background: transparent !important; }

/* 培训成长：严格对应“我的学习 / 团队培训 / 课程管理”设计稿。 */
.team-training-page {
  box-sizing: border-box;
  padding: 16px 18px 22px;
  overflow-x: hidden;
  border: 1px solid #cddbd9;
  border-radius: 20px;
  background: #f8fbfa;
  box-shadow: 0 18px 50px rgba(32, 72, 68, .08);
}
.team-training-page,
.team-training-page * { box-sizing: border-box; }
.team-training-page .btn.btn-primary {
  border-color: var(--team-accent);
  background: var(--team-accent);
  background-image: none;
  color: #fff;
  box-shadow: none;
}
.team-training-page .btn.btn-primary:hover,
.team-training-page .btn.btn-primary:focus-visible { border-color: #0d6f66; background: #0d6f66; color: #fff; outline: 0; }
.team-training-page .btn.btn-secondary { border: 1px solid #c9d8d6; background: #fff; color: var(--team-ink); box-shadow: none; }
.team-training-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 18px;
  border: 1px solid #d2e0de;
  border-radius: 15px;
  background: #fff;
}
.team-training-header > div { min-width: 0; }
.team-training-header h2 { margin: 0; color: #102033; font-size: 25px; line-height: 31px; }
.team-training-header p { margin: 2px 0 0; color: var(--team-muted); font-size: 12px; line-height: 17px; }
.team-training-header > .btn { min-height: 41px; flex: 0 0 auto; padding: 9px 15px; border-radius: 10px; font-size: 12px; white-space: nowrap; }
.team-training-workspace { margin-top: 11px; overflow: hidden; border-color: #d2e0de; border-radius: 14px; }
.team-training-workspace > .team-panel-header {
  height: 64px;
  min-height: 64px;
  justify-content: space-between;
  padding: 10px 14px;
}
.team-training-workspace > .team-panel-header > span { color: var(--team-muted); font-size: 10px; font-weight: 500; }
.team-view-tabs { display: flex; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.team-view-tabs::-webkit-scrollbar { display: none; }
.team-view-tabs button { padding: 8px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--team-muted); font-size: 11px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.team-view-tabs button.active { background: var(--team-soft-strong); color: var(--team-accent); }
.team-view-panel { display: none; padding: 14px 16px 16px; }
.team-view-panel.active { display: block; }
.team-training-overview { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 10px; }
.team-training-summary-card,
.team-training-next-card { min-width: 0; min-height: 104px; padding: 13px; border: 1px solid #e1ebe9; border-radius: 11px; background: var(--team-soft); }
.team-training-summary-card { display: flex; align-items: center; gap: 15px; }
.team-training-summary-card > div:last-child { min-width: 0; }
.team-training-summary-card > div:last-child > strong,
.team-training-summary-card small { display: block; }
.team-training-summary-card > div:last-child > strong { font-size: 14px; line-height: 20px; }
.team-training-summary-card small { margin-top: 2px; color: var(--team-muted); font-size: 10px; }
.team-training-next-card { display: flex; flex-direction: column; justify-content: center; }
.team-training-next-card strong { display: block; font-size: 15px; line-height: 21px; }
.team-training-next-card p { margin: 7px 0 0; color: #31404e; font-size: 11px; line-height: 17px; }
.team-progress-ring { --progress: 0%; position: relative; display: grid; place-items: center; width: 64px; height: 64px; flex: 0 0 auto; border-radius: 50%; background: conic-gradient(var(--team-accent) var(--progress), #dbe7e5 0); }
.team-progress-ring::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
.team-progress-ring strong { position: relative; z-index: 1; font-size: 13px; line-height: 17px; }
.team-learning-list { display: grid; gap: 7px; margin-top: 12px; }
.team-training-page .team-learning-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) 104px 126px 104px minmax(118px, auto);
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 8px 10px;
  border: 1px solid #e3ecea;
  border-radius: 10px;
  background: #fff;
}
.team-learning-course { min-width: 0; }
.team-learning-course strong,
.team-learning-course small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-learning-course strong { font-size: 12px; line-height: 17px; }
.team-learning-course small,
.team-learning-row time small { margin-top: 2px; color: var(--team-muted); font-size: 9px; line-height: 13px; }
.team-learning-row time { font-size: 11px; font-style: normal; }
.team-training-location,
.team-training-member { min-width: 0; overflow: hidden; color: #334451; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.team-status-badge.warning { background: #fff0d8; color: #9a5a12 !important; }
.team-status-badge.info { background: #e8f0ff; color: #1f67d8 !important; }
.team-status-badge.success { background: #e5f3f0; color: #0f746b !important; }
.team-learning-actions { display: flex; align-items: center; justify-content: flex-end; gap: 5px; min-width: 0; }
.team-learning-actions .btn { min-height: 34px; padding: 7px 11px; border-radius: 8px; font-size: 10px; white-space: nowrap; }
.team-learning-actions .team-text-button { padding: 5px; font-size: 10px; white-space: nowrap; }
.team-learning-actions [data-team-inline-status] { max-width: 90px; overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.team-training-finished { color: var(--team-muted); font-size: 10px; }
.team-training-empty { min-height: 76px; display: grid; align-content: center; padding: 12px 14px; border: 1px solid #d9e5e3; border-radius: 10px; background: #fff; }
.team-training-empty strong { font-size: 12px; line-height: 17px; }
.team-training-empty p { margin: 4px 0 0; color: var(--team-muted); font-size: 10px; line-height: 15px; }
.team-course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 9px; }
.team-course-grid > .team-training-empty { grid-column: 1 / -1; }
.team-course-card { min-width: 0; padding: 12px; border: 1px solid #e1eae9; border-radius: 10px; background: #fafcfc; }
.team-course-card h3 { margin: 2px 0; font-size: 13px; }.team-course-card p { margin: 7px 0 0; color: var(--team-muted); font-size: 10px; }
.team-course-card .team-operation-drawer summary { font-size: 10px; }
.team-course-card .team-operation-stack form { font-size: 10px; }
.team-training-course-dialog[hidden] { display: none; }
.team-training-course-dialog { position: fixed; z-index: 10020; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(10, 28, 36, .42); }
.team-training-course-dialog > section { width: min(520px, 100%); max-height: min(640px, 92vh); overflow-y: auto; border: 1px solid #cbdad8; border-radius: 15px; background: #fff; box-shadow: 0 24px 80px rgba(9, 35, 42, .23); }
.team-training-course-dialog header { min-height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 9px 15px; border-bottom: 1px solid #e5edec; }
.team-training-course-dialog h3 { margin: 0; font-size: 16px; }
.team-training-course-dialog header button { padding: 3px 7px; border: 0; background: transparent; color: #5b6b73; font-size: 24px; cursor: pointer; }
.team-training-course-dialog form { display: grid; gap: 10px; padding: 14px 15px 15px; }
.team-training-course-dialog .team-checkbox { display: flex; align-items: center; }
.team-training-course-dialog footer { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.team-training-course-dialog footer [data-team-inline-status] { margin-right: auto; }

/* 业绩与晋升：严格对应“个人业绩 / 晋升进度 / 直属团队业绩”设计稿。 */
.team-performance-page {
  box-sizing: border-box;
  padding: 16px 18px 22px;
  overflow-x: hidden;
  border: 1px solid #cddbd9;
  border-radius: 20px;
  background: #f8fbfa;
  box-shadow: 0 18px 50px rgba(32, 72, 68, .08);
}
.team-performance-page,
.team-performance-page * { box-sizing: border-box; }
.team-performance-page .btn.btn-primary { border-color: var(--team-accent); background: var(--team-accent); background-image: none; color: #fff; box-shadow: none; }
.team-performance-page .btn.btn-primary:hover,
.team-performance-page .btn.btn-primary:focus-visible { border-color: #0d6f66; background: #0d6f66; color: #fff; outline: 0; }
.team-performance-page .btn.btn-secondary { border: 1px solid #c9d8d6; background: #fff; color: var(--team-ink); box-shadow: none; }
.team-performance-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 18px;
  border: 1px solid #d2e0de;
  border-radius: 15px;
  background: #fff;
}
.team-performance-header > div:first-child { min-width: 0; }
.team-performance-header h2 { margin: 0; color: #102033; font-size: 25px; line-height: 31px; }
.team-performance-header p { margin: 2px 0 0; color: var(--team-muted); font-size: 12px; line-height: 17px; }
.team-performance-header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.team-performance-header-actions .btn { min-height: 41px; padding: 9px 15px; border-radius: 10px; font-size: 12px; white-space: nowrap; }
.team-performance-overview { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(310px, .78fr); gap: 11px; margin-top: 11px; align-items: stretch; }
.team-performance-overview > .team-work-panel { overflow: hidden; border-color: #d2e0de; }
.team-performance-page .team-panel-header { min-height: 53px; justify-content: space-between; padding: 9px 14px; }
.team-performance-page .team-panel-header h3 { margin: 0; font-size: 15px; line-height: 20px; }
.team-performance-page .team-panel-header > span { margin-left: auto; color: var(--team-muted); font-size: 10px; font-weight: 600; }
.team-performance-panel-body { padding: 12px 14px 14px; }
.team-performance-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.team-performance-kpi { min-width: 0; min-height: 102px; padding: 11px 12px; border: 1px solid #e0eae8; border-radius: 10px; background: #fafcfc; }
.team-performance-kpi > span,
.team-performance-kpi > small { display: block; overflow: hidden; color: var(--team-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.team-performance-kpi > strong { display: block; margin: 4px 0 5px; overflow: hidden; color: #142335; font-size: 19px; line-height: 24px; text-overflow: ellipsis; white-space: nowrap; }
.team-progress-track { height: 6px; overflow: hidden; margin: 7px 0; border-radius: 99px; background: #dce7e5; }
.team-progress-track i { display: block; height: 100%; border-radius: inherit; background: var(--team-accent); }
.team-performance-kpi .team-progress-track { height: 5px; margin: 6px 0 7px; }
.team-performance-personal-table { margin-top: 11px; border: 1px solid #e1eae8; border-radius: 10px; }
.team-performance-table { max-width: 100%; overflow-x: auto; }
.team-performance-table table { min-width: 600px; }
.team-performance-page .team-performance-table th { padding: 8px 9px; background: #f7faf9; font-size: 9px; line-height: 13px; }
.team-performance-page .team-performance-table td { padding: 8px 9px; color: #334451; font-size: 10px; line-height: 15px; }
.team-performance-page .team-performance-table td strong { color: var(--team-ink); }
.team-performance-page .team-status-badge { padding: 3px 7px; font-size: 9px; }
.team-promotion-checklist { position: relative; min-height: 242px; padding: 11px 13px 13px; }
.team-promotion-checklist.empty { min-height: 0; }
.team-promotion-summary { position: absolute; top: -42px; right: 14px; color: var(--team-muted); font-size: 10px; }
.team-requirement-list { display: grid; gap: 6px; }
.team-requirement-list article { min-height: 49px; padding: 7px 9px; border: 1px solid #e3ecea; border-radius: 8px; background: #fafcfc; }
.team-requirement-list article > div:first-child { display: flex; justify-content: space-between; gap: 9px; }
.team-requirement-list article > div:first-child strong { font-size: 10px; line-height: 15px; }
.team-requirement-list article > div:first-child span { color: #40505e; font-size: 9px; line-height: 15px; white-space: nowrap; }
.team-requirement-list article .team-progress-track { height: 4px; margin: 5px 0 3px; }
.team-requirement-list p { margin: 0; color: var(--team-muted); font-size: 8px; line-height: 12px; }
.team-rule-version { margin: 8px 1px 0; color: var(--team-muted); font-size: 9px; }
.team-performance-empty { min-height: 64px; display: grid; align-content: center; padding: 11px 12px; border: 1px solid #dce7e5; border-radius: 9px; background: #fafcfc; }
.team-performance-empty strong { font-size: 11px; line-height: 16px; }
.team-performance-empty p { margin: 3px 0 0; color: var(--team-muted); font-size: 9px; line-height: 14px; }
.team-performance-empty.kpi-empty { grid-column: 1 / -1; min-height: 102px; }
.team-performance-empty.setup-empty { min-height: 128px; }
.team-performance-promotion .team-performance-empty { min-height: 128px; }
.team-team-performance { margin-top: 11px; overflow: hidden; border-color: #d2e0de; }
.team-team-performance > .team-panel-header { height: 55px; }
.team-team-performance .team-view-tabs { margin-left: auto; }
.team-team-performance .team-view-tabs button { padding: 7px 11px; font-size: 10px; }
.team-team-performance > .team-view-panel { padding: 12px 14px 14px; }
.team-team-performance .team-performance-empty { min-height: 82px; }
.team-rate-cell { display: flex; align-items: center; gap: 7px; min-width: 90px; }
.team-rate-cell > strong { min-width: 30px; font-size: 10px; }
.team-rate-cell > i { width: 52px; height: 4px; overflow: hidden; border-radius: 99px; background: #dce7e5; }
.team-rate-cell > i > b { display: block; height: 100%; border-radius: inherit; background: var(--team-accent); }
.team-performance-dialog[hidden] { display: none; }
.team-performance-dialog { position: fixed; z-index: 10020; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(10, 28, 36, .42); }
.team-performance-dialog > section { width: min(580px, 100%); max-height: min(720px, 92vh); overflow-y: auto; border: 1px solid #cbdad8; border-radius: 15px; background: #fff; box-shadow: 0 24px 80px rgba(9, 35, 42, .23); }
.team-performance-dialog.settings > section { width: min(760px, 100%); }
.team-performance-dialog header { min-height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 9px 15px; border-bottom: 1px solid #e5edec; }
.team-performance-dialog h3 { margin: 0; font-size: 16px; }
.team-performance-dialog header button { padding: 3px 7px; border: 0; background: transparent; color: #5b6b73; font-size: 24px; cursor: pointer; }
.team-performance-dialog form { display: grid; gap: 10px; padding: 14px 15px 15px; }
.team-performance-dialog form + form { border-top: 1px solid #e4eceb; }
.team-performance-dialog form > strong { font-size: 13px; }
.team-performance-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.team-performance-form-grid > .wide { grid-column: 1 / -1; }
.team-performance-settings-grid { display: grid; }
.team-performance-dialog footer { display: flex; align-items: center; justify-content: flex-end; gap: 7px; padding: 10px 15px 14px; border-top: 1px solid #e5edec; }
.team-performance-dialog form footer { margin: 2px -15px -15px; }
.team-performance-dialog footer [data-team-inline-status] { margin-right: auto; }
.team-performance-form-note { margin: 0; padding: 8px 9px; border-radius: 8px; background: #fff5e7; color: #8b5719; font-size: 10px; }

.team-status-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); gap: 9px; margin-top: 11px; }
.team-status-filters button { padding: 10px 12px; border: 1px solid var(--team-line); border-radius: 10px; background: #fff; color: var(--team-ink); text-align: left; cursor: pointer; }
.team-status-filters button.active { border-color: #7cbdb6; background: #edf8f6; }
.team-status-filters span { color: var(--team-muted); font-size: 12px; }
.team-status-filters strong { display: block; margin: 2px 0; font-size: 20px; }

/* 行政事务：严格对应“到期队列 + 当前事项详情”设计稿。 */
.team-administration-page {
  box-sizing: border-box;
  padding: 16px 18px 22px;
  overflow-x: hidden;
  border: 1px solid #cddbd9;
  border-radius: 20px;
  background: #f8fbfa;
  box-shadow: 0 18px 50px rgba(32, 72, 68, .08);
}
.team-administration-page,
.team-administration-page * { box-sizing: border-box; }
.team-administration-page .btn.btn-primary { border-color: var(--team-accent); background: var(--team-accent); background-image: none; color: #fff; box-shadow: none; }
.team-administration-page .btn.btn-primary:hover,
.team-administration-page .btn.btn-primary:focus-visible { border-color: #0d6f66; background: #0d6f66; color: #fff; outline: 0; }
.team-administration-page .btn.btn-secondary { border: 1px solid #c9d8d6; background: #fff; color: var(--team-ink); box-shadow: none; }
.team-administration-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 18px;
  border: 1px solid #d2e0de;
  border-radius: 15px;
  background: #fff;
}
.team-administration-header > div:first-child { min-width: 0; }
.team-administration-header h2 { margin: 0; color: #102033; font-size: 25px; line-height: 31px; }
.team-administration-header p { margin: 2px 0 0; color: var(--team-muted); font-size: 12px; line-height: 17px; }
.team-administration-header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.team-administration-header-actions > span { color: var(--team-muted); font-size: 10px; font-weight: 700; }
.team-administration-header-actions .btn { min-height: 41px; padding: 9px 15px; border-radius: 10px; font-size: 12px; white-space: nowrap; }
.team-administration-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  margin-top: 11px;
}
.team-administration-metric {
  min-width: 0;
  min-height: 87px;
  padding: 11px 13px;
  border: 1px solid #d5e2e0;
  border-radius: 13px;
  background: #fff;
  color: var(--team-ink);
  text-align: left;
  cursor: pointer;
}
.team-administration-metric:hover,
.team-administration-metric:focus-visible { border-color: #78b8b1; box-shadow: 0 7px 20px rgba(22, 90, 83, .08); outline: 0; }
.team-administration-metric.active { border-color: #69afa7; background: #edf8f6; }
.team-administration-metric > span,
.team-administration-metric > small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-administration-metric > span { color: var(--team-muted); font-size: 11px; line-height: 16px; }
.team-administration-metric > strong { display: block; margin: 3px 0 1px; font-size: 25px; line-height: 28px; }
.team-administration-metric > small { color: var(--team-accent); font-size: 10px; font-weight: 800; }
.team-administration-metric.danger > strong { color: #b44738; }
.team-administration-metric.warning > strong { color: #a86214; }
.team-administration-metric.success > strong { color: #14796f; }
.team-administration-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 11px; min-height: 438px; margin-top: 11px; align-items: stretch; }
.team-administration-layout > .team-work-panel { min-height: 438px; overflow: hidden; border-color: #d2e0de; border-radius: 14px; }
.team-administration-page .team-panel-header { height: 55px; min-height: 55px; justify-content: space-between; padding: 9px 14px; }
.team-administration-page .team-panel-header h3 { margin: 0; font-size: 15px; line-height: 20px; }
.team-administration-page .team-panel-header > span { margin-left: auto; color: var(--team-muted); font-size: 10px; font-weight: 600; }
.team-administration-page .team-panel-header b { color: inherit; }
.team-admin-queue { display: grid; align-content: start; gap: 7px; max-height: 560px; overflow-y: auto; padding: 10px; }
.team-admin-queue-row { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: center; gap: 9px; min-width: 0; min-height: 60px; padding: 8px 9px; border: 1px solid #e3ecea; border-radius: 10px; background: #fff; color: var(--team-ink); text-align: left; cursor: pointer; }
.team-admin-queue-row[hidden] { display: none; }
.team-admin-queue-row:hover,
.team-admin-queue-row.selected { border-color: #82bdb7; background: #eef8f6; }
.team-admin-queue-row > span { min-width: 0; }
.team-admin-queue-row strong,
.team-admin-queue-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-admin-queue-row strong { font-size: 11px; line-height: 16px; }
.team-admin-queue-row small { margin-top: 3px; color: var(--team-muted); font-size: 9px; line-height: 13px; }
.team-admin-queue-row time { color: #40505e; font-size: 9px; line-height: 14px; white-space: nowrap; }
.team-admin-queue-row .team-action-dot { width: 7px; height: 7px; }
.team-admin-queue-row[data-overdue="true"] .team-action-dot { background: var(--team-danger); }
.team-admin-queue-row[data-today="true"]:not([data-overdue="true"]) .team-action-dot { background: #d78628; }
.team-admin-empty,
.team-admin-filter-empty,
.team-admin-detail-empty,
.team-admin-filter-detail-empty { display: grid; align-content: center; min-height: 120px; padding: 16px; text-align: center; }
.team-admin-empty[hidden],
.team-admin-filter-empty[hidden],
.team-admin-detail-empty[hidden],
.team-admin-filter-detail-empty[hidden] { display: none; }
.team-admin-empty strong,
.team-admin-filter-empty strong,
.team-admin-detail-empty strong,
.team-admin-filter-detail-empty strong { font-size: 12px; line-height: 17px; }
.team-admin-empty p,
.team-admin-filter-empty p,
.team-admin-detail-empty p,
.team-admin-filter-detail-empty p { margin: 4px 0 0; color: var(--team-muted); font-size: 9px; line-height: 14px; }
.team-admin-inspector-body { min-height: 382px; }
.team-admin-inspector-panel { display: none; min-height: 382px; padding: 14px 16px 16px; }
.team-admin-inspector-panel.active { display: flex; flex-direction: column; }
.team-admin-detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.team-admin-detail-heading > div { min-width: 0; }
.team-admin-detail-heading > div > span { color: var(--team-muted); font-size: 9px; font-weight: 700; }
.team-admin-detail-heading h3 { margin: 2px 0 0; overflow: hidden; color: #102033; font-size: 18px; line-height: 24px; text-overflow: ellipsis; white-space: nowrap; }
.team-admin-detail-heading .team-status-badge.danger { background: #fff0e0; color: #9a5a12 !important; }
.team-admin-description { margin: 8px 0 0; color: var(--team-muted); font-size: 10px; line-height: 16px; }
.team-admin-detail-grid { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px 11px; margin: 13px 0 0; padding: 12px 0; border-top: 1px solid #e6edec; border-bottom: 1px solid #e6edec; }
.team-admin-detail-grid dt { color: var(--team-muted); font-size: 10px; }
.team-admin-detail-grid dd { min-width: 0; margin: 0; overflow-wrap: anywhere; color: var(--team-ink); font-size: 11px; font-weight: 800; }
.team-admin-evidence-section { margin-top: 12px; }
.team-admin-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.team-admin-section-heading > strong { font-size: 11px; line-height: 16px; }
.team-admin-section-heading .team-text-button { padding: 4px 6px; font-size: 10px; }
.team-admin-evidence-list { display: grid; gap: 6px; margin-top: 8px; }
.team-admin-evidence-list article { display: grid; grid-template-columns: 7px minmax(0, 1fr); align-items: center; gap: 8px; min-height: 48px; padding: 7px 9px; border: 1px solid #e3ecea; border-radius: 8px; background: #fafcfc; }
.team-admin-evidence-list article > i { width: 7px; height: 7px; border-radius: 50%; background: var(--team-accent); }
.team-admin-evidence-list article > div { min-width: 0; }
.team-admin-evidence-list strong,
.team-admin-evidence-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-admin-evidence-list strong { font-size: 10px; line-height: 15px; }
.team-admin-evidence-list small { margin-top: 2px; color: var(--team-muted); font-size: 8px; line-height: 12px; }
.team-admin-evidence-empty { min-height: 44px; display: grid; align-content: center; margin-top: 8px; padding: 8px 9px; border: 1px dashed #cadbd8; border-radius: 8px; color: var(--team-muted); font-size: 9px; }
.team-admin-evidence-form[hidden] { display: none; }
.team-admin-evidence-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px; margin-top: 8px; padding: 9px; border-radius: 9px; background: #f2f8f7; }
.team-admin-evidence-form label { font-size: 9px; }
.team-admin-evidence-form input { min-height: 34px; padding: 7px 8px; font-size: 10px; }
.team-admin-evidence-form > div { display: flex; align-items: center; gap: 7px; }
.team-admin-evidence-form .btn { min-height: 34px; padding: 7px 10px; font-size: 10px; }
.team-admin-evidence-form [data-team-inline-status] { max-width: 110px; overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.team-admin-detail-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 7px; margin-top: auto; padding-top: 13px; }
.team-admin-detail-actions [data-team-inline-status] { order: 3; flex: 1 0 100%; margin-right: auto; font-size: 9px; }
.team-admin-detail-actions [data-team-inline-status]:empty { display: none; }
.team-admin-detail-actions .btn { min-height: 38px; padding: 8px 13px; font-size: 10px; }
.team-admin-detail-actions .btn:not(.team-admin-wide-action) { order: 2; flex: 1 1 70%; }
.team-admin-detail-actions .team-admin-wide-action { order: 1; flex: 1 0 100%; }
.team-admin-detail-actions .team-text-button { order: 2; margin-right: auto; font-size: 10px; }
.team-admin-detail-actions > [data-team-inline-status] + .team-text-button { margin-left: 0; }
.team-admin-detail-actions.readonly { justify-content: flex-start; color: var(--team-muted); font-size: 9px; }
.team-administration-dialog[hidden] { display: none; }
.team-administration-dialog { position: fixed; z-index: 10020; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(10, 28, 36, .42); }
.team-administration-dialog > section { width: min(620px, 100%); max-height: min(700px, 92vh); overflow-y: auto; border: 1px solid #cbdad8; border-radius: 15px; background: #fff; box-shadow: 0 24px 80px rgba(9, 35, 42, .23); }
.team-administration-dialog header { min-height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 9px 15px; border-bottom: 1px solid #e5edec; }
.team-administration-dialog h3 { margin: 0; font-size: 16px; }
.team-administration-dialog header button { padding: 3px 7px; border: 0; background: transparent; color: #5b6b73; font-size: 24px; cursor: pointer; }
.team-administration-dialog form { display: grid; gap: 10px; padding: 14px 15px 15px; }
.team-administration-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.team-administration-form-grid > .wide { grid-column: 1 / -1; }
.team-administration-check { display: flex !important; align-items: center; align-self: end; min-height: 40px; }
.team-administration-dialog footer { display: flex; align-items: center; justify-content: flex-end; gap: 7px; margin: 2px -15px -15px; padding: 10px 15px 14px; border-top: 1px solid #e5edec; }
.team-administration-dialog footer [data-team-inline-status] { margin-right: auto; }

/* 奖励管理：严格对应“五阶段 + 个人进度 + 团队待确认”设计稿。 */
.team-rewards-page {
  box-sizing: border-box;
  padding: 16px 18px 22px;
  overflow-x: hidden;
  border: 1px solid #cddbd9;
  border-radius: 20px;
  background: #f8fbfa;
  box-shadow: 0 18px 50px rgba(32, 72, 68, .08);
}
.team-rewards-page,
.team-rewards-page * { box-sizing: border-box; }
.team-rewards-page .btn.btn-primary { border-color: var(--team-accent); background: var(--team-accent); background-image: none; color: #fff; box-shadow: none; }
.team-rewards-page .btn.btn-primary:hover,
.team-rewards-page .btn.btn-primary:focus-visible { border-color: #0d6f66; background: #0d6f66; color: #fff; outline: 0; }
.team-rewards-page .btn.btn-secondary { border: 1px solid #c9d8d6; background: #fff; color: var(--team-ink); box-shadow: none; }
.team-rewards-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 18px;
  border: 1px solid #d2e0de;
  border-radius: 15px;
  background: #fff;
}
.team-rewards-header > div { min-width: 0; }
.team-rewards-header h2 { margin: 0; color: #102033; font-size: 25px; line-height: 31px; }
.team-rewards-header p { margin: 2px 0 0; color: var(--team-muted); font-size: 12px; line-height: 17px; }
.team-rewards-header .btn { min-height: 41px; flex: 0 0 auto; padding: 9px 15px; border-radius: 10px; font-size: 12px; white-space: nowrap; }
.team-reward-lifecycle { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; margin-top: 11px; }
.team-reward-lifecycle-card { min-width: 0; min-height: 87px; padding: 11px 13px; border: 1px solid #d5e2e0; border-radius: 13px; background: #fff; color: var(--team-ink); text-align: center; cursor: pointer; }
.team-reward-lifecycle-card:hover,
.team-reward-lifecycle-card:focus-visible { border-color: #78b8b1; box-shadow: 0 7px 20px rgba(22, 90, 83, .08); outline: 0; }
.team-reward-lifecycle-card.active { border-color: #69afa7; background: #edf8f6; }
.team-reward-lifecycle-card > span { display: block; overflow: hidden; color: #293946; font-size: 11px; line-height: 16px; text-overflow: ellipsis; white-space: nowrap; }
.team-reward-lifecycle-card > strong { display: block; margin: 3px 0 7px; font-size: 19px; line-height: 21px; }
.team-reward-lifecycle-card > i { display: block; height: 5px; overflow: hidden; border-radius: 99px; background: #dce7e5; }
.team-reward-lifecycle-card > i > b { display: block; height: 100%; border-radius: inherit; background: var(--team-accent); }
.team-reward-lifecycle-card:first-child > i > b { background: #d78628; }
.team-reward-workbench { height: 482px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 11px; margin-top: 11px; align-items: stretch; }
.team-reward-workbench > .team-work-panel { min-width: 0; height: 482px; overflow: hidden; border-color: #d2e0de; border-radius: 14px; }
.team-rewards-page .team-panel-header { height: 55px; min-height: 55px; display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; }
.team-rewards-page .team-panel-header h3 { margin: 0; font-size: 15px; line-height: 20px; }
.team-rewards-page .team-panel-header small { margin-left: auto; color: var(--team-muted); font-size: 10px; font-weight: 600; }
.team-reward-personal-list { height: 427px; display: grid; align-content: start; gap: 8px; overflow-y: auto; padding: 10px; }
.team-reward-personal-card { min-width: 0; padding: 11px 12px 12px; border: 1px solid #dce7e5; border-radius: 10px; background: #fff; }
.team-reward-card-heading { display: flex; align-items: center; justify-content: flex-start; gap: 8px; }
.team-reward-card-heading h4 { min-width: 0; margin: 0; overflow: hidden; color: #102033; font-size: 13px; line-height: 19px; text-overflow: ellipsis; white-space: nowrap; }
.team-reward-status { display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 21px; padding: 3px 7px; border-radius: 99px; background: #e7f4f2; color: #15776e; font-size: 9px; font-weight: 800; }
.team-reward-status.not_achieved { background: #fff0db; color: #a25f16; }
.team-reward-requirements { display: grid; gap: 7px; margin-top: 8px; }
.team-reward-requirement { min-width: 0; padding: 7px 9px; border-radius: 8px; background: #f2f7f6; }
.team-reward-requirement > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.team-reward-requirement span { min-width: 0; overflow: hidden; color: #344550; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.team-reward-requirement strong { flex: 0 0 auto; color: #122533; font-size: 10px; }
.team-reward-requirement .team-progress-track { height: 5px; margin-top: 6px; }
.team-reward-requirement small { display: block; margin-top: 4px; color: var(--team-muted); font-size: 8px; line-height: 12px; }
.team-reward-requirement-empty { min-height: 46px; display: grid; align-content: center; padding: 8px 9px; border: 1px dashed #cbdad8; border-radius: 8px; color: var(--team-muted); font-size: 9px; }
.team-reward-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 7px; }
.team-reward-card-actions:empty { display: none; }
.team-reward-card-actions .btn { min-height: 34px; padding: 7px 12px; font-size: 10px; }
.team-reward-card-actions [data-team-inline-status] { color: var(--team-muted); font-size: 9px; }
.team-reward-card-actions [data-team-inline-status]:empty { display: none; }
.team-reward-team-list { height: 427px; display: grid; align-content: start; gap: 8px; overflow-y: auto; padding: 10px; }
.team-reward-team-card { min-width: 0; padding: 11px; border: 1px solid #dce7e5; border-radius: 10px; background: #fff; }
.team-reward-member { display: flex; align-items: center; gap: 9px; }
.team-reward-member > i { width: 38px; height: 38px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #ddecf7; color: #28648a; font-size: 11px; font-style: normal; font-weight: 900; }
.team-reward-member > span { min-width: 0; }
.team-reward-member strong,
.team-reward-member small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-reward-member strong { color: #142536; font-size: 11px; line-height: 16px; }
.team-reward-member small { margin-top: 2px; color: var(--team-muted); font-size: 9px; line-height: 13px; }
.team-reward-team-card dl { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 7px; margin: 11px 0; }
.team-reward-team-card dt { color: var(--team-muted); font-size: 9px; }
.team-reward-team-card dd { min-width: 0; margin: 0; overflow: hidden; color: var(--team-ink); font-size: 10px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.team-reward-team-card > .btn { width: 100%; min-height: 34px; padding: 7px 10px; font-size: 10px; }
.team-reward-team-card > .btn + .btn { margin-top: 7px; }
.team-reward-team-card > [data-team-inline-status] { display: block; margin-top: 6px; color: var(--team-muted); font-size: 9px; }
.team-reward-team-card > [data-team-inline-status]:empty { display: none; }
.team-reward-evidence[hidden] { display: none; }
.team-reward-evidence { display: grid; gap: 5px; margin: 7px 0; padding: 7px; border-radius: 8px; background: #f2f7f6; }
.team-reward-evidence > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; }
.team-reward-evidence strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.team-reward-evidence span { font-size: 9px; font-weight: 800; white-space: nowrap; }
.team-reward-evidence small { grid-column: 1 / -1; color: var(--team-muted); font-size: 8px; }
.team-reward-evidence p { margin: 0; color: var(--team-muted); font-size: 9px; }
.team-reward-empty { min-height: 144px; display: grid; align-content: center; padding: 16px; text-align: center; }
.team-reward-empty[hidden] { display: none; }
.team-reward-empty strong { font-size: 12px; }
.team-reward-empty p { margin: 4px 0 0; color: var(--team-muted); font-size: 9px; line-height: 14px; }
.team-rewards-dialog[hidden] { display: none; }
.team-rewards-dialog { position: fixed; z-index: 10020; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(10, 28, 36, .42); }
.team-rewards-dialog > section { width: min(760px, 100%); max-height: min(720px, 92vh); overflow-y: auto; border: 1px solid #cbdad8; border-radius: 15px; background: #fff; box-shadow: 0 24px 80px rgba(9, 35, 42, .23); }
.team-rewards-dialog header { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 15px; border-bottom: 1px solid #e5edec; }
.team-rewards-dialog header h3 { margin: 0; font-size: 16px; }
.team-rewards-dialog header p { margin: 2px 0 0; color: var(--team-muted); font-size: 9px; }
.team-rewards-dialog header button { padding: 3px 7px; border: 0; background: transparent; color: #5b6b73; font-size: 24px; cursor: pointer; }
.team-rewards-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.team-rewards-settings-grid form { min-width: 0; display: grid; align-content: start; gap: 9px; padding: 14px 15px 15px; }
.team-rewards-settings-grid form + form { border-left: 1px solid #e4eceb; }
.team-rewards-settings-grid form > strong { font-size: 13px; }
.team-reward-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.team-reward-form-note { margin: 0; padding: 8px 9px; border-radius: 8px; background: #fff5e7; color: #8b5719; font-size: 9px; line-height: 14px; }
.team-reward-form-hint { margin: 0; color: var(--team-muted); font-size: 9px; line-height: 14px; }
.team-rewards-settings-grid footer { display: flex; align-items: center; justify-content: flex-end; gap: 7px; margin: 3px -15px -15px; padding: 10px 15px 14px; border-top: 1px solid #e5edec; }
.team-rewards-settings-grid footer [data-team-inline-status] { margin-right: auto; color: var(--team-muted); font-size: 9px; }
.team-rewards-settings-grid footer .btn { min-height: 36px; padding: 7px 11px; font-size: 10px; }

/* 系统管理：严格对应“三类次级入口”设计稿。 */
.team-system-page {
  padding: 0;
  overflow-x: hidden;
  background: transparent;
}
.team-system-page,
.team-system-page * { box-sizing: border-box; }
.team-system-header {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 18px;
  border: 1px solid #d4e1df;
  border-radius: 15px;
  background: #fff;
}
.team-system-header > div:first-child { min-width: 0; }
.team-system-header h2 { margin: 0; color: #102033; font-size: 24px; line-height: 30px; }
.team-system-header p { margin: 2px 0 0; overflow: hidden; color: var(--team-muted); font-size: 12px; line-height: 17px; text-overflow: ellipsis; white-space: nowrap; }
.team-system-meta { flex: 0 0 auto; text-align: right; }
.team-system-meta strong,
.team-system-meta span { display: block; color: var(--team-muted); font-size: 11px; line-height: 16px; }
.team-system-meta strong { color: #52646f; font-weight: 800; }
.team-system-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
  align-items: stretch;
}
.team-system-group {
  height: 245px;
  min-width: 0;
  overflow: hidden;
  padding: 0 15px;
  border-color: #d4e1df;
  border-radius: 14px;
}
.team-system-group h3 { height: 53px; display: flex; align-items: center; margin: 0; font-size: 15px; line-height: 20px; }
.team-system-list { display: grid; align-content: start; }
.team-system-row {
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border: 0;
  border-top: 1px solid #e6edec;
  background: transparent;
  color: var(--team-ink);
  text-align: left;
  cursor: pointer;
}
.team-system-row:hover,
.team-system-row:focus-visible { color: #0d746b; outline: 0; }
.team-system-row:focus-visible { box-shadow: inset 0 0 0 2px #86beb8; }
.team-system-row > span { min-width: 0; }
.team-system-row strong,
.team-system-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-system-row strong { font-size: 12px; line-height: 17px; }
.team-system-row small { margin-top: 2px; color: var(--team-muted); font-size: 10px; line-height: 14px; }
.team-system-row b { flex: 0 0 auto; color: var(--team-accent); font-size: 11px; }
.team-system-empty { grid-column: 1 / -1; min-height: 180px; display: grid; align-content: center; padding: 18px; border: 1px solid #d4e1df; border-radius: 14px; background: #fff; text-align: center; }
.team-system-empty strong { font-size: 14px; }
.team-system-empty p { margin: 4px 0 0; color: var(--team-muted); font-size: 11px; }

.team-empty-card { padding: 18px; }.team-empty-card.compact { min-height: 0; margin: 0; padding: 14px; }.team-empty-card strong { display: block; margin-bottom: 4px; }.team-empty-card p { margin: 0; color: var(--team-muted); }.team-empty-card .btn { margin-top: 10px; }
.team-inline-status { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 16px; }.team-inline-status p { margin: 0; color: var(--team-muted); }.team-inline-status.error { justify-content: space-between; border-color: #efc7bc; background: #fff8f5; }.team-status-dot { width: 12px; height: 12px; flex: 0 0 auto; border: 2px solid #82bdb7; border-top-color: var(--team-accent); border-radius: 50%; animation: team-status-spin 800ms linear infinite; }@keyframes team-status-spin{to{transform:rotate(360deg)}}

.team-organization-switcher { width: min(100%, 1600px); margin: 0 auto 8px; padding: 8px 12px; border: 1px solid var(--team-line); border-radius: 10px; background: #fff; color: var(--team-muted); font-size: 12px; }.team-organization-switcher,.team-organization-switcher label { display: flex; align-items: center; gap: 8px; }.team-organization-switcher select { padding: 6px 8px; }
.team-checkbox { display: flex !important; grid-auto-flow: column; align-items: center; justify-content: start; }.team-checkbox input { width: auto; }
.team-record-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.team-record-head span { color: var(--team-muted); font-size: 11px; }.team-record-head h3 { margin: 2px 0 0; font-size: 17px; }

@media (max-width: 1180px) {
  .team-pipeline-layout,
  .team-members-workspace { grid-template-columns: 200px minmax(0, 1fr); }
  .team-candidate-inspector,
  .team-member-inspector { grid-column: 1 / -1; }
  .team-performance-overview,
  .team-home-workspace,
  .team-reward-workspace { grid-template-columns: 1fr; }
  .team-home-page .team-command-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .team-home-page .team-home-workspace { grid-template-columns: minmax(0, 1.5fr) minmax(300px, .72fr); }
  .team-recruitment-page .team-recruitment-workspace { grid-template-columns: 178px minmax(0, 1fr) 300px; }
  .team-recruitment-page .team-recruitment-detail-panel { grid-column: auto; }
  .team-members-workspace { grid-template-columns: 178px minmax(0, 1fr) 300px; }
}

@media (max-width: 900px) {
  .team-home-page .team-command-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team-home-page .team-home-workspace { grid-template-columns: 1fr; }
  .team-home-page[data-home-state] .team-home-workspace { min-height: 0; }
  .team-recruitment-page .team-recruitment-workspace { grid-template-columns: 170px minmax(0, 1fr); height: auto; }
  .team-recruitment-page .team-recruitment-detail-panel { grid-column: 1 / -1; min-height: 520px; }
  .team-members-workspace { grid-template-columns: 170px minmax(0, 1fr); height: auto; }
  .team-members-detail-panel { grid-column: 1 / -1; height: 520px; }
  .team-administration-layout { grid-template-columns: 1fr; min-height: 0; }
  .team-administration-layout > .team-work-panel { min-height: 0; }
  .team-administration-queue-panel { height: 420px; }
  .team-administration-inspector { min-height: 440px; }
}

@media (max-width: 680px) {
  .team-system-header { height: auto; min-height: 72px; align-items: flex-start; padding: 10px; }
  .team-system-header h2 { font-size: 21px; line-height: 27px; }
  .team-system-header p { max-width: 210px; font-size: 10px; }
  .team-system-meta strong,
  .team-system-meta span { font-size: 9px; line-height: 14px; }
  .team-system-groups { grid-template-columns: 1fr; }
  .team-system-group { height: auto; min-height: 123px; }
  .team-system-group h3 { height: 48px; }
  .team-system-row { min-height: 56px; }
  .team-rewards-page { padding: 10px; border-radius: 14px; }
  .team-rewards-header { height: auto; min-height: 72px; align-items: flex-start; padding: 10px; }
  .team-rewards-header h2 { font-size: 21px; line-height: 27px; }
  .team-rewards-header p { display: none; }
  .team-rewards-header .btn { min-height: 36px; padding: 7px 10px; }
  .team-reward-lifecycle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-reward-lifecycle-card { min-height: 76px; padding: 9px 10px; }
  .team-reward-lifecycle-card > strong { margin-bottom: 5px; font-size: 18px; }
  .team-reward-workbench { height: auto; grid-template-columns: 1fr; }
  .team-reward-workbench > .team-work-panel { height: auto; min-height: 0; }
  .team-reward-personal-list,
  .team-reward-team-list { height: auto; max-height: none; }
  .team-rewards-dialog { padding: 10px; }
  .team-rewards-settings-grid { grid-template-columns: 1fr; }
  .team-rewards-settings-grid form + form { border-top: 1px solid #e4eceb; border-left: 0; }
  .team-reward-form-row { grid-template-columns: 1fr; }
  .team-administration-page { padding: 10px; border-radius: 14px; }
  .team-administration-header { height: auto; min-height: 72px; align-items: flex-start; padding: 10px; }
  .team-administration-header h2 { font-size: 21px; line-height: 27px; }
  .team-administration-header p,
  .team-administration-header-actions > span { display: none; }
  .team-administration-header-actions .btn { min-height: 36px; padding: 7px 10px; }
  .team-administration-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-administration-metric { min-height: 76px; padding: 9px 10px; }
  .team-administration-metric > strong { font-size: 22px; line-height: 25px; }
  .team-administration-layout { display: block; }
  .team-administration-queue-panel { height: 390px; }
  .team-administration-inspector { min-height: 480px; margin-top: 10px; }
  .team-admin-queue { max-height: 334px; }
  .team-admin-inspector-panel { min-height: 424px; padding: 12px; }
  .team-admin-detail-heading { align-items: flex-start; }
  .team-admin-detail-heading h3 { max-width: 210px; font-size: 16px; line-height: 22px; }
  .team-admin-evidence-form { grid-template-columns: 1fr; }
  .team-admin-evidence-form > div { justify-content: flex-end; }
  .team-administration-dialog { padding: 10px; }
  .team-administration-form-grid { grid-template-columns: 1fr; }
  .team-administration-form-grid > .wide { grid-column: auto; }
}

@media (max-width: 760px) {
  .team-management-root { padding-top: 0; }
  .team-home-page { padding: 12px; }
  .team-performance-page { padding: 12px; }
  .team-performance-header { height: auto; min-height: 76px; align-items: flex-start; flex-direction: column; padding: 13px; }
  .team-performance-header-actions { width: 100%; }
  .team-performance-header-actions .btn { flex: 1 1 0; }
  .team-performance-kpis { grid-template-columns: 1fr; }
  .team-performance-form-grid { grid-template-columns: 1fr; }
  .team-performance-form-grid > .wide { grid-column: auto; }
  .team-performance-dialog { padding: 10px; }
  .team-page-header { min-height: 0; align-items: flex-start; flex-direction: column; padding: 13px; }
  .team-home-meta { width: 100%; text-align: left; }
  .team-home-scope { width: fit-content; }
  .team-header-meta { text-align: left; }
  .team-command-grid,
  .team-metric-grid,
  .team-status-filters,
  .team-reward-lanes,
  .team-system-groups,
  .team-action-grid,
  .team-course-grid { grid-template-columns: 1fr 1fr; }
  .team-pipeline-layout,
  .team-members-workspace,
  .team-administration-layout,
  .team-performance-overview,
  .team-home-workspace,
  .team-reward-workspace,
  .team-training-overview { grid-template-columns: 1fr; }
  .team-candidate-inspector,
  .team-member-inspector { grid-column: auto; }
  .team-list-filter { align-items: stretch; flex-direction: column; }
  .team-create-panel,
  .team-admin-create { grid-template-columns: 1fr; }
  .team-admin-create .wide { grid-column: auto; }
  .team-learning-row { grid-template-columns: minmax(0, 1fr) auto; }
  .team-learning-row > :nth-child(2),
  .team-learning-row > :nth-child(3) { display: none; }
  .team-action-row { grid-template-columns: 8px minmax(0, 1fr) auto; }
  .team-action-due { display: none; }
  .team-relation-summary { grid-template-columns: 1fr; }
  .team-attention-grid,
  .team-home-empty-actions > div { grid-template-columns: 1fr; }
  .team-evidence-form { grid-template-columns: 1fr; }
  .team-organization-switcher { align-items: stretch; flex-direction: column; }
  .team-recruitment-page { padding: 10px; border-radius: 14px; }
  .team-recruitment-header { min-height: 72px; padding: 10px; }
  .team-recruitment-header h2 { font-size: 21px; }
  .team-recruitment-header p,
  .team-recruitment-header-actions > span { display: none; }
  .team-recruitment-header-actions .btn { padding: 8px 10px; }
  .team-recruitment-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-recruitment-filters { align-items: stretch; flex-wrap: wrap; }
  .team-recruitment-filters input { flex: 1 0 100%; }
  .team-recruitment-filters select { flex: 1 1 calc(33.333% - 6px); min-width: 100px; }
  .team-recruitment-filters > span { margin-left: 0; }
  .team-recruitment-page .team-recruitment-workspace { display: block; width: 100%; height: auto; }
  .team-recruitment-page .team-recruitment-funnel { display: none; }
  .team-recruitment-page .team-recruitment-table-panel { width: 100%; height: 410px !important; }
  .team-recruitment-page .team-recruitment-detail-panel { width: 100%; height: 560px !important; margin-top: 10px; }
  .team-recruitment-page .team-recruitment-table-scroll { overflow-x: auto; }
  .team-recruitment-modal-card > form { grid-template-columns: 1fr; }
  .team-recruitment-modal-card .wide,
  .team-recruitment-modal-card footer { grid-column: auto; }
  .team-members-page { padding: 10px; border-radius: 14px; }
  .team-members-header { height: auto; min-height: 72px; padding: 10px; }
  .team-members-header h2 { font-size: 21px; }
  .team-members-header p,
  .team-members-header > div:last-child span { display: none; }
  .team-members-filters { height: auto; min-height: 50px; flex-wrap: wrap; }
  .team-members-page .team-members-filters .team-members-search { flex: 1 0 100%; }
  .team-management-root.team-members-page .team-members-filters select { flex: 1 1 calc(50% - 4px); width: auto; }
  .team-members-filter-count { margin-left: 0; }
  .team-members-workspace { display: block; width: 100%; height: auto; }
  .team-members-tree-panel { display: none; }
  .team-members-table-panel { width: 100%; height: 410px; }
  .team-members-detail-panel { width: 100%; height: 520px; margin-top: 10px; }
  .team-members-table-scroll { overflow-x: auto; }
  .team-training-page { padding: 10px; border-radius: 14px; }
  .team-training-header { height: auto; min-height: 72px; padding: 10px; }
  .team-training-header h2 { font-size: 21px; }
  .team-training-header p { max-width: 220px; font-size: 10px; }
  .team-training-header > .btn { min-height: 36px; padding: 7px 10px; }
  .team-training-workspace > .team-panel-header { height: 56px; min-height: 56px; padding: 8px 10px; }
  .team-training-workspace > .team-panel-header > span { display: none; }
  .team-view-panel { padding: 10px; }
  .team-training-overview { grid-template-columns: 1fr; }
  .team-training-summary-card,
  .team-training-next-card { min-height: 88px; }
  .team-training-page .team-learning-row { grid-template-columns: minmax(0, 1fr) auto auto; min-height: 64px; }
  .team-training-page .team-learning-row > time,
  .team-training-page .team-learning-row > .team-training-location { display: none; }
  .team-training-page .team-learning-row > .team-status-badge { justify-self: end; }
  .team-learning-actions [data-team-inline-status] { display: none; }
  .team-course-grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .team-command-grid,
  .team-metric-grid,
  .team-status-filters,
  .team-reward-lanes,
  .team-system-groups,
  .team-action-grid,
  .team-course-grid { grid-template-columns: 1fr; }
}

/* Keep the system-management grid deterministic after the shared responsive rules above. */
@media (max-width: 1100px) {
  .team-system-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .team-system-groups { grid-template-columns: 1fr; }
}
