.pp-help-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #3498db;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    margin-left: 10px;
}

.pp-help-trigger:hover {
    background: #2980b9;
    transform: scale(1.1);
}

.pp-help-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.pp-help-overlay.active {
    opacity: 1;
    visibility: visible;
}

.pp-help-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    z-index: 9999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pp-help-panel.active {
    right: 0;
}

.pp-help-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
}

.pp-help-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pp-help-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.pp-help-close:hover {
    background: rgba(255,255,255,0.3);
}

.pp-help-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.pp-help-section {
    margin-bottom: 25px;
}

.pp-help-section h4 {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pp-help-section h4 i {
    color: #3498db;
}

.pp-help-section p {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 10px 0;
}

.pp-help-diagram {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.pp-help-flow {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pp-help-flow-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #fff;
    border-radius: 6px;
    border-left: 3px solid #3498db;
}

.pp-help-flow-item.cat { border-left-color: #e67e22; }
.pp-help-flow-item.tpl { border-left-color: #9b59b6; }
.pp-help-flow-item.fase { border-left-color: #27ae60; }
.pp-help-flow-item.proj { border-left-color: #3498db; }

.pp-help-flow-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

.pp-help-flow-icon.cat { background: #e67e22; }
.pp-help-flow-icon.tpl { background: #9b59b6; }
.pp-help-flow-icon.fase { background: #27ae60; }
.pp-help-flow-icon.proj { background: #3498db; }

.pp-help-flow-text {
    flex: 1;
}

.pp-help-flow-text strong {
    display: block;
    font-size: 13px;
    color: #2c3e50;
}

.pp-help-flow-text span {
    font-size: 11px;
    color: #777;
}

.pp-help-arrow {
    text-align: center;
    color: #bbb;
    font-size: 12px;
}

.pp-help-tip {
    background: #e8f4fd;
    border-radius: 6px;
    padding: 12px;
    margin: 10px 0;
    display: flex;
    gap: 10px;
}

.pp-help-tip i {
    color: #3498db;
    margin-top: 2px;
}

.pp-help-tip p {
    margin: 0;
    font-size: 12px;
    color: #2980b9;
}

.pp-help-steps {
    counter-reset: step;
}

.pp-help-step {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
}

.pp-help-step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: #3498db;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pp-help-step strong {
    display: block;
    font-size: 13px;
    color: #2c3e50;
    margin-bottom: 3px;
}

.pp-help-step span {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

.pp-help-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    text-align: center;
}

.pp-help-footer a {
    color: #3498db;
    font-size: 12px;
    text-decoration: none;
}

.pp-help-footer a:hover {
    text-decoration: underline;
}

.pp-help-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
}

.pp-help-menu-item:hover {
    background: #f5f5f5;
    color: #3498db;
}

.pp-help-menu-item i {
    width: 20px;
    text-align: center;
}

@media (max-width: 500px) {
    .pp-help-panel {
        width: 100%;
        right: -100%;
    }
}
