.story {
  max-width: 42em;
  margin: 0 0 8px;
}
/* a section's views line: the header's, without its rule */
.section .views.more {
  border-top: 0;
  padding-top: 0;
  margin: 8px 0 0;
}
/* two squares in the map's dot colour, like the airlines chart's key: the one chosen is solid, the other faded */
.map-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 1.5em;
  margin: 8px 0 0;
  font-size: 13px;
}
.map-controls button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.map-controls button[aria-checked="false"] {
  opacity: 0.45;
}
.map-controls button:hover,
.map-controls button:focus-visible {
  opacity: 1;
}
.key-square {
  width: 15px;
  height: 15px;
  background: var(--dot, currentColor);
  opacity: 0.75;
}
/* each graphic leaves room on screen for the next section to show */
.graphic {
  position: relative;
  margin: 12px 0 0;
}
/* the map's own shape (insets included), but never taller than the limit */
.map-box {
  aspect-ratio: 0.91 / 0.476;
  max-height: min(500px, 66vh);
  width: 100%;
}
.chart-box {
  min-height: min(380px, 66vh);
}
#usa-map {
  display: block;
  width: 100%;
  height: 100%;
  cursor: default;
}
#usa-map.pointing {
  cursor: pointer;
}
.graphic-status {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.map-box .graphic-status {
  position: absolute;
  left: 0;
  top: 0;
}
.map-tip.popover {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}
.map-tip[hidden] {
  display: none;
}
.chart-box figure {
  margin: 0;
}
.chart-box svg {
  --plot-background: var(--bg);
}
/* on a dark background the bands need more colour to read as the airlines' */
[data-scheme="dark"] .airline-band {
  fill-opacity: 0.55;
}
/* a 1px rule above each section, its heading directly beneath (the husk.org/labs pattern) */
.section {
  border-top: 1px solid var(--rule);
  margin: 36px 0 0;
  padding: 4px 0 0;
}
.section > h2 {
  margin: 0 0 8px;
}
