#prosite-consultant {
    position: fixed;
    left: 22px;
    right: auto;
    bottom: 30px;
    z-index: 1100;
    font-family: inherit;
}
#prosite-consultant.pc-dock-right {
    left: auto;
    right: 16px;
    bottom: 196px;
}
.pc-fab {
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: var(--color-accent, #00d4ff);
    box-shadow: 0 0 20px var(--color-accent-glow, rgba(0, 212, 255, 0.35));
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pc-panel {
    position: absolute;
    left: 0;
    right: auto;
    bottom: 64px;
    width: min(380px, calc(100vw - 32px));
    background: #0b0f19;
    border: 1px solid var(--color-border, #1e2a3a);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}
#prosite-consultant.pc-dock-right .pc-panel {
    left: auto;
    right: 0;
}
.pc-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 14px 10px;
    border-bottom: 1px solid var(--color-border, #1e2a3a);
}
.pc-head strong { color: #fff; font-size: 15px; }
.pc-head p { margin: 4px 0 0; color: var(--color-text-muted, #8aa0b5); font-size: 12px; line-height: 1.4; }
.pc-close {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.pc-body {
    max-height: 240px;
    overflow-y: auto;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pc-msg { margin: 0; font-size: 14px; line-height: 1.45; }
.pc-bot { color: #dbe7f0; }
.pc-user { color: var(--color-accent, #00d4ff); align-self: flex-end; }
.pc-intents {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 14px 10px;
}
.pc-intents button {
    border: 1px solid var(--color-border, #1e2a3a);
    background: transparent;
    color: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 13px;
}
.pc-intents button:hover { border-color: var(--color-accent, #00d4ff); color: var(--color-accent, #00d4ff); }
.pc-form {
    display: flex;
    gap: 8px;
    padding: 10px 14px 14px;
    border-top: 1px solid var(--color-border, #1e2a3a);
}
.pc-form input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    background: #070b12;
    border: 1px solid var(--color-border, #1e2a3a);
    color: #fff;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 14px;
}
.pc-form button {
    flex: 0 0 auto;
    border: 0;
    background: var(--color-accent, #00d4ff);
    color: #041018;
    border-radius: 8px;
    padding: 8px 10px;
    font-weight: 600;
    font-size: 13px;
    min-width: 40px;
    cursor: pointer;
}
.pc-form button:disabled,
.pc-form input:disabled { opacity: 0.45; cursor: not-allowed; }
.pc-think {
    display: flex;
    gap: 5px;
    align-items: center;
    min-height: 18px;
}
.pc-think span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-accent, #00d4ff);
    opacity: 0.35;
    animation: pc-bounce 1s infinite ease-in-out;
}
.pc-think span:nth-child(2) { animation-delay: 0.16s; }
.pc-think span:nth-child(3) { animation-delay: 0.32s; }
.pc-fab.is-thinking { animation: pc-pulse 1.2s ease-in-out infinite; }
@keyframes pc-bounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.3; }
    40% { transform: translateY(-5px); opacity: 1; }
}
@keyframes pc-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.07); }
}
@media (prefers-reduced-motion: reduce) {
    .pc-think span, .pc-fab.is-thinking { animation: none; opacity: 0.8; }
}

@media (max-width: 992px) {
    #prosite-consultant {
        left: 16px;
        right: auto;
        bottom: 30px;
    }
    #prosite-consultant.pc-dock-right {
        left: auto;
        right: 16px;
        bottom: 150px;
    }
}
