/* views/assets/css/task.css —— 查这一单的账·蓝靛页专用 */

.task-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: baseline; }
.task-head .id { font-family: var(--sans); font-weight: 600; font-size: 18px; }
.task-head .meta { color: var(--sec); font-size: 14px; }
.pill {
  display: inline-block;
  background: #eef2ff;
  color: var(--brand);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 13px;
}

.search-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }

/* 状态时间线 */
.timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 8px 0 4px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.step {
  flex: 1;
  min-width: 110px;
  text-align: center;
  padding: 12px 6px;
  font-size: 13px;
  color: var(--weak);
  background: var(--panel2);
  border-right: 1px solid var(--border);
  position: relative;
}
.step:last-child { border-right: none; }
.step.done { color: var(--text); background: var(--green-bg); }
.step.current { color: #fff; background: var(--brand); font-weight: 600; }
.step .dot { display: block; font-size: 11px; margin-bottom: 4px; opacity: .8; }

/* 分账行 */
.ledger-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
  background: var(--panel2);
}
.ledger-row .who { color: var(--sec); font-size: 13px; }
.ledger-row .amt { font-weight: 600; font-size: 16px; }
.ledger-row.platform { background: var(--amber-bg); }
.ledger-row.worker { background: var(--green-bg); }
.ledger-row.dest { background: #eef2ff; }

.sign-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

@media (max-width: 720px) {
  .timeline .step { min-width: 90px; font-size: 12px; }
}
