/* Formilla live chat handoff
 * The Formilla launcher is rendered inside its cross-origin #formilla-frame.
 * Keep the whole iframe invisible while it is in launcher state. The frontend
 * script adds fcp-formilla-chat-visible only after the iframe expands into the
 * actual chat window. Position values are supplied by the generated settings CSS.
 */
html:not(.fcp-formilla-chat-visible) #formilla-frame {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

html.fcp-formilla-chat-visible #formilla-frame {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: fixed !important;
    z-index: 2147483000 !important;
}

