/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */

.extension-controlled-message-bar,
.reenable-extensions-message-bar {
  margin-block-end: var(--space-large);
}

setting-control[hidden]:has(> moz-message-bar):not([slot="nested"], :last-child) {
  display: block;
  margin-block-start: calc(-1 * var(--space-large));
}
