.dps-chat {
    --dps-chat-primary: #e1141c;
    --dps-chat-primary-dark: #b90f15;
    --dps-chat-border: #d9dee7;
    --dps-chat-surface: #ffffff;
    --dps-chat-surface-soft: #f0f0f0;
    --dps-chat-text: #1f2937;
    --dps-chat-muted: #64748b;
    --dps-chat-success-bg: #eef9f1;
    --dps-chat-success-border: #bde3c5;
    --dps-chat-success-text: #467348;
    --dps-chat-error-bg: #fff2f2;
    --dps-chat-error-border: #edc7c7;
    --dps-chat-error-text: #a23a3a;
    --dps-chat-info-bg: #eff5ff;
    --dps-chat-info-border: #c4d8fb;
    --dps-chat-info-text: #5b77a8;
    --dps-chat-warning-bg: #fff8e9;
    --dps-chat-warning-border: #efdfb1;
    --dps-chat-warning-text: #b2831f;
    bottom: var(--dps-chat-mobile-bottom, 18px);
    position: fixed;
    right: 18px;
    z-index: 2400 !important;
}

.dps-chat:not(.is-open) {
    z-index: 1600 !important;
}

.dps-chat,
.dps-chat * {
    box-sizing: border-box;
}

.dps-chat--left {
    left: 18px;
    right: auto;
}

.dps-chat--right {
    left: auto;
    right: 18px;
}

.dps-chat--embedded {
    bottom: auto;
    left: auto;
    position: static;
    right: auto;
    width: 100%;
    z-index: auto !important;
}

.dps-chat ~ .dps-top-btn {
    bottom: 106px;
}

.dps-chat__toggle {
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid var(--dps-chat-border);
    border-radius: 4px;
    box-shadow: 0 12px 28px rgba(15,23,42,.16);
    color: var(--dps-chat-primary);
    cursor: pointer;
    display: inline-flex;
    min-height: 36px;
    padding: 0 11px;
    position: relative;
    overflow: visible;
    font: inherit;
    font-size: .86rem;
    font-weight: 700;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, filter .16s ease;
}

.dps-chat--hover-lift_shadow .dps-chat__toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

