/**
 * @file
 * The header bar (biopama_libraries/header-bar,
 * templates/biopama-header-bar.html.twig): start actions, a centred title,
 * end actions. Bootstrap has no utility for grid columns. The two sides share
 * what the title leaves, so the title sits in the true centre; the title's
 * track may shrink to nothing (text-truncate cuts it) while each side keeps
 * room for its own actions. The grid itself is Bootstrap's d-grid.
 */
.biopama-header-bar {
  grid-template-columns: 1fr minmax(0, max-content) 1fr;
}

/* A menu at the start (the tray's Download) opens towards the middle, not off
   the edge: Bootstrap's Dropdown reads --bs-position for its placement, and
   biopamaActionMenu's lists are dropdown-menu-end. */
.biopama-header-bar > :first-child .dropdown-menu {
  --bs-position: start;
}
