.client-chat {
    position: fixed;
    z-index: 10010;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(105px, calc(18px + env(safe-area-inset-bottom)));
}

/* Existing site header chat opener keeps the former circular icon styling. */
button.icon-link.chat-link {
    border: 0;
    padding: 0;
    font-family: inherit;
    cursor: pointer;
}

.client-chat__launcher {
    display: none !important;
    min-width: 104px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .65rem 1rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #1557a6, #1976e9);
    color: #fff;
    font: inherit;
    font-weight: 800;
    box-shadow: 0 12px 34px rgba(15, 76, 145, .3);
    cursor: pointer;
}

.client-chat__launcher[hidden] {
    display: none;
}

.client-chat__launcher svg {
    width: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.client-chat__panel {
    position: relative;
    width: min(390px, calc(100vw - 24px));
    min-width: 0;
    height: min(620px, calc(100dvh - 36px));
    min-height: 0;
    overflow: hidden;
    grid-template-rows: auto auto auto auto minmax(0, 1fr) auto auto;
    grid-template-areas:
        "header"
        "history"
        "start"
        "contact"
        "messages"
        "status"
        "composer";
    border: 1px solid #d8e0e8;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 22px 65px rgba(15, 48, 80, .28);
}

.client-chat__panel:not([hidden]) {
    display: grid;
}

.client-chat__panel > * {
    min-width: 0;
}

.client-chat__header {
    grid-area: header;
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #087c70;
    color: #fff;
}

.client-chat__header h2 {
    margin: 0;
    color: inherit;
    font-size: 1.1rem;
    text-transform: none;
}

.client-chat__close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
}

.client-chat__history,
.client-chat__contact-button,
.client-chat__send,
.client-chat__attach-menu button,
.client-chat__contact-submit,
.client-chat__close {
    text-transform: none;
}

.client-chat__history {
    grid-area: history;
    justify-self: center;
    margin: 7px;
    border: 0;
    background: transparent;
    color: #1557a6;
    font-weight: 750;
    cursor: pointer;
}

.client-chat__start-prompt {
    grid-area: start;
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 12px;
    text-align: center;
}

.client-chat__start-prompt[hidden] {
    display: none;
}

.client-chat__start-prompt p {
    margin: 0;
}

.client-chat__contact-prompt {
    grid-area: contact;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 34px;
    padding: 8px 12px;
    background: #fff;
}

.client-chat__contact-prompt strong {
    flex-basis: 100%;
    text-align: center;
    font-size: .85rem;
}

.client-chat__contact-prompt[hidden] {
    display: none;
}

.client-chat__contact-button {
    padding: 5px 10px;
    border: 1px solid #1976e9;
    border-radius: 999px;
    background: #fff;
    color: #1557a6;
    font: inherit;
    font-size: .78rem;
    font-weight: 750;
    cursor: pointer;
}

.client-chat__contact-button--secondary {
    border-color: #d8e0e8;
    color: #263238;
}

.client-chat__contact-overlay {
    box-sizing: border-box;
    position: absolute;
    z-index: 10;
    inset: 0;
    display: grid;
    max-height: var(--chat-contact-visible-height, 100%);
    place-items: center;
    padding: max(10px, env(safe-area-inset-top))
             max(10px, env(safe-area-inset-right))
             max(10px, env(safe-area-inset-bottom))
             max(10px, env(safe-area-inset-left));
    overflow: hidden;
    background: rgba(15, 48, 80, .38);
}

.client-chat__contact-overlay[hidden] {
    display: none;
}

.client-chat__contact-card {
    box-sizing: border-box;
    width: min(330px, 100%);
    max-height: 100%;
    padding: 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #d8e0e8;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 48, 80, .24);
}

.client-chat__contact-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.client-chat__contact-close {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #eef6ff;
    color: #1557a6;
    font-size: 1.45rem;
    cursor: pointer;
}

.client-chat__contact-card label {
    display: grid;
    gap: 5px;
    margin-top: 10px;
    color: #263238;
    font-size: .82rem;
    font-weight: 700;
}

.client-chat__contact-card input {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid #d8e0e8;
    border-radius: 11px;
    background: #fff;
    font: inherit;
}

.client-chat__contact-card input:focus {
    border-color: #1976e9;
    outline: 3px solid rgba(25, 118, 233, .14);
}

.client-chat__contact-status {
    min-height: 20px;
    margin: 8px 0 0;
    color: #b42318;
    font-size: .78rem;
}