.dps-chat--hover-soft_brighten .dps-chat__toggle:hover {
    background: #fff;
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.dps-chat--hover-border_glow .dps-chat__toggle:hover {
    border-color: rgba(23,73,115,.45);
    box-shadow: 0 0 0 3px rgba(23,73,115,.13), 0 10px 22px rgba(15,23,42,.14);
}

.dps-chat--hover-tiny_tilt .dps-chat__toggle:hover {
    transform: translateY(-1px) rotate(-1.5deg);
    box-shadow: 0 11px 22px rgba(15,23,42,.16);
}

.dps-chat--hover-soft_expand .dps-chat__toggle:hover {
    transform: translateY(-1px) scale(1.025);
    background: #fff;
}

.dps-chat__toggle-label {
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.dps-chat__unread-dot {
    background: #ef4444;
    border: 2px solid #fff;
    border-radius: 999px;
    height: 12px;
    position: absolute;
    right: -5px;
    top: -5px;
    width: 12px;
    z-index: 3;
}

.dps-chat--right .dps-chat__unread-dot {
    left: -5px;
    right: auto;
}

.dps-chat__tooltip {
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    width: max-content;
    max-width: min(260px, calc(100vw - 32px));
    padding: 9px 11px;
    border: 1px solid rgba(15,23,42,.1);
    border-radius: 8px;
    background: #fff;
    color: #374151;
    box-shadow: 0 12px 28px rgba(15,23,42,.16);
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.35;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease;
    pointer-events: none;
}

.dps-chat--left .dps-chat__tooltip {
    left: 0;
    right: auto;
}

.dps-chat__tooltip.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.dps-chat--micro-shine .dps-chat__toggle::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: dpsChatShine 3s infinite;
    pointer-events: none;
}

.dps-chat--micro-pulse .dps-chat__toggle {
    animation: dpsChatPulse 3s ease-in-out infinite;
}

.dps-chat--micro-breath_glow .dps-chat__toggle {
    animation: dpsChatBreathGlow 4.2s ease-in-out infinite;
}

.dps-chat--micro-slow_float .dps-chat__toggle {
    animation: dpsChatSlowFloat 5s ease-in-out infinite;
}

.dps-chat--micro-halo_ping .dps-chat__toggle::before {
    content: "";
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(23,73,115,.24);
    border-radius: 12px;
    animation: dpsChatHaloPing 4s ease-out infinite;
    pointer-events: none;
}

@keyframes dpsChatShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes dpsChatPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes dpsChatBreathGlow {
    0%, 100% { box-shadow: 0 8px 20px rgba(15,23,42,.13); }
    50% { box-shadow: 0 10px 28px rgba(23,73,115,.23); }
}

@keyframes dpsChatSlowFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

@keyframes dpsChatHaloPing {
    0% { opacity: .34; transform: scale(.96); }
    80%, 100% { opacity: 0; transform: scale(1.16); }
}

.dps-chat__panel {
    background: var(--dps-chat-surface);
    border: 1px solid var(--dps-chat-border);
    border-radius: 8px;
    bottom: 58px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
    color: var(--dps-chat-text);
    display: grid;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    gap: 0.9rem;
    max-height: min(78vh, 760px);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 1rem;
    position: absolute;
    right: 0;
    transform-origin: right bottom;
    width: min(380px, calc(100vw - 24px));
}

.dps-chat--embedded .dps-chat__panel {
    bottom: auto;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
    left: auto;
    max-height: none;
    position: static;
    right: auto;
    transform-origin: center top;
    width: 100%;
}

.dps-chat--embedded .dps-chat__thread-list {
    max-height: min(52vh, 480px);
}

.dps-chat.is-collapsing {
    pointer-events: none;
}

.dps-chat.is-collapsing .dps-chat__panel {
    animation: dpsChatGooeyCollapse .92s cubic-bezier(.52, .02, .92, .48) forwards;
    overflow: hidden;
}

.dps-chat.is-collapsing .dps-chat__panel::after {
    animation: dpsChatGooeyBlob .92s cubic-bezier(.52, .02, .92, .48) forwards;
    background: var(--dps-chat-surface);
    border-radius: 999px;
    bottom: 16px;
    box-shadow: 0 0 0 10px rgba(255,255,255,.38);
    content: "";
    filter: blur(7px) contrast(12);
    height: 62px;
    position: absolute;
    right: 16px;
    width: 62px;
}

@keyframes dpsChatGooeyCollapse {
    0% {
        border-radius: 18px;
        filter: blur(0);
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    58% {
        border-radius: 28px;
        filter: blur(.4px);
        opacity: .92;
        transform: translateY(10px) scale(.72, .82);
    }
    82% {
        border-radius: 999px;
        filter: blur(1px);
        opacity: .62;
        transform: translateY(22px) scale(.36, .44);
    }
    100% {
        border-radius: 999px;
        filter: blur(2px);
        opacity: 0;
        transform: translateY(30px) scale(.14);
    }
}

@keyframes dpsChatGooeyBlob {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(.7);
    }
    55% {
        opacity: .72;
        transform: translate(8px, 12px) scale(.92);
    }
    100% {
        opacity: 0;
        transform: translate(22px, 24px) scale(.28);
    }
}

.dps-chat__panel[hidden],
.dps-chat__tooltip[hidden] {
    display: none !important;
}

.dps-chat--left .dps-chat__panel {
    left: 0;
    right: auto;
}

.dps-chat--right .dps-chat__panel {
    left: auto;
    right: 0;
}

.dps-chat__header {
    align-items: start;
    display: flex;
    gap: 0.8rem;
    justify-content: space-between;
}

.dps-chat__title {
    font-size: 1.08rem;
    margin: 0;
}

.dps-chat__intro,
.dps-chat__thread-title {
    color: var(--dps-chat-muted);
    font-size: 0.94rem;
    line-height: 1.5;
    margin: 0.35rem 0 0;
}

.dps-chat--has-long-thread .dps-chat__intro {
    display: none;
}

.dps-chat__thread-title {
    display: none;
}

@media (max-width: 700px) {
    .dps-chat--embedded .dps-chat__panel {
        border-radius: 8px;
        margin-left: 0;
        margin-right: 0;
        max-height: none;
        width: 100%;
    }
}

.dps-chat__close {
    background: transparent;
    border: 0;
    color: var(--dps-chat-muted);
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1;
    padding: 0;
}

.dps-chat__notice {
    background: var(--dps-chat-info-bg);
    border: 1px solid var(--dps-chat-info-border);
    border-radius: 4px;
    color: var(--dps-chat-info-text);
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0.75rem 0 0;
    padding: 0.75rem 0.85rem;
}

.dps-chat__notice[hidden] {
    display: none;
}

.dps-chat__notice.is-success {
    background: var(--dps-chat-success-bg);
    border-color: var(--dps-chat-success-border);
    color: var(--dps-chat-success-text);
}

.dps-chat__notice.is-error {
    background: var(--dps-chat-error-bg);
    border-color: var(--dps-chat-error-border);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    color: var(--dps-chat-error-text);
}

.dps-chat__thread {
    background: linear-gradient(180deg, #fbfdff 0%, var(--dps-chat-surface-soft) 100%);
    border: 1px solid var(--dps-chat-border);
    border-radius: 8px;
    padding: 0.85rem;
}

.dps-chat__thread[hidden] {
    display: none;
}

.dps-chat__thread-list {
    display: grid;
    gap: 0.7rem;
    margin-top: 0.65rem;
    max-height: clamp(140px, 28vh, 260px);
    overflow: auto;
    padding-right: 0.25rem;
}

.dps-chat__message {
    border: 1px solid var(--dps-chat-border);
    border-radius: 8px;
    padding: 0.75rem 0.85rem;
    min-width: 0;
    overflow-wrap: anywhere;
}

.dps-chat__message--inbound {
    background: #fff;
}

.dps-chat__message--outbound {
    background: #fcf8ea;
    border-color: #e8deb0;
}

.dps-chat__message-meta {
    align-items: center;
    color: var(--dps-chat-muted);
    display: flex;
    font-size: 0.83rem;
    gap: 0.6rem;
    justify-content: space-between;
    margin-bottom: 0.35rem;
    min-width: 0;
}

.dps-chat__message-meta span {
    flex: 0 0 auto;
    white-space: nowrap;
}

.dps-chat__message-body {
    line-height: 1.55;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    word-break: break-word;
}

.dps-chat__message-body a {
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.dps-chat__timeline {
    display: grid;
    gap: 6px;
    margin-top: 8px;
}

.dps-chat__timeline-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
    align-items: start;
    font-size: 12px;
    color: var(--dps-chat-muted);
    line-height: 1.35;
}

.dps-chat__timeline-time {
    color: inherit;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.dps-chat__timeline-text {
    min-width: 0;
}

.dps-chat__closure-prompt,
.dps-chat__closure-form {
    background: #fff;
    border: 1px solid var(--dps-chat-border);
    border-radius: 8px;
    display: grid;
    gap: 0.65rem;
    margin-top: 0.75rem;
    padding: 0.85rem;
    width: 99%;
}

.dps-chat__closure-prompt h3,
.dps-chat__closure-form h3,
.dps-chat__closure-prompt p,
.dps-chat__closure-form p {
    margin: 0;
}

.dps-chat__closure-actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.dps-chat__closure-title {
    font: inherit;
    font-weight: 600;
}

.dps-chat__closure-button {
    background: #fff;
    border: 1px solid var(--dps-chat-border);
    border-radius: 4px;
    color: var(--dps-chat-text);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 700;
    justify-content: center;
    padding: 0.55rem 0.75rem;
    width: 100%;
}

.dps-chat__closure-button--primary {
    background: linear-gradient(180deg, #b90f15 0%, #e1141c 100%);
    border-color: #e1141c;
    color: #fff;
}

.dps-chat__rating {
    display: flex;
    justify-content: center;
    gap: 0.2rem;
}

.dps-chat__star {
    cursor: pointer;
    line-height: 1;
    position: relative;
}

.dps-chat__star input {
    height: 1px;
    position: absolute;
    opacity: 0;
    width: 1px;
}

.dps-chat__star span {
    color: #b8c1ca;
    display: inline-block;
    font-size: 1.75rem;
    transition: color .14s ease, transform .14s ease;
}

.dps-chat__star:hover span,
.dps-chat__star.is-active span {
    color: #e8d62e;
}

.dps-chat__star input:focus-visible + span {
    outline: 2px solid #e1141c;
    outline-offset: 3px;
}

.dps-chat__closure-help,
.dps-chat__closure-checkbox small,
.dps-chat__closure-transcript {
    color: var(--dps-chat-muted);
    display: block;
    font-size: 0.84rem;
    line-height: 1.45;
}

.dps-chat__closure-error {
    background: var(--dps-chat-error-bg);
    border: 1px solid var(--dps-chat-error-border);
    border-radius: 4px;
    color: var(--dps-chat-error-text);
    padding: 0.55rem 0.65rem;
}

.dps-chat__link--blocked {
    color: #8a4b00;
    font-weight: 700;
}

.dps-chat__link--plain {
    color: inherit;
}

.dps-chat__form {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    max-height: 640px;
    opacity: 1;
    overflow: hidden;
    transform: translateY(0);
    transition: max-height .22s ease, opacity .18s ease, transform .18s ease;
}

.dps-chat__form[hidden],
.dps-chat--closed .dps-chat__form {
    display: none !important;
}

.dps-chat--closed .dps-chat__thread-list {
    max-height: clamp(260px, 48vh, 520px);
}

.dps-chat--closure-offered .dps-chat__form,
.dps-chat--closure-active .dps-chat__form {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}

.dps-chat--closure-offered .dps-chat__thread-list {
    max-height: clamp(260px, 48vh, 520px);
}

.dps-chat--closure-active .dps-chat__thread-list {
    max-height: clamp(280px, 52vh, 560px);
}

.dps-chat__closure-final-note {
    background: var(--dps-chat-success-bg);
    border: 1px solid var(--dps-chat-success-border);
    border-radius: 4px;
    color: var(--dps-chat-success-text);
    margin: 0.75rem 0 0;
    padding: 0.7rem 0.8rem;
}

.dps-chat__closure-review-thankyou-note {
    background: #f7fbff;
    border: 1px solid #c4d9ea;
    border-radius: 4px;
    color: var(--dps-chat-primary);
    font-weight: 600;
    margin: 0.75rem 0 0;
    padding: 0.7rem 0.8rem;
}

.dps-chat__closure-final-note--info {
    background: var(--dps-chat-info-bg);
    border-color: var(--dps-chat-info-border);
    color: var(--dps-chat-info-text);
}

.dps-chat__after-thread {
    background: #fff;
    border: 1px solid var(--dps-chat-border);
    border-radius: 8px;
    display: grid;
    gap: 0.55rem;
    padding: 0.85rem;
}

.dps-chat__after-thread[hidden] {
    display: none;
}

.dps-chat__after-thread p {
    margin: 0;
}

.dps-chat__after-thread-title {
    color: var(--dps-chat-text);
    font-weight: 700;
}

.dps-chat__after-thread--closure-form {
    margin-top: 0.15rem;
}

.dps-chat__field--message {
    order: 1;
}

.dps-chat__actions {
    order: 3;
}

.dps-chat__hp {
    order: 4;
}

.dps-chat__profile {
    border-top: 1px solid var(--dps-chat-border);
    margin-top: 0.45rem;
    order: 2;
    padding: 0.2rem 0 0;
}

.dps-chat--has-thread .dps-chat__profile-actions {
    display: block;
}

.dps-chat__profile-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--dps-chat-muted);
    cursor: pointer;
    display: flex;
    gap: .7rem;
    justify-content: space-between;
    padding: 0;
    text-align: left;
    width: 100%;
    font-size: 0.89rem;
}

.dps-chat__profile-toggle[hidden] {
    display: none;
}

.dps-chat__profile-edit {
    color: #1d4ed8;
    flex: 0 0 auto;
    font-size: .82rem;
    font-weight: 700;
    transition: color .16s ease;
}

.dps-chat__profile-toggle:hover {
    background: transparent;
}

.dps-chat__profile-toggle:hover .dps-chat__profile-edit {
    color: #cf121a;
}

.dps-chat__profile-fields {
    display: grid;
    gap: .85rem;
    padding-top: .8rem;
}

.dps-chat__profile-actions {
    display: none;
    margin: 0;
}

.dps-chat__profile-fields[hidden] {
    display: none;
}

.dps-chat__field {
    display: grid;
    gap: 0.35rem;
}

.dps-chat__profile-fields > .dps-chat__field > span {
    display: none;
}

.dps-chat__field span,
.dps-chat__checkbox {
    font-size: 0.9rem;
}

.dps-chat__field input,
.dps-chat__field textarea,
.dps-chat__submit {
    border: 1px solid #cfd7df;
    border-radius: 4px;
    box-sizing: border-box;
    font: inherit;
    padding: 0.72rem 0.82rem;
    width: 100%;
}

.dps-chat__field textarea {
    min-height: 120px;
    resize: vertical;
}

.dps-chat__checkbox {
    align-items: flex-start;
    display: flex;
    font-size: 0.84rem;
    gap: 0.65rem;
    line-height: 1.5;
}

.dps-chat__checkbox small {
    display: block;
    font-size: 0.78rem;
    line-height: 1.45;
    margin-top: 0.1rem;
}

.dps-chat__checkbox input {
    margin-top: 0.2rem;
    width: auto;
}

.dps-chat__checkbox a {
    color: #1d4ed8;
}

.dps-chat__privacy-notice {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
}

.dps-chat__privacy-notice a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.dps-chat__actions {
    margin: 0;
}

.dps-chat__submit {
    background: linear-gradient(180deg, var(--dps-chat-primary) 0%, var(--dps-chat-primary-dark) 100%);
    border-color: var(--dps-chat-primary-dark);
    color: #fff;
    cursor: pointer;
    font-weight: 700;
}

.dps-chat__submit--secondary {
    background: #fff;
    border-color: #cfd7df;
    color: var(--dps-chat-primary);
}

.dps-chat__field input:focus-visible,
.dps-chat__field textarea:focus-visible,
.dps-chat__submit:focus-visible,
.dps-chat__closure-button:focus-visible,
.dps-chat__toggle:focus-visible,
.dps-chat__profile-toggle:focus-visible {
    box-shadow: 0 0 0 3px rgba(225, 20, 28, 0.18);
    outline: none;
}

.dps-chat__field.is-required-attention input,
.dps-chat__field.is-required-attention textarea,
.dps-chat__checkbox.is-required-attention {
    animation: dpsChatRequiredPulse .9s ease 1;
}

.dps-chat__field.is-required-attention input,
.dps-chat__field.is-required-attention textarea {
    background: rgba(225, 20, 28, 0.04);
    border-color: rgba(225, 20, 28, 0.45);
}

.dps-chat__checkbox.is-required-attention {
    animation: dpsChatRequiredConsentPulse 1s ease 1;
    border-radius: 4px;
    box-shadow: 0 0 0 3px rgba(225, 20, 28, 0.22);
    padding: 0.2rem 0.3rem;
}

@keyframes dpsChatRequiredPulse {
    0% { transform: translateY(0); }
    35% { transform: translateY(-1px); }
    70% { transform: translateY(0); }
    100% { transform: translateY(0); }
}

@keyframes dpsChatRequiredConsentPulse {
    0% { box-shadow: 0 0 0 0 rgba(225, 20, 28, 0.08); }
    45% { box-shadow: 0 0 0 3px rgba(225, 20, 28, 0.22); }
    100% { box-shadow: 0 0 0 0 rgba(225, 20, 28, 0.08); }
}

.dps-chat__submit:disabled {
    cursor: wait;
    opacity: 0.75;
}

.dps-chat__closure-newsletter-email[hidden] {
    display: none;
}

.dps-chat__hp {
    left: -9999px;
    position: absolute;
}

html.dps-chat-lock-scroll,
body.dps-chat-lock-scroll {
    overflow: hidden;
    overscroll-behavior: none;
}

html.dps-chat-lock-scroll .storefront-handheld-footer-bar,
body.dps-chat-lock-scroll .storefront-handheld-footer-bar {
    z-index: 1500 !important;
}

@media (min-width: 768px) {
    .dps-chat {
        bottom: var(--dps-chat-desktop-bottom, 106px);
    }

    .dps-chat__panel {
        bottom: 58px;
    }
}

@media (max-width: 767px) {
    .dps-chat {
        bottom: var(--dps-chat-mobile-bottom, 18px);
        left: 12px;
        right: auto;
    }

    .dps-chat ~ .dps-top-btn {
        bottom: 142px;
    }

    .dps-chat__toggle {
        justify-content: center;
        min-height: 36px;
        width: auto;
    }

    .dps-chat__unread-dot {
        left: auto;
        right: -4px;
        top: -4px;
    }

    .dps-chat__tooltip {
        left: 8px;
        max-width: min(240px, calc(100vw - 28px));
        right: auto;
    }

    .dps-chat.is-open {
        align-items: end;
        background: rgba(15, 23, 42, 0.28);
        bottom: 0;
        display: grid;
        inset: 0;
        left: 0;
        padding: 0;
        right: 0;
        width: 100vw;
        max-width: 100vw;
    }

    .dps-chat.is-open .dps-chat__toggle,
    .dps-chat.is-open .dps-chat__tooltip {
        display: none;
    }

    .dps-chat__panel {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        bottom: 0;
        left: 0;
        max-height: calc(100dvh - 14px);
        min-height: calc(100dvh - 14px);
        overflow-x: hidden;
        overflow-y: auto;
        padding: 0 1rem calc(1rem + env(safe-area-inset-bottom));
        right: 0;
        width: 100%;
        max-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .dps-chat__header {
        background: var(--dps-chat-surface);
        border-bottom: 1px solid var(--dps-chat-border);
        margin: 0 -1rem;
        padding: 0.9rem 1rem 0.75rem;
        position: sticky;
        top: 0;
        z-index: 4;
    }

    .dps-chat__notice {
        margin: 0.8rem 0 0;
    }

    .dps-chat__notice.is-error {
        position: sticky;
        top: 58px;
        z-index: 5;
    }

    .dps-chat__thread {
        margin-top: 0.8rem;
        overflow: visible;
    }

    .dps-chat__thread-list {
        margin-top: 0.65rem;
        max-height: none;
        overflow: visible;
        padding-bottom: 0;
    }

    .dps-chat--closed .dps-chat__thread-list,
    .dps-chat--closure-active .dps-chat__thread-list,
    .dps-chat--closure-offered .dps-chat__thread-list {
        max-height: none;
    }

    .dps-chat__after-thread {
        margin-top: 0.8rem;
    }

    .dps-chat__form {
        background: var(--dps-chat-surface);
        border-top: 0;
        margin-top: 0.85rem;
        padding: 0;
        position: static;
    }

    .dps-chat__profile {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .dps-chat__field--message textarea {
        max-height: none;
        min-height: 78px;
    }
}

@media (max-width: 767px) {
    .dps-chat.is-collapsing .dps-chat__panel {
        transform-origin: left bottom;
    }

    .dps-chat.is-collapsing .dps-chat__panel::after {
        left: 16px;
        right: auto;
    }
}
