/*
 * Keeps the Lexxy toolbar in view while scrolling a long document.
 *
 * The toolbar sticks to the top of the window. Because a sticky element stays
 * inside its parent, each toolbar only sticks within its own <lexxy-editor>,
 * so pages with several editors hand off from one to the next.
 *
 * The management and admin layouts render the top nav unpinned
 * (pinned: false), so nothing else claims the top of the window there.
 */

lexxy-toolbar {
  position: sticky;
  top: 0;
  z-index: 40; /* under the public nav (z-50), over the editor content */
  background: var(--lexxy-color-canvas, white);
}
