.help-chat-widget {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1050;
}
.help-chat-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,.15);
    background: var(--brand);
    color: #fff;
}
.help-chat-panel {
    position: absolute;
    right: 0;
    bottom: 56px;
    width: 380px;
    max-height: 520px;
    display: flex;
    flex-direction: column;
    background: var(--bg-elev);
    color: var(--fg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-2);
}
.help-chat-body {
    overflow-y: auto;
    max-height: 280px;
}
.help-chat-messages {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.help-chat-message {
    display: flex;
}
.help-chat-message-user {
    justify-content: flex-end;
}
.help-chat-bubble {
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    max-width: 100%;
}
.help-chat-message-bot .help-chat-bubble {
    background-color: var(--bg-elev);
    color: var(--fg);
    border: 1px solid var(--border);
}
.help-chat-message-user .help-chat-bubble {
    background-color: var(--brand);
    color: #fff;
}
.help-chat-result-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.help-chat-result-list li + li {
    margin-top: 0.5rem;
}
.help-chat-result-title {
    font-weight: 600;
    margin-bottom: 0.1rem;
}
.help-chat-result-snippet {
    font-size: 0.8rem;
    color: var(--muted);
}
.help-chat-panel .card-header,
.help-chat-panel .card-footer {
    background: transparent;
    border-color: var(--border);
}
.help-chat-panel .card-header span {
    color: var(--fg);
}
.help-chat-panel .card-header i {
    color: var(--brand);
}
#helpChatInput {
    background-color: var(--bg-elev);
    color: var(--fg);
    border-color: var(--border);
}
#helpChatInput::placeholder {
    color: var(--muted);
}
@media (max-width: 576px) {
    .help-chat-panel {
        width: 100vw;
        right: 0;
        bottom: 60px;
        border-radius: 0;
    }
}

/* Logo Inspect no footer respeitando o tema */
.inspect-logo-dark { display: none; }
.inspect-logo-light { display: inline; }
[data-theme="dark"] .inspect-logo-light { display: none; }
[data-theme="dark"] .inspect-logo-dark { display: inline; }
