.system-health-overlay{position:fixed;inset:0;z-index:11000;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(15,23,42,.5)}
.system-health-panel{width:min(100%,1050px);max-height:calc(100dvh - 48px);overflow:auto;background:var(--card-bg,#fff);color:var(--text,#24324a);border-radius:18px;box-shadow:0 20px 65px #152b4a33;padding:24px;overscroll-behavior:contain}
.system-health-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.system-health-header h2{font-size:23px;margin:0}.system-health-intro{font-size:13px;color:var(--text-secondary,#61728b);line-height:1.6;margin:10px 0 16px}
.system-health-toolbar{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:15px}.system-health-toolbar button,.system-health-close{min-height:42px;white-space:nowrap}.system-health-status{font-size:12px;color:var(--text-secondary,#61728b);margin:0;overflow-wrap:anywhere}
.system-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.system-health-card{min-width:0;border:1px solid var(--border,#dee6ef);border-radius:13px;padding:18px;background:var(--bg,#f8fafc)}.system-health-card h3{margin:0 0 13px;font-size:16px}.system-health-line{display:flex;align-items:baseline;justify-content:space-between;gap:15px;margin:11px 0;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.system-health-line>span{color:var(--text-secondary,#61728b);flex:1}.system-health-line>strong{text-align:right;font-weight:600;min-width:0;max-width:65%}
.system-health-badge{display:inline-block;font-size:12px;font-weight:600;border-radius:7px;padding:5px 9px;margin-bottom:3px}.system-health-badge.is-good{background:#dcf5e8;color:#146442}.system-health-badge.is-bad{background:#fee4e4;color:#a02525}.system-health-badge.is-unknown{background:#e9eef5;color:#52627a}.system-health-muted{font-size:12px;line-height:1.7;color:var(--text-secondary,#61728b);margin:10px 0 0}.system-health-warning,.system-health-ok{font-size:13px;line-height:1.7;border-radius:9px;padding:10px 13px;margin:0 0 9px;background:#fff3da;color:#805310}.system-health-ok{background:#e9f5f0;color:#235f48}.system-health-error,.system-health-status.is-error{color:#a02525;font-size:13px;line-height:1.6}.system-health-meter{height:7px;border-radius:4px;background:#e3eaf3;overflow:hidden;margin-top:14px}.system-health-meter>span{display:block;height:100%;background:#4999c7}.system-health-meter.is-high>span{background:#c88728}.system-health-content[aria-busy=true]{opacity:.7}
@media(max-width:640px){.system-health-overlay{padding:10px}.system-health-panel{padding:17px 13px;max-height:calc(100dvh - 20px);border-radius:14px}.system-health-grid{grid-template-columns:1fr;gap:10px}.system-health-card{padding:15px}.system-health-header h2{font-size:21px}.system-health-line{gap:9px}.system-health-status{flex-basis:100%}}
