/* ============ 数据组 · 月度报告 ============ */
.data-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 42px 20px 70px;
}

/* ---------- Hero ---------- */
.data-hero {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 34px 30px 30px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, .28), transparent 48%),
    linear-gradient(135deg, #ff8fab 0%, #f0416f 62%, #d92e5c 100%);
  box-shadow: 0 20px 46px rgba(240, 65, 111, .26);
}
.data-kicker {
  font-size: 11px;
  letter-spacing: 2.4px;
  opacity: .86;
}
.data-hero h1 {
  margin: 10px 0 8px;
  font-size: 34px;
  letter-spacing: 2px;
  font-weight: 800;
}
.data-hero p { margin: 0; font-size: 13.5px; opacity: .92; }

/* ---------- 筛选 ---------- */
.data-filters { margin: 28px 0 6px; }
.filter-label {
  font-size: 12px;
  color: #a48b94;
  letter-spacing: .5px;
  margin: 16px 2px 9px;
}
.group-chips,
.month-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  border: 1px solid #ffe0e9;
  background: #fff;
  color: #7a6a70;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  line-height: 1;
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
}
.chip:hover { border-color: #ffb3c9; color: #f0416f; }
.chip.active {
  background: linear-gradient(135deg, #ff8fab, #f0416f);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px rgba(240, 65, 111, .26);
}
.chip .chip-icon { margin-right: 4px; }

.report-count {
  margin: 22px 2px 12px;
  font-size: 12px;
  color: #a48b94;
}

/* ---------- 报告卡片 ---------- */
.report-list { display: flex; flex-direction: column; gap: 16px; }

.month-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 2px -2px;
}
.month-divider h2 {
  margin: 0;
  font-size: 20px;
  color: #4a3b41;
  letter-spacing: .5px;
}
.month-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #ffd6e2, transparent);
}

.report-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 20px 22px 18px;
  box-shadow: 0 10px 26px rgba(240, 65, 111, .09);
  border: 1px solid #fff0f4;
  overflow: hidden;
}
.report-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #ff8fab, #f0416f);
}
.report-card.sale::before {
  background: linear-gradient(180deg, #ffcf7a, #f5a623);
}

.report-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 9px;
}
.group-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #f0416f;
  background: #fff1f5;
  border-radius: 8px;
  padding: 5px 9px;
  font-weight: 600;
}
.kind-badge {
  font-size: 11.5px;
  padding: 5px 9px;
  border-radius: 8px;
  background: #ffe8ee;
  color: #d92e5c;
}
.kind-badge.sale { background: #fff4e0; color: #c97f10; }
.month-badge {
  font-size: 11.5px;
  color: #a48b94;
  margin-left: auto;
}
.month-badge.pin {
  margin-left: 0;
  padding: 5px 9px;
  border-radius: 8px;
  font-size: 11.5px;
  color: #b3123f;
  background: #ffe3ec;
  font-weight: 700;
}
.month-badge.popup {
  margin-left: 0;
  padding: 5px 9px;
  border-radius: 8px;
  font-size: 11.5px;
  color: #a05c00;
  background: #fff1d6;
}

.report-title {
  margin: 0 0 8px;
  font-size: 17px;
  color: #3f3136;
  line-height: 1.45;
}
.report-body {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: #6f5d63;
  white-space: pre-wrap;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.report-body.expanded { -webkit-line-clamp: unset; display: block; }
.body-toggle {
  border: 0;
  background: none;
  color: #f0416f;
  font-size: 12.5px;
  padding: 6px 0 0;
  cursor: pointer;
}

.report-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.report-photos button {
  padding: 0;
  border: 0;
  background: #ffe3ec;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: zoom-in;
}
.report-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.report-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #ff8fab, #f0416f);
  box-shadow: 0 6px 16px rgba(240, 65, 111, .22);
}
.report-link.sale { background: linear-gradient(135deg, #ffcf7a, #f5a623); box-shadow: 0 6px 16px rgba(245, 166, 35, .24); }

/* ---------- 空状态 ---------- */
.report-empty {
  text-align: center;
  padding: 60px 20px;
  color: #a48b94;
  background: #fff8fa;
  border: 1.5px dashed #ffd6e2;
  border-radius: 22px;
  margin-top: 18px;
}
.report-empty span { font-size: 34px; display: block; margin-bottom: 10px; }
.report-empty p { margin: 0; font-size: 13px; }

/* ---------- 图片预览 ---------- */
.data-lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: rgba(24, 8, 16, .93);
}
.data-lightbox[hidden] { display: none; }
.data-lightbox img {
  max-width: 100%;
  max-height: 74vh;
  border-radius: 14px;
  object-fit: contain;
}
.data-lightbox-bar { display: flex; gap: 10px; }
.data-lightbox-bar a,
.data-lightbox-bar button {
  border: 0;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13px;
  color: #fff;
  background: rgba(255, 255, 255, .18);
  text-decoration: none;
  cursor: pointer;
}
.data-lightbox-bar a { background: #f0416f; }

/* ---------- 每日任务栏 ---------- */
.task-board {
  margin-top: 22px;
  padding: 22px 24px 20px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 214, 226, .55), transparent 55%),
    #fff;
  border: 1px solid #ffe3ec;
  box-shadow: 0 12px 30px rgba(240, 65, 111, .1);
}
.task-board-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.task-board-kicker {
  font-size: 10.5px;
  letter-spacing: 2px;
  color: #d98aa3;
}
.task-board-title {
  margin: 0;
  font-size: 19px;
  color: #3f3136;
  letter-spacing: .5px;
}
.task-board-top { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.task-board-top:empty { display: none; }
.task-banner {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 16px;
  background: #fff5f8;
  cursor: zoom-in;
}
.task-file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid #ffd6e2;
  background: #fff7fa;
  color: #d92e5c;
  font-size: 12.5px;
  text-decoration: none;
}
.task-file:hover { border-color: #ff9dbb; }
.task-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  padding: 9px 17px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #ff8fab, #f0416f);
  box-shadow: 0 6px 16px rgba(240, 65, 111, .22);
}
.task-guide {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff8fa;
  border: 1px dashed #ffd6e2;
  font-size: 13px;
  line-height: 1.75;
  color: #6f5d63;
  white-space: pre-wrap;
  word-break: break-word;
}
.task-guide:empty { display: none; }
.task-list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.task-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 13px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #ffe7ee;
  text-decoration: none;
  color: inherit;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
a.task-item { cursor: pointer; }
a.task-item:hover {
  transform: translateY(-1px);
  border-color: #ffb3c9;
  box-shadow: 0 8px 20px rgba(240, 65, 111, .13);
}
.task-num {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff8fab, #f0416f);
}
.task-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.task-name { font-size: 14px; font-weight: 600; color: #3f3136; line-height: 1.4; }
.task-detail { font-size: 12.5px; color: #8a737b; line-height: 1.6; word-break: break-word; }
.task-go {
  flex: none;
  align-self: center;
  font-size: 11.5px;
  color: #f0416f;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .data-wrap { padding: 28px 14px 56px; }
  .data-hero { padding: 26px 20px 24px; border-radius: 22px; }
  .data-hero h1 { font-size: 27px; }
  .report-card { padding: 17px 16px 15px; border-radius: 18px; }
  .report-title { font-size: 15.5px; }
  .report-photos { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .task-board { padding: 18px 15px 16px; border-radius: 18px; }
  .task-board-title { font-size: 17px; }
  .task-banner { max-height: 220px; }
  .task-go { display: none; }
}
