body { background-color: #000000; }

.bg-grid {
  background-image:
    linear-gradient(to right, rgba(21,187,193,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(21,187,193,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
}

.text-gradient {
  background: linear-gradient(90deg, #15BBC1 0%, #8ADDE0 50%, #15BBC1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tabular { font-variant-numeric: tabular-nums; }

/* Loading shimmer for cards waiting on FRED */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.09) 50%, rgba(255,255,255,0.04) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: 6px;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  .skeleton, .animate-pulse { animation: none; }
}

/* Chart */
/* Long-pressing a chart starts a zoom selection; stop iOS from showing its callout / text magnifier. */
.chart-svg { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.chart-tooltip {
  position: absolute;
  pointer-events: none;
  background: #0a0a0a;
  border: 1px solid #262626;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}
