
/* ===== 销售看板 · 移动端 ===== */
.dash-page { min-height: 100%; padding-bottom: 8px; }
.dash-sticky { position: sticky; top: 0; z-index: 30; background: #f7f7f7; padding-bottom: 8px; }
.dash-update { font-size: 11px; color: var(--wx-text-secondary); padding: 8px 12px 4px; }
.dash-metrics-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 0 12px 8px; }
.dash-metrics-scroll::-webkit-scrollbar { display: none; }
.dash-metrics { display: flex; gap: 8px; min-width: min-content; }
.dash-metric {
  min-width: 88px; flex-shrink: 0; background: #fff; border: 1px solid #eee; border-radius: 12px;
  padding: 10px 12px; text-align: left; cursor: pointer; font-family: inherit;
}
.dash-metric.static { cursor: default; }
.dash-metric.active { border-color: var(--wx-blue); background: #eef4ff; }
.dash-metric-label { font-size: 11px; color: var(--wx-text-secondary); margin-bottom: 4px; white-space: nowrap; }
.dash-metric-value { font-size: 18px; font-weight: 700; color: var(--wx-text); line-height: 1.2; }
.dash-subtabs { display: flex; gap: 0; margin: 0 12px 8px; background: #fff; border-radius: 10px; padding: 3px; border: 1px solid #eee; }
.dash-subtab {
  flex: 1; border: none; background: none; padding: 8px 6px; font-size: 12px; border-radius: 8px;
  color: var(--wx-text-secondary); cursor: pointer; font-family: inherit; white-space: nowrap;
}
.dash-subtab.active { background: var(--wx-blue); color: #fff; font-weight: 600; }
.dash-toolbar { display: flex; gap: 8px; padding: 0 12px 8px; align-items: center; }
.dash-search {
  flex: 1; min-width: 0; border: 1px solid #e5e5e5; border-radius: 10px; padding: 10px 12px;
  font-size: 13px; background: #fff; font-family: inherit; outline: none;
}
.dash-tool-btn, .dash-sort {
  flex-shrink: 0; border: 1px solid #e5e5e5; background: #fff; border-radius: 10px;
  padding: 10px 12px; font-size: 12px; font-family: inherit; color: var(--wx-text);
}
.dash-filter-chips { display: flex; gap: 6px; overflow-x: auto; padding: 0 12px 8px; }
.dash-filter-chip {
  flex-shrink: 0; font-size: 11px; background: #eef4ff; color: var(--wx-blue); border-radius: 14px;
  padding: 4px 8px 4px 10px; white-space: nowrap;
}
.dash-filter-chip button { border: none; background: none; color: inherit; cursor: pointer; margin-left: 4px; }
.dash-list { padding: 0 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.dash-card {
  position: relative; background: #fff; border-radius: 12px; padding: 14px 36px 14px 14px;
  border: 1px solid #eee; cursor: pointer; transition: var(--transition);
}
.dash-card:active { background: #fafafa; }
.dash-card-row1 { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.dash-card-title { font-size: 15px; font-weight: 600; color: var(--wx-text); }
.dash-card-title-block { font-size: 14px; font-weight: 600; margin-bottom: 6px; line-height: 1.4; }
.dash-card-row2 { font-size: 12px; color: var(--wx-text-secondary); margin-bottom: 4px; line-height: 1.4; }
.dash-card-row3 { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--wx-text); margin-top: 4px; flex-wrap: wrap; }
.dash-card-muted { color: var(--wx-text-secondary); }
.dash-card-highlight { color: #e65100; font-weight: 600; }
.dash-card-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0; }
.dash-card-arrow { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #ccc; font-size: 18px; }
.dash-card-foot { font-size: 12px; color: var(--wx-blue); margin-top: 6px; }
.dash-tag { font-size: 10px; padding: 2px 6px; border-radius: 4px; background: #f0f0f0; color: #666; }
.dash-tag-more { background: #e8e8e8; }
.dash-status { font-size: 11px; padding: 2px 8px; border-radius: 10px; font-weight: 600; white-space: nowrap; }
.dash-status-success { background: #e8f5e9; color: #2e7d32; }
.dash-status-info { background: #e3f2fd; color: #1565c0; }
.dash-status-warning { background: #fff3e0; color: #e65100; }
.dash-status-danger { background: #ffebee; color: #c62828; }
.dash-status-muted { background: #f5f5f5; color: #888; }
.dash-grade { font-size: 11px; color: var(--wx-blue); font-weight: 600; }
.dash-segments { display: flex; gap: 6px; padding: 0 12px 8px; overflow-x: auto; }
.dash-segment {
  flex-shrink: 0; border: 1px solid #e5e5e5; background: #fff; border-radius: 20px;
  padding: 8px 14px; font-size: 12px; cursor: pointer; font-family: inherit;
}
.dash-segment.active { background: var(--wx-blue); color: #fff; border-color: var(--wx-blue); }
.dash-hero-card {
  margin: 0 12px 10px; padding: 16px; background: linear-gradient(135deg, #267ef0, #5cadff);
  border-radius: 14px; color: #fff;
}
.dash-hero-label { font-size: 12px; opacity: .9; margin-bottom: 6px; }
.dash-hero-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.dash-hero-amount { font-size: 26px; font-weight: 700; }
.dash-hero-trend { font-size: 13px; font-weight: 600; }
.dash-hero-trend.up { color: #b9f6ca; }
.dash-hero-meta { font-size: 12px; opacity: .92; display: flex; gap: 16px; margin-top: 4px; flex-wrap: wrap; }
.dash-breadcrumb {
  display: flex; gap: 4px; align-items: center; padding: 8px 12px; font-size: 12px;
  color: var(--wx-text-secondary); overflow-x: auto; white-space: nowrap;
}
.dash-breadcrumb.scroll-x { -webkit-overflow-scrolling: touch; }
.dash-breadcrumb span:not(.current) { color: var(--wx-blue); cursor: pointer; }
.dash-breadcrumb .current { color: var(--wx-text); font-weight: 600; }
.dash-empty { text-align: center; padding: 40px 20px; font-size: 13px; color: var(--wx-text-secondary); line-height: 1.6; }
.dash-empty-link { display: block; margin-top: 8px; border: none; background: none; color: var(--wx-blue); font-size: 13px; cursor: pointer; font-family: inherit; }
.dash-load-more { text-align: center; padding: 12px; font-size: 13px; color: var(--wx-blue); cursor: pointer; }
.dash-chips-row { display: flex; gap: 6px; padding: 0 0 10px; overflow-x: auto; }
.dash-chip {
  flex-shrink: 0; border: 1px solid #e5e5e5; background: #fff; border-radius: 16px;
  padding: 6px 12px; font-size: 12px; cursor: pointer; font-family: inherit;
}
.dash-chip.active { background: var(--wx-blue); color: #fff; border-color: var(--wx-blue); }
.dash-todo-header { display: flex; align-items: center; gap: 8px; padding: 8px 12px 0; }
.dash-todo-header .flex-1 { flex: 1; min-width: 0; }
.dash-add-btn {
  flex-shrink: 0; border: none; background: var(--wx-blue); color: #fff; border-radius: 10px;
  padding: 8px 12px; font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; min-height: 44px;
}
.dash-card-actions { display: flex; gap: 8px; margin-top: 8px; }
.dash-mini-btn {
  border: 1px solid #e5e5e5; background: #fff; border-radius: 8px; padding: 6px 12px;
  font-size: 12px; cursor: pointer; font-family: inherit;
}
.dash-mini-btn.primary { background: var(--wx-blue); color: #fff; border-color: var(--wx-blue); }
.mp-sheet-filter { height: 70%; }
.mp-filter-footer { display: flex; gap: 10px; }
.mp-filter-footer .mp-detail-action { flex: 1; }
.filter-group { margin-bottom: 16px; }
.filter-group-title { font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--wx-text); }
.filter-options { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-opt {
  border: 1px solid #e5e5e5; background: #fff; border-radius: 8px; padding: 8px 12px;
  font-size: 12px; cursor: pointer; font-family: inherit;
}
.dash-hero-mom { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.dash-hero-mom-label { font-size: 11px; opacity: .85; }
.dash-hero-trend.down { color: #ffcdd2; }
.dash-mom-inline { font-size: 12px; white-space: nowrap; }
.dash-mom-label { color: var(--wx-text-secondary); font-size: 11px; }
.dash-todo-task-metrics,
.dash-todo-opp-metrics { padding: 0 0 10px; margin: 0 -12px; padding-left: 12px; }
.dash-todo-task-metrics .dash-metric,
.dash-todo-opp-metrics .dash-metric { min-width: 72px; }
.dash-opp-stage-tabs { margin: 0 0 10px; flex-wrap: wrap; }
.dash-opp-stage-tabs .dash-subtab { flex: 1 1 auto; min-width: 0; font-size: 11px; padding: 8px 4px; }
