/* Beta 1.21: weekly goals and a compact 28-day activity calendar. */
.health-weekly{background:linear-gradient(145deg,var(--health-soft),var(--trip-surface));border-color:var(--health-border)}
.health-weekly summary,.health-calendar summary{cursor:pointer;min-height:44px;align-items:center;line-height:1.3}
.health-weekly summary>span,.health-calendar summary>span{font-size:19px;font-weight:800;color:var(--health-text)}
.health-weekly summary>strong,.health-calendar summary>strong{font-size:13px;font-weight:800;color:var(--health-green);text-align:right}
.health-weekly:not([open]),.health-calendar:not([open]){padding-top:12px;padding-bottom:12px}
.health-weekly .health-mission.earned{background:#d6f2e3}
.health-calendar{margin:20px 0;padding:16px;border:1px solid var(--health-border);border-radius:18px;background:var(--trip-surface);color:var(--health-text)}
.health-calendar h3{margin:0;font-size:20px}
.health-calendar .health-missions-heading span{font-size:13px;font-weight:800;color:var(--health-green)}
.health-calendar>p.trip-muted{margin:5px 0 13px;font-size:13px;line-height:1.45}
.health-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.health-sheet .health-calendar-day{display:grid;place-items:center;aspect-ratio:1;min-width:0;min-height:38px;padding:0!important;border:1px solid var(--health-border)!important;border-radius:11px;background:var(--health-soft)!important;color:var(--health-text)!important;font-size:14px;font-weight:800;box-shadow:none}
.health-sheet .health-calendar-day.empty{color:var(--health-muted)!important;opacity:.75}
.health-sheet .health-calendar-day.walk{background:#caead6!important;color:#124934!important}
.health-sheet .health-calendar-day.bike{background:#cdeafa!important;color:#134765!important}
.health-sheet .health-calendar-day.mixed{background:#d9d2f6!important;color:#413679!important}
.health-sheet .health-calendar-day.drive{background:#e8e5dc!important;color:#4e4c46!important}
.health-sheet .health-calendar-day[aria-pressed="true"]{outline:3px solid var(--health-green);outline-offset:2px}
.health-calendar-detail{margin:14px 0 0;padding:12px;border-radius:12px;background:var(--health-soft);font-size:14px;line-height:1.5;color:var(--health-text)}
body.ui-dark .health-weekly .health-mission.earned{background:#1a4c3b}
body.ui-dark .health-sheet .health-calendar-day.walk{background:#245a42!important;color:#e0ffed!important}
body.ui-dark .health-sheet .health-calendar-day.bike{background:#234e69!important;color:#e5f6ff!important}
body.ui-dark .health-sheet .health-calendar-day.mixed{background:#443d6b!important;color:#f0eaff!important}
body.ui-dark .health-sheet .health-calendar-day.drive{background:#464b4e!important;color:#f0f3f4!important}
body.ui-dark .health-sheet .health-calendar-day[aria-pressed="true"]{outline-color:#96e9b8}
@media(max-width:400px){.health-calendar-grid{gap:4px}.health-sheet .health-calendar-day{min-height:36px;border-radius:9px}}
