:root {
  --color-primary: #00ff88;
  --color-primary-contrast: #0a0a0a;
  --color-bg: #030608;
  --color-surface: #080d14;
  --color-surface-elevated: #0c1520;
  --color-text: #e6edf3;
  --color-text-bright: #ffffff;
  --color-muted: #7a8494;
  --color-danger: #ff2244;
  --color-danger-dim: rgba(255, 34, 68, 0.12);
  --color-warning: #ffaa00;
  --color-warning-dim: rgba(255, 170, 0, 0.12);
  --color-info: #3399ff;
  --color-info-dim: rgba(51, 153, 255, 0.12);
  --color-success: #00ff88;
  --color-accent: #a855f7;
  --color-accent-dim: rgba(168, 85, 247, 0.12);
  --color-gold: #ffd700;
  --color-gold-dim: rgba(255, 215, 0, 0.12);
  --font-heading: 'JetBrains Mono', 'Courier New', monospace;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-soft: 0 0 40px rgba(0,255,136,0.04);
  --shadow-glow: 0 0 50px rgba(0,255,136,0.1);
  --shadow-elevated: 0 0 60px rgba(0,255,136,0.06);
  --border-subtle: rgba(255,255,255,0.05);
  --border-active: rgba(0,255,136,0.2);
  --border-danger: rgba(255,34,68,0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 3.5rem;
}

/* Keep data panels useful even when an external chart script is blocked. */
[id$="Chart"]:empty,
[id$="Bar"]:empty,
#fusionMap:empty {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background:
    linear-gradient(to top, rgba(0, 255, 136, 0.12) 1px, transparent 1px) 0 100% / 100% 25% repeat-y,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 12.5% 100% repeat-x,
    rgba(255, 255, 255, 0.015);
}

[id$="Chart"]:empty::before,
[id$="Bar"]:empty::before,
#fusionMap:empty::before {
  content: "LIVE VISUALIZATION  •  DATA FEED AVAILABLE";
  position: absolute;
  inset: 1rem auto auto 1rem;
  color: var(--color-muted);
  font: 0.65rem var(--font-heading);
  letter-spacing: 0.08em;
}

[id$="Chart"]:empty::after,
[id$="Bar"]:empty::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 14%;
  height: 58%;
  opacity: 0.8;
  background: linear-gradient(90deg,
      transparent 0 3%, var(--color-primary) 3% 10%, transparent 10% 15%,
      var(--color-info) 15% 25%, transparent 25% 30%, var(--color-warning) 30% 42%,
      transparent 42% 48%, var(--color-primary) 48% 62%, transparent 62% 68%,
      var(--color-danger) 68% 80%, transparent 80% 86%, var(--color-info) 86% 97%, transparent 97%);
  clip-path: polygon(0 100%, 0 62%, 8% 72%, 16% 42%, 25% 60%, 34% 28%, 44% 54%, 54% 18%, 64% 48%, 74% 34%, 84% 58%, 92% 22%, 100% 40%, 100% 100%);
}

#fusionMap:empty::after {
  content: "MAP LAYER OFFLINE\A\AEnable a configured map provider to load live tiles.\AThe dashboard continues to show source-attributed records below.";
  white-space: pre-wrap;
  position: absolute;
  inset: 42% 1rem auto;
  color: var(--color-muted);
  text-align: center;
  font: 0.7rem/1.7 var(--font-heading);
}

.fallback-visual {
  min-height: 220px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  padding: 2rem;
  text-align: center;
  background:
    linear-gradient(to top, rgba(0, 255, 136, 0.1) 1px, transparent 1px) 0 100% / 100% 25% repeat-y,
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 12.5% 100% repeat-x,
    rgba(255, 255, 255, 0.015);
}

.fallback-visual strong {
  color: var(--color-primary);
  font: 0.75rem var(--font-heading);
  letter-spacing: 0.08em;
}

.fallback-visual span {
  max-width: 34rem;
  color: var(--color-muted);
  font: 0.7rem/1.5 var(--font-heading);
}

.offline-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.8rem;
  background: var(--color-surface);
  border-top: 1px solid rgba(0, 255, 136, 0.25);
  color: var(--color-muted);
  font: 0.65rem var(--font-heading);
}

.offline-bar strong {
  color: var(--color-primary);
  white-space: nowrap;
}

