.d24-chat-inline {
    margin: 26px auto 34px;
    max-width: none
}

.d24-chat__stage {
    color: #111;
    font-family: 'Source Sans Pro', sans-serif;
    padding: 18px 0 8px
}

.d24-chat__stage h2 {
    text-align: center
}

.d24-chat__messages {
    box-sizing: border-box;
    margin: 0 auto 28px;
    max-width: 1210px;
    padding: 0 20px
}

.d24-chat__message-row {
    display: flex;
    margin: 0 0 16px
}

.d24-chat__message-row--user {
    justify-content: flex-end
}

.d24-chat__message-row--assistant {
    justify-content: flex-start
}

.d24-chat__message {
    border-radius: 18px;
    font-size: 17px;
    line-height: 1.5;
    max-width: min(760px, 84%);
    padding: 13px 17px
}

.d24-chat__message--assistant {
    background: #e6e6e6;
    color: #333
}

.d24-chat__message--assistant a {
    color: inherit;
    text-decoration: underline
}

.d24-chat__message--user {
    background: #01636d;
    color: #fff
}

.d24-chat__offers {
    margin: 22px 0 28px
}

.d24-chat__offers-list {
    display: block
}

.d24-chat__contact {
    display: none
}

.d24-chat__contact a {
    background: #333;
    color: #fff;
    display: inline-block;
    font-size: 16px;
    padding: 11px 16px;
    text-decoration: none
}

.d24-chat__voice {
    align-items: center;
    display: none !important;
    justify-content: center;
    margin: -42px auto 22px;
    max-width: 980px
}

.d24-chat__voice[hidden],
.d24-chat__messages[hidden] {
    display: none
}

.d24-chat__form {
    align-items: center;
    background: #fff;
    border: 1px solid #d2d2d2;
    border-radius: 34px;
    box-sizing: border-box;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .08);
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 36px;
    margin: 0 auto;
    max-width: 980px;
    min-height: 64px;
    padding: 8px 32px 8px 68px;
    width: 100%
}

.d24-chat__mic {
    align-items: center;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    font-family: inherit;
    justify-content: center
}

.d24-chat__form .d24-chat__input,
.d24-chat__form input.d24-chat__input[type="text"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #111;
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: 18px !important;
    height: auto !important;
    line-height: 1.3;
    margin: 0;
    min-height: 0 !important;
    min-width: 0;
    outline: 0 !important;
    padding: 0 !important;
    transform: translateY(3px);
    width: 100%
}

.d24-chat__input::placeholder {
    color: #8b8b8b;
    opacity: 1
}

.d24-chat__mic {
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23111'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M12%202a3%203%200%200%200-3%203v7a3%203%200%200%200%206%200V5a3%203%200%200%200-3-3Z'/%3E%3Cpath%20d='M19%2010v2a7%207%200%200%201-14%200v-2'/%3E%3Cpath%20d='M12%2019v3'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    color: #111;
    height: 32px;
    padding: 0;
    position: relative;
    width: 32px
}

.d24-chat__mic::before {
    display: none
}

.d24-chat__mic::after {
    display: none
}

.d24-chat__mic--active::after {
    background: #111;
    content: "";
    display: block;
    height: 2px;
    left: 4px;
    opacity: 0;
    position: absolute;
    top: 15px;
    transform: rotate(-35deg);
    transition: opacity .15s ease;
    width: 24px
}

.d24-chat__mic--active:hover::after,
.d24-chat__mic--active:focus-visible::after {
    opacity: 1
}

.d24-chat__mic span {
    display: none
}

.d24-chat__mic:disabled {
    cursor: default;
    opacity: .55
}

@media (max-width: 979px) {
    .d24-chat__stage h2 {
        font-size: 34px;
        margin-bottom: 46px
    }

    .d24-chat__form {
        grid-template-columns: minmax(0, 1fr) 34px;
        min-height: 62px;
        padding-left: 24px
    }

    .d24-chat__input {
        font-size: 18px !important
    }
}

@media (max-width: 767px) {
    .d24-chat-inline {
        background: #fff !important;
        color: #111;
        margin: 0 calc(50% - 50vw) 28px;
        padding: 24px 0 28px
    }

    .d24-chat__stage h2 {
        color: #111;
        font-size: 28px
    }

    .d24-chat__messages {
        padding: 0 18px
    }

    .d24-chat__message {
        max-width: 92%
    }
}
