.health-intro{padding:24px 28px;background:linear-gradient(120deg,#f5f1fc,#fff);border:1px solid var(--line);border-radius:18px;margin-bottom:22px}
.health-intro h2{font-size:17px}.health-intro p{color:#746580;max-width:720px;margin-bottom:0;line-height:1.9}
.health-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:24px 0}.health-toolbar button{min-height:44px}.health-toolbar small{margin-left:auto}
.health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:24px}.health-grid[aria-busy=true]{opacity:.55}
.health-card{min-width:0;background:#fff;border:1px solid var(--line);border-top:3px solid #9784b0;border-radius:16px;padding:24px;box-shadow:0 6px 24px #39205205}
.health-card-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.health-card h2{font-size:17px}.health-card p{line-height:1.8}.health-card .health-hint{color:#786b87;font-size:13px}.health-card small{overflow-wrap:anywhere;font-family:ui-monospace,monospace;font-size:11px}
.health-badge{display:inline-flex;border-radius:20px;padding:4px 10px;background:#f0eaf8;color:#69517d;font-size:11px;font-weight:650;white-space:nowrap}
.health-card[data-status=ok]{border-top-color:#519275}.health-card[data-status=ok] .health-badge{color:#286146;background:#edf7f0}
.health-card[data-status=warning]{border-top-color:#b78c42}.health-card[data-status=warning] .health-badge{color:#886021;background:#fff6e5}
.health-card[data-status=error]{border-top-color:#b96570}.health-card[data-status=error] .health-badge{color:#9c3e4f;background:#fff0f2}
.health-help{font-size:13px;color:#786b87;line-height:1.9}.health-help a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){.health-grid{grid-template-columns:1fr}.health-card,.health-intro{padding:20px}.health-toolbar small{width:100%;margin-left:0}.health-toolbar button{flex:1}.health-card-heading{gap:8px}}

.history-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:20px 0}.history-summary>div{padding:14px;border:1px solid var(--line,#e5e0ea);border-radius:12px}.history-summary p{margin:8px 0 0}
.history-table{max-height:460px;overflow:auto}.history-table table{width:100%;border-collapse:collapse;min-width:660px;font-size:13px}.history-table th,.history-table td{padding:12px;text-align:left;border-bottom:1px solid var(--line,#e5e0ea);white-space:nowrap}.history-table thead{position:sticky;top:0;background:var(--surface,#fff)}
.history-badge{display:inline-block;padding:3px 8px;border-radius:8px;background:#f1eff7;color:#65577e}.history-badge[data-status=ok]{background:#edf7ef;color:#267b46}.history-badge[data-status=error]{background:#fbeeee;color:#b44141}.history-badge[data-status=warning]{background:#fff5df;color:#92620b}
