#tools-panel:not([data-rb="cut"]) #pb-rb-cut,
#tools-panel:not([data-rb="back"]) #pb-rb-back {
    display: none !important;
}

#tools-panel ul li.pb-rb {
    width: auto;
    padding: 2px 8px;
    white-space: nowrap;
}

#tools-panel ul li.pb-rb .fa {
    margin-right: 5px;
}

#tools-panel ul li.pb-rb.is-busy {
    opacity: .45;
    pointer-events: none;
}

html.pb-phone #tools-panel ul li.pb-rb {
    width: 44px;
    height: 44px;
    padding: 0;
    line-height: 44px;
}

html.pb-phone #tools-panel ul li.pb-rb .fa {
    margin-right: 0;
}

html.pb-phone #tools-panel ul li.pb-rb .pb-rb__t {
    display: none;
}

.pb-rb-busy {
    position: fixed;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 8px;
    background: rgba(255, 255, 255, .72);
    pointer-events: none;
}

.pb-rb-busy__w {
    display: flex;
    flex-direction: column;
    flex: none;
    align-items: center;
    width: max-content;
    max-width: 200px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
    color: #0d1b22;
    font: 600 13px/1.3 sans-serif;
    text-align: center;
}

.pb-rb-busy__s {
    width: 26px;
    height: 26px;
    margin-bottom: 8px;
    border: 3px solid #d7dde0;
    border-top-color: #e6007e;
    border-radius: 50%;
    animation: pb-rb-spin .9s linear infinite;
}

@keyframes pb-rb-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pb-rb-busy__s {
        animation-duration: 3s;
    }
}
