
    .stai-program-cards {
    display: grid;
    gap: 12px;
    margin-top: 10px;
}

.stai-program-card {
    background: #ffffff;
    border: 1px solid rgba(171, 135, 38, 0.24);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.stai-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.stai-card-no {
    font-size: 12px;
    font-weight: 700;
    color: #ab8726;
}

.stai-card-type {
    font-size: 11px;
    font-weight: 700;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(171, 135, 38, 0.12);
    color: #7c5f19;
    white-space: nowrap;
}

.stai-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #272311;
    line-height: 1.35;
    margin-bottom: 10px;
}

.stai-card-meta {
    display: grid;
    gap: 6px;
    font-size: 12px;
    color: #4b5563;
    margin-bottom: 10px;
}

.stai-card-prices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin: 10px 0;
}

.stai-price-pill {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 8px 6px;
    text-align: center;
    font-size: 11px;
    color: #374151;
}

.stai-price-pill strong {
    display: block;
    margin-top: 3px;
    color: #111827;
    font-size: 12px;
}

.stai-card-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}
    
    
    
        #stai-floating-root {
            position: relative;
            z-index: 999999;
            font-family: Inter, Arial, sans-serif;
        }

        #stai-launcher {
            position: fixed;
            right: 24px;
            bottom: 24px;
            width: 64px;
            height: 64px;
            border: none;
            border-radius: 999px;
            background: linear-gradient(135deg, #ab8726 0%, #bd933e 100%);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 18px 40px rgba(240, 191, 107 ,0.32);
            transition: transform .25s ease, box-shadow .25s ease;
        }

        #stai-launcher:hover {
            transform: translateY(-2px) scale(1.03);
            box-shadow: 0 22px 48px rgba(240, 191, 107 ,0.38);
        }

        #stai-launcher::after {
            content: "";
            position: absolute;
            inset: -6px;
            border-radius: 999px;
            border: 1px solid rgba(240, 191, 107 ,0.25);
            animation: staiPulse 2.2s infinite;
        }

        @keyframes staiPulse {
            0% { transform: scale(1); opacity: 1; }
            70% { transform: scale(1.16); opacity: 0; }
            100% { transform: scale(1.16); opacity: 0; }
        }

        #stai-panel {
            position: fixed;
            right: 24px;
            bottom: 100px;
            width: 420px;
            max-width: calc(100vw - 24px);
            height: min(700px, 78vh);
            background: rgba(255,255,255,0.96);
            backdrop-filter: blur(14px);
            border: 1px solid rgba(255,255,255,0.6);
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 28px 70px rgba(0,0,0,0.18);
            display: flex;
            flex-direction: column;
            opacity: 0;
            transform: translateY(24px) scale(.96);
            pointer-events: none;
            transition: opacity .28s ease, transform .28s ease;
        }

        #stai-panel.stai-open {
            opacity: 1;
            transform: translateY(0) scale(1);
            pointer-events: auto;
        }

        #stai-panel-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 16px;
            background: linear-gradient(135deg, #ab8726 0%, #bd933e 100%);
            color: #fff;
        }

        .stai-head-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .stai-avatar {
            width: 42px;
            height: 42px;
            border-radius: 999px;
            background: rgba(255,255,255,0.18);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 13px;
            letter-spacing: .4px;
        }

        .stai-head-text strong {
            display: block;
            font-size: 17px;
            margin-bottom: 2px;
        }

        .stai-head-text span {
            display: block;
            font-size: 12px;
            opacity: .92;
        }

        .stai-head-actions {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .stai-head-actions button {
            width: 34px;
            height: 34px;
            border: none;
            border-radius: 10px;
            background: rgba(255,255,255,0.14);
            color: #fff;
            cursor: pointer;
            font-size: 20px;
            line-height: 1;
        }

        .stai-head-actions button:hover {
            background: rgba(255,255,255,0.22);
        }

        #stai-messages {
            flex: 1;
            overflow-y: auto;
            padding: 16px;
            background:
                radial-gradient(circle at top right, rgba(240, 191, 107 ,0.7), transparent 28%),
                #f8fafc;
            scroll-behavior: smooth;
        }

        .stai-msg {
            margin-bottom: 14px;
            display: flex;
            flex-direction: column;
            animation: staiMsgIn .22s ease;
        }

        @keyframes staiMsgIn {
            from { opacity: 0; transform: translateY(8px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .stai-msg-text {
            padding: 14px 14px;
            border-radius: 18px;
            white-space: pre-wrap;
            line-height: 1.62;
            font-size: 14px;
            unicode-bidi: plaintext;
            box-shadow: 0 4px 18px rgba(0,0,0,.03);
        }

        .stai-bot .stai-msg-text {
            align-self: flex-start;
            max-width: 90%;
            background: #fff;
            color: #272311;
            border: 1px solid #e5e7eb;
            border-top-left-radius: 8px;
        }

        .stai-user .stai-msg-text {
            align-self: flex-end;
            max-width: 88%;
            background: linear-gradient(135deg, #ab8726 0%, #bd933e 100%);
            color: #272311;
            border-top-right-radius: 8px;
        }

        .stai-suggested,
        .stai-actions,
        .stai-followups {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 10px;
        }

        .stai-chip {
            border: 1px solid #ab8726;
            background: #fff;
            color: #ab8726;
            border-radius: 999px;
            padding: 9px 12px;
            font-size: 12px;
            cursor: pointer;
            text-decoration: none;
            line-height: 1.2;
            transition: all .2s ease;
        }

        .stai-chip:hover {
            background: #ecfdf5;
            transform: translateY(-1px);
        }

        .stai-chip-wa {
            background: #16a34a;
            color: #fff;
            border-color: #16a34a;
        }

        .stai-chip-wa:hover {
            background: #15803d;
            color: #fff;
        }

        .stai-typing {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 10px 12px;
        }

        .stai-typing span {
            width: 8px;
            height: 8px;
            border-radius: 999px;
            background: #94a3b8;
            display: inline-block;
            animation: staiDot 1.1s infinite ease-in-out;
        }

        .stai-typing span:nth-child(2) { animation-delay: .15s; }
        .stai-typing span:nth-child(3) { animation-delay: .3s; }

        @keyframes staiDot {
            0%, 80%, 100% { transform: scale(.7); opacity: .55; }
            40% { transform: scale(1); opacity: 1; }
        }

        #stai-composer {
            padding: 14px;
            background: rgba(255,255,255,.92);
            border-top: 1px solid #e5e7eb;
        }

        #stai-input-wrap {
            display: flex;
            align-items: center;
            gap: 10px;
            background: #fff;
            border: 1px solid #d1d5db;
            border-radius: 18px;
            padding: 8px 8px 8px 14px;
            box-shadow: 0 6px 18px rgba(0,0,0,.03);
        }

        #stai-input-wrap:focus-within {
            border-color: #ab8726;
            box-shadow: 0 0 0 4px rgba(240, 191, 107 ,0.08);
        }

        #stai-input {
            flex: 1;
            border: none;
            outline: none;
            background: transparent;
            font-size: 14px;
            padding: 8px 0;
        }

        #stai-send {
            width: 42px;
            height: 42px;
            border: none;
            border-radius: 14px;
            background: linear-gradient(135deg, #ab8726 0%, #bd933e 100%);
            color: #fff;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        #stai-send:hover {
            transform: translateY(-1px);
        }

        #stai-send:disabled {
            opacity: .6;
            cursor: not-allowed;
            transform: none;
        }

        @media (max-width: 640px) {
            #stai-launcher {
                right: 16px;
                bottom: 16px;
                width: 58px;
                height: 58px;
            }

            #stai-panel {
                right: 12px;
                left: 12px;
                bottom: 84px;
                width: auto;
                max-width: none;
                height: 76vh;
                border-radius: 22px;
            }

            .stai-bot .stai-msg-text,
            .stai-user .stai-msg-text {
                max-width: 94%;
            }
        }
        
        .stai-chip-lead {
    background: linear-gradient(135deg, #ab8726 0%, #bd933e 100%);
    color: #ffffff;
    border-color: #bd933e;
    font-weight: 700;
}

.stai-chip-lead:hover {
    background: linear-gradient(135deg, #9b781f 0%, #ab8726 100%);
    color: #ffffff;
}

.stai-lead-card {
    width: 100%;
    max-width: 360px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.94)),
        radial-gradient(circle at top right, rgba(189,147,62,0.18), transparent 34%);
    border: 1px solid rgba(171, 135, 38, 0.22);
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 16px 38px rgba(0,0,0,0.08);
}

