.help-live-chat {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 1200;
    width: min(420px, calc(100vw - 24px));
    color: var(--text-primary);
    font-family: inherit;
}

.help-live-chat[hidden] {
    display: none !important;
}

.help-chat-launcher {
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    min-height: 66px;
    padding: 10px 16px 10px 10px;
    border: 1px solid rgba(253, 185, 19, 0.34);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        rgba(18, 18, 18, 0.96);
    color: #f7f7f7;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
    cursor: pointer;
}

.help-chat-launcher > i {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(253, 185, 19, 0.42);
    border-radius: 999px;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.24), transparent 34%),
        rgba(253, 185, 19, 0.16);
    color: var(--accent-yellow);
    font-size: 1.2rem;
    box-shadow: 0 8px 24px rgba(253, 185, 19, 0.14);
}

.help-chat-launcher > i::after {
    content: "";
    position: absolute;
    right: 5px;
    bottom: 5px;
    width: 10px;
    height: 10px;
    border: 2px solid #151515;
    border-radius: 999px;
    background: #50d890;
}

.help-chat-launcher strong {
    display: block;
    font-size: 0.92rem;
    line-height: 1.1;
}

.help-chat-launcher span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.76rem;
    line-height: 1.25;
}

.help-chat-panel {
    display: grid;
    grid-template-rows: auto auto auto minmax(0, 1fr) auto auto;
    height: min(680px, calc(100vh - 36px));
    max-height: calc(100vh - 36px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
        rgba(16, 16, 16, 0.98);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.48);
}

.help-chat-panel[hidden] {
    display: none;
}

.help-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.035);
}

.help-chat-title {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.help-chat-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(253, 185, 19, 0.28);
    border-radius: 14px;
    background: rgba(253, 185, 19, 0.12);
    color: var(--accent-yellow);
    font-size: 1.24rem;
    overflow: hidden;
}

.help-chat-title-icon.has-image {
    background: rgba(255, 255, 255, 0.06);
}

.help-chat-title-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.help-chat-title strong,
.help-chat-title span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.help-chat-title strong {
    color: var(--text-primary);
    font-size: 0.98rem;
}

.help-chat-title span {
    margin-top: 2px;
    color: var(--text-secondary);
    font-size: 0.78rem;
}

.help-chat-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    cursor: pointer;
}

.help-chat-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.help-chat-status i {
    color: #50d890;
}

.help-chat-status.is-waiting i {
    color: var(--accent-yellow);
}

.help-chat-status.is-closed i {
    color: #ff7070;
}

.help-chat-history {
    display: grid;
    gap: 10px;
    max-height: min(280px, 42vh);
    padding: 12px 14px;
    overflow-y: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
}

.help-chat-history[hidden] {
    display: none;
}

.help-chat-history-head {
    display: grid;
    gap: 2px;
}

.help-chat-history-head strong {
    color: var(--text-primary);
    font-size: 0.88rem;
}

.help-chat-history-head span,
.help-chat-history-empty {
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.45;
}

.help-chat-history-list {
    display: grid;
    gap: 8px;
}

.help-chat-history-list button {
    display: grid;
    gap: 5px;
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
}

.help-chat-history-list button.is-current,
.help-chat-history-list button:hover,
.help-chat-history-list button:focus-visible {
    border-color: rgba(253, 185, 19, 0.36);
}

.help-chat-history-list strong,
.help-chat-history-list small,
.help-chat-history-list em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.help-chat-history-list strong {
    font-size: 0.82rem;
}

.help-chat-history-list small {
    margin-top: 2px;
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-style: normal;
}

.help-chat-history-list em {
    color: var(--text-secondary);
    font-size: 0.76rem;
    font-style: normal;
}

.help-chat-messages {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    padding: 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.help-chat-empty {
    margin: auto;
    max-width: 270px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.55;
}

.help-chat-message {
    display: grid;
    gap: 5px;
    max-width: min(86%, 340px);
}

.help-chat-message.is-visitor {
    align-self: flex-end;
}

.help-chat-message.is-system {
    align-self: center;
    max-width: 94%;
}

.help-chat-message small {
    color: var(--text-secondary);
    font-size: 0.72rem;
}

.help-chat-message.is-visitor small {
    text-align: right;
}

.help-chat-bubble {
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.help-chat-message.is-visitor .help-chat-bubble {
    border-color: rgba(253, 185, 19, 0.28);
    background: rgba(253, 185, 19, 0.13);
}

.help-chat-message.is-system .help-chat-bubble {
    border-style: dashed;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-secondary);
    font-size: 0.82rem;
    text-align: center;
}

.help-chat-resolution-card {
    display: grid;
    gap: 10px;
    align-self: stretch;
    margin-top: 4px;
    padding: 14px;
    border: 1px solid rgba(253, 185, 19, 0.28);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(253, 185, 19, 0.11), rgba(255, 255, 255, 0.035)),
        rgba(18, 18, 18, 0.92);
    color: var(--text-primary);
}

