/* ── CURSORS ────────────────────────────────────────────────── */
.cursor-line {
    position: absolute;
    top: 0; bottom: 0;
    width: 1px;
    background: rgba(0,229,255,0.6);
    pointer-events: none;
    z-index: 20;
}

.cursor-line.cursor-2 { background: rgba(255,107,53,0.6); }

.cursor-label {
    position: absolute;
    top: 4px;
    transform: translateX(-50%);
    background: rgba(0,229,255,0.15);
    border: 1px solid rgba(0,229,255,0.4);
    border-radius: 3px;
    padding: 2px 6px;
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--accent);
    white-space: nowrap;
    pointer-events: none;
}

.cursor-label.cursor-2 {
    background: rgba(255,107,53,0.15);
    border-color: rgba(255,107,53,0.4);
    color: var(--accent3);
}

/* Delta display */
.cursor-delta {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg2);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text0);
    white-space: nowrap;
    pointer-events: none;
    z-index: 20;
    display: flex; gap: 12px;
}

.cursor-delta span { color: var(--text2); }
.cursor-delta strong { color: var(--accent); }

/* ── TOOLTIP ────────────────────────────────────────────────── */
.chart-tooltip {
    position: absolute;
    background: var(--bg2);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text0);
    pointer-events: none;
    z-index: 30;
    max-width: 180px;
    box-shadow: var(--shadow);
}

.tooltip-row {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 1px 0;
}

.tooltip-name { color: var(--text2); }
.tooltip-value { color: var(--text0); font-weight: 500; }

/* ── AXIS LABELS ────────────────────────────────────────────── */
.u-axis text {
    font-family: var(--font-mono) !important;
    font-size: 10px !important;
    fill: var(--text2) !important;
}

.u-axis line {
    stroke: var(--border) !important;
}

/* ── NOTIFICATION ───────────────────────────────────────────── */
.notification {
    position: fixed;
    bottom: 20px; right: 20px;
    background: var(--bg2);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text0);
    box-shadow: var(--shadow);
    z-index: 1000;
    animation: notifIn 200ms ease, notifOut 200ms ease 2.8s forwards;
    max-width: 280px;
}

@keyframes notifIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes notifOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/* ── DRAG GHOST ─────────────────────────────────────────────── */
.drag-ghost {
    position: fixed;
    pointer-events: none;
    background: var(--bg2);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius);
    padding: 6px 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    z-index: 9999;
    opacity: 0.9;
}
