/* Super Admin → Freshness monitoring + the stale-data card on Scheduled job health
   (ai_reference/observability.md → "Freshness monitoring"). */

.freshness-card {
  margin-top: 16px;
}

.freshness-card--alert {
  border-color: var(--red);
  background: var(--red-tint);
}

.freshness-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.freshness-card__title {
  margin-top: 0;
}

.freshness-subtitle {
  margin: 4px 0 0;
  font-size: 13px;
}

.freshness-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.freshness-badge--stale { background: var(--red-tint); color: var(--red); }
.freshness-badge--fresh { background: var(--green-tint); color: var(--green); }
.freshness-badge--off { background: var(--border-light); color: var(--muted); }
.freshness-badge--acknowledged { background: var(--amber-tint); color: var(--amber); }

.freshness-error {
  color: var(--red);
  max-width: 520px;
}

.freshness-meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

.freshness-num {
  text-align: right;
}

.freshness-actions {
  text-align: right;
  white-space: nowrap;
}

.freshness-hours-input {
  max-width: 120px;
}

.freshness-feed-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.freshness-feed-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border-light);
}

.freshness-feed-list .form-label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 400;
}