.client-chat__contact-submit {
    width: 100%;
    min-height: 44px;
    margin-top: 8px;
    border: 0;
    border-radius: 12px;
    background: #1976e9;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.client-chat__contact-optional {
    display: block;
    margin-top: 7px;
    color: #667085;
    font-size: .72rem;
    text-align: center;
}

.client-chat__messages {
    grid-area: messages;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 14px;
    background: #f5f8fb;
}

.client-chat__message {
    align-self: flex-start;
    width: min(82%, 310px);
    padding: 9px 11px;
    border: 1px solid #d8e0e8;
    border-radius: 14px 14px 14px 3px;
    background: #fff;
}

.client-chat__message--visitor {
    align-self: flex-end;
    border-color: #9fc9f1;
    border-radius: 14px 14px 3px 14px;
    background: #eaf4ff;
}

.client-chat__message--system {
    align-self: center;
    background: #eff7ff;
    text-align: center;
}

.client-chat__message p {
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.client-chat__message-sender {
    display: block;
    margin-bottom: 2px;
    color: #1557a6;
    font-size: .76rem;
}

.client-chat__message-meta {
    margin-top: 4px;
    color: #667085;
    font-size: .72rem;
    text-align: right;
    white-space: nowrap;
}

.client-chat__message-status {
    color: #667085;
    font-weight: 700;
    letter-spacing: -3px;
    padding-right: 3px;
}

.client-chat__message-status.is-read {
    color: #229ed9;
}

.client-chat__status {
    grid-area: status;
    min-height: 20px;
    margin: 0;
    padding: 2px 12px;
    color: #b42318;
    font-size: .82rem;
}

.client-chat__composer {
    grid-area: composer;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    padding: 10px max(8px, env(safe-area-inset-right))
             max(8px, env(safe-area-inset-bottom))
             max(8px, env(safe-area-inset-left));
    border-top: 1px solid #d3e6df;
    background: #fff;
}

.client-chat__composer-bar {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 7px;
    align-items: end;
    padding: 6px;
    border: 1px solid #d3e6df;
    border-radius: 22px;
    background: #f1f8f5;
}

/* One activation cue: three soft pulses over 1.8 seconds. */
.client-chat__composer-bar--activated {
    animation: client-chat-composer-activated .6s ease-in-out 3;
}

@keyframes client-chat-composer-activated {
    0%, 100% {
        border-color: #d3e6df;
        box-shadow: 0 0 0 0 rgba(22, 184, 164, 0);
    }
    50% {
        border-color: #0a9b88;
        box-shadow: 0 0 0 3px rgba(22, 184, 164, .12);
    }
}

@media (prefers-reduced-motion: reduce) {
    .client-chat__composer-bar--activated {
        animation: none;
    }
}

.client-chat__attach-menu {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    z-index: 3;
    display: grid;
    box-sizing: border-box;
    width: 156px;
    max-width: 100%;
    min-width: 0;
    gap: 2px;
    padding: 6px;
    border: 1px solid #d3e6df;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(8, 80, 65, .14);
}

.client-chat__attach-menu[hidden] {
    display: none;
}

.client-chat__attach-menu button {
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #08695e;
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: anywhere;
    text-align: left;
    cursor: pointer;
}

.client-chat__composer textarea {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    min-height: 44px;
    max-height: calc(1.45em * 5 + 16px);
    margin: 0;
    padding: 9px 12px;
    overflow-x: hidden;
    overflow-wrap: anywhere;
    overflow-y: hidden;
    resize: none;
    border: 1px solid #d3e6df;
    border-radius: 16px;
    background: #fff;
    color: #173f36;
    font: inherit;
    font-size: 16px;
    outline: none;
    box-shadow: none;
    line-height: 1.45;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.client-chat__attach {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 40px;
    margin: 0 0 2px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #087c70;
    cursor: pointer;
}

.client-chat__attach:disabled,
.client-chat__send:disabled {
    opacity: .45;
    box-shadow: none;
    cursor: not-allowed;
}

.client-chat__selected {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding: 8px;
    border: 1px solid #d3e6df;
    border-radius: 14px;
    background: #f1f8f5;
}

.client-chat__selected[hidden],
.client-chat__selected img[hidden],
.client-chat__selected-file[hidden] {
    display: none !important;
}

.client-chat__selected img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
}

.client-chat__selected-file {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 8px;
    background: #dcefe7;
    color: #087c70;
    font-size: .67rem;
    font-weight: 800;
}

.client-chat__selected-meta {
    min-width: 0;
    overflow: hidden;
    font-size: .76rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.client-chat__selected button {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #b42318;
    font-size: 1.2rem;
    cursor: pointer;
}

.client-chat__upload-progress {
    display: block;
    width: 100%;
    height: 5px;
    margin: 0 0 5px;
    accent-color: #078473;
}

.client-chat__upload-progress[hidden] {
    display: none;
}

.client-chat__send {
    box-sizing: border-box;
    display: grid;
    width: 44px;
    height: 44px;
    margin: 0;
    box-shadow: 0 3px 8px rgba(8, 124, 112, .2);
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #078473;
    color: #fff;
    cursor: pointer;
}

.client-chat__send svg {
    display: none;
}

.client-chat__send::before {
    content: "";
    display: block;
    width: 22px;
    height: 22px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4L21 12L3 20L7 12ZM7 12H21' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4L21 12L3 20L7 12ZM7 12H21' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    transform: translateX(2px);
}

.client-chat__composer textarea::placeholder {
    color: #647d74;
    opacity: 1;
}

.client-chat__composer textarea:focus {
    border-color: #087c70;
    box-shadow: 0 0 0 2px rgba(8, 124, 112, .22);
}

.client-chat__attach svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    /* The existing path runs diagonally; straighten its long axis. */
    transform: rotate(-45deg);
}

.client-chat__attach,
.client-chat__send,
.client-chat__attach-menu button,
.client-chat__selected button {
    transition: background-color .15s ease, box-shadow .15s ease;
}

.client-chat__attach:hover:not(:disabled),
.client-chat__attach-menu button:hover:not(:disabled) {
    background: #dcefe7;
}

.client-chat__send:not(:disabled) {
    background: #078473;
    box-shadow: 0 3px 10px rgba(8, 124, 112, .25),
                0 0 0 2px rgba(22, 184, 164, .12);
}

.client-chat__send:disabled {
    opacity: .45;
    box-shadow: none;
    transform: none;
}

.client-chat__send:hover:not(:disabled),
.client-chat__send:focus-visible:not(:disabled) {
    background: #087c70;
    box-shadow: 0 4px 12px rgba(8, 124, 112, .28);
}

.client-chat__attach:active:not(:disabled),
.client-chat__attach-menu button:active:not(:disabled) {
    background: #cce6dc;
}

.client-chat__send:active:not(:disabled) {
    background: #066b60;
    box-shadow: none;
}

.client-chat__attach:focus-visible,
.client-chat__send:focus-visible,
.client-chat__attach-menu button:focus-visible,
.client-chat__selected button:focus-visible {
    outline: 2px solid #087c70;
    outline-offset: 2px;
}

.client-chat__selected button:hover:not(:disabled) {
    background: #ffebe8;
}

@media (max-width: 420px) {
    .client-chat__composer-bar {
        gap: 5px;
        padding: 5px;
    }
}

.client-chat__attachment {
    max-width: 100%;
    margin: 0 0 6px;
}

.client-chat__attachment-image {
    position: relative;
    display: grid;
    width: 100%;
    min-height: 90px;
    place-items: center;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 10px;
    background: #dcecfb;
    color: #667085;
    cursor: pointer;
}

.client-chat__attachment-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: contain;
}

