* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f5f6f8;
  color: #1d1d1f;
  min-height: 100vh;
}

/* 页面布局：左侧 sidebar + 右侧内容 */
.page {
  display: flex;
  min-height: 100vh;
}

/* 左侧导航 */
.sidebar {
  width: 200px;
  background: #fff;
  border-right: 1px solid #e5e5e8;
  padding: 28px 16px 20px;
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 100;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 2px 6px 16px;
  border-bottom: 1px solid #edf0ee;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #194c38, #2d8a56);
  border-radius: 11px;
  box-shadow: 0 6px 14px rgba(45, 138, 86, 0.2);
}

.brand-mark svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-copy {
  min-width: 0;
}

.sidebar-brand {
  font-size: 16px;
  line-height: 1.15;
  font-weight: 750;
  color: #173f30;
  letter-spacing: -0.35px;
  white-space: nowrap;
}

.brand-tagline {
  margin-top: 4px;
  color: #9aa6a0;
  font-size: 7px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.85px;
  white-space: nowrap;
}

.sidebar-info {
  margin: 14px 6px 27px;
  padding: 10px 11px;
  background: #f4f8f5;
  border: 1px solid #e5eee9;
  border-radius: 9px;
  line-height: 1.4;
}

.overview-team-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  padding: 11px 14px;
  background: #f4f8f5;
  border: 1px solid #dfeae3;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(45, 138, 86, .05);
}

.team-card-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #2d8a56;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
}

.overview-team-card strong,
.overview-team-card small {
  display: block;
}

.overview-team-card strong {
  color: #34483d;
  font-size: 12px;
}

.overview-team-card small {
  margin-top: 3px;
  color: #8d9892;
  font-size: 9px;
}

.sidebar-info strong,
.sidebar-info span {
  display: block;
}

.sidebar-info strong {
  color: #43514a;
  font-size: 11px;
  font-weight: 600;
}

.sidebar-info span {
  margin-top: 3px;
  color: #88928d;
  font-size: 9px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
}

.nav-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 8px 5px;
  color: #9aa39e;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .5px;
  cursor: pointer;
}

.nav-group-title small {
  margin-left: auto;
  color: #b5bdb9;
  font-size: 7px;
  letter-spacing: .7px;
}

.nav-group-title i {
  margin-left: 7px;
  color: #9da7a2;
  font-size: 12px;
  font-style: normal;
  line-height: 1;
  transition: transform .2s ease;
}

.nav-group-title:hover {
  color: #2d8a56;
}

.nav-group.collapsed .nav-group-title i {
  transform: rotate(-90deg);
}

.nav-group.collapsed .nav-btn {
  display: none;
}

.core-group {
  padding-top: 13px;
  border-top: 1px solid #edf0ee;
}

.core-group .nav-group-title {
  color: #2d8a56;
}

.nav-btn {
  border: none;
  background: transparent;
  padding: 10px 16px;
  font-size: 14px;
  color: #6b7280;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 7px;
  user-select: none;
}

.nav-label {
  min-width: 0;
  flex: 1;
}

.nav-score {
  flex: 0 0 auto;
  color: #a6afaa;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .2px;
  white-space: nowrap;
}

.nav-btn.active .nav-score {
  color: rgba(255, 255, 255, .72);
}

.drag-handle,
.rename-icon {
  display: none;
  flex: 0 0 auto;
}

.drag-handle {
  color: #9aa49f;
  cursor: grab;
}

.rename-icon {
  width: 19px;
  height: 19px;
  color: #2d8a56;
  background: #edf7f1;
  border-radius: 5px;
  text-align: center;
  line-height: 19px;
}

.nav-btn.dragging {
  opacity: .42;
  outline: 1px dashed #2d8a56;
}

.nav-btn:hover {
  background: #f3f4f6;
  color: #1d1d1f;
}

.nav-btn.active {
  background: #2d8a56;
  color: #fff;
  font-weight: 500;
}

