.health-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin:20px 0 12px}
.health-head small{color:#9c001f;font-weight:900;text-transform:uppercase}
.health-head h2{margin:5px 0;color:#26030a;font-size:28px}
.health-head p{margin:0;color:#6b5960;line-height:1.5;max-width:820px}
.health-actions{display:flex;gap:8px;flex-wrap:wrap}
.health-actions button{min-height:40px;border:1px solid #d9b8ae;border-radius:8px;background:#fff;color:#7f0018;font-weight:800;padding:9px 13px}
.health-score{display:flex;align-items:center;gap:18px;margin-bottom:14px;background:linear-gradient(135deg,#fffaf6,#fff)}
.health-score h3{margin:0 0 6px;color:#3a1018}
.health-score p{margin:0;color:#6f5d63}
.health-ring{--score:0;width:118px;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;position:relative;background:conic-gradient(#0f766e calc(var(--score)*1%),#f1dfd8 0)}
.health-ring:after{content:"";position:absolute;inset:12px;border-radius:50%;background:#fff}
.health-ring b,.health-ring span{position:relative;z-index:1;color:#19352f}
.health-ring b{font-size:34px;line-height:1}.health-ring span{font-weight:900;margin-top:42px;margin-left:-18px;font-size:12px}
.health-ring.warn{background:conic-gradient(#e59f00 calc(var(--score)*1%),#f1dfd8 0)}.health-ring.bad{background:conic-gradient(#b00028 calc(var(--score)*1%),#f1dfd8 0)}
.health-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.health-card small{display:block;color:#7b5a52;text-transform:uppercase;font-size:11px;font-weight:900}.health-card b{display:block;margin:8px 0 5px;font-size:28px;color:#8f001b}.health-card span{color:#7a6870;font-size:12px}
.health-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:14px}.health-checks{padding:0;overflow:hidden}.health-check-list{display:grid;gap:10px;padding:14px}
.health-check-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid #ead7cf;border-left-width:5px;border-radius:8px;background:#fffdfb;padding:12px}
.health-check-list article.critical{border-left-color:#b00028}.health-check-list article.warning{border-left-color:#e59f00}.health-check-list article.info{border-left-color:#0f766e}
.health-check-list span{display:inline-flex;margin-bottom:5px;border-radius:999px;background:#f5e5e0;color:#7f0018;font-size:11px;font-weight:900;padding:4px 8px}.health-check-list b{display:block;color:#271216}.health-check-list p{margin:5px 0 0;color:#64545a;line-height:1.45}
.health-check-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.health-check-list button{border:1px solid #d9b8ae;border-radius:8px;background:#8f001b;color:#fff;font-weight:900;padding:9px 12px;white-space:nowrap}.health-check-actions button:first-child{background:#fff;color:#8f001b}
.health-side{display:grid;gap:14px;align-content:start}.health-side h3{margin:0 0 12px;color:#3a1018}
.health-config{display:grid;gap:9px}.health-config article{display:flex;gap:10px;align-items:flex-start;border:1px solid #ead7cf;border-radius:8px;background:#fffaf6;padding:10px}.health-config b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#0f766e;color:#fff}.health-config .miss b{background:#b00028}.health-config strong{display:block;color:#2c151a}.health-config span{display:block;color:#726169;font-size:12px;margin-top:3px;line-height:1.35}
.health-snapshots{display:grid;gap:8px}.health-snapshots article{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #f0dfd9;padding:8px 0}.health-snapshots b{color:#8f001b}.health-snapshots span{color:#716066;font-size:12px}
@media(max-width:1180px){.health-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.health-layout{grid-template-columns:1fr}}
@media(max-width:720px){.health-head,.health-score{flex-direction:column}.health-actions,.health-actions button{width:100%}.health-cards{grid-template-columns:1fr}.health-check-list article{grid-template-columns:1fr}.health-check-list button{width:100%}}
.health-detail{display:grid;gap:14px}.health-detail-head{display:grid;gap:8px;padding:12px;border:1px solid #ead7cf;border-radius:10px;background:#fffaf6}.health-detail-head span{justify-self:start;border-radius:999px;background:#f5e5e0;color:#7f0018;font-size:11px;font-weight:900;padding:4px 8px}.health-detail-head span.critical{background:#fff0f1;color:#b00028}.health-detail-head span.warning{background:#fff6df;color:#996300}.health-detail-head span.info{background:#e8f8f3;color:#0f766e}.health-detail-head p{margin:0;color:#64545a;line-height:1.45}.health-detail-head b{color:#2c151a}.health-detail-table{max-height:58vh;border:1px solid #ead7cf;border-radius:10px;background:#fff}.health-detail-table table{min-width:980px}.health-detail-table th{position:sticky;top:0;z-index:1;background:#f7ece8;color:#4a2028}.health-detail-table td{vertical-align:top;line-height:1.45}.health-detail-actions{display:flex;justify-content:flex-end}.health-detail-actions button{border:1px solid #d9b8ae;border-radius:8px;background:#8f001b;color:#fff;font-weight:900;padding:10px 14px}
.modal form.health-detail-modal{width:min(1180px,96vw)}