.client-chat__attachment-image img[hidden] {
    display: none;
}

.client-chat__attachment--file {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    padding: 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .72);
}

.client-chat__attachment-file-badge {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    background: #dcecfb;
    color: #1557a6;
    font-size: .65rem;
    font-weight: 800;
}

.client-chat__attachment-file-details {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.client-chat__attachment-file-details strong {
    overflow: hidden;
    font-size: .78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.client-chat__attachment-file-details small {
    color: #667085;
    font-size: .7rem;
}

.client-chat__attachment-file-details a {
    width: max-content;
    color: #1557a6;
    font-size: .75rem;
    font-weight: 750;
}

.client-chat__lightbox {
    position: absolute;
    z-index: 12;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 46px 12px 12px;
    background: rgba(2, 20, 30, .88);
}

.client-chat__lightbox[hidden] {
    display: none;
}

.client-chat__lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.client-chat__lightbox button {
    position: absolute;
    top: max(8px, env(safe-area-inset-top));
    right: max(8px, env(safe-area-inset-right));
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #1557a6;
    font-size: 1.5rem;
    cursor: pointer;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 767px) {
    .client-chat.is-open {
        z-index: 13000;
        inset: var(--chat-viewport-top, 0) 0 auto;
        width: 100vw;
        height: 100vh;
        height: var(--chat-viewport-height, 100dvh);
    }

    .client-chat__panel {
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .client-chat__header {
        padding-top: max(10px, env(safe-area-inset-top));
        padding-right: max(14px, env(safe-area-inset-right));
        padding-left: max(14px, env(safe-area-inset-left));
    }

    body.client-chat-open {
        overscroll-behavior: none;
    }
}


/* 2026-09-14: desktop chat position - left and bottom */
@media (min-width: 769px) {
    .client-chat {
        position: fixed !important;
        left: 20px !important;
        right: auto !important;
        bottom: 0 !important;
        top: auto !important;
        width: auto !important;
        height: auto !important;
        z-index: 9999 !important;
    }

    .client-chat__launcher {
        position: fixed !important;
        left: 20px !important;
        right: auto !important;
        bottom: 20px !important;
        top: auto !important;
    }

    .client-chat__panel {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        bottom: 0 !important;
        top: auto !important;
        margin: 0 !important;
    }
}

/* 2026-09-14: animated chat action buttons */
.client-chat__contact-button[data-chat-begin] {
    position: relative;
    transform-origin: center;
    will-change: transform;
    animation: chatBeginAttention 2.4s ease-in-out infinite;
}

.client-chat__contact-button[data-chat-contact-show],
.client-chat__contact-button[data-chat-skip] {
    position: relative;
    transform-origin: center;
    will-change: transform;
    animation-duration: 3.2s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.client-chat__contact-button[data-chat-contact-show] {
    animation-name: chatContactAttentionFirst;
}

.client-chat__contact-button[data-chat-skip] {
    animation-name: chatContactAttentionSecond;
}

@keyframes chatBeginAttention {
    0%, 18%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(31, 111, 168, 0);
    }

    6% {
        transform: scale(1.055);
        box-shadow:
            0 0 0 5px rgba(31, 111, 168, .22),
            0 8px 22px rgba(31, 111, 168, .28);
    }

    11% {
        transform: scale(.985);
    }

    15% {
        transform: scale(1.025);
        box-shadow:
            0 0 0 9px rgba(31, 111, 168, 0),
            0 6px 18px rgba(31, 111, 168, .18);
    }
}

@keyframes chatContactAttentionFirst {
    0%, 8%, 34%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(31, 111, 168, 0);
    }

    13% {
        transform: scale(1.055);
        box-shadow:
            0 0 0 5px rgba(31, 111, 168, .24),
            0 8px 22px rgba(31, 111, 168, .28);
    }

    19% {
        transform: scale(.985);
    }

    25% {
        transform: scale(1.025);
        box-shadow:
            0 0 0 10px rgba(31, 111, 168, 0),
            0 6px 18px rgba(31, 111, 168, .16);
    }
}

@keyframes chatContactAttentionSecond {
    0%, 50%, 84%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(44, 62, 80, 0);
    }

    59% {
        transform: scale(1.055);
        box-shadow:
            0 0 0 5px rgba(44, 62, 80, .20),
            0 8px 22px rgba(44, 62, 80, .24);
    }

    65% {
        transform: scale(.985);
    }

    72% {
        transform: scale(1.025);
        box-shadow:
            0 0 0 10px rgba(44, 62, 80, 0),
            0 6px 18px rgba(44, 62, 80, .14);
    }
}

@media (prefers-reduced-motion: reduce) {
    .client-chat__contact-button[data-chat-begin],
    .client-chat__contact-button[data-chat-contact-show],
    .client-chat__contact-button[data-chat-skip] {
        animation: none !important;
        transform: none !important;
    }
}

/* 2026-09-14: smoother long attention waves */
.client-chat__contact-button[data-chat-begin],
.client-chat__contact-button[data-chat-contact-show],
.client-chat__contact-button[data-chat-skip] {
    overflow: visible;
    isolation: isolate;
}

.client-chat__contact-button[data-chat-begin]::after,
.client-chat__contact-button[data-chat-contact-show]::after,
.client-chat__contact-button[data-chat-skip]::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transform: scale(1);
}

