/* Health Monitor: shared ClickHouse tokens, no external assets. */
.health-active .training-nav{display:none!important}
.health-view{max-width:1180px;margin:0 auto;padding:24px 0;color:var(--ink)}
.health-heading,.health-tabs,.health-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.health-heading{justify-content:space-between;margin-bottom:24px}.health-view h1{font-size:30px;margin:0}.health-view h2{font-size:20px;margin:0 0 20px}.health-view h3{font-size:16px}
.health-tabs{margin-bottom:24px}.health-view button,.health-view select,.health-view input{min-height:44px;border:1px solid var(--line);border-radius:4px;background:var(--surface);color:var(--ink);padding:9px 14px;max-width:100%}
.health-view button[aria-pressed=true]{background:var(--cyan);color:var(--ch-on-accent);border-color:var(--cyan)}
.health-view :is(button,select,input):focus-visible{outline:2px solid var(--cyan);outline-offset:3px}
.health-range{align-items:end;margin-bottom:20px}.health-view label{display:flex;flex-direction:column;gap:8px;font-size:13px;color:var(--muted)}
.health-panel{padding:24px;border:1px solid var(--line);border-radius:8px;background:var(--surface);min-width:0}
.health-record{margin-bottom:24px}.health-record select{width:100%;text-overflow:ellipsis}
.health-metrics{display:flex;gap:32px;flex-wrap:wrap;margin:24px 0}.health-metrics span{color:var(--muted);font-size:14px}.health-metrics strong{display:block;font-size:24px;margin-top:8px;font-variant-numeric:tabular-nums}
.health-fine{color:var(--muted);font-size:13px;line-height:1.6}.health-empty{min-height:210px;display:grid;place-content:center;text-align:center;color:var(--muted);line-height:1.6}
.health-chart-scroll,.health-table-scroll{overflow:auto;max-width:100%}.health-chart-scroll svg{width:100%;height:280px;display:block}.health-chart-scroll text{fill:var(--muted);font:12px var(--font)}.health-grid{stroke:var(--line);stroke-width:1}
.health-series-0{fill:var(--cyan);background:var(--cyan)}.health-series-1{fill:#ccc;background:#ccc}.health-legend{display:flex;flex-wrap:wrap;gap:20px;margin:20px 0;color:var(--muted);font-size:13px}.health-legend i{display:inline-block;width:10px;height:10px;margin-right:8px}
.health-detail{border-top:1px solid var(--line);padding-top:18px;margin-top:20px}.health-detail summary{cursor:pointer;min-height:44px;line-height:1.6}.health-detail pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6}.health-detail li{margin:12px 0;overflow-wrap:anywhere}
.health-view table{width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}.health-view th,.health-view td{text-align:left;border-bottom:1px solid var(--line);padding:12px;min-width:100px}.health-view th{color:var(--muted)}
.health-stage{display:grid;grid-template-columns:minmax(70px,150px) 1fr;gap:12px;margin:12px 0;font-size:13px}.health-stage-track{height:24px;position:relative;background:var(--bg)}.health-stage-track>span{position:absolute;height:100%;background:var(--cyan)}
@media(max-width:640px){.health-view{padding:16px 0}.health-panel{padding:16px}.health-heading{align-items:flex-start}.health-tabs{gap:8px}.health-tabs button{flex:1 0 auto}.health-range label{flex:1 1 130px}.health-range input,.health-range select{width:100%}.health-metrics{gap:24px}.health-metrics strong{font-size:21px}.health-active .site-header{flex-wrap:wrap}.health-active .app-switch{flex-wrap:wrap}.health-stage{grid-template-columns:100px 1fr}}
