#pz-chat-root {
            --pz-primary: #ba944e;
            --pz-primary-dark: #a5813f;
            --pz-primary-soft: #f8f1e5;
            --pz-text: #202124;
            --pz-muted: #6b7280;
            --pz-line: #e8eaed;
            --pz-surface: #ffffff;
            --pz-soft: #f6f7f9;
            --pz-success: #1f9d55;
            --pz-shadow: 0 24px 70px rgba(18, 24, 40, .18), 0 8px 24px rgba(18, 24, 40, .10);
        }

        #pz-chat-root,
        #pz-chat-root * {
            box-sizing: border-box;
        }

        /* Kompatibel dengan tombol Elementor/plugin lama. */
        body .bubble-chat {
            cursor: pointer !important;
        }

        #pz-chat-root {
            position: fixed;
            right: max(20px, env(safe-area-inset-right));
            bottom: max(20px, env(safe-area-inset-bottom));
            z-index: 999999;
            font-family: "Raleway", Arial, sans-serif;
            font-size: 14px;
            line-height: 1.45;
            color: var(--pz-text);
        }

        .pz-chat-launcher {
            position: relative;
            display: grid;
            place-items: center;
            width: 62px;
            height: 62px;
            margin-left: auto;
            padding: 0;
            border: 0;
            border-radius: 22px;
            color: #111111;
            background: linear-gradient(145deg, var(--pz-primary), var(--pz-primary-dark));
            box-shadow: 0 12px 30px rgba(186,148,78, .34);
            cursor: pointer;
            transition: transform .2s ease, box-shadow .2s ease, border-radius .2s ease;
            -webkit-tap-highlight-color: transparent;
        }

        .pz-chat-launcher:hover {
            transform: translateY(-2px);
            box-shadow: 0 16px 36px rgba(186,148,78, .4);
        }

        .pz-chat-launcher:focus-visible,
        .pz-chat-close:focus-visible,
        .pz-chat-option:focus-visible,
        .pz-chat-action:focus-visible,
        .pz-chat-send:focus-visible,
        .pz-chat-form-back:focus-visible,
        .pz-chat-teaser__close:focus-visible {
            outline: 3px solid rgba(186,148,78, .28);
            outline-offset: 3px;
        }

        .pz-chat-launcher svg {
            width: 31px;
            height: 31px;
        }

        .pz-chat-launcher__open path:first-child {
            fill: currentColor;
            stroke: currentColor;
            stroke-width: 1.2;
            stroke-linejoin: round;
        }

        .pz-chat-launcher__open circle {
            fill: #ffffff;
        }

        .pz-chat-launcher__close {
            display: none;
        }

        .pz-chat-launcher__close path,
        .pz-chat-close path {
            fill: none;
            stroke: currentColor;
            stroke-width: 2.1;
            stroke-linecap: round;
        }

        .pz-chat-launcher.is-open {
            border-radius: 50%;
        }

        .pz-chat-launcher.is-open .pz-chat-launcher__open {
            display: none;
        }

        .pz-chat-launcher.is-open .pz-chat-launcher__close {
            display: block;
        }

        .pz-chat-launcher__badge {
            position: absolute;
            top: -5px;
            right: -4px;
            display: grid;
            place-items: center;
            min-width: 22px;
            height: 22px;
            padding: 0 6px;
            border: 0px solid #ce1111;
            border-radius: 999px;
            color: #ffffff;
            background: #ce1111;
            font-size: 11px;
            font-weight: 800;
            line-height: 1;
            box-shadow: 0 5px 12px rgba(0, 0, 0, .15);
        }

        .pz-chat-launcher.is-open .pz-chat-launcher__badge,
        .pz-chat-launcher__badge.is-hidden {
            display: none;
        }

        .pz-chat-panel {
            position: absolute;
            right: 0;
            bottom: 76px;
            display: flex;
            flex-direction: column;
            width: min(390px, calc(100vw - 32px));
            height: min(650px, calc(100dvh - 120px));
            max-height: 78dvh;
            overflow: hidden;
            border: 1px solid rgba(17, 24, 39, .07);
            border-radius: 26px;
            background: var(--pz-surface);
            box-shadow: var(--pz-shadow);
            opacity: 0;
            visibility: hidden;
            transform: translateY(18px) scale(.97);
            transform-origin: bottom right;
            transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
        }

        .pz-chat-panel.is-open {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
        }

        .pz-chat-header {
            position: relative;
            display: flex;
            align-items: center;
            gap: 12px;
            flex: 0 0 auto;
            min-height: 78px;
            padding: 14px 16px;
            color: #111111;
            background:
                radial-gradient(circle at 85% -20%, rgba(255,255,255,.28), transparent 38%),
                linear-gradient(135deg, var(--pz-primary), var(--pz-primary-dark));
        }

        .pz-chat-avatar {
            position: relative;
            display: grid;
            place-items: center;
            width: 46px;
            height: 46px;
            flex: 0 0 46px;
            padding: 6px;
            border: 2px solid rgba(17,17,17,.18);
            border-radius: 50px;
            background: #fff;
            box-shadow: 0 7px 18px rgba(0,0,0,.15);
        }

        .pz-chat-avatar img {
            display: block;
            width: 100%;
            height: 100%;
            border-radius: 10px;
            object-fit: contain;
        }

        .pz-chat-avatar::after {
            content: "";
            position: absolute;
            right: -2px;
            bottom: -2px;
            width: 12px;
            height: 12px;
            border: 2px solid var(--pz-primary-dark);
            border-radius: 50%;
            background: #3ddc84;
        }

        .pz-chat-header__info {
            min-width: 0;
            flex: 1;
        }

        /* Font utama: judul, menu, dan tombol */
        #pz-chat-root .pz-chat-header__info strong,
        #pz-chat-root .pz-chat-teaser strong,
        #pz-chat-root .pz-chat-date,
        #pz-chat-root .pz-chat-option,
        #pz-chat-root .pz-chat-action,
        #pz-chat-root .pz-chat-form label,
        #pz-chat-root .pz-chat-send,
        #pz-chat-root .pz-chat-form-back {
            font-family: "Raleway", Arial, sans-serif;
        }

        .pz-chat-header__info strong {
            display: block;
            margin-bottom: 2px;
            font-size: 15px;
            font-weight: 700;
            letter-spacing: -.1px;
            color: black;    
        }

        .pz-chat-status {
            display: flex;
            align-items: center;
            gap: 7px;
            color: rgba(17,17,17,.82);
            font-size: 12px;
        }

        .pz-chat-status__dot {
            width: 7px;
            height: 7px;
            flex: 0 0 7px;
            border-radius: 50%;
            background: #40b25e;
            box-shadow: 0 0 0 4px rgb(184 255 203 / 38%);
        }

        .pz-chat-status.is-offline .pz-chat-status__dot {
            background: #e4d2ab;
            box-shadow: 0 0 0 4px rgba(255,211,138,.14);
        }

        .pz-chat-sales {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            flex: 0 0 auto;
            padding-left: 2px;
        }

        .pz-chat-sales img {
            display: block;
            width: 28px;
            height: 28px;
            flex: 0 0 28px;
            margin-left: -12px;
            overflow: hidden;
            border: 2px solid rgba(255,255,255,.92);
            border-radius: 50%;
            background: #ffffff;
            object-fit: cover;
            object-position: center;
            box-shadow: 0 3px 9px rgba(0,0,0,.16);
        }

        .pz-chat-sales img:first-child {
            margin-left: 0;
        }

        .pz-chat-close {
            display: grid;
            place-items: center;
            width: 38px;
            height: 38px;
            flex: 0 0 38px;
            padding: 0;
            border: 1px solid rgba(17,17,17,.18);
            border-radius: 13px;
            color: #111111;
            background: rgba(255,255,255,.24);
            cursor: pointer;
            transition: background .2s ease, transform .2s ease;
        }

        .pz-chat-close:hover {
            background: rgba(255,255,255,.38);
            transform: rotate(3deg);
        }

        .pz-chat-close svg {
            width: 20px;
            height: 20px;
        }

        .pz-chat-body {
            flex: 1 1 auto;
            min-height: 0;
            overflow-y: auto;
            padding: 15px 14px 20px;
            background:
                linear-gradient(rgba(255,255,255,.91), rgba(255,255,255,.96)),
                radial-gradient(circle at 1px 1px, #d7dbe0 1px, transparent 1.3px);
            background-size: auto, 19px 19px;
            overscroll-behavior: contain;
            scrollbar-width: thin;
            scrollbar-color: #c7cbd1 transparent;
        }

        .pz-chat-body::-webkit-scrollbar {
            width: 7px;
        }

        .pz-chat-body::-webkit-scrollbar-thumb {
            border-radius: 999px;
            background: #c7cbd1;
        }

        .pz-chat-date {
            width: max-content;
            margin: 0 auto 15px;
            padding: 5px 10px;
            border: 1px solid var(--pz-line);
            border-radius: 999px;
            color: var(--pz-muted);
            background: rgba(255,255,255,.92);
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .7px;
        }

        .pz-chat-row {
            display: flex;
            align-items: flex-end;
            gap: 8px;
            margin: 0 0 11px;
            animation: pzChatIn .24s ease both;
        }

        .pz-chat-row--user {
            justify-content: flex-end;
        }

        .pz-chat-mini-avatar {
            display: grid;
            place-items: center;
            width: 34px;
            height: 34px;
            flex: 0 0 34px;
            padding: 4px;
            overflow: hidden;
            border: 1px solid rgba(186,148,78,.35);
            border-radius: 50px;
            background: #fff;
            box-shadow: 0 4px 10px rgba(186,148,78,.22);
        }

        .pz-chat-mini-avatar img {
            display: block;
            width: 100%;
            height: 100%;
            border-radius: 5px;
            object-fit: contain;
        }

        .pz-chat-bubble {
            width: fit-content;
            max-width: 82%;
            padding: 11px 13px;
            border: 1px solid var(--pz-line);
            border-radius: 5px 20px 20px 20px;
            background: #fff;
            box-shadow: 0 5px 14px rgba(17,24,39,.05);
            color: var(--pz-text);
            font-size: 13.5px;
            line-height: 1.55;
            overflow-wrap: anywhere;
        }

        .pz-chat-bubble p {
            margin: 0;
        }

        .pz-chat-bubble p + p {
            margin-top: 8px;
        }

        .pz-chat-bubble strong {
            font-weight: 700;
            color: black;
        }

        .pz-chat-row--user .pz-chat-bubble {
            border-color: transparent;
            border-radius: 17px 5px 17px 17px;
            color: #111111;
            background: #ba944e6b;
            box-shadow: 0 7px 18px rgba(186,148,78,.22);
        }

        .pz-chat-options,
        .pz-chat-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin: 5px 0 14px 42px;
            animation: pzChatIn .24s ease both;
            flex-direction: column;
        }

        .pz-chat-options {
            flex-direction: column;
            align-items: stretch;
        }

        .pz-chat-option,
        .pz-chat-action {
            border: 1px solid #e5b44f;
            border-radius: 13px;
            color: #111111;
            background: rgba(255,255,255,.97);
            font: inherit;
            font-weight: 700;
            line-height: 1.2;
            cursor: pointer;
            transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
            -webkit-tap-highlight-color: transparent;
        }

        .pz-chat-option {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            padding: 11px 12px;
            text-align: left;
        }

        .pz-chat-option::after {
            content: "›";
            margin-left: 10px;
            color: var(--pz-primary);
            font-size: 20px;
            font-weight: 500;
            line-height: 1;
        }

        .pz-chat-option:hover,
        .pz-chat-action:hover {
            transform: translateY(-1px);
            border-color: var(--pz-primary);
            background: #ba944e3d;
			color: black;
            box-shadow: 0 6px 15px rgba(186,148,78,.14);
        }

        .pz-chat-option:disabled,
        .pz-chat-action:disabled {
            opacity: .55;
            cursor: default;
            transform: none;
        }

        .pz-chat-action {
            padding: 12px;
            font-size: 14px;
        }

        .pz-chat-action--primary {
            border-color: #1fa04f;
            color: #ffffff;
            background: #1fa04f;
        }

        .pz-chat-action--primary:hover {
            color: #ffffff;
            background: #198842;
            border-color: #1fa04f;
        }

        .pz-chat-typing {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            min-width: 54px;
            min-height: 42px;
        }

        .pz-chat-typing i {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #9aa0a6;
            animation: pzTyping 1.05s infinite ease-in-out;
        }

        .pz-chat-typing i:nth-child(2) {
            animation-delay: .13s;
        }

        .pz-chat-typing i:nth-child(3) {
            animation-delay: .26s;
        }

        .pz-chat-form {
            margin: 4px 0 14px 35px;
            padding: 12px;
            border: 1px solid var(--pz-line);
            border-radius: 17px;
            background: rgba(255,255,255,.96);
            box-shadow: 0 7px 20px rgba(17,24,39,.06);
            animation: pzChatIn .24s ease both;
        }

        .pz-chat-fields {
            display: grid;
            grid-template-columns: 1fr;
            gap: 10px;
            margin-bottom: 11px;
        }

        .pz-chat-field {
            min-width: 0;
        }

        .pz-chat-form label {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            margin-bottom: 6px;
            font-size: 12px;
            font-weight: 700;
        }

        .pz-chat-input,
        .pz-chat-textarea {
            display: block;
            width: 100%;
            padding: 11px 12px;
            border: 1px solid #d7dbe0;
            border-radius: 13px;
            outline: none;
            color: var(--pz-text);
            background: #fff;
            font: inherit;
            line-height: 1.5;
            transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
        }

        .pz-chat-input {
            min-height: 43px;
        }

        .pz-chat-input::placeholder,
        .pz-chat-textarea::placeholder {
            color: #9aa0a6;
            opacity: 1;
        }

        .pz-chat-input:focus,
        .pz-chat-textarea:focus {
            border-color: var(--pz-primary);
            box-shadow: 0 0 0 4px rgba(186,148,78,.16);
        }

        .pz-chat-input.is-invalid,
        .pz-chat-textarea.is-invalid {
            border-color: #d92d20;
            background: #fffafa;
            box-shadow: 0 0 0 4px rgba(217,45,32,.10);
        }

        .pz-chat-textarea {
            min-height: 105px;
            max-height: 190px;
            resize: vertical;
        }

        .pz-chat-form__hint {
            display: flex;
            justify-content: space-between;
            gap: 10px;
            margin-top: 7px;
            color: var(--pz-muted);
            font-size: 10.5px;
        }

        .pz-chat-form__error {
            display: none;
            margin: 7px 0 0;
            color: #b42318;
            font-size: 11px;
            font-weight: 700;
        }

        .pz-chat-form__error.is-visible {
            display: block;
        }

        button.pz-chat-send {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            min-height: 43px;
            margin-top: 10px;
            padding: 10px 14px;
            border: 0;
            border-radius: 13px;
            color: white;
            background: #1fa04f !important;
            font: inherit;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 8px 18px rgb(0 255 22 / 24%);
            transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
        }

        button.pz-chat-send:hover {
            transform: translateY(-1px);
            background: #1e7c41 !important;
            box-shadow: 0 8px 18px rgb(0 255 22 / 24%);
        }

        .pz-chat-send svg {
            width: 18px;
            height: 18px;
            fill: currentColor;
        }

        .pz-chat-form__buttons {
            display: grid;
            grid-template-columns: 1fr;
            gap: 8px;
            margin-top: 10px;
        }

        .pz-chat-form__buttons .pz-chat-send {
            margin-top: 0;
        }

        .pz-chat-form-back {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            min-height: 41px;
            padding: 9px 12px;
            border: 1px solid #d8dce2;
            border-radius: 13px;
            color: #111111;
            background: #ffffff;
            font: inherit;
            font-size: 14px;
            font-weight: 800;
            cursor: pointer;
            transition: transform .16s ease, border-color .16s ease, background .16s ease;
        }

        .pz-chat-form-back:hover {
            transform: translateY(-1px);
            border-color: var(--pz-primary);
            background: var(--pz-primary-soft);
		    color: #474747;			
        }

        .pz-chat-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            flex: 0 0 auto;
            min-height: 37px;
            padding: 9px 14px;
            border-top: 1px solid var(--pz-line);
            color: var(--pz-muted);
            background: #fff;
            font-size: 10.5px;
        }

        .pz-chat-footer__brand {
            display: inline-flex;
            align-items: center;
            justify-content: flex-end;
            min-width: 88px;
        }

        .pz-chat-footer__brand img {
            display: block;
            width: auto;
            max-width: 108px;
            height: 19px;
            object-fit: contain;
        }

        .pz-chat-teaser {
            position: absolute;
            right: 0;
            bottom: 76px;
            width: min(285px, calc(100vw - 32px));
            padding: 13px 38px 13px 14px;
            border: 1px solid rgba(17,24,39,.07);
            border-radius: 17px 17px 7px 17px;
            background: #fff;
            box-shadow: 0 15px 38px rgba(17,24,39,.15);
            animation: pzTeaserIn .28s ease both;
        }

        .pz-chat-teaser::after {
            content: "";
            position: absolute;
            right: 22px;
            bottom: -7px;
            width: 14px;
            height: 14px;
            border-right: 1px solid rgba(17,24,39,.07);
            border-bottom: 1px solid rgba(17,24,39,.07);
            background: #fff;
            transform: rotate(45deg);
        }

        .pz-chat-teaser strong,
        .pz-chat-teaser span {
            display: block;
        }

        .pz-chat-teaser strong {
            margin-bottom: 2px;
            font-size: 13px;
            font-weight: 700;
        }

        .pz-chat-teaser span {
            color: var(--pz-muted);
            font-size: 11.5px;
        }

        .pz-chat-teaser__close {
            position: absolute;
            top: 7px;
            right: 8px;
            display: grid;
            place-items: center;
            width: 25px;
            height: 25px;
            padding: 0;
            border: 0;
            border-radius: 8px;
            color: var(--pz-muted);
            background: transparent;
            font-size: 18px;
            line-height: 1;
            cursor: pointer;
        }

        .pz-chat-teaser__close:hover {
            color: var(--pz-text);
            background: var(--pz-soft);
        }

        @keyframes pzChatIn {
            from { opacity: 0; transform: translateY(7px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes pzTeaserIn {
            from { opacity: 0; transform: translateY(8px) scale(.98); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }

        @keyframes pzTyping {
            0%, 60%, 100% { transform: translateY(0); opacity: .5; }
            30% { transform: translateY(-4px); opacity: 1; }
        }

        @media (max-width: 520px) {
            #pz-chat-root {
                right: max(12px, env(safe-area-inset-right));
                bottom: max(14px, env(safe-area-inset-bottom));
            }

            .pz-chat-launcher {
                width: 58px;
                height: 58px;
                border-radius: 20px;
            }

            .pz-chat-panel {
                position: fixed;
                right: 12px;
                left: 12px;
                bottom: calc(84px + env(safe-area-inset-bottom));
                width: auto;
                height: min(640px, calc(100dvh - 110px));
                max-height: none;
                border-radius: 23px;
                transform-origin: bottom center;
            }

            .pz-chat-teaser {
                position: fixed;
                right: 12px;
                bottom: calc(84px + env(safe-area-inset-bottom));
                width: min(285px, calc(100vw - 24px));
            }

            .pz-chat-header {
                min-height: 73px;
                padding: 12px 13px;
                gap: 9px;
            }

            .pz-chat-sales {
                padding-left: 0;
            }

            .pz-chat-sales img {
                width: 23px;
                height: 23px;
                flex-basis: 23px;
                margin-left: -11px;
            }

            .pz-chat-body {
                padding: 20px;
            }



            .pz-chat-bubble {
                max-width: 86%;
                font-size: 13px;
            }
        }

        @media (max-height: 620px) and (min-width: 521px) {
            .pz-chat-panel {
                height: calc(100dvh - 105px);
                max-height: none;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            #pz-chat-root *,
            #pz-chat-root *::before,
            #pz-chat-root *::after {
                animation-duration: .001ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: .001ms !important;
                scroll-behavior: auto !important;
            }
        }

/* Avatar balasan mengikuti foto sales dari pengaturan rolling. */
#pz-chat-root .pz-chat-mini-avatar {
    padding: 2px;
}

#pz-chat-root .pz-chat-mini-avatar img {
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

/* PlakatZone wordmark is wide; never crop it into an avatar. */
#pz-chat-root .pz-chat-mini-avatar img, #pz-chat-root .pz-chat-avatar img {object-fit:contain;padding:2px;background:#fff;}
#pz-chat-root button,#pz-chat-root input,#pz-chat-root textarea,#pz-chat-root select {font-family:"Raleway",Arial,sans-serif;}


/* v1.8.5: scoped layout and form isolation from WordPress/Elementor themes. */
#pz-chat-root {
    color-scheme: light;
    --pz-edge: 20px;
    --pz-bottom: max(20px, env(safe-area-inset-bottom, 0px));
    --pz-launcher-offset: 76px;
}
#pz-chat-root .pz-chat-panel {
    width: min(390px, calc(100vw - 2 * var(--pz-edge)));
    max-width: calc(100vw - 2 * var(--pz-edge));
    min-width: 0;
    height: min(650px, calc(100vh - var(--pz-bottom) - var(--pz-launcher-offset) - 12px));
    height: min(650px, calc(100dvh - var(--pz-bottom) - var(--pz-launcher-offset) - 12px));
    max-height: none;
}
#pz-chat-root .pz-chat-body {
    width: 100%; min-width: 0; min-height: 0;
    overflow-x: hidden; overflow-y: auto;
    padding: 14px 12px 16px;
    overflow-wrap: anywhere;
}
#pz-chat-root .pz-chat-row,
#pz-chat-root .pz-chat-header,
#pz-chat-root .pz-chat-footer { min-width: 0; }
#pz-chat-root .pz-chat-bubble { min-width: 0; max-width: min(86%, calc(100% - 42px)); }
#pz-chat-root .pz-chat-row--user .pz-chat-bubble { max-width: 86%; }
#pz-chat-root .pz-chat-bubble img { max-width: 100%; height: auto; }
#pz-chat-root .pz-chat-bubble pre { white-space: pre-wrap; overflow-wrap: anywhere; }
#pz-chat-root .pz-chat-options,
#pz-chat-root .pz-chat-actions { min-width: 0; max-width: calc(100% - 42px); }
#pz-chat-root .pz-chat-option,
#pz-chat-root .pz-chat-action { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
#pz-chat-root form.pz-chat-form {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 4px 0 12px !important;
    padding: 12px !important;
    border: 1px solid var(--pz-line) !important;
    border-radius: 17px !important;
    background: #fff !important;
    color: var(--pz-text) !important;
}
#pz-chat-root .pz-chat-fields,
#pz-chat-root .pz-chat-form__buttons {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%; min-width: 0; max-width: 100%;
    gap: 9px;
}
#pz-chat-root .pz-chat-field { width: 100%; max-width: 100%; min-width: 0; }
#pz-chat-root .pz-chat-form label { color: #202124 !important; margin: 0 0 6px !important; }
#pz-chat-root form.pz-chat-form input.pz-chat-input,
#pz-chat-root form.pz-chat-form textarea.pz-chat-textarea {
    appearance: none !important;
    -webkit-appearance: none !important;
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid #d6d9dd !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #202124 !important;
    -webkit-text-fill-color: #202124 !important;
    caret-color: #202124 !important;
    opacity: 1 !important;
    font: 500 14px/1.5 "Raleway", Arial, sans-serif !important;
    text-align: left !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    box-shadow: none !important;
}
#pz-chat-root form.pz-chat-form input.pz-chat-input { height: 44px !important; min-height: 44px !important; }
#pz-chat-root form.pz-chat-form textarea.pz-chat-textarea { height: auto; min-height: 105px !important; max-height: 190px; resize: vertical; }
#pz-chat-root form.pz-chat-form input.pz-chat-input::placeholder,
#pz-chat-root form.pz-chat-form textarea.pz-chat-textarea::placeholder { color: #727780 !important; -webkit-text-fill-color: #727780 !important; opacity: 1 !important; }
#pz-chat-root form.pz-chat-form input.pz-chat-input:focus,
#pz-chat-root form.pz-chat-form textarea.pz-chat-textarea:focus { border-color: var(--pz-primary) !important; outline: 2px solid rgba(186,148,78,.28) !important; outline-offset: 0 !important; }
#pz-chat-root form.pz-chat-form input.pz-chat-input.is-invalid,
#pz-chat-root form.pz-chat-form textarea.pz-chat-textarea.is-invalid { border-color: #d92d20 !important; background: #fffafa !important; }
#pz-chat-root form.pz-chat-form input.pz-chat-input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #fff inset !important; -webkit-text-fill-color: #202124 !important; }
#pz-chat-root .pz-chat-form__hint { flex-wrap: wrap; gap: 4px 8px; }
#pz-chat-root .pz-chat-form__hint span:last-child { margin-left: auto; white-space: nowrap; }
#pz-chat-root form.pz-chat-form button.pz-chat-send,
#pz-chat-root form.pz-chat-form button.pz-chat-form-back {
    box-sizing: border-box !important;
    width: 100% !important; min-width: 0 !important; max-width: 100% !important;
    min-height: 44px !important; height: auto !important;
    margin: 0 !important; padding: 10px 12px !important;
    border-radius: 12px !important;
    font: 700 14px/1.4 "Raleway", Arial, sans-serif !important;
    white-space: normal !important; text-transform: none !important;
    overflow-wrap: anywhere;
}
#pz-chat-root form.pz-chat-form button.pz-chat-send { background: #198342 !important; color: #fff !important; border: 1px solid #198342 !important; box-shadow: none !important; }
#pz-chat-root form.pz-chat-form button.pz-chat-send:hover { background: #146d36 !important; }
#pz-chat-root .pz-chat-send svg { flex: 0 0 18px; }
#pz-chat-root form.pz-chat-form button.pz-chat-form-back { background: #fff !important; color: #202124 !important; border: 1px solid #d6d9dd !important; }
#pz-chat-root form.pz-chat-form button.pz-chat-form-back:hover { background: var(--pz-primary-soft) !important; border-color: var(--pz-primary) !important; }
#pz-chat-root .pz-chat-footer { gap: 8px; }
#pz-chat-root .pz-chat-footer > span:first-child { min-width: 0; overflow-wrap: anywhere; }
#pz-chat-root .pz-chat-footer__brand { flex: 0 0 auto; min-width: 0; max-width: 86px; }
#pz-chat-root .pz-chat-footer__brand img { max-width: 100%; }
@media (max-width: 520px) {
    #pz-chat-root { --pz-edge: 10px; --pz-bottom: max(14px, env(safe-area-inset-bottom, 0px)); --pz-launcher-offset: 70px; }
    #pz-chat-root .pz-chat-panel {
        position: fixed;
        left: max(var(--pz-edge), env(safe-area-inset-left, 0px));
        right: max(var(--pz-edge), env(safe-area-inset-right, 0px));
        bottom: calc(var(--pz-bottom) + var(--pz-launcher-offset));
        width: auto; max-width: none;
        border-radius: 20px;
    }
    #pz-chat-root .pz-chat-header { min-height: 64px; padding: 10px 12px; gap: 8px; }
    #pz-chat-root .pz-chat-body { padding: 10px 10px 14px; }
    #pz-chat-root form.pz-chat-form { padding: 10px !important; }
    #pz-chat-root form.pz-chat-form input.pz-chat-input,
    #pz-chat-root form.pz-chat-form textarea.pz-chat-textarea { font-size: 16px !important; }
    #pz-chat-root .pz-chat-form__hint span:first-child { display: none; }
    #pz-chat-root .pz-chat-footer { padding: 7px 10px; }
}
@media (max-width: 520px) and (max-height: 480px) {
    #pz-chat-root .pz-chat-panel { bottom: 8px; height: calc(100vh - 16px); height: calc(100dvh - 16px); }
    #pz-chat-root .pz-chat-launcher.is-open { visibility: hidden; }
}