.client-chat__contact-button[data-chat-begin]::after,
.client-chat__contact-button[data-chat-contact-show]::after {
    border: 2px solid rgba(31, 111, 168, .42);
    box-shadow: 0 0 14px rgba(31, 111, 168, .18);
}

.client-chat__contact-button[data-chat-skip]::after {
    border: 2px solid rgba(44, 62, 80, .34);
    box-shadow: 0 0 14px rgba(44, 62, 80, .14);
}

.client-chat__contact-button[data-chat-begin]::after {
    animation: chatWaveBegin 2.4s ease-out infinite;
}

.client-chat__contact-button[data-chat-contact-show]::after {
    animation: chatWaveFirst 3.2s ease-out infinite;
}

.client-chat__contact-button[data-chat-skip]::after {
    animation: chatWaveSecond 3.2s ease-out infinite;
}

@keyframes chatWaveBegin {
    0%, 4% {
        opacity: 0;
        transform: scale(1);
    }
    8% {
        opacity: .8;
        transform: scale(1.01);
    }
    36% {
        opacity: .35;
        transform: scale(1.13, 1.55);
    }
    52%, 100% {
        opacity: 0;
        transform: scale(1.2, 1.9);
    }
}

@keyframes chatWaveFirst {
    0%, 5% {
        opacity: 0;
        transform: scale(1);
    }
    10% {
        opacity: .8;
        transform: scale(1.01);
    }
    34% {
        opacity: .35;
        transform: scale(1.13, 1.5);
    }
    46% {
        opacity: 0;
        transform: scale(1.2, 1.85);
    }
    47%, 100% {
        opacity: 0;
    }
}

