/* A back chevron while there is somewhere to go back to, the title, a trailing slot. `header`, since the
   compound's other members render no element. The height is the back button's, changing between root and
   sub-screen, so none is stated. `min-width: 0` lets a long title truncate rather than widen the panel. */
@layer theme, base, lotics, components, utilities;
@layer lotics.tokens, lotics.reset, lotics.components;

@layer lotics.components {
  .lotics-popover-nav__header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--lotics-space-8);
    padding-inline-start: var(--lotics-space-8);
  }

  .lotics-popover-nav__title {
    flex: 1;
    min-width: 0;
  }
}