.help-chat-resolution-card strong {
    font-size: 0.95rem;
}

.help-chat-resolution-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.45;
}

.help-chat-resolution-card div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.help-chat-resolution-card button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid rgba(253, 185, 19, 0.34);
    border-radius: 8px;
    background: rgba(253, 185, 19, 0.12);
    color: var(--text-primary);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 900;
    cursor: pointer;
}

.help-chat-resolution-card button:hover,
.help-chat-resolution-card button:focus-visible {
    background: rgba(253, 185, 19, 0.18);
}

.help-chat-link {
    color: var(--accent-yellow);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.help-chat-attachments,
.help-chat-attachment-preview {
    display: grid;
    gap: 8px;
}

.help-chat-attachment {
    display: inline-grid;
    gap: 6px;
    max-width: 100%;
    padding: 8px;
    border: 1px solid rgba(253, 185, 19, 0.22);
    border-radius: 8px;
    background: rgba(253, 185, 19, 0.08);
    color: var(--text-primary);
    text-decoration: none;
}

.help-chat-attachment img {
    display: block;
    width: min(260px, 100%);
    max-height: 180px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.28);
}

.help-chat-attachment span {
    overflow: hidden;
    color: var(--accent-yellow);
    font-size: 0.76rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.help-chat-typing {
    padding: 8px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--accent-yellow);
    font-size: 0.8rem;
    font-weight: 800;
}

.help-chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 7px;
}

.help-chat-suggestions a {
    display: inline-flex;
    max-width: 100%;
    padding: 6px 8px;
    border: 1px solid rgba(253, 185, 19, 0.24);
    border-radius: 7px;
    background: rgba(253, 185, 19, 0.09);
    color: var(--accent-yellow);
    font-size: 0.75rem;
    font-weight: 700;
}

.help-chat-quick-replies,
.help-chat-quick-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.help-chat-quick-replies {
    margin-top: 7px;
}

.help-chat-quick-replies button,
.help-chat-quick-row button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 30px;
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    color: var(--text-primary);
    font: inherit;
    font-size: 0.74rem;
    font-weight: 800;
    cursor: pointer;
}

.help-chat-quick-replies button:hover,
.help-chat-quick-replies button:focus-visible,
.help-chat-quick-row button:hover,
.help-chat-quick-row button:focus-visible {
    border-color: rgba(253, 185, 19, 0.36);
    color: var(--accent-yellow);
}

.help-chat-quick-row:empty {
    display: none;
}

.help-chat-footer {
    display: grid;
    gap: 10px;
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.025);
}

.help-chat-identity {
    display: grid;
    gap: 9px;
    padding: 12px;
    border: 1px solid rgba(253, 185, 19, 0.24);
    border-radius: 8px;
    background: rgba(253, 185, 19, 0.08);
}

.help-chat-identity[hidden] {
    display: none;
}

.help-chat-identity strong {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.help-chat-identity span {
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.45;
}

.help-chat-identity-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
}

.help-chat-identity input {
    min-width: 0;
    min-height: 40px;
    padding: 9px 10px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    background: rgba(10, 10, 10, 0.88);
    color: var(--text-primary);
    font: inherit;
    font-size: 0.84rem;
}

.help-chat-identity button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    border: 0;
    border-radius: 8px;
    background: var(--accent-yellow);
    color: #111;
    font-weight: 900;
    cursor: pointer;
}

.help-chat-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.help-chat-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
}

.help-chat-tool:hover,
.help-chat-tool:focus-visible,
.help-chat-tool.is-active,
.help-chat-close:hover,
.help-chat-close:focus-visible,
.help-chat-launcher:hover,
.help-chat-launcher:focus-visible {
    border-color: rgba(253, 185, 19, 0.42);
}

.help-chat-tool:disabled,
.help-chat-attach:disabled,
.help-chat-form button:disabled {
    cursor: not-allowed;
    opacity: 0.52;
}