@keyframes chatWaveSecond {
    0%, 52% {
        opacity: 0;
        transform: scale(1);
    }
    57% {
        opacity: .75;
        transform: scale(1.01);
    }
    78% {
        opacity: .32;
        transform: scale(1.13, 1.5);
    }
    92% {
        opacity: 0;
        transform: scale(1.2, 1.85);
    }
    93%, 100% {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .client-chat__contact-button[data-chat-begin]::after,
    .client-chat__contact-button[data-chat-contact-show]::after,
    .client-chat__contact-button[data-chat-skip]::after {
        animation: none !important;
        opacity: 0 !important;
    }
}

/* 2026-09-14: stronger attention wave color */
.client-chat__contact-button[data-chat-begin]::after,
.client-chat__contact-button[data-chat-contact-show]::after,
.client-chat__contact-button[data-chat-skip]::after {
    border-color: rgba(255, 153, 0, .82) !important;
    box-shadow:
        0 0 16px rgba(255, 153, 0, .36),
        0 0 28px rgba(255, 193, 7, .20) !important;
}

@keyframes chatWaveBegin {
    0%, 4% {
        opacity: 0;
        transform: scale(1);
    }
    8% {
        opacity: .95;
        transform: scale(1.01);
    }
    34% {
        opacity: .48;
        transform: scale(1.12, 1.45);
    }
    58%, 100% {
        opacity: 0;
        transform: scale(1.18, 1.72);
    }
}

@keyframes chatWaveFirst {
    0%, 5% {
        opacity: 0;
        transform: scale(1);
    }
    10% {
        opacity: .95;
        transform: scale(1.01);
    }
    35% {
        opacity: .48;
        transform: scale(1.12, 1.45);
    }
    50% {
        opacity: 0;
        transform: scale(1.18, 1.72);
    }
    51%, 100% {
        opacity: 0;
    }
}

@keyframes chatWaveSecond {
    0%, 52% {
        opacity: 0;
        transform: scale(1);
    }
    57% {
        opacity: .95;
        transform: scale(1.01);
    }
    80% {
        opacity: .48;
        transform: scale(1.12, 1.45);
    }
    96% {
        opacity: 0;
        transform: scale(1.18, 1.72);
    }
    97%, 100% {
        opacity: 0;
    }
}

/* 2026-09-14: vivid neon attention waves */
.client-chat__contact-button[data-chat-begin]::after,
.client-chat__contact-button[data-chat-contact-show]::after,
.client-chat__contact-button[data-chat-skip]::after {
    border: 3px solid #FFD400 !important;
    box-shadow:
        0 0 10px #FFD400,
        0 0 22px rgba(255, 212, 0, .95),
        0 0 38px rgba(255, 230, 70, .75) !important;
}

/* 2026-09-14: vivid green attention waves */
.client-chat__contact-button[data-chat-begin]::after,
.client-chat__contact-button[data-chat-contact-show]::after,
.client-chat__contact-button[data-chat-skip]::after {
    border: 3px solid #00E676 !important;
    box-shadow:
        0 0 10px #00E676,
        0 0 22px rgba(0, 230, 118, .95),
        0 0 38px rgba(0, 255, 140, .75) !important;
}
