/* Hover help tooltips — attach data-help="..." to any control or section */
.eeg-help-target {
    cursor: help;
    position: relative;
}

.eeg-help-target.help-has-icon::after {
    content: '?';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    border-radius: 50%;
    background: #1e3a5f;
    color: #93c5fd;
    font-size: 0.65rem;
    font-weight: 700;
    vertical-align: middle;
    flex-shrink: 0;
}

.card > h2.eeg-help-target,
.drawer-section > h3.eeg-help-target,
.help-section-title.eeg-help-target {
    display: inline-flex;
    align-items: center;
}

.eeg-help-tooltip {
    position: fixed;
    z-index: 10000;
    max-width: min(320px, 90vw);
    padding: 10px 12px;
    background: #0f172a;
    border: 1px solid #3b82f6;
    border-radius: 10px;
    color: #eef5ff;
    font-size: 0.82rem;
    line-height: 1.45;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.eeg-help-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
}

.eeg-help-tooltip strong {
    display: block;
    color: #93c5fd;
    font-size: 0.78rem;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.smooth-note {
    font-size: 0.76rem;
    color: #6d86b0;
    line-height: 1.4;
    margin: -4px 0 10px;
    padding: 8px 10px;
    background: #0a1220;
    border-radius: 8px;
    border-left: 3px solid #3b5282;
}

.chart-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.chart-box.chart-fullscreen-active,
.chart-wrap.chart-fullscreen-active {
    background: #050a12;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chart-box.chart-fullscreen-active .chart-inner,
.chart-wrap.chart-fullscreen-active .chart-inner {
    flex: 1;
    min-height: 0;
    position: relative;
}

.chart-box.chart-fullscreen-active .chart-toolbar,
.chart-wrap.chart-fullscreen-active .chart-header {
    flex-shrink: 0;
}