.help-chat-form textarea {
    min-width: 0;
    min-height: 42px;
    max-height: 110px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    resize: none;
    background: rgba(10, 10, 10, 0.88);
    color: var(--text-primary);
    font: inherit;
    line-height: 1.35;
}

.help-chat-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 8px;
    background: var(--accent-yellow);
    color: #111;
    cursor: pointer;
}

.help-chat-error {
    display: none;
    padding: 8px 10px;
    border: 1px solid rgba(255, 112, 112, 0.28);
    border-radius: 8px;
    background: rgba(255, 112, 112, 0.08);
    color: #ffd0d0;
    font-size: 0.8rem;
}

.help-chat-error:not(:empty) {
    display: block;
}

.help-chat-attachment-preview {
    padding: 9px 10px;
    border: 1px solid rgba(253, 185, 19, 0.24);
    border-radius: 8px;
    background: rgba(253, 185, 19, 0.08);
}

.help-chat-attachment-preview[hidden] {
    display: none;
}

.help-chat-attachment-preview-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
}

.help-chat-attachment-preview-item img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
}

.help-chat-attachment-preview-item strong,
.help-chat-attachment-preview-item span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.help-chat-attachment-preview-item span {
    color: var(--text-secondary);
    font-size: 0.76rem;
}

.help-chat-attachment-preview-item button,
.help-chat-attach {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    cursor: pointer;
}

.help-chat-form {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 8px;
    align-items: end;
}

.help-chat-form[hidden],
.help-chat-quick-row[hidden] {
    display: none !important;
}

@media (max-width: 700px) {
    .help-live-chat {
        right: 0;
        bottom: 0;
        width: 100vw;
        pointer-events: none;
    }

    .help-chat-launcher {
        margin-right: max(12px, env(safe-area-inset-right));
        margin-bottom: max(12px, env(safe-area-inset-bottom));
        min-height: 70px;
        padding: 11px 15px 11px 11px;
        pointer-events: auto;
    }

    .help-chat-launcher > i {
        flex-basis: 50px;
        width: 50px;
        height: 50px;
        font-size: 1.28rem;
    }

    .help-chat-panel {
        width: 100%;
        height: min(86vh, 720px);
        max-height: calc(100vh - env(safe-area-inset-top));
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 14px 14px 0 0;
        pointer-events: auto;
    }

    .help-chat-header {
        padding: 13px 14px;
    }

    .help-chat-title-icon {
        flex-basis: 50px;
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }

    .help-chat-identity-fields {
        grid-template-columns: 1fr;
    }

    .help-chat-tools {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .help-chat-tool:first-child {
        grid-column: 1 / -1;
    }

    .help-chat-message {
        max-width: 92%;
    }
}

@media (display-mode: standalone) {
    .help-live-chat {
        bottom: max(76px, env(safe-area-inset-bottom));
    }
}

@media (display-mode: standalone) and (max-width: 700px) {
    .help-live-chat {
        bottom: 0;
    }
}

/* === Live chat v2: desktop, tablet, phone and PWA layout === */
.help-live-chat {
    width: min(480px, calc(100dvw - 32px));
    z-index: 5000;
}

.help-chat-launcher {
    min-height: 76px;
    padding: 10px 18px 10px 10px;
    border-radius: 18px;
}

.help-chat-launcher-icon,
.help-chat-launcher > i {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(253, 185, 19, 0.42);
    border-radius: 14px;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.24), transparent 34%),
        rgba(253, 185, 19, 0.16);
    color: var(--accent-yellow);
    font-size: 1.28rem;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(253, 185, 19, 0.16);
}

.help-chat-launcher-icon::after,
.help-chat-launcher > i::after {
    content: "";
    position: absolute;
    right: 5px;
    bottom: 5px;
    width: 11px;
    height: 11px;
    border: 2px solid #151515;
    border-radius: 999px;
    background: #50d890;
}

.help-chat-launcher-icon img,
.help-chat-title-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.help-chat-panel {
    height: min(760px, calc(100dvh - 36px));
    max-height: calc(100dvh - 36px);
    border-radius: 12px;
    min-height: 0;
}

.help-chat-header {
    min-width: 0;
}

.help-chat-title > span:last-child {
    min-width: 0;
}

.help-chat-status span,
.help-chat-title span,
.help-chat-tool,
.help-chat-form textarea {
    min-width: 0;
}