.offline-bar button {
  margin-left: auto;
  white-space: nowrap;
  padding: 0.35rem 0.65rem;
  font-size: 0.6rem;
}

.offline-dot {
  width: 0.45rem;
  height: 0.45rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
}

.data-snapshot {
  min-height: 210px;
  padding: 1rem;
  background:
    linear-gradient(to top, rgba(0, 255, 136, 0.08) 1px, transparent 1px) 0 100% / 100% 25% repeat-y,
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px) 0 0 / 16.66% 100% repeat-x,
    var(--color-surface);
}

.snapshot-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.snapshot-heading strong {
  color: var(--color-primary);
  font: 0.75rem var(--font-heading);
  letter-spacing: 0.08em;
}

.snapshot-heading span,
.snapshot-source,
.data-snapshot small {
  color: var(--color-muted);
  font: 0.62rem/1.5 var(--font-heading);
}

.snapshot-source {
  margin-top: 0.35rem;
  color: var(--color-text);
}

.snapshot-rows {
  display: grid;
  gap: 0.42rem;
  margin-top: 0.9rem;
}

.snapshot-row {
  display: grid;
  grid-template-columns: minmax(7rem, 1fr) 4.5rem;
  gap: 0.5rem;
  align-items: center;
  color: var(--color-text);
  font: 0.68rem var(--font-heading);
}

.snapshot-row b {
  text-align: right;
  color: var(--color-primary);
  font-weight: 600;
}

.snapshot-row i {
  grid-column: 1 / -1;
  display: block;
  height: 0.28rem;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
}

.snapshot-row em {
  display: block;
  height: 100%;
  border-radius: inherit;
}

:root {
  --snapshot-color-1: var(--color-primary);
  --snapshot-color-2: var(--color-info);
  --snapshot-color-3: var(--color-warning);
  --snapshot-color-4: var(--color-danger);
}

.data-snapshot small {
  display: block;
  margin-top: 0.8rem;
}

/* ── Live AI Assistant (atlas-ai) ─────────────────── */
.atlas-ai {
  position: fixed;
  right: 1rem;
  bottom: 3.8rem;
  z-index: 9998;
  width: min(26rem, calc(100vw - 2rem));
  font-family: var(--font-body);
}

.atlas-ai-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-primary);
  font: 0.7rem var(--font-heading);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.05em;
}

.atlas-ai-toggle:hover {
  box-shadow: 0 0 16px rgba(0,255,136,0.2);
}

.atlas-ai-indicator {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

.atlas-ai-panel {
  margin-top: 0.5rem;
  border: 1px solid rgba(0,255,136,0.2);
  border-radius: var(--radius);
  background: rgba(11,17,25,0.98);
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  max-height: min(32rem, 70vh);
  overflow: hidden;
}

.atlas-ai-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.atlas-ai-title {
  font: 0.62rem var(--font-heading);
  color: var(--color-text);
  letter-spacing: 0.04em;
}

.atlas-ai-status {
  font: 0.55rem var(--font-heading);
  color: var(--color-primary);
  letter-spacing: 0.08em;
}

.atlas-ai-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.55rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 8rem;
  max-height: 20rem;
  scroll-behavior: smooth;
}

.atlas-ai-msg {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--color-text);
  animation: fadeIn 0.2s ease;
}

.atlas-ai-msg-icon {
  font-size: 0.55rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
  width: 1rem;
  text-align: center;
}

.atlas-ai-msg-system .atlas-ai-msg-icon {
  color: var(--color-primary);
}

.atlas-ai-msg-user .atlas-ai-msg-icon {
  color: var(--color-info);
}

.atlas-ai-msg-assistant .atlas-ai-msg-icon {
  color: var(--color-warning);
}

.atlas-ai-msg strong {
  font-weight: 600;
  color: var(--color-primary);
}

.atlas-ai-inputrow {
  display: flex;
  gap: 0.3rem;
  padding: 0.5rem 0.65rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
  align-items: center;
}

