.data-wash {
  padding-bottom: 8px;
}
.data-wash .hd-row { align-items: flex-end; }
.data-hd {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.data-hd::-webkit-scrollbar { display: none; }
.data-hd button {
  flex-shrink: 0;
  font-size: 16px;
  color: #8E8E93;
  font-weight: 500;
  padding: 0 8px 2px 0;
  white-space: nowrap;
}
.data-hd button.on {
  font-size: 22px;
  color: #1C1C1E;
  font-weight: 700;
  letter-spacing: .02em;
}
.data-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #fff;
  font-size: 13px;
  color: #3A3A3C;
  border-bottom: .5px solid var(--line);
}
.data-bar .dd { display: flex; align-items: center; gap: 4px; cursor: pointer; }

.panel { display: none; padding: 0 0 16px; }
.panel.on { display: block; }

.mgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.mgrid .mi {
  padding: 8px 8px 12px 4px;
}
.mgrid .mi .lab {
  font-size: 12px;
  color: #6E6E73;
  display: flex; align-items: center; gap: 4px;
}
.mgrid .mi .lab i {
  width: 12px; height: 12px; color: #C7C7CC;
  display: grid; place-items: center;
}
.mgrid .mi b {
  display: block;
  font-size: 20px;
  font-weight: 700;
  margin: 6px 0 4px;
  letter-spacing: -.03em;
}
.mgrid .mi .cmp {
  font-size: 11px;
  color: var(--muted);
}
.mgrid .mi .cmp.up { color: var(--ok); }
.mgrid .mi .cmp.dn { color: var(--down); }

.chart-h {
  display: flex; align-items: center;
  font-size: 13px; font-weight: 650;
  margin: 4px 0 8px;
}
.chart-h span { font-weight: 400; color: var(--muted); font-size: 11px; margin-left: 6px; }

.seg {
  display: flex;
  background: #F3F0FA;
  border-radius: 8px;
  padding: 3px;
  margin-bottom: 12px;
}
.seg button {
  flex: 1;
  height: 28px;
  border-radius: 6px;
  font-size: 12px;
  color: #6E6E73;
  font-weight: 500;
}
.seg button.on {
  background: #fff;
  color: var(--p);
  font-weight: 650;
  box-shadow: 0 1px 3px rgba(40,20,80,.08);
}

.tip {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: #EEF6FF;
  color: #4A6FA0;
  font-size: 12px;
  line-height: 1.45;
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 12px;
}
.tip b { color: #3D6AA8; }

.funnel { padding: 8px 4px 4px; }
.funnel .row {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 6px;
}
.funnel .bar {
  height: 28px;
  border-radius: 4px;
  display: flex; align-items: center;
  padding: 0 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}
.legend {
  display: flex; gap: 14px;
  font-size: 11px; color: var(--muted);
  margin: 0 0 8px;
}
.legend i {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 2px;
  margin-right: 4px;
}

.inner-tabs {
  display: flex; gap: 18px;
  border-bottom: .5px solid var(--line);
  margin-bottom: 12px;
}
.inner-tabs button {
  font-size: 14px; color: var(--muted);
  padding: 0 0 8px; position: relative;
}
.inner-tabs button.on { color: var(--p); font-weight: 650; }
.inner-tabs button.on::after {
  content: "";
  position: absolute; left: 20%; right: 20%; bottom: 0;
  height: 3px; background: var(--p); border-radius: 2px;
}

.staff-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
}
.staff-row .face {
  width: 36px; height: 36px; border-radius: 50%;
  background: #EEE8FF center/cover;
}
.staff-row h4 { font-size: 14px; }
.staff-row p { font-size: 11px; color: var(--muted); margin-top: 2px; }
.staff-row .grow { flex: 1; min-width: 0; }
.barline {
  height: 6px; background: #F0EEF6; border-radius: 4px; overflow: hidden; margin-top: 6px;
}
.barline i { display: block; height: 100%; background: var(--p); border-radius: 4px; }
