
/* Let the complete diagram determine the interface gallery height. */
html body #fct-detail-final #interfaces .interface-gallery-stage {
  display: grid;
  width: min(100%, 640px);
  margin-inline: auto;
  border-radius: 0;
  background: transparent;
}
html body #fct-detail-final #interfaces .interface-gallery-stage .f5-view-panels {
  display: contents;
}
html body #fct-detail-final #interfaces .interface-gallery-stage [role=tabpanel] > p {
  grid-row: 3;
}
html body #fct-detail-final #interfaces .interface-gallery-stage .f5-zoom-image {
  width: 100%;
  height: auto !important;
  min-height: 0;
  aspect-ratio: auto;
  padding: 0 !important;
  border: 0;
  background: transparent;
  box-shadow: none;
}
html body.fctel-detail-unified main#fct-detail-final.fct-detail-final #interfaces .interface-gallery-stage .f5-zoom-image img {
  width: auto;
  max-width: 100%;
  height: auto !important;
  max-height: 320px !important;
  margin-inline: auto;
}
html body #fct-detail-final #interfaces .interface-gallery-controls {
  position: static;
  grid-row: 2;
  justify-self: end;
  max-width: 100%;
  margin-block-start: 6px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

