.helpbot-toggle {
    position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1000;
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--brand); color: #fff; border: none;
    box-shadow: var(--shadow-md);
    font-size: 1.4rem; line-height: 1; display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.helpbot-toggle:hover { background: var(--brand-dark); }

.helpbot-panel {
    position: fixed; right: 1.25rem; bottom: 5.25rem; z-index: 1000;
    width: 360px; max-width: calc(100vw - 2.5rem);
    max-height: calc(100vh - 8rem);
    background: var(--surface-1); border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
    display: none; flex-direction: column; overflow: hidden;
}
.helpbot-panel.open { display: flex; }

.helpbot-header {
    padding: 0.7rem 0.9rem; background: var(--brand); color: #fff;
    display: flex; align-items: center; justify-content: space-between;
    flex-shrink: 0;
}
.helpbot-header strong { font-size: 0.9rem; }
.helpbot-close {
    background: transparent; border: none; color: #fff; font-size: 1.1rem;
    cursor: pointer; padding: 0 0.2rem; line-height: 1;
}
.helpbot-close:hover { background: transparent; opacity: 0.8; }

.helpbot-body {
    flex: 1; overflow-y: auto; padding: 0.6rem 0.75rem;
}
.helpbot-body p.text-muted { margin-top: 0; font-size: 0.8rem; }

.helpbot-topic {
    border-bottom: 1px solid var(--border);
}
.helpbot-topic:last-child { border-bottom: none; }
.helpbot-topic summary {
    padding: 0.6rem 0.1rem; font-size: 0.85rem; font-weight: 600;
    cursor: pointer; list-style: none; display: flex; align-items: center; gap: 0.4rem;
}
.helpbot-topic summary::-webkit-details-marker { display: none; }
.helpbot-topic summary::before { content: '+'; color: var(--brand); font-weight: 700; width: 1rem; flex-shrink: 0; }
.helpbot-topic[open] summary::before { content: '\2212'; }
.helpbot-topic .helpbot-answer {
    padding: 0 0.1rem 0.75rem 1.4rem; font-size: 0.82rem; line-height: 1.5; color: var(--text-secondary);
}
.helpbot-topic .helpbot-answer ol,
.helpbot-topic .helpbot-answer ul { margin: 0.3rem 0; padding-left: 1.1rem; }
.helpbot-topic .helpbot-answer li { margin-bottom: 0.25rem; }
.helpbot-topic .helpbot-answer p { margin: 0 0 0.5rem; }
.helpbot-topic .helpbot-answer p:last-child { margin-bottom: 0; }