.stai-lead-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.stai-lead-icon {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ab8726 0%, #bd933e 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    box-shadow: 0 10px 22px rgba(171, 135, 38, 0.25);
}

.stai-lead-header strong {
    display: block;
    font-size: 15px;
    color: #272311;
    margin-bottom: 3px;
}

.stai-lead-header span {
    display: block;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.45;
}

.stai-lead-form {
    display: grid;
    gap: 11px;
    margin-top: 4px;
}

.stai-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.stai-field {
    display: grid;
    gap: 6px;
}

.stai-field span {
    font-size: 11px;
    font-weight: 700;
    color: #4b5563;
}

.stai-field input,
.stai-field textarea {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 11px 12px;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
    background: rgba(255,255,255,0.92);
    color: #111827;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.stai-field input:focus,
.stai-field textarea:focus {
    border-color: #bd933e;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(171, 135, 38, 0.12);
}

.stai-field textarea {
    min-height: 78px;
    resize: vertical;
}

.stai-lead-submit {
    margin-top: 2px;
    border: none;
    border-radius: 15px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #ab8726 0%, #bd933e 100%);
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(171, 135, 38, 0.24);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.stai-lead-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(171, 135, 38, 0.30);
}

.stai-lead-submit:disabled {
    opacity: .7;
    cursor: not-allowed;
    transform: none;
}

.stai-lead-status {
    font-size: 12px;
    line-height: 1.5;
    color: #6b7280;
    min-height: 18px;
}

.stai-lead-error {
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 9px 10px;
    border-radius: 12px;
}

.stai-success-box {
    text-align: center;
    padding: 12px 8px;
}

.stai-success-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    box-shadow: 0 12px 26px rgba(34, 197, 94, 0.28);
}

