/* Enhanced Full-Screen Help System */
.help-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #eee;
    backdrop-filter: blur(5px);
}

.help-overlay.hidden {
    display: none;
}

.help-top-bar {
    padding: 15px 30px;
    background: #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.help-top-bar h2 {
    margin: 0;
    color: #0f9;
    font-size: 1.2em;
    letter-spacing: 1px;
}

.close-help-btn {
    background: #333;
    border: 1px solid #444;
    color: #fff;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.9em;
}

.close-help-btn:hover { background: #444; color: #0f9; }

.help-main-layout {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Sidebar with Node List */
.help-nodes-list {
    width: 300px;
    background: #181818;
    border-right: 1px solid #333;
    overflow-y: auto;
    padding: 20px;
}

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

.help-cat-title {
    font-size: 0.7em;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    border-bottom: 1px solid #222;
    padding-bottom: 5px;
}

.help-node-item {
    display: block;
    padding: 8px 12px;
    margin: 2px 0;
    color: #ccc;
    text-decoration: none;
    font-size: 0.9em;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.2s;
}

.help-node-item:hover {
    background: #222;
    color: #0f9;
}

.help-node-item.active {
    background: #0f9;
    color: #000;
    font-weight: bold;
}

/* Detail View */
.help-detail-view {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    background: #111;
}

.help-detail-container {
    max-width: 800px;
    margin: 0 auto;
}

.help-detail-header {
    border-bottom: 2px solid #333;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.help-detail-header h1 {
    margin: 0;
    font-size: 2em;
    color: #fff;
}

.help-detail-header .node-type-label {
    color: #666;
    font-size: 0.8em;
    font-family: monospace;
}

.help-detail-body {
    font-size: 1.1em;
    line-height: 1.6;
}

.help-detail-img {
    max-width: 100%;
    border: 1px solid #333;
    border-radius: 8px;
    margin-bottom: 30px;
    background: #000;
}

.help-detail-section {
    margin-bottom: 30px;
}

.help-detail-section h4 {
    color: #0f9;
    margin-bottom: 10px;
    font-size: 1.1em;
    text-transform: uppercase;
}

.help-detail-usage {
    background: #1a2a22;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #0f9;
    color: #dfd;
}

.help-io-table {
    width: 100%;
    border-collapse: collapse;
}

.help-io-table td {
    padding: 10px;
    border-bottom: 1px solid #222;
    vertical-align: top;
}

.help-io-name {
    font-family: monospace;
    color: #0f9;
    font-weight: bold;
    width: 120px;
}

.help-io-desc { color: #bbb; }

.help-empty-state {
    text-align: center;
    margin-top: 100px;
    color: #444;
}

.help-empty-state i {
    font-size: 4em;
    display: block;
    margin-bottom: 20px;
}