.atlas-ai-input {
  min-width: 0;
  flex: 1;
  padding: 0.5rem 0.6rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  font: 0.72rem var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.atlas-ai-input:focus {
  border-color: var(--color-primary);
}

.atlas-ai-btn {
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.atlas-ai-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.7rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  font: 0.5rem var(--font-heading);
  color: var(--color-muted);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .atlas-ai {
    right: 0.5rem;
    width: calc(100vw - 1rem);
    bottom: 3.4rem;
  }
  .atlas-ai-panel {
    max-height: min(26rem, 60vh);
  }
  .atlas-ai-messages {
    max-height: 14rem;
    min-height: 6rem;
  }
}

.offline-mode .offline-dot {
  background: var(--color-warning);
  box-shadow: 0 0 8px var(--color-warning);
}

.offline-mode .offline-bar strong {
  color: var(--color-warning);
}

@media (max-width: 640px) {
  nav .max-w-7xl {
    justify-content: flex-start;
    gap: 1rem;
    overflow-x: auto;
  }

  nav .max-w-7xl > div {
    flex-shrink: 0;
  }

  main {
    width: 100%;
  }

  [id$="Chart"]:empty,
  [id$="Bar"]:empty,
  #fusionMap:empty {
    min-height: 220px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

.glass {
  background: rgba(11, 17, 25, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.glass-elevated {
  background: rgba(11, 17, 25, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-active);
  box-shadow: var(--shadow-glow);
}

.glass-light {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
}

.btn {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-primary-contrast);
}

.btn-primary:hover {
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-danger {
  background: var(--color-danger);
  color: white;
}

.badge {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-live {
  background: var(--color-danger);
  color: white;
  animation: pulse-dot 1.5s infinite;
}

.badge-active {
  background: var(--color-primary);
  color: var(--color-primary-contrast);
}

.badge-warning {
  background: var(--color-warning);
  color: #0a0a0a;
}

.badge-info {
  background: var(--color-info);
  color: white;
}

.badge-muted {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-muted);
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scanline {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px,
      rgba(0, 255, 136, 0.012) 2px, rgba(0, 255, 136, 0.012) 4px);
}

/* ── Satellite Map Styles ─────────────────────────── */
#satelliteMap {
  background: var(--color-bg);
  z-index: 1;
}

#satelliteMap .leaflet-control-zoom a {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: rgba(255,255,255,0.1);
}

#satelliteMap .leaflet-control-zoom a:hover {
  background: var(--color-bg);
  color: var(--color-primary);
}

#satelliteMap .leaflet-control-attribution {
  background: rgba(11,17,25,0.85);
  color: var(--color-muted);
  font: 9px/1.4 'JetBrains Mono', monospace;
  padding: 2px 6px;
}

#satelliteMap .leaflet-control-attribution a {
  color: var(--color-primary);
}

.sat-marker {
  background: transparent !important;
  border: none !important;
}

.sat-tooltip {
  background: rgba(11,17,25,0.95) !important;
  border: 1px solid rgba(0,255,136,0.3) !important;
  color: var(--color-text) !important;
  font: 10px/1.4 'JetBrains Mono', monospace !important;
  border-radius: 4px !important;
  padding: 4px 8px !important;
  box-shadow: 0 0 20px rgba(0,0,0,0.5) !important;
}

.sat-tooltip::before {
  border-top-color: rgba(0,255,136,0.3) !important;
}

@media (max-width:640px) {
  #satelliteMap {
    height: 340px !important;
  }
}

::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* ── CLASSIFIED BANNER ─────────────────────────────── */
.classified-banner {
  position: fixed;
  top: 3.5rem;
  left: 0;
  right: 0;
  z-index: 9997;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 0.2rem 0.5rem;
  background: linear-gradient(90deg, rgba(255,51,85,0.08), rgba(255,51,85,0.02), rgba(255,51,85,0.08));
  border-bottom: 1px solid rgba(255,51,85,0.12);
  font: 0.45rem var(--font-heading);
  color: var(--color-danger);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}

.classified-banner span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.classified-banner .pulse-dot {
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--color-danger);
  animation: pulse-dot 2s infinite;
}

/* ── WATERMARK ─────────────────────────────────────── */
.watermark {
  position: fixed;
  inset: 0;
  z-index: 9995;
  pointer-events: none;
  overflow: hidden;
}

.watermark::before {
  content: "CLASSIFIED // ATLAS v3.1 // OSINT FUSION // TOP SECRET //";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-35deg);
  font: 0.55rem var(--font-heading);
  color: rgba(255,255,255,0.015);
  letter-spacing: 0.5em;
  white-space: nowrap;
  text-transform: uppercase;
  width: 200%;
  text-align: center;
  line-height: 3;
}

