.consume-container { padding: 10px; box-sizing: border-box; background: #f5f5f5; }
.record-list { display: flex; flex-direction: column; gap: 10px; }
.record-card {
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  box-sizing: border-box;
  border: 1px solid #f0f0f0;
}

/* 第一行：两端对齐，防挤压 */
.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.top-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 1;
  min-width: 0;
}
.type-tag {
  font-size: 13px;
  color: #1989fa;
  background: #ecf5ff;
  padding: 1px 5px;
  border-radius: 4px;
  flex-shrink: 0;
}
.date-text {
  font-size: 13px;
  color: #333;
  flex-shrink: 0;
}
.amount-wrap {
  flex-shrink: 0;
  text-align: right;
  margin-left: 8px;
}
.amount-text {
  font-size: 15px;
  font-weight: bold;
  color: #f56c6c;
  white-space: nowrap;
}
.amount-text.zero {
  color: #bbb;
  font-weight: normal;
}

/* 第二行：强制独立，长文本自然折行 */
.project-text {
  font-size: 12px;
  color: #555;
  line-height: 1.5;
  margin-top: 6px;
  word-break: break-all;
  white-space: normal;
  text-align: left;
}
.project-text.no-project {
  color: #999;
  text-align: right;
  margin-top: 4px;
}

.empty-tip {
  text-align: center;
  color: #9ca3af;
  padding: 20px 0;
  font-size: 13px;
}