.health-layout{grid-template-columns:135px minmax(0,1fr);align-items:start;gap:0 12px;display:grid}.health-rail{background:var(--surface);flex-direction:column;display:flex;box-shadow:0 0 10px #888}.health-rail a{box-sizing:border-box;color:#555;text-align:center;border-bottom:1px solid #ccc;flex-direction:column;justify-content:center;align-items:center;gap:7px;height:85px;padding:0 8px;font-size:14px;font-weight:600;text-decoration:none;display:flex}.health-rail a:hover{background:var(--tab-hover);color:#fff}.health-rail a.active{background:var(--tab-active);color:#fff}.health-content{min-width:0}.health-content .grid thead th{text-align:center}.health-content .grid-head-cell .grid-sort{text-align:center;flex:auto}@media (width<=700px){.health-layout{grid-template-columns:minmax(0,1fr);gap:12px}.health-rail{flex-direction:row}.health-rail a{flex:1;height:64px}}.health-strength{background:color-mix(in srgb, currentColor 12%, transparent);border-radius:999px;padding:1px 8px;font-size:12px;font-weight:600;line-height:18px;display:inline-block}.health-strength.tone-none{color:var(--muted);background:0 0;padding:0;font-weight:400}.health-tone-bad{color:var(--danger)}.health-battery{align-items:center;gap:6px;display:inline-flex}.health-battery-graph{all:unset;box-sizing:border-box;border-radius:var(--radius);color:green;cursor:pointer;width:24px;height:24px;transition:background var(--ease), color var(--ease);justify-content:center;align-items:center;margin:-3px 0;display:inline-flex}.health-battery-graph:hover{background:var(--accent-soft)}.health-battery-graph:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.health-events{margin:0;padding:0;list-style:none}.health-events li{border-bottom:1px solid var(--line);padding:12px 0}.health-events li:first-child{padding-top:0}.health-events li:last-child{border-bottom:0;padding-bottom:0}.health-events dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 16px;margin:0;display:grid}.health-events dt,.health-graph-stat dt{color:var(--muted);font-size:12px;font-weight:600}.health-events dd,.health-graph-stat dd{overflow-wrap:anywhere;margin:2px 0 0}.health-graph-period .ui-toolbar{flex-wrap:nowrap}.health-graph-period .ui-date-range{border:0;flex:auto;min-width:0;margin:0;padding:0}.health-graph-error{color:var(--danger);margin:0 0 12px;font-size:12px}.health-graph{gap:12px;min-width:0;display:grid}.health-graph>.ui-card{min-width:0}.health-graph-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 16px;margin:0;display:grid}.health-graph-stat dd{font-variant-numeric:tabular-nums;font-size:15px;font-weight:600}.health-print-link{text-decoration:none}.health-print-link:hover{color:var(--ink)}@media (width<=640px){.health-events dl,.health-graph-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.health-graph-period .ui-toolbar{flex-wrap:wrap}}.health-print-figures{grid-template-columns:1fr 1fr;display:grid}
