/* ============================================================
   DRAWING TOOLS — Toolbar & States
   ============================================================ */

.drawing-toolbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 4px;
    background: var(--bg-2);
    border-right: 1px solid var(--border);
    width: 36px;
    flex-shrink: 0;
    z-index: 20;
}

.drawing-tool-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    color: var(--text-3);
    cursor: pointer;
    font-size: 13px;
    transition: all 0.12s ease;
    padding: 0;
    line-height: 1;
}

.drawing-tool-btn:hover {
    color: var(--text-1);
    background: var(--bg-4);
    border-color: var(--border);
}

.drawing-tool-btn.active {
    color: var(--blue);
    background: rgba(61, 139, 255, 0.12);
    border-color: var(--blue);
}

.drawing-tool-btn .dt-icon {
    font-size: 13px;
    line-height: 1;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
}

.drawing-toolbar-sep {
    width: 20px;
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}

/* Active tool state — change chart cursor */
.chart-wrap.drawing-active {
    cursor: crosshair !important;
}

.chart-wrap.drawing-active * {
    cursor: crosshair !important;
}

/* Drawing canvas layer */
#drawingCanvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 15;
}
