.ortende-chat {
    --ortende-blue: #29277d;
    --ortende-green: #14a67a;
    --ortende-shadow: 0 18px 55px rgba(20, 26, 55, 0.25);
    position: relative;
    z-index: 2147483000;
    font-family: inherit;
}

.ortende-chat *,
.ortende-chat *::before,
.ortende-chat *::after {
    box-sizing: border-box;
}

.ortende-chat__launcher {
    position: fixed;
    right: 24px;
    bottom: 110px;
    z-index: 2147483001;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 52px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--ortende-blue);
    box-shadow: 0 10px 30px rgba(41, 39, 125, 0.3);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.ortende-chat__launcher:hover,
.ortende-chat__launcher:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(41, 39, 125, 0.38);
}

.ortende-chat__launcher-icon,
.ortende-chat__launcher-icon svg {
    display: block;
    width: 22px;
    height: 22px;
}

.ortende-chat__launcher-icon svg {
    fill: currentColor;
}

.ortende-chat__panel {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 2147483002;
    display: flex;
    flex-direction: column;
    width: min(410px, calc(100vw - 32px));
    height: min(680px, calc(100vh - 40px));
    height: min(680px, calc(100dvh - 40px));
    overflow: hidden;
    border: 1px solid rgba(41, 39, 125, 0.12);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--ortende-shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(18px) scale(0.98);
    transform-origin: bottom right;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.ortende-chat[data-open="true"] .ortende-chat__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.ortende-chat[data-open="true"] .ortende-chat__launcher {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.ortende-chat__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 13px 14px 13px 19px;
    color: #fff;
    background: var(--ortende-blue);
}

.ortende-chat__header strong,
.ortende-chat__header span {
    display: block;
}

.ortende-chat__header strong {
    margin-bottom: 3px;
    font-size: 16px;
    line-height: 1.2;
}

.ortende-chat__header span {
    color: rgba(255, 255, 255, 0.84);
    font-size: 12px;
}

.ortende-chat__header i {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 4px;
    border-radius: 50%;
    background: #41dc9d;
}

.ortende-chat__close {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    place-items: center;
    cursor: pointer;
}

.ortende-chat__close:hover,
.ortende-chat__close:focus-visible {
    background: rgba(255, 255, 255, 0.22);
}

.ortende-chat__close svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.ortende-chat__body {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    background: #f7f8fb;
}

.ortende-chat__frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}

.ortende-chat__loading {
    position: absolute;
    inset: 0;
    display: grid;
    color: #65677a;
    background: #f7f8fb;
    font-size: 14px;
    place-items: center;
}

.ortende-chat__header-trigger {
    cursor: pointer;
}

.ortende-chat__header-icon {
    color: var(--ortende-green, #14a67a);
    font-size: 11px;
}

@media (max-width: 600px) {
    .ortende-chat__launcher {
        right: 14px;
        bottom: 80px;
        min-height: 50px;
        padding: 0 17px;
    }

    .ortende-chat__panel {
        inset: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        max-width: none;
        max-height: none;
        border: 0;
        border-radius: 0;
        transform: translateY(24px);
    }

    body.ortende-chat-is-open {
        overflow: hidden;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ortende-chat__launcher,
    .ortende-chat__panel {
        transition: none;
    }
}

