/* 经营效率移动壳 — 在途跟进 */
.m-eff-app {
  padding-bottom: calc(16px + var(--m-safe-bottom));
}

.m-eff-toolbar {
  margin: -4px 0 12px;
}

.m-eff-search {
  width: 100%;
  border: 1px solid var(--m-border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 15px;
  background: var(--m-surface);
}

.m-eff-meta {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--m-muted);
}

.m-eff-card__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
}

.m-eff-card__stage {
  font-size: 13px;
  font-weight: 600;
  color: #b45309;
  line-height: 1.4;
}

.m-eff-card__amount {
  font-size: 14px;
  font-weight: 700;
  color: var(--m-text);
  white-space: nowrap;
}

.m-eff-card__dots {
  display: flex;
  gap: 4px;
  margin-top: 10px;
}

.m-eff-dot {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: #e2e8f0;
}

.m-eff-dot--done {
  background: #10b981;
}

.m-eff-dot--active {
  background: #f59e0b;
}

.m-eff-dot--na {
  background: transparent;
  border: 1px dashed #cbd5e1;
}

.m-eff-hero__type {
  font-size: 12px;
  font-weight: 700;
  color: var(--m-brand);
}

.m-eff-hero__number {
  font-size: 18px;
  font-weight: 700;
  margin: 4px 0 8px;
  word-break: break-all;
}

.m-eff-hero__status {
  display: inline-block;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
}

.m-eff-kv {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 6px 10px;
  font-size: 14px;
  line-height: 1.45;
}

.m-eff-kv dt {
  margin: 0;
  color: var(--m-muted);
}

.m-eff-kv dd {
  margin: 0;
  word-break: break-word;
}

.m-eff-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.m-eff-step {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  padding-bottom: 14px;
  position: relative;
}

.m-eff-step:last-child {
  padding-bottom: 0;
}

.m-eff-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 20px;
  bottom: 0;
  width: 2px;
  background: #e2e8f0;
}

.m-eff-step--done:not(:last-child)::before {
  background: #86efac;
}

.m-eff-step__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: var(--m-surface);
  margin-top: 2px;
  position: relative;
  z-index: 1;
}

.m-eff-step--done .m-eff-step__dot {
  border-color: #10b981;
  background: #10b981;
}

.m-eff-step--active .m-eff-step__dot {
  border-color: #f59e0b;
  background: #fff7ed;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.m-eff-step--na .m-eff-step__dot {
  border-style: dashed;
  opacity: 0.45;
}

.m-eff-step__name {
  font-size: 14px;
  font-weight: 600;
}

.m-eff-step__dur {
  font-size: 13px;
  color: var(--m-muted);
  margin-top: 2px;
}

.m-eff-step--active .m-eff-step__name {
  color: #b45309;
}

.m-eff-step--active .m-eff-step__dur {
  color: #b45309;
  font-weight: 600;
}

.m-eff-summary {
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
