/* Native blocks keep the original component geometry until an editor chooses a new style. */
.abacus-page :where(.wp-block-group),
.abacus-site-header :where(.wp-block-group),
.abacus-footer :where(.wp-block-group),
.abcd-site-header :where(.wp-block-group),
.abcd-footer :where(.wp-block-group) { box-sizing:border-box; }
.abacus-page :where(.wp-block-list) { margin-block-start:0; }
.abacus-page :where(.wp-block-details) > summary { list-style:none; }
/* WordPress applies its own paragraph margins inside flow groups. Preserve component spacing. */
:where(.abacus-page,.abacus-site-header,.abacus-footer,.abcd-site-header,.abcd-footer) :where(.is-layout-flow) > * { margin-block-start:0; margin-block-end:0; }
/* Individual user spacing and colour classes/inline styles continue to take precedence. */
.editor-styles-wrapper .wp-block-abacus-link { cursor:text; }
.editor-styles-wrapper .wp-block-abacus-feature .components-placeholder { min-height:100px; }
.editor-styles-wrapper .wp-block-abacus-media { height:auto; }
.editor-styles-wrapper [data-abacus-mobile-nav] { display:block; }
.editor-styles-wrapper .abacus-mobile-nav-toggle { display:none; }
.editor-styles-wrapper .wp-block-group .block-list-appender { position:relative; }
.editor-styles-wrapper .abacus-site-header,
.editor-styles-wrapper .abcd-site-header { position:relative; }
span.abacus-document-group__icon::before { content:"";display:block;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translate(5px,4px) rotate(45deg); }
/* Expose both maintained menus in the header editor without squeezing the desktop links. */
.editor-styles-wrapper :is(.abacus-site-nav,.abcd-site-nav) { flex-wrap:wrap;row-gap:20px; }
.editor-styles-wrapper :is(.abacus-site-nav__links,.abcd-site-nav__links) { margin-left:auto;flex-wrap:wrap; }
.editor-styles-wrapper .abacus-mobile-nav { position:relative;inset:auto;display:flex;flex-basis:100%;width:100%;gap:20px;flex-wrap:wrap;padding:16px;border-top:1px dashed var(--abacus-rule);box-shadow:none;background:transparent; }
.editor-styles-wrapper .abacus-mobile-nav::before { content:"Mobile navigation";font-size:12px;color:var(--abacus-muted);flex-basis:100%; }
.editor-styles-wrapper .abacus-mobile-nav a { margin:0;padding:4px; }
