/* Data Health — admin dashboard status panel */

@layer components {
  .data-health {
    display: flex;
    flex-direction: column;
  }

  .data-health__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--block-space) var(--inline-space-l);
    border-top: 1px solid var(--color-border);
  }

  .data-health__label {
    font-weight: 500;
    color: var(--color-ink-muted);
  }

  .data-health__value {
    font-weight: 600;
    font-variant-numeric: tabular-nums;

    &--healthy {
      display: inline-flex;
      align-items: center;
      gap: 0.25rem;
      color: oklch(0.55 0.15 145);
    }

    &--warning {
      display: inline-flex;
      align-items: center;
      gap: 0.25rem;
      color: oklch(0.55 0.2 25);
    }
  }

  .data-health__icon {
    width: 18px;
    height: 18px;
  }
}
