/*
 * The Map page's frame (genome-map-page.md; gem plan 02): the map is the
 * geneops-genome-map gem's, styled by the gem's stylesheets, and gets the
 * width and height snip gives it. The main wrapper drops its maximum width
 * and keeps the top bar's inline gutters (snip's app-shell--full), the
 * page is dark as snip's is, the sub-navigation sits where snip's section
 * navigation does, and the map leaves the main wrapper's bottom padding
 * under itself (--genome-map-foot, read by the gem's map.js resize).
 */

.app-main.app-main--map {
  max-width: none;
  padding-top: var(--spacing-80); /* Note: snip's app shell: clears the fixed 80px nav */
  padding-bottom: var(--spacing-48);
  --genome-map-foot: var(--spacing-48);
}

@media (min-width: 48rem) {
  .app-main.app-main--map { padding-inline: var(--spacing-48); }
}

.genome-map-page {
  color: var(--text-primary);
}

/* As snip's .section-nav-bar: under the top bar, above the map. */
.genome-map-page .genome-subnav {
  padding-bottom: var(--spacing-12);
  margin-bottom: var(--spacing-24);
  border-bottom-color: var(--border-default);
}

.genome-map-state {
  margin-bottom: var(--spacing-24);
}
