/* ── Help page ────────────────────────────────────────────────── */
.help-wrap {
    max-width: 900px;
    margin: 32px auto;
    padding: 0 16px 60px;
}

.help-wrap-public {
    margin-top: 16px;
}

.help-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 4px;
}

.help-subtitle {
    font-size: 0.88rem;
    color: #6c757d;
    margin-bottom: 28px;
}

/* ── Tab strip ─────────────────────────────────────────────────── */
.help-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 28px;
    padding-bottom: 0;
}

.help-tab-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.help-tab-btn i { font-size: 0.85rem; }

.help-tab-btn:hover {
    color: #343a40;
    border-bottom-color: #ced4da;
}

.help-tab-btn.active {
    color: #0cada2;
    border-bottom-color: #0cada2;
}

/* ── Tab panels ────────────────────────────────────────────────── */
.help-panel { display: none; }
.help-panel.active { display: block; }

/* ── Accordion items ───────────────────────────────────────────── */
.help-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.help-item {
    border: 1px solid #dee2e6;
    border-left: 4px solid #0cada2;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.help-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    cursor: pointer;
    user-select: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: #212529;
    background: #fff;
    transition: background 0.12s;
}

.help-item-header:hover { background: #f8f9fa; }

.help-item-header i.help-icon {
    font-size: 0.9rem;
    color: #0cada2;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.help-item-header i.help-chevron {
    margin-left: auto;
    font-size: 0.75rem;
    color: #adb5bd;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.help-item.open .help-item-header i.help-chevron {
    transform: rotate(180deg);
}

.help-item-body {
    display: none;
    padding: 0 20px 18px 44px;
    font-size: 0.875rem;
    color: #343a40;
    line-height: 1.65;
}

.help-item.open .help-item-body { display: block; }

/* ── Path breadcrumb ───────────────────────────────────────────── */
.help-path {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    background: #f0fffe;
    border: 1px solid #c8eeec;
    border-radius: 4px;
    padding: 7px 12px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0cada2;
}

.help-path span { color: #6c757d; font-weight: 400; }

/* ── Body content helpers ──────────────────────────────────────── */
.help-item-body p { margin: 0 0 10px; }
.help-item-body ul, .help-item-body ol { margin: 0 0 10px; padding-left: 20px; }
.help-item-body li { margin-bottom: 4px; }
.help-item-body strong { color: #212529; }

.help-note {
    background: #fff8e1;
    border-left: 3px solid #ffc107;
    border-radius: 3px;
    padding: 8px 12px;
    margin-top: 10px;
    font-size: 0.82rem;
    color: #555;
}

.help-admin-badge {
    display: inline-block;
    background: #6f42c1;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 3px;
    padding: 1px 6px;
    vertical-align: middle;
    margin-left: 4px;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .help-wrap { margin-top: 16px; }
    .help-item-body { padding-left: 16px; }
    .help-tab-btn { padding: 8px 10px; font-size: 0.8rem; }
}
