.cp-hidden-nodes-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: .8rem;
    font-weight: 400;
    white-space: nowrap;
}
.cp-hidden-nodes-toggle input { accent-color: #0284c7; }
.history-help-button {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; min-width: 30px; padding: 0;
    border: 0; border-radius: 6px; background: transparent; color: #64748b; cursor: pointer;
}
.history-help-button svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.history-help-button:hover, .history-help-button[aria-expanded="true"] { background: #e0f2fe; color: #075985; }
.history-help-button:focus-visible { outline: 3px solid #0284c7; outline-offset: 3px; }
.history-help-panel[hidden] { display: none; }
.history-help-panel.rs-help-tooltip {
    position: fixed; z-index: 1000; box-sizing: border-box;
    width: min(540px, calc(100vw - 24px)); padding: 18px; overflow-y: auto;
    border: 1px solid #bae6fd; border-radius: 10px; background: #f0f9ff; color: #0f172a;
    box-shadow: 0 8px 24px #0f172a26;
    font: 400 18px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.history-help-panel .rs-help-heading { display: block; margin-bottom: 12px; color: #075985; font-size: 20px; }
.history-help-panel p { margin: 0 0 12px; }
.history-help-panel p:last-child { margin-bottom: 0; }
.history-help-panel .rs-help-note { padding-top: 12px; border-top: 1px solid #bae6fd; color: #334155; }
