Expanding Details Component

I have a Details component, for which I want the summary view to look like:

| textleft              textright V |

where the | are the edges of the view area and V is the toggle.

I cannot figure out how to do this. First of all, I cannot find any way to make the Details component itself expand to full width when the content is not showing. Toggling the content on does move the toggle icon all the way to the right, I think because the content does force the Details component to use the full width.

I guess an offshoot question is - what is the right way to have a row showing on the screen taking full width with a left justified component and a right justified component. In other areas I use the approach below and it works (HorizontalLayout with two children HorizontalLayouts, the second set to Alignment.END). However, it feels like there is probably a more elegant solution.

The below is my current code, though I have tried lots of other variations:

        VerticalLayout authenticationSection = new VerticalLayout();
        authenticationSection.addClassName("card");
        masterLayout.add(authenticationSection);

        HorizontalLayout authHeader = new HorizontalLayout();
        authHeader.add(new Span("Authentication"));
        authHeader.setWidthFull();
        HorizontalLayout authHeaderInfo = new HorizontalLayout();
        authHeaderInfo.setWidthFull();
//        authHeaderInfo.setJustifyContentMode(FlexComponent.JustifyContentMode.END);
        authHeaderInfo.setAlignItems(FlexComponent.Alignment.END);
        authenticationDesc = new Span();
        authenticationDesc.setClassName("keytext");
        authHeaderInfo.add(authenticationDesc);
        authHeader.add(authHeaderInfo);

        crcForm = new CRCForm();
        crcForm.setMode(CRCForm.READ_MODE);

        Details component = new Details(authHeader, crcForm);
        component.addThemeVariants(DetailsVariant.REVERSE, DetailsVariant.FILLED);
        authenticationSection.add(component);

Hi Ken,
I know your question a year old but maybe you still search for an answer as I did.
I had the same problem these days and after searching the whole WEB and tried to understand the CSS adaptations of shadow parts from a non HTML approach (not so well documented at all) I resolved it by adding @CssImport(value = "./styles/misc/custom-details.css", themeFor = "vaadin-details") and in this file I wrote:
:host(.full-width) div[part="summary"] span[part="summary-content"] { width: 100%; }

The summary-content is the problem here I think. When I made it 100% the whole length of the Detail summary has been populated.
I hope I could help you out.

Best Regards