/* Shared site chrome: independent of the campaign's enable switch. */
.ec-shared-layout {
    box-sizing: border-box;
    display: block;
    flex: 0 0 auto;
    width: 100%;
    height: calc(var(--ec-layout-header-space, 0px) + var(--ec-layout-banner-space, 0px));
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    line-height: 0;
    font-size: 0;
    pointer-events: none;
}

/* Keep the logged-in toolbar/header stack constant, including below 600px
   where WordPress otherwise makes its toolbar absolute and scroll-dependent.
   WordPress's existing html margin supplies the toolbar's document-flow space. */
body.ec-shared-layout-admin #wpadminbar {
    position: fixed !important;
    top: 0 !important;
}

body.ec-shared-layout-admin .ec-shared-header-document {
    top: var(--ec-layout-toolbar-height, 0px) !important;
}
