/* FYM Server Manager Health v5 — compact but legible, RTL, no external dependencies. */
.health-v5-intro {margin:14px 0 10px;display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.health-v5-intro h2 {font-size:1.28rem;line-height:1.45;margin:0 0 5px;font-weight:750}
.health-v5-intro p {margin:0;color:var(--muted);font-size:13px;line-height:1.75}
.health-v5-tabs {display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.health-v5-tabs a {display:inline-flex;text-decoration:none;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:9px;padding:9px 13px;background:var(--panel2);color:var(--text);font-size:13px;min-height:38px}
.health-v5-tabs a.current {background:var(--accent);color:var(--accentText);border-color:var(--accent);font-weight:750}
.health-v5-filter {display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:12px 0 10px;padding:12px 14px;background:var(--panel2);border:1px solid var(--line);border-radius:12px}
.health-v5-filter label {display:grid;gap:5px;font-size:12px;color:var(--muted)}
.health-v5-filter input {min-height:39px;width:148px;max-width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--text);font:inherit;font-size:14px;text-align:center;padding:7px 10px}
.health-v5-filter input:focus-visible {outline:2px solid var(--accent);outline-offset:1px}
.health-v5-filter button {background:var(--accent);border:1px solid var(--accent);border-radius:8px;color:var(--accentText);font:inherit;font-weight:750;font-size:13px;padding:9px 14px;min-height:39px;cursor:pointer}
.health-v5-filter-note {font-size:11.5px;color:var(--muted);flex-basis:100%;line-height:1.7}
.health-v5-error {color:#ffcba1;border:1px solid #8b5f30;border-radius:9px;background:rgba(200,122,55,.11);padding:9px 13px;margin:8px 0;font-size:13px}
.health-v5-topline {display:flex;gap:10px 18px;flex-wrap:wrap;justify-content:space-between;background:var(--panel2);border:1px solid var(--line);border-radius:9px;padding:10px 14px;color:var(--muted);font-size:12.5px;margin:12px 0}
.health-v5-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.health-v5-system {min-width:0;margin:0!important;padding:16px!important}
.health-v5-system-head {display:flex;align-items:center;gap:13px;padding-bottom:12px;border-bottom:1px solid var(--line);margin-bottom:12px}
.health-v5-system-head img {object-fit:contain;background:#fff;border-radius:12px;padding:6px;width:60px;height:60px;box-sizing:border-box;flex:0 0 60px}
.health-v5-system-head h2 {font-size:1.13rem;line-height:1.45;margin:3px 0 0}
.health-v5-system-head small {font-size:12px;color:var(--muted);display:block;text-align:right}
.health-v5-service-grid {display:grid;gap:0;margin:0 0 14px}
.health-v5-service-grid>div {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-bottom:1px dashed var(--line);min-height:35px;font-size:12.5px}
.health-v5-service-grid code {direction:ltr;unicode-bidi:plaintext;font-size:12px;overflow-wrap:anywhere}
.health-v5-section-title {font-size:15px;margin:14px 0 9px}
.health-v5-tag {font-size:12px;line-height:1.6;display:inline-flex;align-items:center;padding:3px 9px;border:1px solid var(--line);border-radius:99px;font-weight:700;white-space:normal;text-align:center;max-width:100%}
.health-v5-healthy {color:#69dcc0;border-color:rgba(105,220,192,.35);background:rgba(45,152,123,.11)}
.health-v5-attention {color:#ffd197;border-color:rgba(255,209,151,.35);background:rgba(171,98,26,.12)}
.health-v5-critical {color:#ff9e9e;border-color:rgba(255,158,158,.35);background:rgba(165,57,57,.15)}
.health-v5-unverified {color:#a9c6dc;border-color:rgba(169,198,220,.35);background:rgba(98,137,172,.12)}
.health-v5-disabled,.health-v5-neutral {color:var(--muted);background:var(--bg)}
.health-v5-jobs {display:grid;gap:9px;min-width:0}
.health-v5-job {min-width:0;border:1px solid var(--line);border-radius:11px;background:var(--bg);overflow:hidden}
.health-v5-job-attention {border-inline-start:3px solid #d59b55}
.health-v5-job-critical {border-inline-start:3px solid #c96262}
.health-v5-job-healthy {border-inline-start:3px solid #47b493}
.health-v5-job details {min-width:0}
.health-v5-job summary {list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;min-width:0}
.health-v5-job summary::-webkit-details-marker {display:none}
.health-v5-job summary:focus-visible {outline:2px solid var(--accent);outline-offset:-2px}
.health-v5-job-title {min-width:0;display:grid;gap:4px}
.health-v5-job-title strong {font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.health-v5-job-title small {font-size:12px;color:var(--muted);direction:rtl;unicode-bidi:plaintext}
.health-v5-job-state {display:flex;gap:9px;align-items:center;justify-content:flex-end;flex-shrink:0}
.health-v5-expand {color:var(--muted);font-size:20px;transition:transform .2s}
.health-v5-job details[open] .health-v5-expand {transform:rotate(180deg)}
.health-v5-job-body {border-top:1px solid var(--line);padding:12px 14px 13px}
.health-v5-reason {color:var(--muted);font-size:12.5px;line-height:1.8;margin:0 0 8px}
.health-v5-facts {margin:0;font-size:12.5px}
.health-v5-detail-row {display:grid;grid-template-columns:minmax(135px,.85fr) minmax(0,1.15fr);gap:9px;padding:8px 0;border-bottom:1px dashed var(--line);line-height:1.75}
.health-v5-detail-row dt {color:var(--muted)}.health-v5-detail-row dd {margin:0;overflow-wrap:anywhere;unicode-bidi:plaintext}
.health-v5-disclaimer,.health-v5-note {font-size:12px;line-height:1.8;color:var(--muted);margin:10px 0 6px}
.health-v5-link {color:var(--accent);font-size:13px;text-decoration:none;display:inline-block;margin-top:6px}
.health-v5-link:hover {text-decoration:underline}
.health-v5-report,.health-v5-backup {border-top:1px solid var(--line);margin-top:18px;padding-top:14px}
.health-v5-report h3,.health-v5-backup h3 {font-size:14px;margin:0 0 10px}
.health-v5-report-metrics {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.health-v5-report-metrics>div {border:1px solid var(--line);background:var(--bg);border-radius:10px;padding:11px 12px;display:flex;gap:6px;flex-direction:column}
.health-v5-report-metrics small {font-size:12px;color:var(--muted);line-height:1.6}
.health-v5-report-metrics strong {font-size:1.4rem;font-variant-numeric:tabular-nums}
.health-v5-last-audit {margin:10px 0;line-height:1.8;font-size:12.5px}
.health-v5-last-audit strong {display:inline-block}
.health-v5-metric {display:inline-flex;margin:5px 0 0 7px;background:var(--panel2);border:1px solid var(--line);border-radius:7px;padding:2px 7px;font-size:12px}
.health-v5-backup p {font-size:12.5px;line-height:1.85;margin:8px 0;overflow-wrap:anywhere}
.health-v5-backup strong {font-weight:700}
.health-v5-backup code {direction:ltr;unicode-bidi:plaintext;font-size:12px}
.health-v5-policy {margin-top:15px!important;padding:15px!important}
.health-v5-policy h3 {font-size:14px;margin:0 0 11px}
.health-v5-policy>span {display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 8px 16px;font-size:12.5px}
.health-v5-log-report {margin:16px 0!important;padding:15px!important}
.health-v5-log-report h3 {font-size:14px;margin:0 0 12px}
.health-v5-categories {display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px}
.health-v5-categories>div {display:flex;justify-content:space-between;gap:9px;border:1px solid var(--line);background:var(--bg);padding:10px;border-radius:9px;font-size:12px}
.health-v5-categories strong {font-size:15px;font-variant-numeric:tabular-nums}
@media(max-width:1150px){.health-v5-grid{grid-template-columns:1fr}}
@media(max-width:640px){
 .health-v5-system{padding:12px!important}
 .health-v5-filter{padding:10px;gap:9px}
 .health-v5-filter label{flex:1 1 125px}
 .health-v5-filter input{width:100%;font-size:13px}
 .health-v5-job summary{padding:10px;gap:7px}
 .health-v5-job-title strong{font-size:13.5px}
 .health-v5-tag{font-size:11.5px;padding:3px 7px}
 .health-v5-detail-row{grid-template-columns:1fr;gap:2px;padding:7px 0}
 .health-v5-system-head img{width:52px;height:52px;flex-basis:52px}
 .health-v5-report-metrics{gap:6px}
 .health-v5-report-metrics>div{padding:8px}
 .health-v5-intro h2{font-size:1.08rem}
}
