.health-loading {
  min-height: 240px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
}
.health-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-radius: 20px;
  border: 1px solid #d7e6db;
  background: linear-gradient(135deg, #eef9f1, #fff);
  margin-bottom: 18px;
}
.health-banner.warning {
  border-color: #ead59c;
  background: linear-gradient(135deg, #fff7dd, #fff);
}
.health-banner.critical {
  border-color: #e6b8bb;
  background: linear-gradient(135deg, #fff0f0, #fff);
}
.health-banner small,
.health-metric small {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.health-banner strong {
  display: block;
  font-size: 26px;
  margin: 5px 0;
}
.health-banner p {
  margin: 0;
  color: var(--muted);
}
.health-banner > b {
  display: grid;
  place-items: center;
  min-width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #fff;
  border: 7px solid #49a96c;
  font-size: 20px;
}
.health-banner.warning > b {
  border-color: #d8a427;
}
.health-banner.critical > b {
  border-color: #c84646;
}
.health-banner > b small {
  font-size: 9px;
}
.health-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.health-metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.health-metric strong {
  display: block;
  font-size: 25px;
  margin: 7px 0;
}
.health-metric span {
  font-size: 12px;
  color: var(--muted);
}
.health-metric.warning {
  border-left: 4px solid #d8a427;
}
.health-metric.critical {
  border-left: 4px solid #c84646;
}
.health-columns {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
  margin-bottom: 16px;
}
.health-timeline,
.health-errors {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.health-timeline > div,
.health-errors > div {
  display: grid;
  gap: 3px;
  padding: 11px;
  border-radius: 10px;
  background: var(--paper);
}
.health-timeline span,
.health-errors span,
.health-errors small {
  font-size: 12px;
  color: var(--muted);
}
.pilot-progress {
  height: 10px;
  border-radius: 99px;
  background: #ecebe6;
  overflow: hidden;
  margin: 12px 0 18px;
}
.pilot-progress i {
  display: block;
  height: 100%;
  background: #c89932;
}
.pilot-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.pilot-list label {
  display: flex;
  gap: 11px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.pilot-list input {
  width: 18px;
  height: 18px;
  accent-color: #171717;
}
.pilot-list span {
  display: grid;
  gap: 3px;
}
.pilot-list small {
  color: #9b6800;
  font-weight: 800;
  text-transform: uppercase;
}
.pilot-list em {
  font-size: 11px;
  color: var(--muted);
  font-style: normal;
}
@media (max-width: 850px) {
  .health-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .health-columns,
  .pilot-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .health-grid {
    grid-template-columns: 1fr;
  }
  .health-banner {
    padding: 18px;
  }
  .health-banner > b {
    min-width: 68px;
    height: 68px;
    border-width: 5px;
  }
}
