/* Description page.
   The page uses the shared components (callout, pipeline, tabs, pill button,
   not-fig figures). This file only keeps wide figure schematics legible on a
   phone: they scroll inside their own frame instead of shrinking to nothing. */

.not-fig__canvas {
  min-width: 700px;
}

.not-fig__canvas--narrow {
  min-width: 560px;
}

/* Figure cross-references ("Figure 4") jump to the figure. The navbar is
   sticky, so leave room for it or the figure lands underneath. */
.not-fig[id] {
  scroll-margin-top: 90px;
}

/* Figures 3 and 4 read a little large at full column width; cap and centre
   them. */
#fig-compiler .not-fig__canvas,
#fig-gates .not-fig__canvas {
  margin-inline: auto;
}

#fig-compiler .not-fig__canvas {
  min-width: 560px;
  max-width: 620px;
}

#fig-gates .not-fig__canvas {
  min-width: 520px;
  max-width: 560px;
}
