/* 康养指数（wellness-index.html）专用样式；通用样式复用 /css/style.css */
.wellness-score-card {
  text-align: center;
  padding: 28px 22px 24px;
  margin: 16px 0 24px;
  border: 2px solid var(--gold);
}
.wellness-ring-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto;
}
.wellness-ring-wrap svg { display: block; }
.wellness-ring-num {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.wellness-ring-num b { font-size: 3.4rem; line-height: 1; color: var(--green-dark); }
.wellness-ring-num span { color: var(--muted); font-size: 1.05rem; margin-top: 6px; }
.wellness-score-note { margin-top: 14px; font-size: 1.15rem; line-height: 1.6; color: var(--muted); }
.wellness-no-data {
  margin-top: 14px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1.6;
}

.wellness-breakdown { margin-top: 8px; }
.wellness-dim { padding: 14px 0; border-top: 1px solid var(--border); }
.wellness-dim:first-child { border-top: none; }
.wellness-dim-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 1.15rem;
}
.wellness-dim-head b { color: var(--text); }
.wellness-dim-head .wellness-dim-score { color: var(--green-dark); font-weight: 700; white-space: nowrap; }
.wellness-dim-head .wellness-dim-score.na { color: var(--muted); font-weight: 400; }
.wellness-dim-bar {
  height: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-top: 8px;
  overflow: hidden;
}
.wellness-dim-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--gold));
  border-radius: 6px;
}
.wellness-dim-detail { margin: 8px 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.5; }

.wellness-trend-card { margin-top: 24px; }
.wellness-trend-toggle { display: flex; gap: 10px; margin: 12px 0 16px; }
.wellness-trend-toggle .btn { min-height: 48px; flex: 1; font-size: 1.1rem; }
.wellness-trend-toggle .btn.active { background: var(--green); color: #fff; border-color: var(--green); }
.wellness-chart { width: 100%; height: auto; display: block; }
.wellness-chart-empty {
  text-align: center;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.7;
  padding: 24px 0;
}

.wellness-disclaimer {
  margin-top: 24px;
  border: 2px solid var(--red);
  background: var(--red-bg);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
}
.wellness-disclaimer strong { color: var(--red); }

.wellness-login-card { text-align: center; padding: 36px 22px; }
.wellness-login-card p { font-size: 1.2rem; line-height: 1.7; }
