#crm-bridge-shell {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    background: #161616;
}

#crm-bridge-shell[hidden] {
    display: none !important;
}

#crm-bridge-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #f4f4f2;
}

@media (min-width: 1024px) {
    #crm-bridge-shell {
        left: 4rem;
    }
}

@media (min-width: 1280px) {
    #crm-bridge-shell {
        left: 5rem;
    }
}

.crm-bridge-rail {
    cursor: pointer;
}

.crm-bridge-rail.is-open .button-icon,
#crm-bridge-btn.is-open .button-icon {
    background: rgba(138, 115, 74, 0.16);
}

.crm-bridge-rail .button-icon svg,
#crm-bridge-btn .button-icon svg {
    display: block;
}

.crm-bridge-close {
    display: none;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 50;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 0;
    border-radius: 10px;
    background: #161616;
    color: #f3f1ec;
    font: 600 13px/1.2 system-ui, sans-serif;
    cursor: pointer;
}

#crm-bridge-shell:not([hidden]) ~ .crm-bridge-close,
.crm-bridge-close.is-visible {
    display: inline-flex;
}

@media (min-width: 1024px) {
    .crm-bridge-close {
        display: none !important;
    }
}