.stai-success-box strong {
    display: block;
    font-size: 16px;
    color: #14532d;
    margin-bottom: 6px;
}

.stai-success-box p {
    margin: 0;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.55;
}

@media (max-width: 480px) {
    .stai-form-row {
        grid-template-columns: 1fr;
    }

    .stai-lead-card {
        max-width: 100%;
    }
}

  
        #stai-floating-root #stai-launcher,
#stai-floating-root #stai-panel-header,
#stai-floating-root #stai-send,
#stai-floating-root .stai-chip-lead,
#stai-floating-root .stai-lead-submit {
    background: linear-gradient(135deg, var(--stai-primary) 0%, var(--stai-secondary) 100%) !important;
}

#stai-floating-root #stai-launcher {
    box-shadow: 0 18px 40px color-mix(in srgb, var(--stai-secondary) 35%, transparent);
}

#stai-floating-root #stai-launcher:hover {
    box-shadow: 0 22px 48px color-mix(in srgb, var(--stai-secondary) 42%, transparent);
}

#stai-floating-root .stai-chip:not(.stai-chip-wa) {
    border-color: var(--stai-primary);
    color: var(--stai-primary);
}

#stai-floating-root .stai-chip:not(.stai-chip-wa):hover {
    background: color-mix(in srgb, var(--stai-secondary) 12%, white);
}

#stai-floating-root .stai-card-no {
    color: var(--stai-primary);
}

#stai-floating-root .stai-card-type {
    background: color-mix(in srgb, var(--stai-secondary) 16%, white);
    color: var(--stai-primary);
}

#stai-floating-root #stai-input-wrap:focus-within,
#stai-floating-root .stai-field input:focus,
#stai-floating-root .stai-field textarea:focus {
    border-color: var(--stai-secondary);
}

#stai-floating-root .stai-lead-icon {
    background: linear-gradient(135deg, var(--stai-primary) 0%, var(--stai-secondary) 100%);
}

#stai-floating-root .stai-price-pill strong {
    color: #111827;
}

#stai-floating-root .stai-chip.stai-chip-lead,
#stai-floating-root button.stai-chip.stai-chip-lead {
    color: #ffffff !important;
    border-color: var(--stai-secondary) !important;
    background: linear-gradient(135deg, var(--stai-primary) 0%, var(--stai-secondary) 100%) !important;
}

#stai-floating-root .stai-chip.stai-chip-lead:hover,
#stai-floating-root button.stai-chip.stai-chip-lead:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--stai-secondary) 0%, var(--stai-primary) 100%) !important;
}
    