.health-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:1rem;margin:1rem 0}.health-card{border:1px solid var(--border,#384458);border-radius:12px;padding:1rem;background:var(--panel-bg,transparent);min-width:0}.health-card h3{margin:0 0 .75rem;font-size:1rem}.health-card[data-health-state="expired"],.health-card[data-health-state="offline"],.health-card[data-health-state="crashed"],.health-card[data-health-state="crash_loop"],.health-card[data-health-state="unknown"],.health-card[data-health-state="stale"],.health-card[data-health-state="missing"]{border-left:4px solid #e8ac47}.health-facts{font-size:.9rem}.health-facts>div{margin:.6rem 0}.health-facts dt{opacity:.7}.health-facts dd{margin:.1rem 0;overflow-wrap:anywhere}.health-events{padding-left:1.1rem;line-height:1.6;font-size:.85rem}.health-note{max-width:90ch}.health-card summary{cursor:pointer}

.health-evidence{border-top:1px solid var(--border);padding-top:.8rem;margin:.8rem 0}.health-evidence p{font-size:.85rem;line-height:1.5;opacity:.85}.health-evidence li{overflow-wrap:anywhere;font-size:.85rem;line-height:1.5;margin:.5rem 0}.health-addon-list{max-height:22rem;overflow:auto;padding-right:.5rem}.health-evidence [hidden]{display:none}
/* One card per server; text accompanies every status color. */
.health-card.health-embedded{border:0;border-top:1px solid var(--line,#536078);border-radius:0;padding:16px 0 0;margin-top:18px;box-shadow:none;background:transparent}
.server-summary{border-left:6px solid #d59a2a;padding:10px 12px;background:rgba(213,154,42,.12);border-radius:6px;margin-bottom:12px}
.server-summary p{font-size:.82rem;margin:6px 0 0;overflow-wrap:anywhere}
[data-overview-server]{border-top:5px solid #d59a2a}
[data-tone=playing]{--health-accent:#18864c;--health-wash:rgba(24,134,76,.14)}
[data-tone=empty_used]{--health-accent:#85cb9c;--health-wash:rgba(133,203,156,.13)}
[data-tone=empty_unseen]{--health-accent:#78bce2;--health-wash:rgba(120,188,226,.13)}
[data-tone=recent_crash]{--health-accent:#e45959;--health-wash:rgba(228,89,89,.13)}
[data-tone=offline]{--health-accent:#8993a4;--health-wash:rgba(137,147,164,.12)}
[data-overview-server][data-tone]{border-top-color:var(--health-accent,#d59a2a)}
[data-tone] .server-summary{border-color:var(--health-accent,#d59a2a);background:var(--health-wash,rgba(213,154,42,.12))}
.server-status-legend{display:flex;flex-wrap:wrap;gap:10px 18px;margin:14px 0 20px;font-size:.8rem}
.server-status-legend>span{border-left:5px solid var(--health-accent,#d59a2a);padding-left:8px}
.health-embedded [data-health-maintenance],.health-addon-list{overflow-wrap:anywhere}
.server-live-card[data-tone]{border-top-width:5px}
.health-embedded .health-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:10px}
