.view-sales-clue-list {
  max-width: none;
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100dvh;
  overflow: hidden;
  background: #f2f2f7;
  display: none;
  flex-direction: column;
}

.view-sales-clue-list.active {
  display: flex;
}

.sales-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #fff;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.sales-back-btn {
  min-width: 40px;
  font-size: 20px;
  padding: 6px 10px;
}

.sales-top-title {
  flex: 1;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: #1c1c1e;
}

.sales-tab-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #e3e3e8;
  margin: 12px 12px 0;
  padding: 4px;
  border-radius: 12px;
  gap: 2px;
  flex-shrink: 0;
}

.sales-tab-bar-4 {
  grid-template-columns: repeat(4, 1fr);
}

.sales-tab {
  border: none;
  background: transparent;
  border-radius: 10px;
  padding: 10px 2px;
  font-size: 12px;
  color: #8e8e93;
  font-weight: 600;
  cursor: pointer;
}

.sales-tab.on {
  background: #fff;
  color: #1c1c1e;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sales-search-row {
  padding: 10px 12px;
  background: #f2f2f7;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sales-search-row input[type="search"] {
  width: 100%;
  box-sizing: border-box;
  border: none;
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
}

.sales-date-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sales-date-row input[type="date"] {
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
  border: none;
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  color: #1c1c1e;
}

.sales-date-sep {
  flex-shrink: 0;
  font-size: 12px;
  color: #8e8e93;
}

.sales-date-reset {
  flex-shrink: 0;
  border: none;
  background: #e8f1ff;
  color: #007aff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}

.sales-date-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sales-date-query {
  flex: 1;
  border: none;
  background: #007aff;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}

.sales-date-query:active {
  opacity: 0.85;
}

.sales-date-range-label {
  font-size: 12px;
  color: #007aff;
  font-weight: 600;
  padding: 0 2px;
}

.sales-biz-filter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background: #e3e3e8;
  padding: 4px;
  border-radius: 12px;
}

.sales-biz-filter.is-following {
  grid-template-columns: repeat(5, 1fr);
}

.sales-biz-filter[hidden] {
  display: none !important;
}

.sales-biz-btn-noreply[hidden] {
  display: none !important;
}

.sales-biz-btn {
  border: none;
  background: transparent;
  border-radius: 10px;
  padding: 8px 4px;
  font-size: 13px;
  font-weight: 600;
  color: #8e8e93;
  cursor: pointer;
}

.sales-biz-btn.on {
  background: #fff;
  color: #1c1c1e;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sales-biz-btn:active {
  opacity: 0.8;
}

.sales-swipe-wrap {
  flex: 1;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* 允许子列表竖滑；仅限制横向滑动区本身的过度滚动穿透 */
  touch-action: pan-x pan-y;
  overscroll-behavior: contain;
}

.sales-swipe-wrap::-webkit-scrollbar {
  display: none;
}

.sales-swipe-track {
  display: flex;
  height: 100%;
  min-height: 0;
}

.sales-swipe-panel {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

.sales-panel-head {
  padding: 14px 16px 8px;
  flex-shrink: 0;
}

.sales-panel-title {
  font-size: 18px;
  font-weight: 800;
  color: #1c1c1e;
  margin-bottom: 6px;
}

.sales-panel-hint {
  font-size: 13px;
  color: #8e8e93;
  line-height: 1.45;
}

.sales-panel-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  padding: 8px 12px 24px;
}

.sales-clue-card {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.sales-clue-card.is-new {
  border-left: 4px solid #ff9500;
}

.sales-clue-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.sales-clue-status {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f2f2f7;
  color: #636366;
}

.sales-clue-status.new { background: #fff4e5; color: #ff9500; }
.sales-clue-status.following { background: #ebf5ff; color: #007aff; }
.sales-clue-status.completed { background: #e8f8ed; color: #34c759; }
.sales-clue-status.cancelled { background: #f2f2f7; color: #8e8e93; }

.sales-clue-type {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #f2f2f7;
  color: #666;
}

.sales-clue-type.sourcing { background: #fff0f3; color: #ff2d55; }
.sales-clue-type.inspection { background: #e8f8ed; color: #34c759; }

.sales-clue-time {
  margin-left: auto;
  font-size: 11px;
  color: #8e8e93;
}

.sales-clue-name {
  font-size: 18px;
  font-weight: 700;
  color: #1c1c1e;
  margin-bottom: 6px;
}

.sales-clue-business-note {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 7px 0;
  padding: 7px 9px;
  border-left: 3px solid #1687ff;
  border-radius: 7px;
  background: rgba(22, 135, 255, .08);
  color: #344054;
  font-size: 13px;
  line-height: 1.45;
}

.sales-clue-business-note > span {
  display: inline-block;
  margin-right: 6px;
  color: #0876df;
  font-size: 11px;
  font-weight: 600;
}

.sales-clue-car,
.sales-clue-intent,
.sales-clue-note {
  font-size: 13px;
  color: #636366;
  margin-bottom: 4px;
}

.sales-clue-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  color: #333;
  margin-top: 8px;
}

.sales-copy-btn,
.sales-follow-btn,
.sales-transfer-btn {
  border: none;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.sales-copy-btn {
  background: #f2f2f7;
  color: #007aff;
}

.sales-follow-btn {
  margin-top: 0;
  flex: 1;
  background: #007aff;
  color: #fff;
  padding: 10px;
  font-size: 14px;
}

.sales-clue-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.sales-transfer-btn {
  flex: 1;
  background: #f2f2f7;
  color: #333;
  padding: 10px;
  font-size: 14px;
}

.sales-empty {
  text-align: center;
  color: #8e8e93;
  padding: 48px 16px;
  font-size: 14px;
  background: #fff;
  border-radius: 14px;
}

.sales-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 4px 4px;
}

.sales-pager-btn {
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  background: #fff;
  color: #007aff;
  cursor: pointer;
  border: 0.5px solid rgba(0, 0, 0, 0.06);
}

.sales-pager-btn:disabled {
  color: #c7c7cc;
  cursor: default;
}

.sales-pager-info {
  font-size: 12px;
  color: #8e8e93;
  text-align: center;
}
