.healthDisclosure { grid-column:1 / -1; grid-row:3; display:grid; grid-template-rows:0fr; opacity:0; transition:grid-template-rows 260ms ease,opacity 260ms ease; }
.healthDisclosure[hidden] { display:none; }
.healthDisclosure[data-open="true"] { grid-template-rows:1fr; opacity:1; }
.healthClip { min-height:0; min-width:0; overflow:hidden; }
@media (prefers-reduced-motion:reduce) {
  .healthDisclosure { transition:none; }
}
.health [hidden] { display:none !important; }
.health .panelHeader { flex-wrap:wrap; gap:10px 18px; }
.healthObservers { display:flex; gap:3px; margin-right:auto; padding:3px; border:1px solid var(--line); border-radius:4px; background:#07101b; }
.healthObservers button { min-height:30px; padding:4px 15px; border:0; border-radius:2px; color:#96a9bc; background:none; font:12px var(--mono); cursor:pointer; }
.healthObservers button[aria-pressed="true"] { background:#173553; color:#e5f1ff; }
.healthBody { padding:14px 16px 16px; }
.healthSourceState { margin:0 0 12px; color:#a5b7c9; font-size:11px; line-height:1.6; }
.healthTargets { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:7px; }
.healthTarget { min-width:0; padding:12px 11px; text-align:left; border:1px solid #2b3949; border-top:2px solid var(--target-color); border-radius:3px; background:#07111e; color:#dce9f6; cursor:pointer; font:inherit; }
.healthTarget[aria-pressed="true"] { background:#122238; border-color:#6889ad; border-top-color:var(--target-color); }
.healthTargetName { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }
.healthTargetStatus { display:flex; align-items:center; gap:6px; margin-top:11px; color:#a8b6c8; font-size:11px; }
.healthTargetStatus i { width:7px; height:7px; border-radius:50%; background:#9297a0; flex:none; }
.healthTarget[data-sample="success"] .healthTargetStatus i { background:var(--green); }
.healthTarget[data-sample="failure"] .healthTargetStatus i { background:var(--red); }
.healthTargetLatency { display:block; min-height:26px; margin-top:7px; font:600 19px var(--mono); color:#edf7ff; font-variant-numeric:tabular-nums; }
.healthTargetLatency small { margin-left:4px; color:#92a4b8; font-size:10px; font-weight:400; }
.healthTargetTime { display:block; margin-top:8px; color:#899cae; font-size:10px; }
.healthDetail { margin-top:17px; padding-top:14px; border-top:1px solid var(--line); }
.healthDetailHead { display:flex; align-items:center; flex-wrap:wrap; gap:8px 18px; }
.health h3 { margin:0; color:#dae8f8; font:500 15px var(--mono); }
#healthCurrentDetail { color:#a6b9cc; font-size:11px; line-height:1.6; }
.healthRange { display:flex; align-items:center; gap:8px; margin-left:auto; color:#9dafc4; font-size:11px; }
.healthRange select { min-height:30px; padding:3px 8px; color:#d8e7f6; background:#0a1826; border:1px solid #34485d; border-radius:3px; font:12px var(--mono); }
.healthRange select:focus-visible { outline:2px solid var(--cyan); outline-offset:2px; }
.healthTrend { position:relative; margin:13px 0 0; border:1px solid #233447; border-radius:3px; background:#060e19; }
#healthChart { display:block; width:100%; height:210px; }
#healthChart:focus-visible { outline:2px solid var(--cyan); outline-offset:-2px; }
#healthChartEmpty { position:absolute; inset:0 0 30px; display:grid; place-items:center; color:#8fa3b7; font-size:12px; pointer-events:none; }
.healthTrend figcaption { display:flex; flex-wrap:wrap; justify-content:space-between; gap:5px 14px; min-height:31px; padding:7px 11px; border-top:1px solid #1c2c3d; color:#8fa3b7; font-size:10px; }
#healthSample { color:#d5e8fc; }
.healthNote { margin:8px 0 14px; color:#8fa3b7; font-size:10px; line-height:1.6; }
.healthFailureHead { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px; }
#healthFailureCount { color:#8fa3b7; font-size:10px; }
.healthFailureScroll { max-height:160px; overflow:auto; border:1px solid #233447; border-radius:3px; }
.healthFailures { width:100%; border-collapse:separate; border-spacing:0; font-size:11px; }
.healthFailures th,.healthFailures td { padding:8px 11px; text-align:left; border-bottom:1px solid #1c2c3d; }
.healthFailures th { position:sticky; top:0; z-index:1; background:#101b29; color:#a2b6ca; font-weight:500; }
.healthFailures td { color:#c8d8e7; }
.healthFailures td:first-child { white-space:nowrap; color:#92a7bd; font-variant-numeric:tabular-nums; }
.healthFailures td:nth-child(2) { white-space:nowrap; }
.healthEmpty { margin:0; padding:16px 11px; color:#8fa3b7; font-size:11px; }
@media (max-width:1050px) {
  .healthTargets { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media (max-width:760px) {
  .health { margin-top:6px; }
}
@media (max-width:560px) {
  .healthBody { padding:12px 10px; }
  .healthObservers { margin-right:0; margin-left:auto; }
  .healthObservers button { padding:4px 10px; }
  .health .snapshotFlag { margin-left:auto; }
  .healthTargets { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .healthTarget:last-child { grid-column:1 / -1; }
  .healthTarget { padding:10px; }
  .healthTargetLatency { font-size:18px; }
  .healthDetailHead h3 { flex-basis:100%; }
  .healthRange { margin-left:0; }
  #healthCurrentDetail { flex:1 1 auto; }
  .healthFailures th,.healthFailures td { padding:8px 7px; }
}
