.a11y-toolbar .bce-a11y-launcher { display: none; }

@media (max-width: 640px) {
  .a11y-toolbar.a11y-toolbar.standard-location.bce-a11y-mobile {
    top: auto;
    right: calc(10px + env(safe-area-inset-right));
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    transform: none;
  }
  .a11y-toolbar.bce-a11y-mobile > .bce-a11y-launcher {
    display: grid;
    place-items: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    margin: 0;
    border: 1px solid #1a2a38;
    border-radius: 50% !important;
    background: #1a2a38;
    color: #fff;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 3px 12px rgb(26 42 56 / 18%);
  }
  .a11y-toolbar.bce-a11y-mobile > .bce-a11y-launcher svg {
    display: block;
    width: 24px;
    height: 24px;
    pointer-events: none;
  }
  .a11y-toolbar.bce-a11y-mobile > .bce-a11y-launcher:is(:hover, [aria-expanded="true"]) {
    background: #324859;
  }
  .a11y-toolbar.bce-a11y-mobile > .bce-a11y-launcher.bce-a11y-enabled {
    border-color: #8a4d1e;
    box-shadow: 0 0 0 2px #8a4d1e;
  }
  .a11y-toolbar.bce-a11y-mobile > .bce-a11y-launcher:focus-visible {
    outline: 3px solid #8a4d1e !important;
    outline-offset: 3px !important;
  }
  .a11y-toolbar.bce-a11y-mobile > .a11y-toolbar-list {
    display: none;
    position: absolute;
    top: auto;
    right: 0;
    bottom: 54px;
    left: auto;
    flex-direction: row;
    gap: 4px;
    width: max-content;
    max-width: calc(100vw - 20px);
    margin: 0;
    padding: 6px;
    border: 1px solid #d7dcd9;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 5px 20px rgb(26 42 56 / 16%);
  }
  .a11y-toolbar.bce-a11y-mobile.bce-a11y-open > .a11y-toolbar-list { display: flex; }
  .a11y-toolbar.bce-a11y-mobile .a11y-toolbar-list .a11y-toolbar-list-item button {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 9px !important;
  }
  .a11y-toolbar.bce-a11y-mobile .aticon { font-size: 22px !important; }
  .contrast .a11y-toolbar.a11y-toolbar.standard-location.bce-a11y-mobile {
    background: transparent !important;
    border: 0 !important;
  }
  .contrast .a11y-toolbar.bce-a11y-mobile > .bce-a11y-launcher,
  .contrast .a11y-toolbar.bce-a11y-mobile > .a11y-toolbar-list {
    border: 1px solid #fff !important;
    background: #000 !important;
    color: #fff !important;
  }
}

@media (forced-colors: active) {
  .a11y-toolbar.bce-a11y-mobile > .bce-a11y-launcher {
    border-color: ButtonText;
    background: ButtonFace;
    color: ButtonText;
    box-shadow: none;
  }
}
