/* One definition of the button geometry used by the public site and editor.
   The public selectors retain style.css's original specificity. Editor-only
   selectors reach content buttons, never WordPress toolbar/inserter buttons.
   Native inline block settings and explicit block styles remain overrides. */
:where(body:not(.wp-admin)) button,
:where(body:not(.wp-admin)) input[type="button"],
:where(body:not(.wp-admin)) input[type="reset"],
:where(body:not(.wp-admin)) input[type="submit"],
:where(body:not(.wp-admin)) a.button,
:where(body:not(.wp-admin)) .wp-element-button,
:where(body:not(.wp-admin)) .wp-block-button__link,
.editor-styles-wrapper .wp-element-button,
.editor-styles-wrapper .wp-block-button .wp-block-button__link {
  min-height: 44px;
  border-radius: 6px;
}

/* The Button block ancestor gives the editor selector priority over GP's
   later .wp-block-button__link:not(.has-background) radius reset. No !important
   is needed, so native inline radius controls still take precedence. */

/* Bridge GP's editor canvas surface to its editable Page background palette.
   This changes only the canvas; individual block backgrounds remain editable. */
.editor-styles-wrapper.editor-styles-wrapper {
  background-color: var(--bng-background, var(--base-2, #101820));
}
