.anomaly-toolbar-button {
  display: none;
  align-items: center;
  gap: 8px;
}

.anomaly-toolbar-button.is-visible {
  display: inline-flex;
}

.anomaly-count-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff1f0;
  color: #cf1322;
  font-size: 12px;
  font-weight: 700;
}

.anomaly-count-badge.is-empty {
  background: #f0fdf4;
  color: #15803d;
}

.anomaly-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.anomaly-summary-card {
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}

.anomaly-summary-card strong {
  display: block;
  margin-top: 4px;
  color: #0f172a;
  font-size: 22px;
}

.anomaly-readonly-note {
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid #bae0ff;
  border-radius: 8px;
  background: #e6f4ff;
  color: #0958d9;
  line-height: 1.55;
}

.staging-environment-banner {
    position: sticky;
    top: 0;
    z-index: 10000;
    padding: 9px 16px;
    background: #7f1d1d;
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(127, 29, 29, 0.22);
}

.anomaly-empty-state {
  padding: 36px 16px;
  text-align: center;
  color: #475569;
}

@media (max-width: 900px) {
  .anomaly-summary-grid {
    grid-template-columns: 1fr;
  }
}
