:root{--hc-navy-950:#071b31;--hc-navy-900:#0b2747;--hc-navy-800:#123b64;--hc-gold:#e6b63e;--hc-green:#159565;--hc-amber:#bc7907;--hc-red:#c43d3d;--hc-slate:#68798b;--hc-bg:#f3f6f9;--hc-surface:#fff;--hc-line:#dbe3eb;--hc-text:#102d52;--hc-muted:#607287;--hc-radius:18px;--hc-shadow:0 12px 30px rgba(11,39,71,.08)}
.health-command{display:grid;gap:20px;color:var(--hc-text);background:var(--hc-bg)}.health-command__header{display:grid;grid-template-columns:minmax(280px,1.1fr) minmax(360px,1fr) minmax(250px,.7fr);align-items:center;gap:30px;padding:28px 30px;border-radius:24px;background:linear-gradient(120deg,var(--hc-navy-950),var(--hc-navy-800));color:#fff;box-shadow:0 20px 46px rgba(7,27,49,.22)}.health-command__context h2{margin:4px 0 9px;color:#fff;font-size:clamp(1.45rem,2.4vw,2.1rem)}.health-command__context>p:last-child{max-width:520px;margin:0;color:#c9d8e7}.health-command__status{display:flex;align-items:center;gap:20px;padding:18px;border-left:1px solid rgba(255,255,255,.14);border-right:1px solid rgba(255,255,255,.14)}.health-command__status h3{margin:3px 0;color:#fff;font-size:clamp(1.55rem,2.5vw,2.35rem)}.health-command__status small{color:#aebfd0;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.health-command__status p{margin:0;color:#d5e1ed}.health-command__instrument{--instrument:var(--hc-slate);display:grid;width:112px;height:112px;flex:0 0 auto;place-items:center;border-radius:50%;background:radial-gradient(circle closest-side,#fff 72%,transparent 74% 99%,#fff 0),conic-gradient(var(--instrument) calc(var(--health-score)*1%),rgba(255,255,255,.15) 0);filter:drop-shadow(0 0 9px color-mix(in srgb,var(--instrument) 40%,transparent));transition:background .4s ease}.health-command__instrument strong{color:var(--hc-text);font-size:1.35rem}.health-command--healthy{--instrument:var(--hc-green);--domain-accent:var(--hc-green)}.health-command--warning{--instrument:var(--hc-amber);--domain-accent:var(--hc-amber)}.health-command--critical{--instrument:var(--hc-red);--domain-accent:var(--hc-red)}.health-command--neutral{--instrument:var(--hc-slate);--domain-accent:var(--hc-slate)}.health-command__control{display:grid;gap:15px}.health-command__control>button{min-height:42px;padding:10px 16px;border:1px solid var(--hc-gold);border-radius:11px;background:var(--hc-gold);color:var(--hc-navy-950);font-weight:900;cursor:pointer}.health-command__control>button:disabled{cursor:not-allowed;opacity:.62}.health-command__control dl{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0}.health-command__control dl div{min-width:0}.health-command__control dt{color:#9fb2c5;font-size:.67rem;font-weight:800;text-transform:uppercase}.health-command__control dd{margin:2px 0 0;color:#fff;font-size:.75rem;overflow-wrap:anywhere}
.health-telemetry{display:grid;grid-template-columns:repeat(6,1fr);align-items:center;min-height:76px;border:1px solid var(--hc-line);border-radius:16px;background:var(--hc-surface);box-shadow:0 7px 22px rgba(11,39,71,.05)}.health-telemetry__item{display:flex;align-items:baseline;justify-content:center;gap:9px;padding:15px;border-right:1px solid #e5eaf0}.health-telemetry__item:last-child{border-right:0}.health-telemetry__item strong{font-size:1.4rem}.health-telemetry__item span{color:var(--hc-muted);font-size:.72rem;font-weight:850;text-transform:uppercase;letter-spacing:.05em}.health-telemetry__item--passed strong{color:var(--hc-green)}.health-telemetry__item--warning strong{color:var(--hc-amber)}.health-telemetry__item--major strong,.health-telemetry__item--critical strong{color:var(--hc-red)}.health-telemetry__item--unavailable strong{color:var(--hc-slate)}
.health-domains{display:grid;gap:13px}.health-domains>header{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:0 3px}.health-domains h3{margin:3px 0 0;font-size:1.35rem}.health-domains>header>span{color:var(--hc-muted);font-size:.78rem}.health-domains__grid{display:grid;grid-template-columns:repeat(4,minmax(220px,1fr));gap:13px}.health-domain{--state:var(--hc-slate);display:grid;grid-template-rows:auto 1fr auto auto;min-height:260px;overflow:hidden;border:1px solid var(--hc-line);border-radius:var(--hc-radius);background:var(--hc-surface);box-shadow:var(--hc-shadow);transition:transform .18s ease,box-shadow .18s ease}.health-domain:hover{transform:translateY(-2px);box-shadow:0 17px 36px rgba(11,39,71,.12)}.health-domain--healthy{--state:var(--hc-green)}.health-domain--warning{--state:var(--hc-amber)}.health-domain--critical{--state:var(--hc-red)}.health-domain--neutral{--state:var(--hc-slate)}.health-domain>header{display:grid;grid-template-columns:36px 1fr;grid-template-rows:auto auto;align-items:center;gap:5px 10px;padding:15px 16px;border-top:3px solid var(--state)}.health-domain__icon{display:grid;width:34px;height:34px;grid-row:1/3;place-items:center;border-radius:10px;background:#edf2f6;color:var(--hc-navy-800)}.health-domain>header h4{margin:0;font-size:.88rem;line-height:1.25}.health-domain__state{color:var(--state);font-size:.69rem;font-weight:850}.health-domain__signal{display:flex;align-items:center;justify-content:center;gap:13px;padding:13px 16px}.health-domain__signal strong{color:var(--state);font-size:2.15rem;letter-spacing:-.04em}.health-domain__signal span{font-size:.92rem;font-weight:850}.health-domain__telemetry{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;padding:0 14px 13px}.health-domain__telemetry span{padding:5px 8px;border-radius:999px;background:#f1f4f7;color:#5e7082;font-size:.66rem}.health-domain__telemetry .is-issue{background:#fceded;color:#922f2f}.health-domain__telemetry .is-unavailable{background:#edf1f5;color:#596b7d}.health-domain>footer{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-top:1px solid #e4e9ef;background:#fbfcfd}.health-domain>footer button{min-height:32px;border:0;background:transparent;font-size:.7rem;font-weight:850;cursor:pointer}.health-domain__run{color:#50677d}.health-domain__open{color:#174e7d}.health-domain>footer button:focus-visible{outline:3px solid var(--hc-gold);outline-offset:2px}.health-domain__details{grid-column:1/-1;padding:14px;border-top:1px solid var(--hc-line)}.health-domain__details>p{display:flex;gap:8px;align-items:flex-start;font-size:.76rem}
.health-clear{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:17px;padding:19px 22px;border:1px solid #cde4d8;border-radius:18px;background:linear-gradient(120deg,#ecf8f2,#fff);box-shadow:0 8px 24px rgba(21,149,101,.07)}.health-clear>span{display:grid;width:44px;height:44px;place-items:center;border-radius:50%;background:var(--hc-green);color:#fff;font-size:1.2rem}.health-clear h4{margin:2px 0 3px;color:#175f43}.health-clear p{margin:0;color:#547064}.health-clear aside{display:flex;align-items:center;gap:9px;padding-left:18px;border-left:1px solid #cce2d7}.health-clear aside b{font-size:1.45rem}.health-clear aside span{color:var(--hc-slate);font-size:.69rem}.health-findings,.system-health-groups{padding:21px;border:1px solid var(--hc-line);border-radius:18px;background:#fff;box-shadow:var(--hc-shadow)}.health-findings h4{margin:3px 0}
.diagnostic-operations{display:grid;gap:13px;padding-top:6px}.diagnostic-operations>header h3{margin:3px 0}.diagnostic-operations>header>p:last-child{margin:0;color:var(--hc-muted)}.diagnostic-operations__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.diagnostic-operation{overflow:hidden;border:1px solid var(--hc-line);border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(11,39,71,.055)}.diagnostic-operation>summary{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:12px;min-height:102px;padding:16px;cursor:pointer;list-style:none}.diagnostic-operation>summary::-webkit-details-marker{display:none}.diagnostic-operation>summary:hover{background:#f6f8fa}.diagnostic-operation__icon{display:grid;width:40px;height:40px;place-items:center;border-radius:11px;background:var(--hc-navy-900);color:#fff}.diagnostic-operation>summary>span:nth-child(2){display:grid;gap:2px}.diagnostic-operation small{color:#718397;font-size:.65rem;font-weight:850;text-transform:uppercase;letter-spacing:.06em}.diagnostic-operation b{font-size:.87rem}.diagnostic-operation em{color:var(--hc-muted);font-size:.7rem;font-style:normal}.diagnostic-operation__action{color:#1a527f;font-size:.7rem;font-weight:850}.diagnostic-operation[open]>summary{border-bottom:1px solid var(--hc-line);background:#f8fafc}.diagnostic-operation>.system-health-history,.diagnostic-operation>.reconciliation-workspace,.diagnostic-operation>.reconciliation-report{margin:0;border:0;border-radius:0;box-shadow:none}.diagnostic-operation>summary:focus-visible{outline:3px solid var(--hc-gold);outline-offset:-3px}
@media(max-width:1450px){.health-command__header{grid-template-columns:1fr 1fr}.health-command__control{grid-column:1/-1;grid-template-columns:auto 1fr;align-items:center}.health-command__control dl{grid-template-columns:repeat(4,1fr)}.health-domains__grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1050px){.health-command__header{grid-template-columns:1fr}.health-command__status{border:0;border-top:1px solid rgba(255,255,255,.13);border-bottom:1px solid rgba(255,255,255,.13)}.health-command__control{grid-template-columns:1fr}.health-telemetry{grid-template-columns:repeat(3,1fr)}.health-telemetry__item:nth-child(3n){border-right:0}.health-telemetry__item:nth-child(-n+3){border-bottom:1px solid #e5eaf0}.health-domains__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.diagnostic-operations__grid{grid-template-columns:1fr}}@media(max-width:680px){.health-command__header{padding:22px 19px}.health-command__status{align-items:flex-start;gap:15px}.health-command__instrument{width:80px;height:80px}.health-command__instrument strong{font-size:1.15rem}.health-command__control dl{grid-template-columns:1fr 1fr}.health-telemetry{grid-template-columns:repeat(2,1fr)}.health-telemetry__item:nth-child(3n){border-right:1px solid #e5eaf0}.health-telemetry__item:nth-child(2n){border-right:0}.health-telemetry__item:nth-child(-n+4){border-bottom:1px solid #e5eaf0}.health-domains>header{align-items:start}.health-domains>header>span{display:none}.health-domains__grid{grid-template-columns:1fr}.health-domain{min-height:235px}.health-clear{grid-template-columns:auto 1fr}.health-clear aside{grid-column:1/-1;padding:10px 0 0;border-left:0;border-top:1px solid #cce2d7}.diagnostic-operation>summary{grid-template-columns:40px 1fr}.diagnostic-operation__action{grid-column:2}}@media(prefers-reduced-motion:reduce){.health-command__instrument,.health-domain{transition:none}}
