.system-health {min-width:0}
.sh-update,.sh-row-head,.sh-badges {display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.sh-update {justify-content:space-between;color:var(--muted);margin:-10px 0 18px;font-size:13px}
.sh-update p {font-weight:650}
.sh-update .sh-problem {color:var(--red)}
.sh-badge {display:inline-flex;align-items:center;white-space:nowrap;min-height:25px;padding:3px 9px;border-radius:16px;font-size:12px;font-weight:650;line-height:1.4}
.sh-ok {background:#e5f2e6;color:#225731}
.sh-active {background:#e9f1f7;color:#255675}
.sh-warn {background:#fbefce;color:#75500e}
.sh-bad {background:#f9e8e7;color:#943833}
.sh-neutral {background:#eff1ec;color:#515e53}
.system-health h3 {font-size:15px;font-weight:650}
.system-health dl {margin:0}
.system-health dt,.sh-services p,.sh-rule {color:var(--muted);font-size:13px;line-height:1.6}
.system-health dd {margin:2px 0 0;color:var(--ink);font-variant-numeric:tabular-nums;font-size:14px;overflow-wrap:anywhere}
.sh-schedule,.sh-other,.sh-counts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px 20px}
.sh-schedule {grid-template-columns:repeat(4,minmax(0,1fr));background:#f6f8f2}
.sh-schedule dd {font-weight:650}
.sh-counts {padding-top:18px;padding-bottom:10px}
.sh-count {border:1px solid var(--line);border-radius:12px;padding:16px;min-width:0}
.sh-count p {display:flex;align-items:baseline;gap:8px;margin:8px 0 14px;color:var(--muted);font-size:13px}
.sh-count strong {color:var(--deep);font-size:32px;line-height:1.1;font-variant-numeric:tabular-nums}
.sh-count dl>div {display:flex;align-items:baseline;justify-content:space-between;gap:6px;flex-wrap:wrap}
.sh-count dl>div+div {margin-top:5px}
.sh-rule {padding:0 20px 14px}
.sh-other {padding-top:12px;border-top:1px solid var(--line)}
.sh-other>div {display:flex;align-items:baseline;gap:8px}
.sh-row-head {justify-content:space-between}
.sh-services,.sh-workers {margin:0;list-style:none;padding:0}
.sh-services {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr));gap:16px;padding:16px 20px}
.sh-services li {min-width:0}
.sh-services p {margin-top:5px;font-size:12px;font-variant-numeric:tabular-nums}
.sh-workers li {padding:15px 20px}
.sh-workers li+li {border-top:1px solid var(--line)}
.sh-worker-fields {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 12px;padding-top:10px}
@media(max-width:850px) {
  .sh-schedule {grid-template-columns:repeat(2,minmax(0,1fr))}
  .sh-worker-fields {grid-template-columns:repeat(2,minmax(0,1fr))}
  .sh-counts {gap:8px;padding-inline:14px}
  .sh-count {padding:12px}
}
@media(max-width:580px) {
  .sh-update {align-items:flex-start;gap:4px;flex-direction:column;margin-top:-6px}
  .sh-counts {grid-template-columns:1fr}
  .sh-schedule,.sh-other,.sh-rule,.sh-services,.sh-workers li {padding-inline:14px}
  .sh-count p {margin:6px 0 10px}
  .sh-services {grid-template-columns:repeat(2,minmax(0,1fr))}
  .sh-other {grid-template-columns:1fr;gap:4px}
  .sh-schedule dd,.sh-worker-fields dd {font-size:13px}
}
