/* --- Barre d'outils --- */
#toolbar {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: white;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 40;
}

.tool-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #eee;
    background: #fff;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.tool-btn:hover {
    background: #f9fafb;
    color: #059669;
}

.tool-btn.active {
    background: #d1fae5;
    color: #047857;
    border-color: #059669;
}
