.health-page{max-width:660px;margin:0 auto}.health-page [hidden]{display:none!important}.health-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.health-private{background:#e6ecdf;color:#345540;padding:7px 12px;border-radius:24px;font-size:.8rem}.health-task{background:#fff;padding:24px;border:1px solid var(--line);border-radius:24px;margin:20px 0}.health-task h2{font-size:1.55rem;margin:10px 0}.health-task p{line-height:1.75}.health-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 12px}.health-actions button{flex:1;min-height:48px}.health-actions .health-done{background:#315e45;color:#fff}.health-actions button[aria-pressed=true]{outline:3px solid #d2ad50;outline-offset:2px}.health-feedback{min-height:1.8em;color:var(--muted);line-height:1.6}.health-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.health-stat{padding:16px;background:#e8edde;border-radius:18px}.health-stat strong{display:block;font-size:1.8rem;margin:8px 0}.health-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:18px 0}.health-day{text-align:center;font-size:.8rem;color:var(--muted)}.health-day span{display:grid;place-items:center;width:36px;height:36px;margin:8px auto;background:#ecece3;border-radius:50%;font-size:1.1rem}.health-day.is-done span{background:#f5e6bf;color:#785712}.health-day.is-today span{outline:2px solid #62816a;outline-offset:2px}.health-progress{height:8px;border-radius:8px;background:#e0e6da;overflow:hidden;margin:14px 0}.health-progress span{display:block;background:#62816a;height:100%}.health-section{margin:24px 0}.health-badges{display:flex;gap:8px;flex-wrap:wrap}.health-badges span{background:#efeee5;border-radius:12px;padding:10px 12px;color:var(--muted)}.health-badges span.earned{background:#f4e6c0;color:#735214}.health-form{display:grid;gap:12px}.health-form input{width:100%}.health-history{list-style:none;padding:0}.health-history li{padding:12px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.health-history button{min-height:44px}.health-entry{margin:14px 0}.health-chart{width:100%;height:auto;display:block}.health-chart text{fill:var(--muted);font-size:12px}.health-chart polyline{fill:none;stroke:#315e45;stroke-width:3}.health-chart circle{fill:#315e45}.health-chart line{stroke:var(--line)}.health-page .helper{line-height:1.7}.health-page button:focus-visible{outline:3px solid #a67115;outline-offset:3px}.health-status{color:var(--muted)}@media(max-width:380px){.health-task{padding:18px}.health-day span{width:29px;height:29px}.health-actions{flex-direction:column}.health-stat{padding:12px}}@media(prefers-color-scheme:dark){/* Match the existing light-only application rather than mix themes. */}
