/* ============================================
   GOUP 家长看板样式
   移动端优先 (375px 基准)
   ============================================ */

.parent-reports-page {
  padding-bottom: 80px;
  max-width: 600px;
  margin: 0 auto;
}

.pr-header {
  padding: 20px 16px 12px;
}
.pr-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
}
.pr-date {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ─── 孩子卡片 ─── */
.pr-children {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 12px;
}

.pr-child-card {
  background: var(--color-bg-card, #fff);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.pr-child-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.pr-child-name {
  font-size: 18px;
  font-weight: 700;
}
.pr-child-grade {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.pr-child-progress-ring {
  position: relative;
  width: 56px;
  height: 56px;
}
.pr-progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-primary);
}

/* ─── 今日统计 ─── */
.pr-today-stats {
  display: flex;
  justify-content: space-around;
  padding: 10px 0 14px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 10px;
}
.pr-stat {
  text-align: center;
}
.pr-stat-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
}
.pr-stat-label {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 2px;
  display: block;
}
.pr-trend {
  font-size: 16px;
  font-weight: 600;
}

/* ─── 任务行 ─── */
.pr-tasks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pr-task-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.pr-task-row:last-child {
  border-bottom: none;
}
.pr-task-done { font-size: 18px; }
.pr-task-pending { font-size: 18px; }

.pr-task-info {
  flex: 1;
  min-width: 0;
}
.pr-task-time {
  font-size: 11px;
  color: var(--color-text-muted);
}
.pr-task-name {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pr-task-meta {
  text-align: right;
  flex-shrink: 0;
}
.pr-task-detail {
  font-size: 11px;
  color: var(--color-text-muted);
  display: block;
}
.pr-task-pts {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-family);
}

/* ─── 告警 ─── */
.pr-alerts {
  padding-top: 10px;
}
.pr-alert {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 6px;
}
.pr-alert-warn {
  background: #FFF8E1;
  color: #F57F17;
}
.pr-alert-danger {
  background: #FFEBEE;
  color: #C62828;
}
.pr-alert-ok {
  color: var(--color-family);
  font-weight: 500;
}

.pr-verify-btn {
  width: auto;
  display: inline-flex;
}

/* ─── 底部操作 ─── */
.pr-actions {
  padding: 16px 12px;
}