/* ── REAL-TIME STATUS BAR ──────────────────────────── */
.realtime-bar {
  position: fixed;
  top: 4.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9996;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.25rem 1rem;
  background: rgba(5,8,12,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 999px;
  font: 0.5rem var(--font-heading);
  color: var(--color-muted);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.realtime-bar strong {
  color: var(--color-text);
  font-weight: 500;
}

.realtime-bar .status-dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 6px var(--color-primary);
  animation: pulse-dot 2s infinite;
}

/* ── LOADING SHIMMER ───────────────────────────────── */
.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,255,136,0.04), transparent);
  animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
  to { left: 100%; }
}

/* ── TOOLTIP PROFESSIONAL ─────────────────────────── */
.tooltip-pro {
  position: relative;
}

.tooltip-pro::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 0.4rem);
  left: 50%;
  transform: translateX(-50%) scale(0.95);
  padding: 0.3rem 0.6rem;
  background: var(--color-surface);
  border: 1px solid var(--border-active);
  border-radius: var(--radius);
  font: 0.55rem var(--font-heading);
  color: var(--color-text);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.15s ease;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.tooltip-pro:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.source-tag {
  font-size: 0.6rem;
  font-family: var(--font-heading);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-muted);
  letter-spacing: 0.03em;
}

.agent-mini {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.agent-mini:hover {
  background: rgba(255,255,255,0.03);
  transform: translateY(-1px);
}

.agent-mini::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  opacity: 0.3;
}

.fusion-node {
  position: relative;
  border: 1px solid rgba(0, 255, 136, 0.15);
  border-radius: var(--radius);
  padding: 0.75rem;
  background: rgba(0, 255, 136, 0.02);
  transition: all 0.3s;
}

.fusion-node:hover {
  border-color: rgba(0, 255, 136, 0.4);
  background: rgba(0, 255, 136, 0.04);
}

/* Compact, useful chart fallback for previews and offline mode. */
.fallback-visual {
  position: relative;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0.35rem;
  padding: 1.1rem 1rem 0.9rem;
  text-align: left;
  background:
    linear-gradient(to top, rgba(0, 255, 136, 0.10) 1px, transparent 1px) 0 100% / 100% 33.333% repeat-y,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 12.5% 100% repeat-x,
    rgba(255, 255, 255, 0.015);
}

.fallback-visual strong {
  position: relative;
  z-index: 2;
  color: var(--color-primary);
  font-size: 0.72rem;
  line-height: 1.35;
}

.fallback-visual span {
  position: relative;
  z-index: 2;
  max-width: 32rem;
  color: var(--color-muted);
  font-size: 0.67rem;
  line-height: 1.4;
}

.fallback-visual span:first-of-type {
  color: var(--color-text);
}

.fallback-visual::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 14%;
  height: 42%;
  opacity: 0.78;
  background: linear-gradient(90deg,
    var(--color-primary) 0 7%, transparent 7% 12%,
    var(--color-info) 12% 22%, transparent 22% 27%,
    var(--color-warning) 27% 39%, transparent 39% 44%,
    var(--color-primary) 44% 57%, transparent 57% 63%,
    var(--color-info) 63% 76%, transparent 76% 82%,
    var(--color-warning) 82% 94%, transparent 94%);
  clip-path: polygon(0 100%, 0 62%, 8% 72%, 16% 40%, 25% 58%, 35% 25%, 45% 52%, 55% 18%, 65% 46%, 75% 30%, 85% 56%, 94% 22%, 100% 38%, 100% 100%);
}

#milPowerChart,
#satOrbitChart,
#orbitTypeChart,
#nationChart,
#nationBar,
#categoryChart,
#energySourceChart,
#regionalChart,
#timelineChart {
  min-height: 210px;
  height: 210px !important;
}

@media (max-width: 640px) {
  #milPowerChart,
  #satOrbitChart,
  #orbitTypeChart,
  #nationChart,
  #nationBar,
  #categoryChart,
  #energySourceChart,
  #regionalChart,
  #timelineChart {
    height: 185px !important;
  }

  .fallback-visual {
    min-height: 170px;
    padding: 0.9rem 0.8rem 0.7rem;
  }

  .fallback-visual strong {
    font-size: 0.65rem;
  }

  .fallback-visual span {
    font-size: 0.62rem;
  }

  .overflow-x-auto {
    max-width: 100%;
    overscroll-behavior-x: contain;
  }
}