/* 主内容 */
.main-content {
  margin-left: 200px;
  width: calc(100% - 200px);
  max-width: none;
  padding: 32px 40px 60px;
}

.view {
  display: none;
}

.view.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #1d1d1f;
}

.view-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.view-heading h2 {
  margin: 4px 0 0;
}

.overview-title-line {
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.overview-slogan {
  margin: 0;
  color: #64736b;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .6px;
}

.view-kicker {
  display: block;
  color: #2d8a56;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

.module-weight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 12px;
  color: #226c43;
  background: #e5f3ea;
  border: 1px solid #cde6d6;
  border-radius: 8px;
  font-size: 11px;
  letter-spacing: .4px;
  box-shadow: 0 2px 8px rgba(45, 138, 86, .1);
}

.module-weight strong {
  color: #fff;
  background: #2d8a56;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 15px;
  line-height: 1;
  letter-spacing: -.3px;
}

.weight-total,
.weight-pill {
  color: #2d8a56;
  background: #edf7f1;
  border: 1px solid #dceee3;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  padding: 5px 10px;
}

.criteria-strip {
  margin: -8px 0 18px;
  padding: 12px 16px;
  color: #68736d;
  background: #f0f6f2;
  border: 1px solid #e1ebe5;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.6;
}

.score-framework {
  margin-bottom: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e8ece9;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(33, 55, 43, .04);
}

.framework-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.framework-head span {
  display: block;
  margin-bottom: 3px;
  color: #2d8a56;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.1px;
}

.framework-head h3 {
  margin: 0;
  color: #34423b;
  font-size: 15px;
}

.framework-head p {
  margin: 0;
  color: #99a29d;
  font-size: 10px;
  text-align: right;
}

.score-map-grid {
  display: grid;
  gap: 10px;
}

.solution-score-map {
  grid-template-columns: 1.1fr 1fr 1fr;
}

.duty-score-map {
  grid-template-columns: 1.35fr 1fr;
}

.score-map-card {
  min-width: 0;
  padding: 13px 14px;
  background: #f8faf9;
  border: 1px solid #edf1ef;
  border-radius: 10px;
}

.score-map-card.featured {
  background: #f0f7f3;
  border-color: #dcece2;
}

.score-map-card.quality-card {
  background: #fbf8f7;
}

.score-map-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.score-map-title strong {
  color: #3d4942;
  font-size: 12px;
}

.score-map-title > b {
  color: #2d8a56;
  font-size: 17px;
}

.score-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.score-items span {
  padding: 4px 7px;
  color: #7d8782;
  background: #fff;
  border: 1px solid #e8ecea;
  border-radius: 6px;
  font-size: 9px;
  white-space: nowrap;
}

.score-items span b {
  margin-left: 3px;
  color: #49554f;
}

.formula-note {
  margin: 10px 0 0;
  color: #909a95;
  font-size: 9px;
  line-height: 1.45;
}

.quality-linkage {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 11px;
  padding: 8px 11px;
  color: #7f8984;
  background: #f5f8f6;
  border-radius: 8px;
  font-size: 9px;
}

.quality-linkage b {
  color: #2d8a56;
}

.quality-linkage.warning {
  background: #fbf6f3;
}

.quality-linkage.warning b {
  color: #c4674e;
}

.bonus-score-grid,
.customer-score-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.bonus-score-grid article,
.customer-score-grid article {
  min-width: 0;
  padding: 12px;
  background: #f8faf9;
  border: 1px solid #edf1ef;
  border-radius: 9px;
}

.bonus-score-grid span,
.bonus-score-grid strong,
.bonus-score-grid small,
.customer-score-grid b,
.customer-score-grid strong,
.customer-score-grid span {
  display: block;
}

.bonus-score-grid span,
.customer-score-grid strong {
  color: #46524c;
  font-size: 10px;
  font-weight: 600;
}

.bonus-score-grid strong,
.customer-score-grid b {
  margin: 6px 0;
  color: #2d8a56;
  font-size: 16px;
}

.bonus-score-grid small,
.customer-score-grid span {
  color: #99a29d;
  font-size: 8px;
  line-height: 1.45;
}

.customer-score-grid article.featured {
  background: #f0f7f3;
  border-color: #dcece2;
}

.quantified-table-card {
  overflow-x: auto;
}

.quantified-table-card .part-score {
  color: #5e6963;
  font-weight: 600;
}

.completion-card {
  margin-bottom: 0;
}

.workload-card {
  margin-bottom: 0;
}

.duty-dashboard {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 14px;
}

.duty-dashboard > .card {
  min-width: 0;
  padding: 17px 19px;
}

.duty-detail-card {
  grid-column: 1 / -1;
}

.workload-list {
  margin-top: 6px;
}

.workload-row {
  display: grid;
  grid-template-columns: 30px 72px minmax(70px, 1fr) 62px 52px;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid #f0f3f1;
}

.workload-person b,
.workload-person small,
.workload-value b,
.workload-value small {
  display: block;
}

.workload-person b,
.workload-value b {
  color: #34423b;
  font-size: 12px;
}

.workload-person small,
.workload-value small {
  margin-top: 2px;
  color: #9aa39e;
  font-size: 9px;
}

.workload-value {
  text-align: right;
}

.workload-track {
  height: 8px;
  overflow: hidden;
  background: #edf1ef;
  border-radius: 999px;
}

.workload-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.workload-track i.high { background: #df795e; }
.workload-track i.normal { background: #2d8a56; }
.workload-track i.low { background: #7fa6ca; }

.workload-status {
  padding: 3px 6px;
  border-radius: 999px;
  font-size: 9px;
  text-align: center;
  white-space: nowrap;
}

.duty-dashboard .completion-head {
  margin-bottom: 4px;
}

.duty-dashboard .completion-head p {
  font-size: 9px;
}

.duty-dashboard .card-title {
  margin-bottom: 3px;
  font-size: 12px;
}

.duty-dashboard .data-table th {
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: 10px;
}

.duty-dashboard .data-table td {
  padding-top: 7px;
  padding-bottom: 7px;
  font-size: 11px;
}

.duty-dashboard .name-avatar {
  width: 23px;
  height: 23px;
  font-size: 10px;
}

.duty-dashboard .completion-value {
  min-width: 112px;
}

.duty-dashboard .completion-value strong {
  font-size: 11px;
}

.duty-detail-card .data-table td {
  padding-top: 6px;
  padding-bottom: 6px;
}

.workload-status.high { color: #a34c38; background: #fbe7e1; }
.workload-status.normal { color: #226b43; background: #e5f3ea; }
.workload-status.low { color: #466c8f; background: #e8f0f7; }

.completion-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.completion-head .card-title {
  margin-bottom: 4px;
}

.completion-head p {
  color: #9aa2a0;
  font-size: 11px;
}

.completion-note {
  padding: 4px 9px;
  color: #2d8a56;
  background: #edf7f1;
  border-radius: 999px;
  font-size: 10px;
  white-space: nowrap;
}

.completion-rank {
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
}

.completion-rank.top {
  color: #2d8a56;
}

.completion-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 155px;
}

.completion-value strong {
  color: #1f3429;
  font-size: 14px;
}

.completion-status {
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9px;
}

.completion-status.excellent { color: #176638; background: #dff3e7; }
.completion-status.good { color: #7b5b15; background: #fff3cc; }
.completion-status.attention { color: #a14d39; background: #fbe6df; }

.completion-bar {
  width: 100%;
  height: 4px;
  margin-top: 5px;
  overflow: hidden;
  background: #eef1ef;
  border-radius: 999px;
}

.completion-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.completion-bar i.excellent { background: #2d8a56; }
.completion-bar i.good { background: #e0a83c; }
.completion-bar i.attention { background: #d96b52; }

/* 卡片网格 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.card-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  border: 1px solid #eef0f2;
}

.card-title {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 指标卡片 */
.metric-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  border: 1px solid #eef0f2;
  transition: box-shadow 0.2s;
}

.metric-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.metric-label {
  font-size: 13px;
  color: #9ca3af;
}

.metric-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.weight-pill {
  flex: 0 0 auto;
  padding: 3px 7px;
  font-size: 9px;
}

.metric-value {
  font-size: 36px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.5px;
}

.metric-value small {
  font-size: 16px;
  font-weight: 400;
  color: #9ca3af;
  margin-left: 4px;
}

.metric-detail {
  font-size: 13px;
  color: #6b7280;
  margin-top: 6px;
}

.metric-sub {
  min-height: 30px;
  margin-top: 8px;
  color: #9aa2a0;
  font-size: 10px;
  line-height: 1.45;
}

.type-tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  white-space: nowrap;
}

.metric-bar {
  margin-top: 12px;
  height: 4px;
  background: #f3f4f6;
  border-radius: 2px;
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.5s ease;
}

/* 排名表格 */
.rank-table {
  width: 100%;
}

.rank-row {
  position: relative;
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}

.rank-row:focus {
  outline: 2px solid rgba(45, 138, 86, .28);
  outline-offset: -2px;
}

.score-popover {
  position: fixed;
  z-index: 30;
  top: 12px;
  left: 12px;
  width: 310px;
  padding: 16px;
  color: #34443c;
  background: rgba(255, 255, 255, .98);
  border: 1px solid #dfe9e3;
  border-radius: 12px;
  box-shadow: 0 14px 38px rgba(26, 59, 43, .16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .14s ease, transform .14s ease, visibility .14s;
}

.rank-row:hover .score-popover,
.rank-row:focus .score-popover,
.rank-row:focus-within .score-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.score-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf1ef;
  font-size: 12px;
  font-weight: 600;
}

.score-popover-head strong {
  color: #2d8a56;
  font-size: 14px;
}

.score-module + .score-module {
  margin-top: 10px;
}

.score-module-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #6d7772;
  font-size: 10px;
}

.score-module-line span {
  display: flex;
  align-items: center;
  min-width: 0;
}

.score-module-line span i {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 2px;
}

.score-module-line b {
  color: #26352e;
  font-size: 11px;
  white-space: nowrap;
}

.score-module-bar {
  height: 4px;
  margin-top: 5px;
  overflow: hidden;
  background: #eef1ef;
  border-radius: 999px;
}

.score-module-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.chart-card {
  min-width: 0;
}

.overview-widget {
  min-width: 0;
  min-height: 356px;
  transition: opacity .15s ease, box-shadow .15s ease;
}

.overview-widget.widget-dragging {
  opacity: .45;
  box-shadow: 0 0 0 2px rgba(45, 138, 86, .25);
}

.widget-drag {
  cursor: grab;
  user-select: none;
}

.widget-drag:active {
  cursor: grabbing;
}

.rank-widget .rank-row {
  padding: 8px 0;
}

.rank-widget .rank-avatar {
  width: 31px;
  height: 31px;
  font-size: 11px;
}

.rank-widget .rank-info b {
  font-size: 11px;
}

.rank-widget .rank-info small {
  font-size: 9px;
}

.rank-widget .rank-score {
  font-size: 13px;
}

.chart-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.chart-heading .card-title {
  margin-bottom: 3px;
}

.chart-heading span {
  color: #a0a8a4;
  font-size: 10px;
}

.chart-heading > b {
  padding: 4px 7px;
  color: #2d8a56;
  background: #edf7f1;
  border-radius: 5px;
  font-size: 8px;
  letter-spacing: .8px;
}

.svg-chart {
  position: relative;
  width: 100%;
  min-height: 245px;
}

.svg-chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.chart-grid {
  stroke: #e9eeeb;
  stroke-width: 1;
}

.axis-label {
  fill: #939d98;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 10px;
}

.chart-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  min-height: 20px;
  margin-top: -4px;
  color: #6f7974;
  font-size: 9px;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
}

.chart-legend i {
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 2px;
}

.chart-hit {
  cursor: crosshair;
}

.group-highlight {
  fill: #f1f3f5;
  opacity: 0;
  pointer-events: none;
  transition: opacity .14s ease;
}

.group-highlight.show {
  opacity: 1;
}

.hover-guide {
  stroke: #b9c5bf;
  stroke-width: 1;
  stroke-dasharray: 4 4;
  opacity: 0;
  pointer-events: none;
}

.hover-guide.show {
  opacity: 1;
}

.chart-tooltip {
  position: absolute;
  z-index: 20;
  min-width: 154px;
  padding: 11px 12px;
  color: #48544e;
  background: rgba(255, 255, 255, .97);
  border: 1px solid #e1e7e3;
  border-radius: 9px;
  box-shadow: 0 10px 28px rgba(28, 57, 43, .16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .12s ease, transform .12s ease, visibility .12s;
}

.chart-tooltip.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chart-tooltip-title {
  margin-bottom: 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid #edf1ef;
  color: #34423b;
  font-size: 12px;
  font-weight: 700;
}

.chart-tooltip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 10px;
  line-height: 1.8;
}

.chart-tooltip-row span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.chart-tooltip-row i {
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
}

.chart-tooltip-row b {
  color: #35423c;
  font-size: 11px;
}

.rank-row:last-child {
  border-bottom: none;
}

.rank-no {
  width: 32px;
  font-size: 14px;
  font-weight: 700;
  color: #9ca3af;
}

.rank-no.top { color: #2d8a56; }

.rank-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  margin-right: 12px;
}

.rank-info {
  flex: 1;
}

.rank-info b {
  display: block;
  font-size: 14px;
}

.rank-info small {
  font-size: 12px;
  color: #9ca3af;
}

.rank-score {
  font-size: 16px;
  font-weight: 700;
  color: #1d1d1f;
}

/* 数据表格 */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 16px 10px 0;
  border-bottom: 2px solid #f3f4f6;
}

.data-table td {
  padding: 14px 16px 14px 0;
  font-size: 14px;
  border-bottom: 1px solid #f8f9fa;
  color: #374151;
}

.data-table td:last-child,
.data-table th:last-child {
  padding-right: 0;
  text-align: right;
}

.data-table .score-highlight {
  font-weight: 700;
  color: #2d8a56;
}

.data-table .name-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.data-table .name-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.section-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* 响应式 */
@media (max-width: 900px) {
  .sidebar {
    width: 170px;
    padding: 20px 12px;
  }
  .main-content {
    margin-left: 170px;
    width: calc(100% - 170px);
    padding: 24px 20px;
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid.two-col {
    grid-template-columns: 1fr;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .solution-score-map,
  .duty-score-map {
    grid-template-columns: 1fr;
  }
  .bonus-score-grid,
  .customer-score-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workload-row {
    grid-template-columns: 34px 100px minmax(100px, 1fr) 90px;
  }
  .workload-status {
    display: none;
  }
}

@media (max-width: 600px) {
  .sidebar {
    width: 60px;
    padding: 16px 8px;
  }
  .brand-copy,
  .sidebar-info {
    display: none;
  }
  .overview-team-card {
    min-width: 0;
    padding: 8px 10px;
  }
  .overview-title-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
  .overview-slogan {
    font-size: 10px;
  }
  .brand-block {
    justify-content: center;
    padding: 0 0 16px;
  }
  .main-content {
    margin-left: 60px;
    width: calc(100% - 60px);
    padding: 16px;
  }
  .nav-btn {
    padding: 10px 4px;
    font-size: 12px;
    text-align: center;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .framework-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .framework-head p {
    text-align: left;
  }
  .bonus-score-grid,
  .customer-score-grid {
    grid-template-columns: 1fr;
  }
  .workload-row {
    grid-template-columns: 32px 1fr 72px;
  }
  .workload-track {
    grid-column: 2 / 4;
  }
}
