#ppi-bubble {
    position: fixed; bottom: 24px; right: 24px;
    width: 58px; height: 58px;
    background: #1a2e4a;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 99999;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transition: transform .2s;
}
#ppi-bubble:hover { transform: scale(1.08); }
#ppi-bubble span { font-size: 26px; }

#ppi-chat-window {
    position: fixed; bottom: 94px; right: 24px;
    width: 320px; height: 440px;
    background: white; border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    z-index: 99998; display: none;
    flex-direction: column; overflow: hidden;
}
#ppi-chat-window.ppi-open { display: flex; }

#ppi-chat-header {
    background: #1a2e4a; color: white;
    padding: 12px 16px;
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 700; font-size: 15px;
}
#ppi-close {
    background: none; border: none; color: white;
    font-size: 18px; cursor: pointer; line-height: 1;
}

#ppi-chat-messages {
    flex: 1; overflow-y: auto;
    padding: 12px; display: flex;
    flex-direction: column; gap: 8px;
}

.ppi-msg {
    padding: 8px 12px; border-radius: 12px;
    max-width: 85%; font-size: 14px; line-height: 1.4;
}
.ppi-msg-user {
    background: #f5a623; color: #1a2e4a;
    align-self: flex-end; border-bottom-right-radius: 3px;
    font-weight: 600;
}
.ppi-msg-bot {
    background: #f0f2f5; color: #222;
    align-self: flex-start; border-bottom-left-radius: 3px;
}

#ppi-chat-input-wrap {
    display: flex; border-top: 1px solid #eee; padding: 8px;
    gap: 6px;
}
#ppi-chat-input {
    flex: 1; padding: 8px 10px;
    border: 1.5px solid #ddd; border-radius: 6px;
    font-size: 14px; outline: none;
}
#ppi-chat-input:focus { border-color: #f5a623; }
#ppi-chat-send {
    background: #f5a623; color: #1a2e4a;
    border: none; border-radius: 6px;
    padding: 8px 14px; font-weight: 700;
    cursor: pointer; font-size: 14px;
}
#ppi-chat-send:hover { background: #e09510; }
