.bdf-admin-toolbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 2147483000;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: #111827;
  color: #f9fafb;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .22);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.25;
}

.has-bdf-admin-toolbar body {
  padding-top: 52px;
}

.bdf-admin-toolbar a {
  color: inherit;
  text-decoration: none;
}

.bdf-admin-toolbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
  font-weight: 800;
}

.bdf-admin-toolbar__brand span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(90deg, #0055a4 0 34%, #fff 34% 66%, #ef233c 66% 100%);
  color: #111827;
  font-size: 10px;
  font-weight: 950;
}

.bdf-admin-toolbar__route {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #d1d5db;
  font-weight: 750;
}

.bdf-admin-toolbar__links {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
  overflow-x: auto;
  scrollbar-width: thin;
}

.bdf-admin-toolbar__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
  color: #f9fafb;
  font-weight: 750;
  white-space: nowrap;
}

.bdf-admin-toolbar__link:hover,
.bdf-admin-toolbar__link:focus-visible {
  background: rgba(255, 255, 255, .14);
  outline: none;
}

.bdf-admin-toolbar__link.is-primary {
  background: #2563eb;
  border-color: #3b82f6;
}

.bdf-admin-toolbar__link.is-edit {
  background: #16a34a;
  border-color: #22c55e;
}

.bdf-admin-toolbar__user {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
}

.public-article-admin-edit:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-left: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 760px) {
  .bdf-admin-toolbar {
    align-items: stretch;
    flex-wrap: wrap;
    gap: 6px;
    padding: 7px 10px;
  }

  .has-bdf-admin-toolbar body {
    padding-top: 102px;
  }

  .bdf-admin-toolbar__brand strong,
  .bdf-admin-toolbar__user {
    display: none;
  }

  .bdf-admin-toolbar__links {
    order: 3;
    flex-basis: 100%;
  }

  .bdf-admin-toolbar__link {
    min-height: 34px;
  }
}