.help-chat-tools {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.help-chat-tool {
    width: 100%;
    white-space: normal;
    line-height: 1.2;
}

.help-chat-quick-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
}

.help-chat-quick-row button {
    flex: 0 0 auto;
}

.help-chat-message {
    max-width: min(88%, 370px);
}

.help-chat-messages,
.help-chat-history {
    -webkit-overflow-scrolling: touch;
}

.help-chat-attachment img {
    width: min(310px, 100%);
    max-height: 220px;
}

html.help-live-chat-open body.page-help-center {
    overflow-x: hidden;
}

@media (min-width: 900px) {
    .help-live-chat.is-open {
        right: max(22px, env(safe-area-inset-right));
        bottom: max(22px, env(safe-area-inset-bottom));
    }
}

@media (max-width: 900px) {
    .help-live-chat {
        right: max(12px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
        width: min(460px, calc(100dvw - 24px));
    }

    .help-chat-panel {
        height: min(720px, calc(100dvh - 24px));
        max-height: calc(100dvh - 24px);
    }
}

@media (max-width: 700px) {
    html.help-live-chat-open,
    html.help-live-chat-open body.page-help-center {
        overflow: hidden;
        overscroll-behavior: none;
    }

    .help-live-chat {
        right: 0;
        bottom: 0;
        left: 0;
        width: 100dvw;
        max-width: 100dvw;
    }

    .help-chat-launcher {
        width: min(360px, calc(100dvw - 24px));
        min-height: 72px;
        margin-right: max(12px, env(safe-area-inset-right));
        margin-bottom: max(12px, env(safe-area-inset-bottom));
        border-radius: 18px;
    }

    .help-chat-launcher-icon,
    .help-chat-launcher > i {
        flex-basis: 56px;
        width: 56px;
        height: 56px;
    }

    .help-chat-panel {
        width: 100dvw;
        height: 100dvh;
        max-height: 100dvh;
        min-height: 100dvh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .help-chat-header {
        padding-top: max(12px, env(safe-area-inset-top));
    }

    .help-chat-title-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .help-chat-messages {
        padding: 14px 12px;
    }

    .help-chat-footer {
        max-height: 48dvh;
        overflow-y: auto;
        padding: 10px 10px max(10px, env(safe-area-inset-bottom));
    }

    .help-chat-history {
        max-height: 32dvh;
    }

    .help-chat-tools {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .help-chat-tool:first-child {
        grid-column: auto;
    }

    .help-chat-tool {
        min-height: 42px;
        padding: 7px 6px;
        font-size: 0.72rem;
    }

    .help-chat-form {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
    }

    .help-chat-attach,
    .help-chat-form button {
        width: 44px;
        min-width: 44px;
        height: 44px;
    }

    .help-chat-form textarea {
        min-height: 44px;
        max-height: 128px;
        font-size: 16px;
    }

    .help-chat-resolution-card div {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 390px) {
    .help-chat-title-icon {
        display: none;
    }

    .help-chat-launcher {
        width: calc(100dvw - 18px);
    }

    .help-chat-message {
        max-width: 96%;
    }

    .help-chat-identity {
        padding: 10px;
    }
}

@media (display-mode: standalone) {
    .help-live-chat:not(.is-open) {
        bottom: max(86px, env(safe-area-inset-bottom));
    }

    .help-live-chat.is-open {
        bottom: 0;
    }
}

/* PWA bottom navigation must not cover live support. */
.help-live-chat {
    z-index: 12050;
}

body.pwa-standalone .help-live-chat:not(.is-open) {
    bottom: calc(88px + env(safe-area-inset-bottom));
}

html.help-live-chat-open body.pwa-standalone,
body.pwa-standalone.help-live-chat-open {
    padding-bottom: 0;
}

html.help-live-chat-open body.pwa-standalone .pwa-bottom-nav,
body.pwa-standalone.help-live-chat-open .pwa-bottom-nav {
    display: none !important;
}

@media (max-width: 700px) {
    body.pwa-standalone .help-live-chat:not(.is-open) {
        right: 0;
        left: 0;
        bottom: calc(88px + env(safe-area-inset-bottom));
    }

    body.pwa-standalone .help-live-chat.is-open {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 12050;
    }

    body.pwa-standalone .help-chat-panel {
        height: 100dvh;
        min-height: 100dvh;
        max-height: 100dvh;
    }

    body.pwa-standalone .help-chat-footer {
        padding-bottom: max(14px, env(safe-area-inset-bottom));
    }
}
