/* style.css —— 前台：克制、安静，与后台同一路数。变量见 ../tokens.css。 */
main { max-width: 640px; margin: 0 auto; padding: 20px 16px 48px; }
h1 { font-size: 20px; margin: 4px 0 6px; }
h2 { font-size: 15px; margin: 0 0 12px; }
.muted { color: var(--text-3); font-size: 13px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: var(--space-4); margin-top: var(--space-3); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); }
.card-head h2 { margin: 0; }
.nav { margin: 0 0 8px; font-size: 14px; }
.nav a { color: var(--text-2); }
.seg-label { font-size: 14px; color: var(--text-2); margin-right: var(--space-1); }
.notice { background: #f0f0f2; border-radius: var(--radius-control); padding: 10px 12px; font-size: 13px; color: var(--text-2); }
.chart-tip { font-size: 13px; color: var(--text-2); margin: 8px 0 0; min-height: 18px; }
/* 曲线上的点可点：手指点的是透明大圆，视觉上仍是小圆点。 */
#chart circle.hit { cursor: pointer; }
/* 今日温度在量表上的位置：冷暖渐变条 + 标记点，与后台打分滑块同一套颜色。 */
.hero-scale { position: relative; height: 8px; margin: 14px 8px 0; }
.hero-scale-track { height: 100%; border-radius: 4px; }
.hero-scale-marker { position: absolute; top: 50%; width: 16px; height: 16px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; border: 2px solid #8a8a8a; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.hero-scale-ends { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-3); margin: 4px 8px 0; }
.month-title { font-size: 14px; margin: 16px 0 4px; }
.month-title:first-child { margin-top: 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 6px 4px; border-bottom: 1px solid #eee; }
th { color: var(--text-3); font-weight: normal; font-size: 13px; }
.footnote { margin-top: 16px; line-height: 1.6; }
a { color: var(--ink); }
