/* The graph sizes itself: the figure is laid out for the screen width (see
   viewport.js) and its height is set by the app, so no CSS zoom is needed.
   Zoom used to shrink the text and broke touch/hover positions on mobile. */
#graph-section {
  padding-left: 24px;
  padding-right: 24px;
}

.dash-graph {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  transition: opacity 0.2s ease;
}

/* While a new graph is being worked out, keep the old one dimmed instead of flashing. */
.dash-graph[data-dash-is-loading="true"] {
  opacity: 0.55;
}

@media (max-width: 768px) {
  #graph-section {
    padding-left: 8px;
    padding-right: 8px;
  }
}
