.health-hero{display:flex;justify-content:space-between;gap:var(--space-5);align-items:center;padding:var(--space-5);margin-bottom:var(--space-5);border:1px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-surface)}
.health-hero.health-pass{border-inline-start:5px solid var(--color-success)}.health-hero.health-warning{border-inline-start:5px solid var(--color-warning)}.health-hero.health-fail{border-inline-start:5px solid var(--color-danger)}
.health-hero h2{font-size:clamp(1.6rem,4vw,2.5rem);margin:.15rem 0}.health-hero p{margin:0;color:var(--color-text-secondary)}.health-hero-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--space-3)}.health-hero-actions label{display:flex;gap:var(--space-2);align-items:center;font-size:.85rem;color:var(--color-text-secondary)}.health-hero-actions input{width:auto}
.health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4);margin-bottom:var(--space-4)}.health-card{min-width:0}.health-card .panel-head{align-items:center}.health-card .panel-body{display:grid;gap:0}
.health-status{display:inline-flex;align-items:center;gap:.4rem;border:1px solid var(--color-border);border-radius:999px;padding:.28rem .55rem;font-size:.75rem;font-weight:700;white-space:nowrap}.health-status.health-pass{color:var(--color-success)}.health-status.health-warning{color:var(--color-warning)}.health-status.health-fail{color:var(--color-danger)}
.health-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.3rem var(--space-3);align-items:center;padding:.7rem 0;border-bottom:1px solid var(--color-border)}.health-row:last-child{border-bottom:0}.health-row>span{color:var(--color-text-secondary)}.health-row>strong{font-variant-numeric:tabular-nums;text-align:right;overflow-wrap:anywhere}.health-row>small{grid-column:1/-1;color:var(--color-text-secondary);overflow-wrap:anywhere}
.health-checks{list-style:none;margin:0;padding:0;display:grid;gap:var(--space-2)}.health-checks li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:var(--space-3);align-items:start;padding:.65rem 0;border-bottom:1px solid var(--color-border)}.health-checks li:last-child{border-bottom:0}.health-checks small{display:block;margin-top:.15rem;color:var(--color-text-secondary);overflow-wrap:anywhere}.health-dot{width:.65rem;height:.65rem;border-radius:50%;margin-top:.35rem;background:var(--color-info)}.health-dot.health-pass{background:var(--color-success)}.health-dot.health-warning{background:var(--color-warning)}.health-dot.health-fail{background:var(--color-danger)}
.health-details{margin-top:var(--space-3)}.health-details summary{cursor:pointer;font-weight:700}.health-inline-warning{margin-top:var(--space-3);padding:var(--space-3);border-radius:var(--radius-md);border:1px solid var(--color-warning);display:grid;gap:.25rem}.health-inline-warning span{overflow-wrap:anywhere}.health-all-clear{padding:var(--space-4);border:1px solid var(--color-success);border-radius:var(--radius-md);color:var(--color-success);font-weight:700}.health-footnote{margin-top:var(--space-4)}.health-loading{min-height:180px;display:grid;align-items:center}.health-empty{color:var(--color-text-secondary)}
@media(max-width:1023px){.health-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:767px){.health-hero{align-items:flex-start;flex-direction:column}.health-hero-actions{justify-content:flex-start;width:100%}.health-hero-actions .primary{width:100%}.health-row{grid-template-columns:minmax(0,1fr)}.health-row>strong{text-align:left}.health-checks li{grid-template-columns:auto minmax(0,1fr)}.health-checks li>.health-status{grid-column:2;justify-self:start}}
@media(prefers-reduced-motion:reduce){.health-status,.health-dot{transition:none}}
